Bug#844862: linux-atm: FTBFS: time.h:9:8: error: redefinition of 'struct timespec'
Source: linux-atm
Version: 1:2.5.1-1.6
Severity: serious
Tags: stretch sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20161118 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> gcc -DHAVE_CONFIG_H -I. -I../.. -I./../q2931 -I./../saal -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../src/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -MT zntune.o -MD -MP -MF .deps/zntune.Tpo -c -o zntune.o zntune.c
> In file included from /usr/include/linux/atm_zatm.h:17:0,
> from zntune.c:17:
> /usr/include/linux/time.h:9:8: error: redefinition of 'struct timespec'
> struct timespec {
> ^~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/sys/select.h:45:0,
> from /usr/include/x86_64-linux-gnu/sys/types.h:219,
> from /usr/include/stdlib.h:275,
> from zntune.c:9:
> /usr/include/time.h:120:8: note: originally defined here
> struct timespec
> ^~~~~~~~
> In file included from /usr/include/linux/atm_zatm.h:17:0,
> from zntune.c:17:
> /usr/include/linux/time.h:15:8: error: redefinition of 'struct timeval'
> struct timeval {
> ^~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/sys/select.h:47:0,
> from /usr/include/x86_64-linux-gnu/sys/types.h:219,
> from /usr/include/stdlib.h:275,
> from zntune.c:9:
> /usr/include/x86_64-linux-gnu/bits/time.h:30:8: note: originally defined here
> struct timeval
> ^~~~~~~
> In file included from /usr/include/linux/atm_zatm.h:17:0,
> from zntune.c:17:
> /usr/include/linux/time.h:20:8: error: redefinition of 'struct timezone'
> struct timezone {
> ^~~~~~~~
> In file included from zntune.c:16:0:
> /usr/include/x86_64-linux-gnu/sys/time.h:55:8: note: originally defined here
> struct timezone
> ^~~~~~~~
> In file included from /usr/include/linux/atm_zatm.h:17:0,
> from zntune.c:17:
> /usr/include/linux/time.h:39:8: error: redefinition of 'struct itimerval'
> struct itimerval {
> ^~~~~~~~~
> In file included from zntune.c:16:0:
> /usr/include/x86_64-linux-gnu/sys/time.h:107:8: note: originally defined here
> struct itimerval
> ^~~~~~~~~
> Makefile:607: recipe for target 'zntune.o' failed
> make[4]: *** [zntune.o] Error 1
The full build log is available from:
http://aws-logs.debian.net/2016/11/18/linux-atm_2.5.1-1.6_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
Reply to: