<?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>9490</bug_id>
          
          <creation_ts>2016-04-19 15:04:27 +0000</creation_ts>
          <short_desc>IMAGE_GEN_DEBUGFS = &quot;1&quot; does not work when PACKAGE_CLASSES = &quot;package_ipkg&quot;</short_desc>
          <delta_ts>2016-07-29 17:05:42 +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>2.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</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>2.2 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Hatle">mark.hatle</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>anders.darander</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          <qa_contact name="Jose Perez C">jose.perez.carranza</qa_contact>
          <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>61413</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2016-04-19 15:04:27 +0000</bug_when>
    <thetext>With the following settings to the stock oe-core local.conf:

IMAGE_GEN_DEBUGFS = &apos;1&apos;
IMAGE_FSTYPES_DEBUGFS = &quot;tar.bz2&quot;
IMAGE_INSTALL_append = &quot; gdbserver&quot;

I get:

ERROR: core-image-minimal-1.0-r0 do_rootfs: Cannot get the installed packages li
st. Command &apos;/home/mhatle/git/oss/oe-core/build-debugfs/tmp-glibc/sysroots/x86_6
4-linux/usr/bin/opkg -f /home/mhatle/git/oss/oe-core/build-debugfs/tmp-glibc/wor
k/qemux86-oe-linux/core-image-minimal/1.0-r0/opkg.conf -o /home/mhatle/git/oss/o
e-core/build-debugfs/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/r
ootfs  --force_postinstall --prefer-arch-to-version   status&apos; returned 0 and stderr:
Collected errors:
 * file_md5sum_alloc: Failed to open file /home/mhatle/git/oss/oe-core/build-debugfs/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/rootfs/etc/syslog-startup.conf.busybox: No such file or directory.
 * file_md5sum_alloc: Failed to open file /home/mhatle/git/oss/oe-core/build-debugfs/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/rootfs/etc/fstab: No such file or directory.
 * file_md5sum_alloc: Failed to open file /home/mhatle/git/oss/oe-core/build-debugfs/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/rootfs/etc/hostname: No such file or directory.
 * file_md5sum_alloc: Failed to open file /home/mhatle/git/oss/oe-core/build-debugfs/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/rootfs/etc/shells: No such file or directory.
(and many more lines that are similar)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61839</commentid>
    <comment_count>1</comment_count>
    <who name="Anders Darander">anders.darander</who>
    <bug_when>2016-05-02 08:17:30 +0000</bug_when>
    <thetext>With commit http://git.openembedded.org/openembedded-core/commit/?h=krogoth&amp;id=5084ed9401250ed269a49d27b303806ab173c5d5, RP fixed most of those issues.

However, when adding openssl (packages: libssl and openssl-conf) to an image, eg core-image-minimal, a similar error occurs related to the openssl.cnf. (It&apos;s marked as a CONFFILE, bit is installed into /usr/lib/ssl/openssl.cnf.

ERROR: core-image-minimal-1.0-r0 do_rootfs: Cannot get the installed packages list. Command &apos;/mnt/cs-builds/anders/poky-play/build/tmp-glibc/sysroots/x86_64-linux/usr/bin/opkg -f /mnt/cs-builds/anders/poky-play/build/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/opkg.conf -o /mnt/cs-builds/anders/poky-play/build/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/rootfs  --force_postinstall --prefer-arch-to-version   status&apos; returned 0 and stderr:
Collected errors:
 * file_md5sum_alloc: Failed to open file /mnt/cs-builds/anders/poky-play/build/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/rootfs/usr/lib/ssl/openssl.cnf: No such file or directory.

ERROR: core-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /mnt/cs-builds/anders/poky-play/build/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.13235
ERROR: Task 9 (/mnt/cs-builds/anders/poky-play/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>61883</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-05-03 09:00:50 +0000</bug_when>
    <thetext>Fixed in oe-core 5084ed9401250ed269a49d27b303806ab173c5d5 (master and krogoth branch).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61884</commentid>
    <comment_count>3</comment_count>
    <who name="Anders Darander">anders.darander</who>
    <bug_when>2016-05-03 09:05:29 +0000</bug_when>
    <thetext>I disagree, se comment #2.

It still fails if the image includes eg openss-cnf.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61890</commentid>
    <comment_count>4</comment_count>
    <who name="Anders Darander">anders.darander</who>
    <bug_when>2016-05-03 12:12:03 +0000</bug_when>
    <thetext>A quick follow-up fix for the openssl-cnf issue is found at http://lists.openembedded.org/pipermail/openembedded-core/2016-May/120824.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61891</commentid>
    <comment_count>5</comment_count>
    <who name="Anders Darander">anders.darander</who>
    <bug_when>2016-05-03 12:15:20 +0000</bug_when>
    <thetext>Wrong link, the patch is in http://lists.openembedded.org/pipermail/openembedded-core/2016-May/120887.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62335</commentid>
    <comment_count>6</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-05-19 16:12:37 +0000</bug_when>
    <thetext>Really fixed with oe-core 20ea6d274bb0a9a5addb111f32793de49b907865.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64668</commentid>
    <comment_count>7</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2016-07-29 17:05:42 +0000</bug_when>
    <thetext>Working correctly on 5b61fa04a335a4fdefd435dc25d4bac41ee21e39

*******************************
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 2086 tasks of which 1326 didn&apos;t need to be rerun and all succeeded.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>