Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Debian 10: Qemu vanilla is broken #1051

Closed
jcvenegas opened this issue May 18, 2020 · 2 comments
Closed

Debian 10: Qemu vanilla is broken #1051

jcvenegas opened this issue May 18, 2020 · 2 comments
Labels
bug Incorrect behaviour needs-review Needs to be assessed by the team.

Comments

@jcvenegas
Copy link
Member

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

  • [ ] Remove debian 10 to unlock the CI
  • [ ] Find the reason why CI script did not found the issue in the past until now.

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)

@jcvenegas jcvenegas added bug Incorrect behaviour needs-review Needs to be assessed by the team. labels May 18, 2020
@amshinde
Copy link
Member

@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
Copy link

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

Issue backlog automation moved this from To do to Done Sep 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Incorrect behaviour needs-review Needs to be assessed by the team.
Projects
Issue backlog
  
Done
Development

No branches or pull requests

3 participants