[poky] Master stability update
Koen Kooi
koen at dominion.thruhere.net
Fri Jan 28 09:42:08 PST 2011
Op 28 jan 2011, om 17:59 heeft Richard Purdie het volgende geschreven:
> On Fri, 2011-01-28 at 08:56 +0100, Koen Kooi wrote:
>> Op 27 jan 2011, om 22:45 heeft Richard Purdie het volgende geschreven:
>>
>>> On Thu, 2011-01-27 at 16:35 +0100, Koen Kooi wrote:
>>>> Op 27 jan 2011, om 16:06 heeft Richard Purdie het volgende geschreven:
>>>> koen at dominion:/OE/tentacle$ ls /OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/bin/
>>>> tclConfig.sh*
>>>>
>>>> so it removed pretty much everything from the sysroot!
>>>
>>> Just to update on this, Koen is using distribute_sources which adds a
>>> do_distribute_sources task. This is why things are working on master but
>>> not for Koen.
>>>
>>> That task runs later and causes do_setscene to rerun which cleans out
>>> the sysroot rather helpfully assuming that all tasks for that recipe
>>> will rerun which isn't true.
>>>
>>> This branch has some proposed changes to make this work better:
>>>
>>> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rpurdie/misc2
>>>
>>> and Koen is testing them to see how they work out.
>>
>> That fixes both the setscene and machine switching issues. Everything works as expected again!
>
> Those fixes have been merged into master now.
The problem isn't entirely gone yet. What I did
MACHINE=beagleboard bitbake console-image (worked)
MACHINE=usrp-e1xx bitbake console-image (worked)
MACHINE=hawkboard bitbake console-image (broke)
updated metadata
MACHINE=omap4430-panda bitbake console-image (broke)
The first breakage was a license checksum failure in libusb-compat, which I have overlayed locally, I changed that into a bbappend and rebuilt, things went fine. After switching to pandaboard a lot of things broke (pango, atk, kernel, etc), most of them in package_write. It turns out that the license failure was caused by do_unpack getting skipped, so the it couldn't find the LICENSE and COPYING files to checksum.
It seems that during do_configure the stamps don't get reset complete, so no unpack/patch is run. Due to the way the classes are structured, running in an empty dir doesn't cause problems till we encounter custom packaging rules. Does that make sense?
The kernel failure looks like this:
ERROR: Logfile of failure stored in: /OE/tentacle/build/tmp-angstrom_2010_x/work/beagleboard-angstrom-linux-gnueabi/linux-omap-psp-2.6.32-r99+gitr5fc29e7b2a76a64a739f857858ef0b98294aa155/temp/log.do_package_write_ipk.18429
Log data follows:
| Lockfile destination directory '/OE/tentacle/build/tmp-angstrom_2010_x/work/beagleboard-angstrom-linux-gnueabi/linux-omap-psp-2.6.32-r99+gitr5fc29e7b2a76a64a739f857858ef0b98294aa155/packages-split' does not exist
| ERROR: Lockfile destination directory '/OE/tentacle/build/tmp-angstrom_2010_x/work/beagleboard-angstrom-linux-gnueabi/linux-omap-psp-2.6.32-r99+gitr5fc29e7b2a76a64a739f857858ef0b98294aa155/packages-split' does not exist
regards,
Koen
More information about the poky
mailing list