Source: tftp-hpa
Version: 7.2-3
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: [email protected], [email protected]
User: [email protected]
Usertags: armhf
Dear maintainer,
tftp-hpa does not build on armhf:
arm-linux-gnueabihf-gcc -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/tftp-hpa-7.2=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -g3 -ggdb -fwrapv -fno-strict-aliasing
-ftrivial-auto-var-init=zero -U__STRICT_ANSI__ -fno-common -pthread
-ffunction-sections -fdata-sections -W -Wall -Wpedantic -Wbad-function-cast
-Wc99-c11-compat -Wc11-c23-compat -Wc23-c2y-compat
-Wflex-array-member-not-at-end -Wframe-larger-than=768 -Wheader-guard -Winline
-Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wshadow -Wstack-usage=16384
-Wstrict-prototypes -Wtrigraphs -Wtrivial-auto-var-init -Wundef -Wvla
-Wwrite-strings -MMD -MF pollset.o.dep -I.. -c pollset.c
In file included from tftpsubs.h:12,
from tftp-xfer.h:10,
from tftp-xfer.c:7:
../config.h:314:14: error: conflicting types for ‘off_t’; have ‘long int’
314 | typedef long off_t;
| ^~~~~
In file included from /usr/include/arm-linux-gnueabihf/bits/sigstksz.h:24,
from /usr/include/signal.h:328,
from ../config.h:36:
/usr/include/unistd.h:245:19: note: previous declaration of ‘off_t’ with type
‘off_t’ {aka ‘long long int’}
245 | typedef __off64_t off_t;
| ^~~~~
In file included from xalloc.h:17,
from xasprintf.c:7:
../config.h:314:14: error: conflicting types for ‘off_t’; have ‘long int’
314 | typedef long off_t;
| ^~~~~
In file included from /usr/include/arm-linux-gnueabihf/bits/sigstksz.h:24,
from /usr/include/signal.h:328,
from ../config.h:36:
/usr/include/unistd.h:245:19: note: previous declaration of ‘off_t’ with type
‘off_t’ {aka ‘long long int’}
245 | typedef __off64_t off_t;
| ^~~~~
In file included from progname.c:7:
../config.h:314:14: error: conflicting types for ‘off_t’; have ‘long int’
314 | typedef long off_t;
| ^~~~~
In file included from signal.c:13:
../config.h:314:14: error: conflicting types for ‘off_t’; have ‘long int’
314 | typedef long off_t;
| ^~~~~
In file included from /usr/include/arm-linux-gnueabihf/bits/sigstksz.h:24,
from /usr/include/signal.h:328,
from ../config.h:36:
/usr/include/unistd.h:245:19: note: previous declaration of ‘off_t’ with type
‘off_t’ {aka ‘long long int’}
245 | typedef __off64_t off_t;
| ^~~~~
In file included from /usr/include/arm-linux-gnueabihf/bits/sigstksz.h:24,
from /usr/include/signal.h:328,
from ../config.h:36:
/usr/include/unistd.h:245:19: note: previous declaration of ‘off_t’ with type
‘off_t’ {aka ‘long long int’}
245 | typedef __off64_t off_t;
| ^~~~~
In file included from xalloc.h:17,
from xalloc.c:14:
../config.h:314:14: error: conflicting types for ‘off_t’; have ‘long int’
314 | typedef long off_t;
| ^~~~~
In file included from /usr/include/arm-linux-gnueabihf/bits/sigstksz.h:24,
from /usr/include/signal.h:328,
from ../config.h:36:
/usr/include/unistd.h:245:19: note: previous declaration of ‘off_t’ with type
‘off_t’ {aka ‘long long int’}
245 | typedef __off64_t off_t;
| ^~~~~
In file included from tftp-io.c:7:
../config.h:314:14: error: conflicting types for ‘off_t’; have ‘long int’
314 | typedef long off_t;
| ^~~~~
In file included from /usr/include/arm-linux-gnueabihf/bits/sigstksz.h:24,
from /usr/include/signal.h:328,
from ../config.h:36:
/usr/include/unistd.h:245:19: note: previous declaration of ‘off_t’ with type
‘off_t’ {aka ‘long long int’}
245 | typedef __off64_t off_t;
| ^~~~~
make[2]: *** [../MRULES:9: xasprintf.o] Error 1
See
https://buildd.debian.org/status/fetch.php?pkg=tftp-hpa&arch=armhf&ver=7.2-3&stamp=1790534322&raw=0
for details.
Cheers
--
Sebastian Ramacher