Failed to build test_old_trusty_regression_testsuite on Trusty ARM64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QA Regression Testing |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The test_old_
Error message:
cc -Wall -Wstrict-prototypes openat.c -lapparmor -o openat
cc -Wall -Wstrict-prototypes pipe.c -lapparmor -o pipe
cc -Wall -Wstrict-prototypes ptrace.c -lapparmor -o ptrace
ptrace.c: In function ‘do_parent’:
ptrace.c:40:14: error: storage size of ‘regs’ isn’t known
struct user regs;
^
ptrace.c:92:14: error: ‘PTRACE_GETREGS’ undeclared (first use in this function)
if (ptrace(
^
ptrace.c:92:14: note: each undeclared identifier is reported only once for each function it appears in
ptrace.c:40:14: warning: unused variable ‘regs’ [-Wunused-variable]
struct user regs;
^
make: *** [ptrace] Error 1
complete output: http://
The ptrace.c file contains both of these includes:
#include <sys/ptrace.h>
...
#include <sys/user.h>
Those header files should provide the definitions that are missing in your build failure. Can you ensure that you have linux-libc-dev and libc6-dev installed?