<?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>5669</bug_id>
          
          <creation_ts>2013-12-16 12:33:23 +0000</creation_ts>
          <short_desc>Check if the directfb image can be built - rootfs is missing in tmp/deploy/images/qemuarm</short_desc>
          <delta_ts>2015-08-07 13:51:16 +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.5.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.5.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ionut Chisanovici">ionutx.chisanovici</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          <qa_contact name="Ionut Chisanovici">ionutx.chisanovici</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>39415</commentid>
    <comment_count>0</comment_count>
    <who name="Ionut Chisanovici">ionutx.chisanovici</who>
    <bug_when>2013-12-16 12:33:23 +0000</bug_when>
    <thetext>STATUS: RUNNING
BUILD: 1.5.1: 8e410e9e46e3335458a7747cdd32e05f5c19ccbb
ENVIRONMENT: Multiple environments
STEPS TO REPRODUCE: 
1. Download poky source and prepare the build environment
2. Set MACHINE to qemuarm in conf/local.conf
3. Remove &quot;x11&quot; from DISTRO_FEATURES in meta/conf/distro/include/default-distrovars.inc, use &quot;directfb&quot; instead of it:
    DISTRO_FEATURES ?= &quot;alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g directfb ${DISTRO_FEATURES_LIBC}&quot;
4. Run &quot;bitbake core-image-directfb&quot; to build a directfb image

EXPECTED OUTCOME: The directfb image can be built.

ACTUAL OUTCOME: image is successfully built but the rootfs image is missing

[ionut@ionut-fedora build]$ ll tmp/deploy/images/qemuarm/
total 280268
-rw-r--r-- 1 ionut ionut 237705216 Dec 16 14:19 core-image-directfb-qemuarm-20131216110624.rootfs.ext3
-rw-r--r-- 1 ionut ionut  70604582 Dec 16 14:18 core-image-directfb-qemuarm-20131216110624.rootfs.tar.bz2
lrwxrwxrwx 1 ionut ionut        54 Dec 16 14:19 core-image-directfb-qemuarm.ext3 -&gt; core-image-directfb-qemuarm-20131216110624.rootfs.ext3
lrwxrwxrwx 1 ionut ionut        57 Dec 16 14:19 core-image-directfb-qemuarm.tar.bz2 -&gt; core-image-directfb-qemuarm-20131216110624.rootfs.tar.bz2
-rw-rw-r-- 2 ionut ionut  26726668 Dec 16 14:14 modules--3.10.17+git0+6ad20f049a_5714b747cf-r0-qemuarm-20131216110624.tgz
lrwxrwxrwx 2 ionut ionut        73 Dec 16 14:14 modules-qemuarm.tgz -&gt; modules--3.10.17+git0+6ad20f049a_5714b747cf-r0-qemuarm-20131216110624.tgz
-rw-rw-r-- 2 ionut ionut       294 Dec 16 14:18 README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
lrwxrwxrwx 2 ionut ionut        72 Dec 16 14:14 zImage -&gt; zImage--3.10.17+git0+6ad20f049a_5714b747cf-r0-qemuarm-20131216110624.bin
-rw-r--r-- 2 ionut ionut   4049304 Dec 16 14:14 zImage--3.10.17+git0+6ad20f049a_5714b747cf-r0-qemuarm-20131216110624.bin
lrwxrwxrwx 2 ionut ionut        72 Dec 16 14:14 zImage-qemuarm.bin -&gt; zImage--3.10.17+git0+6ad20f049a_5714b747cf-r0-qemuarm-20131216110624.bin
[ionut@ionut-fedora build]$ runqemu qemuarm
Couldn&apos;t find a qemuarm rootfs image in /home/ionut/work/poky/build/tmp/deploy/images/qemuarm.

Cheers,
IonutC</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39417</commentid>
    <comment_count>1</comment_count>
    <who name="Ionut Chisanovici">ionutx.chisanovici</who>
    <bug_when>2013-12-16 12:47:08 +0000</bug_when>
    <thetext>Forgot to mention the build env:

