kata-containers / packaging

Kata Containers version 1.x packaging (for version 2.x see https://github.com/kata-containers/kata-containers).
https://katacontainers.io/
Apache License 2.0
119 stars 92 forks source link

Debian 10: Qemu vanilla is broken #1051

Closed jcvenegas closed 4 years ago

jcvenegas commented 4 years ago

Description of problem

Qemu vanilla has been borken for a long time but CI did not detected.

[  169s]   CC      block/file-posix.o
[  169s] In file included from /usr/src/packages/BUILD/include/qemu/timer.h:4,
[  169s]                  from /usr/src/packages/BUILD/include/qemu/timed-average.h:29,
[  169s]                  from /usr/src/packages/BUILD/include/block/accounting.h:28,
[  169s]                  from /usr/src/packages/BUILD/include/block/block_int.h:27,
[  169s]                  from block/file-posix.c:30:
[  169s] /usr/include/linux/swab.h: In function '__swab':
[  169s] /usr/src/packages/BUILD/include/qemu/bitops.h:20:34: warning: "sizeof" is not defined, evaluates to 0 [-Wundef]
[  169s]  #define BITS_PER_LONG           (sizeof (unsigned long) * BITS_PER_BYTE)
[  169s]                                   ^~~~~~
[  169s] /usr/src/packages/BUILD/include/qemu/bitops.h:20:41: error: missing binary operator before token "("
[  169s]  #define BITS_PER_LONG           (sizeof (unsigned long) * BITS_PER_BYTE)
[  169s]                                          ^
[  169s] make[2]: *** [/usr/src/packages/BUILD/rules.mak:69: block/file-posix.o] Error 1
[  169s] make[2]: Leaving directory '/usr/src/packages/BUILD'
[  169s] make[1]: *** [debian/rules:11: override_dh_auto_build] Error 2
[  169s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  169s] make: *** [debian/rules:5: build] Error 2
[  169s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
[  169s] ### VM INTERACTION START ###
[  172s] [  164.867436] sysrq: SysRq : Power Off
[  172s] [  164.873848] reboot: Power down

For now we should

Expected result

(replace this text with an explanation of what you thought would happen)

Actual result

(replace this text with details of what actually happened)

amshinde commented 4 years ago

@jcvenegas Related debian bug can be found here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960271

I see that there is an update yesterday 10 Jun 2020, that they have pushed a fix:

We believe that the bug you reported is fixed in the latest version of
linux, which is due to be installed in the Debian FTP archive.

@jcvenegas @GabyCT We can try again to see if the CI has been fixed. OBS may take longer to fix.

ariel-adam commented 4 years ago

We believe this issue has been fixed and are closing this bug.