** Changed in: linux (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1689240
Title: scrashme failed to build on LPAR Ubuntu Status in linux package in Ubuntu: Confirmed Bug description: This test case failed to build on LPAR Ubuntu (s2lp4) Maybe we should disable it from the test suite. cc -Wall -W -Wshadow -g -O2 -o scrashme.o -c scrashme.c Makefile:13: recipe for target 'scrashme.o' failed stderr: scrashme.c: In function 'mkcall': scrashme.c:150:13: error: 'NR_SYSCALLS' undeclared (first use in this function) if (call > NR_SYSCALLS) ^~~~~~~~~~~ scrashme.c:150:13: note: each undeclared identifier is reported only once for each function it appears in scrashme.c: In function 'do_syscall': scrashme.c:258:27: error: 'NR_SYSCALLS' undeclared (first use in this function) cl = rand() / (RAND_MAX/NR_SYSCALLS); ^~~~~~~~~~~ scrashme.c: In function 'syscall_list': scrashme.c:293:15: error: 'NR_SYSCALLS' undeclared (first use in this function) for (i=0; i<=NR_SYSCALLS; i++) { ^~~~~~~~~~~ scrashme.c: In function 'parse_args': scrashme.c:337:18: error: 'NR_SYSCALLS' undeclared (first use in this function) for (i=0; i<=NR_SYSCALLS; i++) { ^~~~~~~~~~~ scrashme.c:371:13: error: 'KERNEL_ADDR' undeclared (first use in this function) regval = KERNEL_ADDR; ^~~~~~~~~~~ scrashme.c: In function 'run_mode': scrashme.c:522:15: error: 'NR_SYSCALLS' undeclared (first use in this function) if (rep > NR_SYSCALLS) { ^~~~~~~~~~~ scrashme.c: In function 'main': scrashme.c:588:13: error: 'syscalls_i386' undeclared (first use in this function) syscalls = syscalls_i386; ^~~~~~~~~~~~~ scrashme.c: In function 'run_setup': scrashme.c:467:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(65536); ^~~~~~~~~~~~~~ scrashme.c:468:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(65536); ^~~~~~~~~~~~~~ scrashme.c:469:2: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void)setgid(65536); ^~~~~~~~~~~~~~~~~~~ scrashme.c:470:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(65536); ^~~~~~~~~~~~~~ scrashme.c:486:2: warning: ignoring return value of 'chroot', declared with attribute warn_unused_result [-Wunused-result] chroot("tmp"); ^~~~~~~~~~~~~ make: *** [scrashme.o] Error 1 ProblemType: Bug DistroRelease: Ubuntu 16.10 Package: linux-image-4.8.0-52-generic 4.8.0-52.55 ProcVersionSignature: Ubuntu 4.8.0-52.55-generic 4.8.17 Uname: Linux 4.8.0-52-generic s390x NonfreeKernelModules: zfs zunicode zcommon znvpair zavl AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access '/dev/snd/': No such file or directory AplayDevices: Error: [Errno 2] No such file or directory: 'aplay' ApportVersion: 2.20.3-0ubuntu8.2 Architecture: s390x ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found. Date: Mon May 8 03:25:31 2017 HibernationDevice: RESUME=UUID=46fcf640-03e2-4fd5-b7d6-321d6a11ff8d IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' Lsusb: Error: command ['lsusb'] failed with exit code 1: PciMultimedia: ProcFB: Error: [Errno 2] No such file or directory: '/proc/fb' ProcKernelCmdLine: root=UUID=4a1de891-d624-42df-be09-50199aec3d11 crashkernel=196M debug BOOT_IMAGE=0 RelatedPackageVersions: linux-restricted-modules-4.8.0-52-generic N/A linux-backports-modules-4.8.0-52-generic N/A linux-firmware 1.161.1 RfKill: Error: [Errno 2] No such file or directory: 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1689240/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp