<?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>13902</bug_id>
          
          <creation_ts>2020-05-17 09:08:10 +0000</creation_ts>
          <short_desc>Compile failure for qemu-system-native on autobuilder oe_selftest runs</short_desc>
          <delta_ts>2020-05-21 07:13:51 +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>3.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Steve Sakoman">steve</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <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>87225</commentid>
    <comment_count>0</comment_count>
    <who name="Steve Sakoman">steve</who>
    <bug_when>2020-05-17 09:08:10 +0000</bug_when>
    <thetext>Somewhat intermittent, but occurring more often than not:

In file included from /home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-18265/reproducibleB/tmp/work/x86_64-linux/qemu-system-native/4.2.0-r0/qemu-4.2.0/include/qemu/timer.h:4,
                 from /home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-18265/reproducibleB/tmp/work/x86_64-linux/qemu-system-native/4.2.0-r0/qemu-4.2.0/include/qemu/timed-average.h:29,
                 from /home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-18265/reproducibleB/tmp/work/x86_64-linux/qemu-system-native/4.2.0-r0/qemu-4.2.0/include/block/accounting.h:28,
                 from /home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-18265/reproducibleB/tmp/work/x86_64-linux/qemu-system-native/4.2.0-r0/qemu-4.2.0/include/block/block_int.h:27,
                 from /home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-18265/reproducibleB/tmp/work/x86_64-linux/qemu-system-native/4.2.0-r0/qemu-4.2.0/block/file-posix.c:30:
/usr/include/linux/swab.h: In function â__swabâ:
/home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-18265/reproducibleB/tmp/work/x86_64-linux/qemu-system-native/4.2.0-r0/qemu-4.2.0/include/qemu/bitops.h:20:34: warning: &quot;sizeof&quot; is not defined, evaluates to 0 [-Wundef]
 #define BITS_PER_LONG           (sizeof (unsigned long) * BITS_PER_BYTE)
                                  ^~~~~~
/home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-18265/reproducibleB/tmp/work/x86_64-linux/qemu-system-native/4.2.0-r0/qemu-4.2.0/include/qemu/bitops.h:20:41: error: missing binary operator before token &quot;(&quot;
 #define BITS_PER_LONG           (sizeof (unsigned long) * BITS_PER_BYTE)
                                         ^
  CC      block/io.o
  CC      block/create.o
make: *** [/home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-18265/reproducibleB/tmp/work/x86_64-linux/qemu-system-native/4.2.0-r0/qemu-4.2.0/rules.mak:69: block/file-posix.o] Error 1
make: *** Waiting for unfinished jobs....
WARNING: exit code 1 from a shell command.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87226</commentid>
    <comment_count>1</comment_count>
    <who name="Steve Sakoman">steve</who>
    <bug_when>2020-05-17 09:11:49 +0000</bug_when>
    <thetext>Recent stable/dunfell-nut builds exhibiting the issue:

https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/940
https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/941
https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/942

And also showing up in master builds:

https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/1044</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87227</commentid>
    <comment_count>2</comment_count>
    <who name="Steve Sakoman">steve</who>
    <bug_when>2020-05-17 09:14:57 +0000</bug_when>
    <thetext>Some discussion of this issue on launchpad.net over the past week:

https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1847361</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87273</commentid>
    <comment_count>3</comment_count>
    <who name="Steve Sakoman">steve</who>
    <bug_when>2020-05-21 07:12:57 +0000</bug_when>
    <thetext>Problem was traced to a bug in the headers /usr/include/linux/swab.h of linux-libc-dev on the build machine:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1877123

Issue has now been fixed upstream and autobuilders are updated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87274</commentid>
    <comment_count>4</comment_count>
    <who name="Steve Sakoman">steve</who>
    <bug_when>2020-05-21 07:13:51 +0000</bug_when>
    <thetext>See previous comment</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>