<?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>8284</bug_id>
          
          <creation_ts>2015-09-11 11:28:29 +0000</creation_ts>
          <short_desc>do_rootfs fails for multilib with opkg unable to remove packages</short_desc>
          <delta_ts>2015-09-12 22:10:04 +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>core</component>
          <version>1.7.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Beth Flanagan">elizabeth.flanagan</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>elizabeth.flanagan</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</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>53967</commentid>
    <comment_count>0</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2015-09-11 11:28:29 +0000</bug_when>
    <thetext>From: https://autobuilder.yoctoproject.org/main/builders/nightly-multilib/builds/488/steps/BuildImages_1/logs/stdio

machine: debian7

ERROR: Unable to remove packages. Command &apos;[&apos;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-multilib/build/build/tmp/sysroots/x86_64-linux/usr/bin/opkg&apos;, &apos;--volatile-cache&apos;, &apos;-f&apos;, &apos;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-multilib/build/build/tmp/work/qemux86_64-pokymllib32-linux/lib32-core-image-minimal/1.0-r0/opkg.conf&apos;, &apos;-o&apos;, &apos;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-multilib/build/build/tmp/work/qemux86_64-pokymllib32-linux/lib32-core-image-minimal/1.0-r0/rootfs&apos;, &apos;--force_postinstall&apos;, &apos;--prefer-arch-to-version&apos;, &apos;--force-maintainer&apos;, &apos;--force-overwrite&apos;, &apos;--force-depends&apos;, &apos;remove&apos;, &apos;run-postinsts&apos;]&apos; returned 255:
Collected errors:
 * opkg_lock: Could not create lock file /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-multilib/build/build/tmp/work/qemux86_64-pokymllib32-linux/lib32-core-image-minimal/1.0-r0/rootfs//var/run/opkg.lock: Permission denied.

ERROR: Function failed: do_rootfs</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53971</commentid>
    <comment_count>1</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2015-09-11 12:12:59 +0000</bug_when>
    <thetext>This is also occurring in nightly-ipk but on centos7-a:

ERROR: Unable to remove packages. Command &apos;[&apos;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ipk/build/build/tmp/sysroots/x86_64-linux/usr/bin/opkg&apos;, &apos;--volatile-cache&apos;, &apos;-f&apos;, &apos;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ipk/build/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/opkg.conf&apos;, &apos;-o&apos;, &apos;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ipk/build/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/rootfs&apos;, &apos;--force_postinstall&apos;, &apos;--prefer-arch-to-version&apos;, &apos;--force-depends&apos;, &apos;remove&apos;, &apos;base-passwd&apos;, &apos;run-postinsts&apos;]&apos; returned 255:
Collected errors:
 * opkg_lock: Could not create lock file /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ipk/build/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/rootfs//var/run/opkg.lock: Permission denied.

ERROR: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ipk/build/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.23525
NOTE: recipe core-image-minimal-1.0-r0: task do_rootfs: Failed
ERROR: Task 49 (/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ipk/build/meta/recipes-core/images/core-image-minimal.bb, do_rootfs) failed with exit code &apos;1&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53997</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-09-12 22:10:04 +0000</bug_when>
    <thetext>This was caused by the populate_volatiles patch which enabled it being run uncondiaonally at do_rootfs time. The patch was dropped from -next.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>