<?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>11829</bug_id>
          
          <creation_ts>2017-07-24 16:19:46 +0000</creation_ts>
          <short_desc>image including multilib:lib64 python3-dev package does not reach login</short_desc>
          <delta_ts>2017-08-29 19:41:29 +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.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.4 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</reporter>
          <assigned_to name="Alejandro Hernandez">alejandro.hernandez</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</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>75260</commentid>
    <comment_count>0</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-07-24 16:19:46 +0000</bug_when>
    <thetext>* clone poky and prepare environment
* touch and include the following text into conf/auto.conf

IMAGE_INSTALL_append = &quot;lib64-python3-dev&quot;
require conf/multilib.conf
MULTILIBS = &quot;multilib:lib64&quot;
DEFAULTTUNE_virtclass-multilib-lib64 = &quot;x86-64&quot;

* create a core-image-minimal image with bitbake
* boot it with runqemu
* expected: login prompt should be reached
* actual:

[    6.732574] Write protecting the kernel read-only data: 2524k
INIT: version 2.88 booting
INIT: cannot execute &quot;/bin/sh&quot;
INIT: Entering runlevel: 5
INIT: cannot execute &quot;/bin/sh&quot;
INIT: cannot execute &quot;/bin/sh&quot;
INIT: cannot execute &quot;/bin/sh&quot;
INIT: cannot execute &quot;/bin/sh&quot;
INIT: cannot execute &quot;/bin/sh&quot;
INIT: cannot execute &quot;/bin/sh&quot;
INIT: cannot execute &quot;/bin/sh&quot;
INIT: cannot execute &quot;/bin/sh&quot;
INIT: cannot execute &quot;/bin/sh&quot;
INIT: cannot execute &quot;/bin/sh&quot;
INIT: cannot execute &quot;/bin/sh&quot;
INIT: cannot execute &quot;/bin/sh&quot;
INIT: cannot execute &quot;/bin/sh&quot;
INIT: cannot execute &quot;/bin/sh&quot;
INIT: cannot execute &quot;/bin/sh&quot;
INIT: cannot execute &quot;/bin/sh&quot;
INIT: cannot execute &quot;/bin/sh&quot;
INIT: cannot execute &quot;/bin/sh&quot;
INIT: cannot execute &quot;/bin/sh&quot;
INIT: cannot execute &quot;/bin/sh&quot;
INIT: Id &quot;S1&quot; respawning too fast: disabled for 5 minutes
INIT: cannot execute &quot;/bin/sh&quot;
INIT: Id &quot;S0&quot; respawning too fast: disabled for 5 minutes</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76257</commentid>
    <comment_count>1</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-08-29 17:27:58 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; * clone poky and prepare environment
&gt; * touch and include the following text into conf/auto.conf
&gt; 
&gt; IMAGE_INSTALL_append = &quot;lib64-python3-dev&quot;

minor typo, it should be

IMAGE_INSTALL_append = &quot; lib64-python3-dev&quot;

(note the space after quote)


&gt; require conf/multilib.conf
&gt; MULTILIBS = &quot;multilib:lib64&quot;
&gt; DEFAULTTUNE_virtclass-multilib-lib64 = &quot;x86-64&quot;
&gt; 
&gt; * create a core-image-minimal image with bitbake
&gt; * boot it with runqemu
&gt; * expected: login prompt should be reached
&gt; * actual:
&gt; 
&gt; [    6.732574] Write protecting the kernel read-only data: 2524k
&gt; INIT: version 2.88 booting
&gt; INIT: cannot execute &quot;/bin/sh&quot;
&gt; INIT: Entering runlevel: 5
&gt; INIT: cannot execute &quot;/bin/sh&quot;
&gt; INIT: cannot execute &quot;/bin/sh&quot;
&gt; INIT: cannot execute &quot;/bin/sh&quot;
&gt; INIT: cannot execute &quot;/bin/sh&quot;
&gt; INIT: cannot execute &quot;/bin/sh&quot;
&gt; INIT: cannot execute &quot;/bin/sh&quot;
&gt; INIT: cannot execute &quot;/bin/sh&quot;
&gt; INIT: cannot execute &quot;/bin/sh&quot;
&gt; INIT: cannot execute &quot;/bin/sh&quot;
&gt; INIT: cannot execute &quot;/bin/sh&quot;
&gt; INIT: cannot execute &quot;/bin/sh&quot;
&gt; INIT: cannot execute &quot;/bin/sh&quot;
&gt; INIT: cannot execute &quot;/bin/sh&quot;
&gt; INIT: cannot execute &quot;/bin/sh&quot;
&gt; INIT: cannot execute &quot;/bin/sh&quot;
&gt; INIT: cannot execute &quot;/bin/sh&quot;
&gt; INIT: cannot execute &quot;/bin/sh&quot;
&gt; INIT: cannot execute &quot;/bin/sh&quot;
&gt; INIT: cannot execute &quot;/bin/sh&quot;
&gt; INIT: cannot execute &quot;/bin/sh&quot;
&gt; INIT: Id &quot;S1&quot; respawning too fast: disabled for 5 minutes
&gt; INIT: cannot execute &quot;/bin/sh&quot;
&gt; INIT: Id &quot;S0&quot; respawning too fast: disabled for 5 minutes</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76266</commentid>
    <comment_count>2</comment_count>
    <who name="Alejandro Hernandez">alejandro.hernandez</who>
    <bug_when>2017-08-29 19:01:02 +0000</bug_when>
    <thetext>I believe this might be a config error, since for what I can see, you are trying to run 64 bit libraries on a 32 bit machine (qemux86), the other way around would be ok though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76272</commentid>
    <comment_count>3</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-08-29 19:41:29 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; I believe this might be a config error, since for what I can see, you are
&gt; trying to run 64 bit libraries on a 32 bit machine (qemux86), the other way
&gt; around would be ok though.

My bad (sorry for wasting your time), I though I was testing with a 64bit machine, but it was not the case, it was a 32bit, so init cannot be executed due to this reason.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>