Bug 5165 - bluez5 fails at do_package_write_*
Summary: bluez5 fails at do_package_write_*
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: connectivity (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.5 M5
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-09-11 18:18 UTC by Paul Eggleton
Modified: 2013-09-11 23:13 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2013-09-11 18:18:59 UTC
From the autobuilder:

ERROR: Recipe lib32-bluez5 is trying to change PR from 'r0' to 'r5'. This will cause do_package_write_* failures since the incorrect data will be used and they will be unable to find the right workdir.
ERROR: Recipe lib32-bluez5 is trying to change PR from 'r0' to 'r5'. This will cause do_package_write_* failures since the incorrect data will be used and they will be unable to find the right workdir.
ERROR: Function failed: read_subpackage_metadata
ERROR: Function failed: read_subpackage_metadata
ERROR: Logfile of failure stored in: /srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-bluez5/5.7-r0/temp/log.do_package_write_rpm.6651
ERROR: Logfile of failure stored in: /srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-bluez5/5.7-r0/temp/log.do_package_write_ipk.6709
ERROR: Task 8222 (virtual:multilib:lib32:/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/meta/recipes-connectivity/bluez5/bluez5_5.7.bb, do_package_write_ipk) failed with exit code '1'
ERROR: Task 8224 (virtual:multilib:lib32:/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/meta/recipes-connectivity/bluez5/bluez5_5.7.bb, do_package_write_rpm) failed with exit code '1'
ERROR: Recipe lib32-bluez5 is trying to change PR from 'r0' to 'r5'. This will cause do_package_write_* failures since the incorrect data will be used and they will be unable to find the right workdir.
ERROR: Function failed: read_subpackage_metadata
ERROR: Logfile of failure stored in: /srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-bluez5/5.7-r0/temp/log.do_package_write_deb.6653
ERROR: Task 8223 (virtual:multilib:lib32:/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/meta/recipes-connectivity/bluez5/bluez5_5.7.bb, do_package_write_deb) failed with exit code '1'


http://autobuilder.yoctoproject.org:8011/builders/nightly-world/builds/283/steps/Building%20Images/logs/stdio
Comment 1 Saul Wold 2013-09-11 21:39:11 UTC
We can't build both recipes in the world build as there is a collision of package name and PR values. Specificly the libasound-module-bluez which is the same in both goes backwards from r5 (bluez4) -> r0 (bluez5) and the subpackage_metadata check fails:
 
> ERROR: Recipe lib32-bluez5 is trying to change PR from 'r0' to 'r5'. This will cause do_package_write_* failures since the incorrect data will be used and they will be unable to find the right workdir.

It's comparing the tmp/pkgdata/runtime/lib32-libasound-module-bluez (from bluez4) with the bluez5 version in ${WORKDIR}/pkgdata/... since bluez4 was built after bluez5 and populated the tmp/pkgdata later.

EXCLUDE_FROM_WORLD both of these.