--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: ctfutils: FTBFS: elf.h:22:3: error: #error This header is unsupported on x86-64.
- From: David Suárez <david.sephirot@gmail.com>
- Date: Sat, 28 Dec 2013 18:29:55 +0100
- Message-id: <20131228172954.GA15991@Aeris.MIDGAR>
Source: ctfutils
Version: 9.2-1
Severity: serious
Tags: jessie sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20131226 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):
> cc -Wall -Wno-unknown-pragmas -g -pipe -fPIC -I. -D_GNU_SOURCE -DNEED_SOLARIS_BOOLEAN -isystem /usr/include/freebsd -Werror=implicit-function-declaration -O2 -DCTF_OLD_VERSIONS -I/«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris -I/«PKGBUILDDIR»/cddl/lib/libctf/../../../cddl/compat/opensolaris/include -I/«PKGBUILDDIR»/cddl/contrib/opensolaris/head -I/«PKGBUILDDIR»/cddl/contrib/opensolaris/common/ctf -I/«PKGBUILDDIR»/cddl/contrib/opensolaris/lib/libctf/common -I/«PKGBUILDDIR»/sys/cddl/contrib/opensolaris/uts/common -std=gnu99 -fstack-protector -Wno-pointer-sign -c /«PKGBUILDDIR»/cddl/lib/libctf/../../../cddl/contrib/opensolaris/common/ctf/ctf_create.c -o ctf_create.o
> In file included from /«PKGBUILDDIR»/cddl/lib/libctf/../../../cddl/contrib/opensolaris/common/ctf/ctf_create.c:30:0:
> /«PKGBUILDDIR»/sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h:220:0: warning: "howmany" redefined [enabled by default]
> #define howmany(x, y) (((x)+((y)-1))/(y))
> ^
> In file included from /usr/include/freebsd/sys/param.h:38:0,
> from /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/param.h:30,
> from /«PKGBUILDDIR»/sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h:33,
> from /«PKGBUILDDIR»/cddl/lib/libctf/../../../cddl/contrib/opensolaris/common/ctf/ctf_create.c:30:
> /usr/include/x86_64-linux-gnu/sys/param.h:87:0: note: this is the location of the previous definition
> # define howmany(x, y) (((x) + ((y) - 1)) / (y))
> ^
> In file included from /«PKGBUILDDIR»/cddl/lib/libctf/../../../cddl/contrib/opensolaris/common/ctf/ctf_create.c:30:0:
> /«PKGBUILDDIR»/sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h:221:0: warning: "roundup" redefined [enabled by default]
> #define roundup(x, y) ((((x)+((y)-1))/(y))*(y))
> ^
> In file included from /usr/include/freebsd/sys/param.h:38:0,
> from /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/param.h:30,
> from /«PKGBUILDDIR»/sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h:33,
> from /«PKGBUILDDIR»/cddl/lib/libctf/../../../cddl/contrib/opensolaris/common/ctf/ctf_create.c:30:
> /usr/include/x86_64-linux-gnu/sys/param.h:90:0: note: this is the location of the previous definition
> # define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \
> ^
> In file included from /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/elf.h:30:0,
> from /«PKGBUILDDIR»/sys/cddl/contrib/opensolaris/uts/common/sys/ctf_api.h:47,
> from /«PKGBUILDDIR»/cddl/contrib/opensolaris/common/ctf/ctf_impl.h:36,
> from /«PKGBUILDDIR»/cddl/lib/libctf/../../../cddl/contrib/opensolaris/common/ctf/ctf_create.c:33:
> /usr/include/x86_64-linux-gnu/sys/elf.h:22:3: error: #error This header is unsupported on x86-64.
> # error This header is unsupported on x86-64.
> ^
> In file included from /«PKGBUILDDIR»/sys/cddl/contrib/opensolaris/uts/common/sys/ctf_api.h:47:0,
> from /«PKGBUILDDIR»/cddl/contrib/opensolaris/common/ctf/ctf_impl.h:36,
> from /«PKGBUILDDIR»/cddl/lib/libctf/../../../cddl/contrib/opensolaris/common/ctf/ctf_create.c:33:
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/elf.h:34:1: error: unknown type name 'Elf__ELF_WORD_SIZE_Addr'
> __sElfN(Addr);
> ^
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/elf.h:35:1: error: unknown type name 'Elf__ELF_WORD_SIZE_Cap'
> __sElfN(Cap);
> ^
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/elf.h:36:1: error: unknown type name 'Elf__ELF_WORD_SIZE_Dyn'
> __sElfN(Dyn);
> ^
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/elf.h:37:1: error: unknown type name 'Elf__ELF_WORD_SIZE_Ehdr'
> __sElfN(Ehdr);
> ^
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/elf.h:38:1: error: unknown type name 'Elf__ELF_WORD_SIZE_Move'
> __sElfN(Move);
> ^
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/elf.h:39:1: error: unknown type name 'Elf__ELF_WORD_SIZE_Off'
> __sElfN(Off);
> ^
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/elf.h:40:1: error: unknown type name 'Elf__ELF_WORD_SIZE_Phdr'
> __sElfN(Phdr);
> ^
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/elf.h:41:1: error: unknown type name 'Elf__ELF_WORD_SIZE_Rel'
> __sElfN(Rel);
> ^
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/elf.h:42:1: error: unknown type name 'Elf__ELF_WORD_SIZE_Rela'
> __sElfN(Rela);
> ^
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/elf.h:43:1: error: unknown type name 'Elf__ELF_WORD_SIZE_Shdr'
> __sElfN(Shdr);
> ^
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/elf.h:44:1: error: unknown type name 'Elf__ELF_WORD_SIZE_Sym'
> __sElfN(Sym);
> ^
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/elf.h:45:1: error: unknown type name 'Elf__ELF_WORD_SIZE_Syminfo'
> __sElfN(Syminfo);
> ^
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/elf.h:46:1: error: unknown type name 'Elf__ELF_WORD_SIZE_Verdaux'
> __sElfN(Verdaux);
> ^
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/elf.h:47:1: error: unknown type name 'Elf__ELF_WORD_SIZE_Verdef'
> __sElfN(Verdef);
> ^
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/elf.h:48:1: error: unknown type name 'Elf__ELF_WORD_SIZE_Vernaux'
> __sElfN(Vernaux);
> ^
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/elf.h:49:1: error: unknown type name 'Elf__ELF_WORD_SIZE_Verneed'
> __sElfN(Verneed);
> ^
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/elf.h:50:1: error: unknown type name 'Elf__ELF_WORD_SIZE_Versym'
> __sElfN(Versym);
> ^
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/elf.h:52:1: error: unknown type name 'Elf__ELF_WORD_SIZE_Half'
> __sElfN(Half);
> ^
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/elf.h:53:1: error: unknown type name 'Elf__ELF_WORD_SIZE_Sword'
> __sElfN(Sword);
> ^
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/elf.h:54:1: error: unknown type name 'Elf__ELF_WORD_SIZE_Word'
> __sElfN(Word);
> ^
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/elf.h:60:1: error: unknown type name 'Elf64_Xword'
> typedef Elf64_Xword Xword;
> ^
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../sys/cddl/compat/opensolaris/sys/elf.h:61:1: error: unknown type name 'Elf64_Sxword'
> typedef Elf64_Sxword Sxword;
> ^
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../cddl/contrib/opensolaris/common/ctf/ctf_create.c: In function 'ctf_create':
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../cddl/contrib/opensolaris/common/ctf/ctf_create.c:64:17: error: 'SHT_PROGBITS' undeclared (first use in this function)
> cts.cts_type = SHT_PROGBITS;
> ^
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../cddl/contrib/opensolaris/common/ctf/ctf_create.c:64:17: note: each undeclared identifier is reported only once for each function it appears in
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../cddl/contrib/opensolaris/common/ctf/ctf_create.c:66:15: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
> cts.cts_data = &hdr;
> ^
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../cddl/contrib/opensolaris/common/ctf/ctf_create.c: In function 'ctf_update':
> /«PKGBUILDDIR»/cddl/lib/libctf/../../../cddl/contrib/opensolaris/common/ctf/ctf_create.c:368:17: error: 'SHT_PROGBITS' undeclared (first use in this function)
> cts.cts_type = SHT_PROGBITS;
> ^
> *** [ctf_create.o] Error code 1
>
> Stop in /«PKGBUILDDIR»/cddl/lib/libctf.
> make: *** [build-libctf-stamp] Error 1
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2013/12/26/ctfutils_9.2-1_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.
--- End Message ---