Bug 3382

Summary: bug in hob or bitbake - bb.utils.mkdirhier?
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Benjamin Cavileer <bcavileer>
Component: coreAssignee: Saul Wold <sgw>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: corneliux.stoicescu, cristian.iorga, meta.mr.watcher, meta.watcher, poky.bs.watcher, poky.watcher, sgw, valentin.popa
Version: 1.4   
Target Milestone: 1.4 M1   
Hardware: Other   
OS: arm   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Benjamin Cavileer 2012-11-03 14:27:06 UTC
I hope the stack trace helps.  I apologize I am not able to determine exactly what layer of the system this bug is coming from. 

I ran into a bug when building an image for a Raspberry Pi

File "/home/benjamin/newpoky/poky/bitbake/lib/bb/ui/crumbs/builder.py", line 1504, in do_log
    bb.utils.mkdirhier(os.path.dirname(consolelogfile))
  File "/usr/lib/python2.7/posixpath.py", line 120, in dirname
    i = p.rfind('/') + 1
AttributeError: 'tuple' object has no attribute 'rfind'

Full trace here: https://gist.github.com/4007405


I thought it might have been something weird with my build env, so I started over.  Unfortunately I'm still getting this bug.
I documented each step here: https://gist.github.com/4007503
Comment 1 Saul Wold 2012-11-07 09:00:17 UTC
I was also seeing this issue with master and I was able to bisect it
down to this change.

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c1c20c02a0eb808a099bebfcc7e90188baa22ba4
Comment 3 Stoicescu Cornel 2013-01-07 12:16:04 UTC
Verified in master: 09359e6ec00901abfe49157f1f9730117b4d284b