<?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>2021</bug_id>
          
          <creation_ts>2012-02-22 08:22:36 +0000</creation_ts>
          <short_desc>[non-GPLv3] no libc and libreadline for basic image build</short_desc>
          <delta_ts>2012-03-09 13:48:17 +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.1.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>1.1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Joshua Lock - Disabled">josh</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ningx.ma</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>18700</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2012-02-22 08:22:36 +0000</bug_when>
    <thetext>tree/branch: poky/edison
commit: 69a3fba2aabfa37ebf27d9a2f33304d1c58e4436

With edison branch, basic image build against non-GPLv3 will meet a do_rootfs error that libc and libreadline are needed. Detailed failure message as below:

There is no such error in previous testing against Josh&apos;s edison branch.

########
Generating solve db for /distro/poky/build/tmp/deploy/rpm/i586...
   total:               1      0.000000 MB     24.927736 secs
   fingerprint:     11700      0.142064 MB      2.145979 secs
   install:          3900      0.000000 MB      5.600384 secs
   dbadd:            3900      0.000000 MB      5.502527 secs
   dbget:           45078      0.000000 MB      0.065258 secs
   dbput:            3900     19.772244 MB      4.940375 secs
   readhdr:         39001     39.540714 MB     10.447666 secs
   hdrload:         21451     68.022202 MB      0.113729 secs
   hdrget:         692953      0.000000 MB      0.591519 secs
Generating solve db for /distro/poky/build/tmp/deploy/rpm/all...
   total:               1      0.000000 MB      0.075198 secs
   fingerprint:         9      0.000012 MB      0.000384 secs
   install:             3      0.000000 MB      0.021894 secs
   dbadd:               3      0.000000 MB      0.019767 secs
   dbget:              12      0.000000 MB      0.000034 secs
   dbput:               3      0.009448 MB      0.001687 secs
   readhdr:            31      0.019184 MB      0.020027 secs
   hdrload:            18      0.036192 MB      0.000115 secs
   hdrget:            494      0.000000 MB      0.000458 secs
Generating solve db for /distro/poky/build/tmp/deploy/rpm/all...
   total:               1      0.000000 MB      0.052236 secs
   fingerprint:         9      0.000012 MB      0.000244 secs
   install:             3      0.000000 MB      0.022119 secs
   dbadd:               3      0.000000 MB      0.019587 secs
   dbget:              12      0.000000 MB      0.000036 secs
   dbput:               3      0.009448 MB      0.001888 secs
   readhdr:            31      0.019184 MB      0.000058 secs
   hdrload:            18      0.036192 MB      0.000090 secs
   hdrget:            494      0.000000 MB      0.000503 secs
Processing locale-base-en-us...
Processing locale-base-en-gb...
Processing task-core-boot...
Processing task-core-apps-console...
Processing task-core-ssh-openssh...
Processing task-core-basic...
error: Failed dependencies:
        libc.so.6(GLIBC_2.3)(64bit) is needed by ed-0.5-r1.i586
        libc.so.6(GLIBC_2.14)(64bit) is needed by ed-0.5-r1.i586
        libc.so.6()(64bit) is needed by ed-0.5-r1.i586
        libc.so.6(GLIBC_2.2.5)(64bit) is needed by ed-0.5-r1.i586
        libc.so.6(GLIBC_2.3.4)(64bit) is needed by ed-0.5-r1.i586
        libreadline.so.6 is needed by python-readline-2.6.6-r2.11.i586