Build Configuration:
BB_VERSION        = &quot;1.20.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Fedora-19&quot;
TARGET_SYS        = &quot;arm-poky-linux-gnueabi&quot;
MACHINE           = &quot;qemuarm&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.5.1&quot;
TUNE_FEATURES     = &quot;armv5 thumb dsp&quot;
TARGET_FPU        = &quot;soft&quot;
meta              
meta-yocto        
meta-yocto-bsp    = &quot;dora:8e410e9e46e3335458a7747cdd32e05f5c19ccbb&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39457</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-12-17 19:28:50 +0000</bug_when>
    <thetext>Huh, this is the rootfs image right here: 
-rw-r--r-- 1 ionut ionut 237705216 Dec 16 14:19 
core-image-directfb-qemuarm-20131216110624.rootfs.ext3
lrwxrwxrwx 1 ionut ionut        54 Dec 16 14:19 
core-image-directfb-qemuarm.ext3-&gt; 
core-image-directfb-qemuarm-20131216110624.rootfs.ext3

what do you think is missing?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39467</commentid>
    <comment_count>3</comment_count>
    <who name="Ionut Chisanovici">ionutx.chisanovici</who>
    <bug_when>2013-12-18 08:28:42 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Huh, this is the rootfs image right here: 
&gt; -rw-r--r-- 1 ionut ionut 237705216 Dec 16 14:19 
&gt; core-image-directfb-qemuarm-20131216110624.rootfs.ext3
&gt; lrwxrwxrwx 1 ionut ionut        54 Dec 16 14:19 
&gt; core-image-directfb-qemuarm.ext3-&gt; 
&gt; core-image-directfb-qemuarm-20131216110624.rootfs.ext3
&gt; 
&gt; what do you think is missing?

I saw that too but runqemu is unable to lunch the image.

[ionut@ionut-fedora build]$ runqemu qemuarm
Couldn&apos;t find a qemuarm rootfs image in /home/ionut/work/poky/build/tmp/deploy/images/qemuarm.

So is this an issue or not ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39496</commentid>
    <comment_count>4</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-12-19 13:59:42 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Huh, this is the rootfs image right here: 
&gt; -rw-r--r-- 1 ionut ionut 237705216 Dec 16 14:19 
&gt; core-image-directfb-qemuarm-20131216110624.rootfs.ext3
&gt; lrwxrwxrwx 1 ionut ionut        54 Dec 16 14:19 
&gt; core-image-directfb-qemuarm.ext3-&gt; 
&gt; core-image-directfb-qemuarm-20131216110624.rootfs.ext3
&gt; 
&gt; what do you think is missing?

Hi Saul,
I think the description is a little misleading.
Ionut could build the qemuarm, and the rootfs was created as shown in his &quot;ll&quot; command. The issue he is facing is that the command &quot;runqemu qemuarm&quot; without specifying what type of image is doesn&apos;t start and it gives the error that the rootfs is missing.

For the record, I tried with a qemux86 and I don&apos;t have this issue (tested on DORA).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39500</commentid>
    <comment_count>5</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-12-19 15:39:19 +0000</bug_when>
    <thetext>There is a patch in master for runqemu that could be backported:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=fc0bb31aa73b8105206c58dff66297c8fb1d2b3b</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39513</commentid>
    <comment_count>6</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2013-12-20 01:57:09 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; There is a patch in master for runqemu that could be backported:
&gt; 
&gt; http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/
&gt; ?id=fc0bb31aa73b8105206c58dff66297c8fb1d2b3b

Hi Saul, thanks, I will add it.

// Robert</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40724</commentid>
    <comment_count>7</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2014-02-27 06:57:03 +0000</bug_when>
    <thetext>Merged into dora:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit?id=81f4de35fcfb748867d55c66330345183dd5473e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40737</commentid>
    <comment_count>8</comment_count>
    <who name="Ionut Chisanovici">ionutx.chisanovici</who>
    <bug_when>2014-02-27 11:17:21 +0000</bug_when>
    <thetext>This has been verified with 81f4de35fcfb748867d55c66330345183dd5473e and the issue is fixed.

Cheers,
Ionut C</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>