<?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>10998</bug_id>
          
          <creation_ts>2017-01-31 21:37:35 +0000</creation_ts>
          <short_desc>IMAGE_FSTYPES=btrfs requires udev-native to build</short_desc>
          <delta_ts>2017-03-15 14:52:08 +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>devtools / tool chain</component>
          <version>2.3</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.3 M3</target_milestone>
          
          <blocked>10745</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Francisco Pedraza">francisco.j.pedraza.gonzalez</reporter>
          <assigned_to name="Ed Bartosh">eduard.bartosh</assigned_to>
          <cc>jose.perez.carranza</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</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>70305</commentid>
    <comment_count>0</comment_count>
    <who name="Francisco Pedraza">francisco.j.pedraza.gonzalez</who>
    <bug_when>2017-01-31 21:37:35 +0000</bug_when>
    <thetext>Bitbake fails when trying to compile adding all the IMAGE_FSTYPES, requires udev-native.

Steps to reproduce
1. Edit conf/local.conf file, adding the following variable.
IMAGE_FSTYPES += &quot;btrfs&quot;

as per images types [1] and mega manual describes [2]

2. Compile a minimal image
$ bitbake core-image-minimal

Expected Result:
Should compile successfully

Actual Result:

The following error message is displayed:

ERROR: Nothing PROVIDES &apos;udev-native&apos; (but virtual:native:/home/fjpedraz/Debugging/poky/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.8.5.bb DEPENDS on or otherwise requires it). Close matches:
  unifdef-native
  db-native
  guile-native
ERROR: Required build target &apos;core-image-minimal&apos; has no buildable providers.
Missing or unbuildable dependency chain was: [&apos;core-image-minimal&apos;, &apos;btrfs-tools-native&apos;, &apos;udev-native&apos;]


Links:
[1] - http://www.yoctoproject.org/docs/2.2/mega-manual/mega-manual.html#var-IMAGE_FSTYPES
[2] - http://www.yoctoproject.org/docs/2.2/mega-manual/mega-manual.html#var-IMAGE_TYPES</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70880</commentid>
    <comment_count>1</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2017-02-22 12:53:54 +0000</bug_when>
    <thetext>The fix is in ross/mut already, soon to be merged: https://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=ross/mut&amp;id=11dab5eb7388f51e8e4946022b2edb0b5bdc5536</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71037</commentid>
    <comment_count>2</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2017-03-02 11:27:49 +0000</bug_when>
    <thetext>the fix has been merged to master</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71283</commentid>
    <comment_count>3</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-03-14 20:21:45 +0000</bug_when>
    <thetext>Reopining bug as is still failing, just the error is different now:

commit: 6e20b31d5d17133e0fca086e12a0ad06ab5c4cc8


ERROR: core-image-minimal-1.0-r0 do_image_btrfs: Rootfs is too small for BTRFS (Rootfs Actual Size: 9740, BTRFS Minimum Size: 16384)
ERROR: core-image-minimal-1.0-r0 do_image_btrfs: Function failed: do_image_btrfs (log file is located at /home/jgperezc/sandbox/poky-bugs/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_btrfs.28944)
ERROR: Logfile of failure stored in: /home/jgperezc/sandbox/poky-bugs/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_btrfs.28944
ERROR: Task (/home/jgperezc/sandbox/poky-bugs/meta/recipes-core/images/core-image-minimal.bb:do_image_btrfs) failed with exit code &apos;1&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71298</commentid>
    <comment_count>4</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2017-03-15 09:35:03 +0000</bug_when>
    <thetext>This bug is fixed as btrfs doesn&apos;t require dev-native to build anymore.

Please, create new bug for the new issue. The issue doesn&apos;t have anything in common with this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71305</commentid>
    <comment_count>5</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-03-15 14:52:08 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; This bug is fixed as btrfs doesn&apos;t require dev-native to build anymore.
&gt; 
&gt; Please, create new bug for the new issue. The issue doesn&apos;t have anything in
&gt; common with this bug.

Bug 11163 created</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>