ERROR: Function &apos;do_rootfs&apos; failed (see /distro/poky/build/tmp/work/qemux86-poky-linux/core-image-basic-1.0-r0/temp/log.do_rootfs.26996 for further information)
########</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18709</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2012-02-22 15:05:34 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; tree/branch: poky/edison
&gt; commit: 69a3fba2aabfa37ebf27d9a2f33304d1c58e4436
&gt; 
&gt; With edison branch, basic image build against non-GPLv3 will meet a do_rootfs
&gt; error that libc and libreadline are needed. Detailed failure message as below:
&gt; 
&gt; There is no such error in previous testing against Josh&apos;s edison branch.
&gt; 
&gt; ########
&gt; Generating solve db for /distro/poky/build/tmp/deploy/rpm/i586...
&gt;    total:               1      0.000000 MB     24.927736 secs
&gt;    fingerprint:     11700      0.142064 MB      2.145979 secs
&gt;    install:          3900      0.000000 MB      5.600384 secs
&gt;    dbadd:            3900      0.000000 MB      5.502527 secs
&gt;    dbget:           45078      0.000000 MB      0.065258 secs
&gt;    dbput:            3900     19.772244 MB      4.940375 secs
&gt;    readhdr:         39001     39.540714 MB     10.447666 secs
&gt;    hdrload:         21451     68.022202 MB      0.113729 secs
&gt;    hdrget:         692953      0.000000 MB      0.591519 secs
&gt; Generating solve db for /distro/poky/build/tmp/deploy/rpm/all...
&gt;    total:               1      0.000000 MB      0.075198 secs
&gt;    fingerprint:         9      0.000012 MB      0.000384 secs
&gt;    install:             3      0.000000 MB      0.021894 secs
&gt;    dbadd:               3      0.000000 MB      0.019767 secs
&gt;    dbget:              12      0.000000 MB      0.000034 secs
&gt;    dbput:               3      0.009448 MB      0.001687 secs
&gt;    readhdr:            31      0.019184 MB      0.020027 secs
&gt;    hdrload:            18      0.036192 MB      0.000115 secs
&gt;    hdrget:            494      0.000000 MB      0.000458 secs
&gt; Generating solve db for /distro/poky/build/tmp/deploy/rpm/all...
&gt;    total:               1      0.000000 MB      0.052236 secs
&gt;    fingerprint:         9      0.000012 MB      0.000244 secs
&gt;    install:             3      0.000000 MB      0.022119 secs
&gt;    dbadd:               3      0.000000 MB      0.019587 secs
&gt;    dbget:              12      0.000000 MB      0.000036 secs
&gt;    dbput:               3      0.009448 MB      0.001888 secs
&gt;    readhdr:            31      0.019184 MB      0.000058 secs
&gt;    hdrload:            18      0.036192 MB      0.000090 secs
&gt;    hdrget:            494      0.000000 MB      0.000503 secs
&gt; Processing locale-base-en-us...
&gt; Processing locale-base-en-gb...
&gt; Processing task-core-boot...
&gt; Processing task-core-apps-console...
&gt; Processing task-core-ssh-openssh...
&gt; Processing task-core-basic...
&gt; error: Failed dependencies:
&gt;         libc.so.6(GLIBC_2.3)(64bit) is needed by ed-0.5-r1.i586
&gt;         libc.so.6(GLIBC_2.14)(64bit) is needed by ed-0.5-r1.i586
&gt;         libc.so.6()(64bit) is needed by ed-0.5-r1.i586
&gt;         libc.so.6(GLIBC_2.2.5)(64bit) is needed by ed-0.5-r1.i586
&gt;         libc.so.6(GLIBC_2.3.4)(64bit) is needed by ed-0.5-r1.i586
&gt;         libreadline.so.6 is needed by python-readline-2.6.6-r2.11.i586
&gt; ERROR: Function &apos;do_rootfs&apos; failed (see
&gt; /distro/poky/build/tmp/work/qemux86-poky-linux/core-image-basic-1.0-r0/temp/log.do_rootfs.26996
&gt; for further information)
&gt; ########

This appears to be looking for a 64bit libc in an i586 package - not too surprising it would fail...

Can you share what MACHINE you&apos;re building for and what settings you have in your local.conf?

Also, are you sharing sstate between master and edison builds? I hope this isn&apos;t a problem but let&apos;s rule it out in case...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18719</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2012-02-22 16:21:36 +0000</bug_when>
    <thetext>I&apos;m able to build core-image-basic for qemux86 with INCOMPATIBLE_LICENSE = &quot;GPLv3&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18720</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2012-02-22 16:23:15 +0000</bug_when>
    <thetext>Scratch that, I&apos;ve just reproduced this issue with qemux86, core-image-basic and the edison branch of the poky repository.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18724</commentid>
    <comment_count>4</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2012-02-22 18:02:00 +0000</bug_when>
    <thetext>The GPLv2 ed 0.5 in master has several changes that do not exist in Edison, including:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=08b7b9368c7aa01f7639412e17ce1f5a5eb4b780

I&apos;ve cherry-picked them to a branch of edison and am testing the no GPLv3 build now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18726</commentid>
    <comment_count>5</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2012-02-22 19:49:16 +0000</bug_when>
    <thetext>I can confirm that the ed changes resolve the reported issue - I can build a core-image-basic with GPLv3 disabled using the changes in:
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=josh/edison</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18761</commentid>
    <comment_count>6</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-02-26 12:05:32 +0000</bug_when>
    <thetext>Edison now has the commits to address this issue: http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=edison&amp;id=686345f1d022c6a539538b4a78952f20836118ff (and the two patches before it)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18943</commentid>
    <comment_count>7</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2012-03-09 13:48:17 +0000</bug_when>
    <thetext>Verify the bug as fixed with edison branch, commit 939ec1ca1eb428f536e324cc61f1d8afe6e60775.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>