Public bug reported:
Test failed to build with the proposed Disco kernel with:
undefined reference to `BIT'
ubuntu@moe:~/ubuntu-disco/tools/testing/selftests$ sudo make run_tests
make[1]: Entering directory
'/home/ubuntu/ubuntu-disco/tools/testing/selftests/seccomp'
gcc -Wl,-no-as-needed -Wall seccomp_bpf.c -lpthread -o seccomp_bpf
seccomp_bpf.c: In function ‘user_notification_continue’:
seccomp_bpf.c:3074:26: warning: overflow in conversion from ‘long int’ to
‘__s32’ {aka ‘int’} changes value from ‘116983961184613’ to ‘1936943461’
[-Woverflow]
#define USER_NOTIF_MAGIC 116983961184613L
^~~~~~~~~~~~~~~~
seccomp_bpf.c:3535:15: note: in expansion of macro ‘USER_NOTIF_MAGIC’
resp.error = USER_NOTIF_MAGIC;
^~~~~~~~~~~~~~~~
/usr/bin/ld: /tmp/cc5Df3dg.o: in function `user_notification_continue':
seccomp_bpf.c:(.text+0x2e226): undefined reference to `BIT'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:12: seccomp_bpf] Error 1
make[1]: Leaving directory
'/home/ubuntu/ubuntu-disco/tools/testing/selftests/seccomp'
make: *** [Makefile:91: all] Error 2
Note that bug 1849281 looks like a different issue.
ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: linux-image-5.0.0-33-generic 5.0.0-33.35
ProcVersionSignature: User Name 5.0.0-33.35-generic 5.0.21
Uname: Linux 5.0.0-33-generic x86_64
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Oct 25 13:38 seq
crw-rw---- 1 root audio 116, 33 Oct 25 13:38 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.10-0ubuntu27.1
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq',
'/dev/snd/timer'] failed with exit code 1:
CurrentDmesg: [ 484.024237] systemd-journald[391]: /dev/kmsg buffer overrun,
some messages lost.
Date: Fri Oct 25 13:50:36 2019
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
PciMultimedia:
ProcFB: 0 cirrusdrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-33-generic
root=UUID=36e162f3-41b5-4487-a6dc-09ba4e37d3bf ro console=tty1 console=ttyS0
RelatedPackageVersions:
linux-restricted-modules-5.0.0-33-generic N/A
linux-backports-modules-5.0.0-33-generic N/A
linux-firmware 1.178.5
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/01/2014
dmi.bios.vendor: SeaBIOS
dmi.bios.version: 1.10.2-1ubuntu1
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.version: pc-i440fx-bionic
dmi.modalias:
dmi:bvnSeaBIOS:bvr1.10.2-1ubuntu1:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-bionic:cvnQEMU:ct1:cvrpc-i440fx-bionic:
dmi.product.name: Standard PC (i440FX + PIIX, 1996)
dmi.product.version: pc-i440fx-bionic
dmi.sys.vendor: QEMU
** Affects: ubuntu-kernel-tests
Importance: Undecided
Status: New
** Affects: linux (Ubuntu)
Importance: Undecided
Status: Incomplete
** Affects: linux (Ubuntu Disco)
Importance: Undecided
Status: Incomplete
** Tags: 5.0 amd64 apport-bug disco package-from-proposed sru-20191021
ubuntu-kernel-selftests uec-images
** Also affects: linux (Ubuntu Disco)
Importance: Undecided
Status: New
** Also affects: ubuntu-kernel-tests
Importance: Undecided
Status: New
** Tags added: 5.0 sru-20191021 ubuntu-kernel-selftests
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1849844
Title:
seccomp test in ubuntu_kernel_selftests failed to build on D amd64
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1849844/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs