Bug#806241: clang-3.6 on kfreebsd-*: fatal error: 'sys/cdefs.h' file not found
Jakub Wilk
jwilk at debian.org
Wed Nov 25 18:06:38 UTC 2015
Package: clang-3.6
Version: 1:3.6.2-3
User: debian-bsd at lists.debian.org
Usertags: kfreebsd
Control: affects -1 + src:afl
On kfreebsd-*, clang-3.6 fails when you include standard headers, such
as <stdint.h>:
$ echo '#include <stdint.h>' > test.c
$ clang-3.6 -c test.c
In file included from test.c:1:
In file included from /usr/lib/llvm-3.6/bin/../lib/clang/3.6.2/include/stdint.h:61:
In file included from /usr/include/stdint.h:25:
/usr/include/features.h:375:12: fatal error: 'sys/cdefs.h' file not found
# include <sys/cdefs.h>
^
1 error generated.
This makes afl FTBFS:
https://buildd.debian.org/status/fetch.php?pkg=afl&arch=kfreebsd-i386&ver=1.94b-1%2Bb1&stamp=1448386546
https://buildd.debian.org/status/fetch.php?pkg=afl&arch=kfreebsd-amd64&ver=1.94b-1%2Bb1&stamp=1448386538
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: kfreebsd-i386 (i386)
Kernel: kFreeBSD 10.1-0-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages clang-3.6 depends on:
ii binutils 2.25.51.20151113-2
ii libc0.1 2.19-22
ii libc0.1-dev [libc6-dev] 2.19-22
ii libclang-common-3.6-dev 1:3.6.2-3
ii libclang1-3.6 1:3.6.2-3
ii libedit2 3.1-20150325-1
ii libffi6 3.2.1-3
ii libgcc-5-dev 5.2.1-25
ii libgcc1 1:5.2.1-25
ii libllvm3.6v5 1:3.6.2-3
ii libobjc-5-dev 5.2.1-25
ii libstdc++-5-dev 5.2.1-25
ii libstdc++6 5.2.1-25
ii libtinfo5 6.0+20151024-2
ii zlib1g 1:1.2.8.dfsg-2+b1
Versions of packages clang-3.6 recommends:
ii llvm-3.6-dev 1:3.6.2-3
ii python 2.7.9-1
--
Jakub Wilk
More information about the Pkg-llvm-team
mailing list