Package: strace
Version: 4.9-2
Severity: serious
Tags: upstream
Justification: fails to build from source (but built successfully in the past)


Dear maintainer,

as reported in buildd [0], strace FTBFS on mipsel.

[...]
In file included from ../linux/mips/syscallent.h:3:0,
                 from ../syscall.c:85:
.../linux/mips/syscallent-o32.h:3:20: error: 'sys_syscall' undeclared here (not 
in a function)
 [4000] = { MA, 0,  sys_syscall,   "syscall"  }, /* start of Linux o32 */
                    ^
gcc -DHAVE_CONFIG_H -I. -I..  -I./linux/mips -I../linux/mips -I./linux 
-I../linux -D_FORTIFY_SOURCE=2 -Wall -Wwrite-strings -Wsign-compare -g -O2 
-fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 
-MT strace-syslog.o -MD -MP -MF .deps/strace-syslog.Tpo -c -o strace-syslog.o 
`test -f 'syslog.c' || echo '../'`syslog.c
mv -f .deps/strace-syslog.Tpo .deps/strace-syslog.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I./linux/mips -I../linux/mips -I./linux 
-I../linux -D_FORTIFY_SOURCE=2 -Wall -Wwrite-strings -Wsign-compare -g -O2 
-fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 
-MT strace-sysmips.o -MD -MP -MF .deps/strace-sysmips.Tpo -c -o 
strace-sysmips.o `test -f 'sysmips.c' || echo '../'`sysmips.c
mv -f .deps/strace-sysinfo.Tpo .deps/strace-sysinfo.Po
.../syscall.c:622:1: warning: return type defaults to 'int' [-Wreturn-type]
 SYS_FUNC(syscall)
 ^
.../syscall.c: In function 'SYS_FUNC':
.../syscall.c:624:19: error: 'tcp' undeclared (first use in this function)
  return printargs(tcp);
                   ^
.../syscall.c:624:19: note: each undeclared identifier is reported only once 
for each function it appears in
.../syscall.c:624:19: warning: passing argument 1 of 'printargs' from 
incompatible pointer type
In file included from ../syscall.c:34:0:
.../defs.h:462:12: note: expected 'struct tcb *' but argument is of type 'const 
struct struct_sysent *'
 extern int printargs(struct tcb *);
            ^
.../syscall.c: In function 'trace_syscall_entering':
.../syscall.c:1797:18: warning: comparison of distinct pointer types lacks a 
cast
  if (sys_syscall == tcp->s_ent->sys_func)
                  ^
.../syscall.c:1798:3: error: too few arguments to function 'decode_mips_subcall'
   decode_mips_subcall();
   ^
.../syscall.c:611:1: note: declared here
 decode_mips_subcall(struct tcb *tcp)
 ^
gcc -DHAVE_CONFIG_H -I. -I..  -I./linux/mips -I../linux/mips -I./linux 
-I../linux -D_FORTIFY_SOURCE=2 -Wall -Wwrite-strings -Wsign-compare -g -O2 
-fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 
-MT strace-term.o -MD -MP -MF .deps/strace-term.Tpo -c -o strace-term.o `test 
-f 'term.c' || echo '../'`term.c
.../syscall.c:1798:3: warning: statement with no effect [-Wunused-value]
   decode_mips_subcall();
   ^
make[3]: *** [strace-syscall.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[...]

I've reported this issue upstream and I'm working towards a fix.

best regards.

[0] 
https://buildd.debian.org/status/fetch.php?pkg=strace&arch=mipsel&ver=4.10-2&stamp=1435800897


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to