Skip to contentSkip to conversation

bitbake: cache: Fix error message with bad multiconfig

PATCH New Joshua Watt 1 participant 1 message Jun 12, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bitbake: cache: Fix error message with bad multiconfig

The virtualfn variable is not defined, the filename is what should be shown instead.

---
 bitbake/lib/bb/cache.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/lib/bb/cache.py +1 -1
index be5ea6a8bd..c1e08511ba 100644
@@ -727,7 +727,7 @@ class Cache(NoCache):
         if self.mc is not None:
             (fn, cls, mc) = virtualfn2realfn(filename)
             if mc:
-                self.logger.error("Unexpected multiconfig %s", virtualfn)
+                self.logger.error("Unexpected multiconfig %s", filename)
                 return
 
             vfn = realfn2virtual(fn, cls, self.mc)
Signature · 1 line
2.26.2