<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>5165</bug_id>
          
          <creation_ts>2013-09-11 18:18:59 +0000</creation_ts>
          <short_desc>bluez5 fails at do_package_write_*</short_desc>
          <delta_ts>2013-09-11 23:13:44 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>connectivity</component>
          <version>1.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>cristian.iorga</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>36550</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-09-11 18:18:59 +0000</bug_when>
    <thetext>From the autobuilder:

ERROR: Recipe lib32-bluez5 is trying to change PR from &apos;r0&apos; to &apos;r5&apos;. 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 &apos;r0&apos; to &apos;r5&apos;. 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 &apos;1&apos;
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 &apos;1&apos;
ERROR: Recipe lib32-bluez5 is trying to change PR from &apos;r0&apos; to &apos;r5&apos;. 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 &apos;1&apos;


http://autobuilder.yoctoproject.org:8011/builders/nightly-world/builds/283/steps/Building%20Images/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36559</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-09-11 21:39:11 +0000</bug_when>
    <thetext>We can&apos;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) -&gt; r0 (bluez5) and the subpackage_metadata check fails:
 
&gt; ERROR: Recipe lib32-bluez5 is trying to change PR from &apos;r0&apos; to &apos;r5&apos;. 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&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36562</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-09-11 23:13:44 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8f9db772dc8d8e2448a2d91f3be3aceb8829db75</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>