Bug 3382 - bug in hob or bitbake - bb.utils.mkdirhier?
Summary: bug in hob or bitbake - bb.utils.mkdirhier?
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.4
Hardware: Other arm
: Medium+ normal
Target Milestone: 1.4 M1
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-11-03 14:27 UTC by Benjamin Cavileer
Modified: 2013-01-07 12:16 UTC (History)
8 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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