[Pkg-samba-maint] Bug#812264: samba: FTBFS with GCC 6: ctype.h:216: first defined here
Martin Michlmayr
tbm at hpe.com
Fri Jan 22 02:57:29 UTC 2016
Package: samba
Version: 2:4.3.3+dfsg-1
Severity: normal
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-unknown
This package fails to build with GCC 6. GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.
Unfortunately, it's not clear from the log why the build failed.
It's possible there's a bug in this package or in GCC. It's also
possible I reported a non-issue, although I tried to avoid that.
I apologize in advance if this is the case.
If you have some time to look into this issue, that'd be great. If
not, I can re-test the package with GCC 6 in a few weeks time.
You can find a snapshot of GCC 6 in experimental. To build with
GCC 6, you can set CC=gcc-6 CXX=g++-6 explicitly.
You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html
> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> [ 253/4013] Linking default/source4/heimdal_build/compile_et
> 07:16:25 runner /usr/bin/gcc default/source4/heimdal/lib/roken/base64_3.o default/source4/heimdal/lib/roken/ct_3.o default/source4/heimdal/lib/roken/hex_3.o default/source4/heimdal/lib/roken/bswap_3.o default/source4/heimdal/lib/roken/dumpdata_3.o default/source4/heimdal/lib/roken/emalloc_3.o default/source4/heimdal/lib/roken/ecalloc_3.o default/source4/heimdal/lib/roken/getarg_3.o default/source4/heimdal/lib/roken/get_window_size_3.o default/source4/heimdal/lib/roken/getdtablesize_3.o default/source4/heimdal/lib/roken/h_errno_3.o default/source4/heimdal/lib/roken/issuid_3.o default/source4/heimdal/lib/roken/net_read_3.o default/source4/heimdal/lib/roken/net_write_3.o default/source4/heimdal/lib/roken/parse_time_3.o default/source4/heimdal/lib/roken/parse_units_3.o default/source4/heimdal/lib/roken/vis_3.o default/source4/heimdal/lib/roken/strlwr_3.o default/source4/heimdal/lib/roken/strsep_copy_3.o default/source4/heimdal/lib/roken/strsep_3.o default/source4/heimdal/lib/roke
> n/strupr_3.o default/source4/heimdal/lib/roken/strpool_3.o default/source4/heimdal/lib/roken/estrdup_3.o default/source4/heimdal/lib/roken/erealloc_3.o default/source4/heimdal/lib/roken/simple_exec_3.o default/source4/heimdal/lib/roken/strcollect_3.o default/source4/heimdal/lib/roken/rtbl_3.o default/source4/heimdal/lib/roken/rand_3.o default/source4/heimdal/lib/roken/cloexec_3.o default/source4/heimdal/lib/roken/xfree_3.o default/source4/heimdal_build/replace_3.o default/source4/heimdal/lib/roken/closefrom_3.o default/source4/heimdal/lib/vers/print_version_128.o default/source4/heimdal_build/version_128.o default/source4/heimdal/lib/com_err/parse_132.o default/source4/heimdal/lib/com_err/lex_132.o default/source4/heimdal/lib/com_err/compile_et_132.o default/lib/replace/replace_1.o -o /<<BUILDDIR>>/samba-4.3.3+dfsg/bin/default/source4/heimdal_build/compile_et -Wl,-z,relro -Wl,--as-needed -lpthread -Wl,-no-undefined -Wl,--export-dynamic -fstack-protector -L/usr/local/lib -Wl,-Bdynamic -lbsd
> default/source4/heimdal/lib/roken/vis_3.o: In function `tolower':
> /usr/include/ctype.h:216: multiple definition of `tolower'
> default/source4/heimdal/lib/roken/hex_3.o:/usr/include/ctype.h:216: first defined here
> default/source4/heimdal/lib/roken/vis_3.o: In function `toupper':
> /usr/include/ctype.h:222: multiple definition of `toupper'
> default/source4/heimdal/lib/roken/hex_3.o:/usr/include/ctype.h:222: first defined here
> collect2: error: ld returned 1 exit status
> default/source4/heimdal/lib/roken/vis_3.o: In function `tolower':
> /usr/include/ctype.h:216: multiple definition of `tolower'
> default/source4/heimdal/lib/roken/hex_3.o:/usr/include/ctype.h:216: first defined here
> default/source4/heimdal/lib/roken/vis_3.o: In function `toupper':
> /usr/include/ctype.h:222: multiple definition of `toupper'
> default/source4/heimdal/lib/roken/hex_3.o:/usr/include/ctype.h:222: first defined here
> default/source4/heimdal/lib/asn1/asn1parse_130.o: In function `tolower':
> /usr/include/ctype.h:216: multiple definition of `tolower'
> default/source4/heimdal/lib/roken/hex_3.o:/usr/include/ctype.h:216: first defined here
> default/source4/heimdal/lib/asn1/asn1parse_130.o: In function `toupper':
> /usr/include/ctype.h:222: multiple definition of `toupper'
> default/source4/heimdal/lib/roken/hex_3.o:/usr/include/ctype.h:222: first defined here
> default/source4/heimdal/lib/asn1/lex_130.o: In function `tolower':
> /usr/include/ctype.h:216: multiple definition of `tolower'
> default/source4/heimdal/lib/roken/hex_3.o:/usr/include/ctype.h:216: first defined here
> default/source4/heimdal/lib/asn1/lex_130.o: In function `toupper':
> /usr/include/ctype.h:222: multiple definition of `toupper'
> default/source4/heimdal/lib/roken/hex_3.o:/usr/include/ctype.h:222: first defined here
> collect2: error: ld returned 1 exit status
> Waf: Leaving directory `/<<BUILDDIR>>/samba-4.3.3+dfsg/bin'
> Build failed:
> -> task failed (err #1):
> {task: cc_link base64_3.o,ct_3.o,hex_3.o,bswap_3.o,dumpdata_3.o,emalloc_3.o,ecalloc_3.o,getarg_3.o,get_window_size_3.o,getdtablesize_3.o,h_errno_3.o,issuid_3.o,net_read_3.o,net_write_3.o,parse_time_3.o,parse_units_3.o,vis_3.o,strlwr_3.o,strsep_copy_3.o,strsep_3.o,strupr_3.o,strpool_3.o,estrdup_3.o,erealloc_3.o,simple_exec_3.o,strcollect_3.o,rtbl_3.o,rand_3.o,cloexec_3.o,xfree_3.o,replace_3.o,closefrom_3.o,print_version_128.o,version_128.o,parse_132.o,lex_132.o,compile_et_132.o,replace_1.o -> compile_et}
> -> task failed (err #1):
> {task: cc_link base64_3.o,ct_3.o,hex_3.o,bswap_3.o,dumpdata_3.o,emalloc_3.o,ecalloc_3.o,getarg_3.o,get_window_size_3.o,getdtablesize_3.o,h_errno_3.o,issuid_3.o,net_read_3.o,net_write_3.o,parse_time_3.o,parse_units_3.o,vis_3.o,strlwr_3.o,strsep_copy_3.o,strsep_3.o,strupr_3.o,strpool_3.o,estrdup_3.o,erealloc_3.o,simple_exec_3.o,strcollect_3.o,rtbl_3.o,rand_3.o,cloexec_3.o,xfree_3.o,replace_3.o,closefrom_3.o,print_version_128.o,version_128.o,main_130.o,gen_130.o,gen_copy_130.o,gen_decode_130.o,gen_encode_130.o,gen_free_130.o,gen_glue_130.o,gen_length_130.o,gen_seq_130.o,gen_template_130.o,hash_130.o,symbol_130.o,asn1parse_130.o,lex_130.o,replace_1.o -> asn1_compile}
> debian/rules:97: recipe for target 'override_dh_auto_build' failed
> make[1]: *** [override_dh_auto_build] Error 1
> make[1]: Leaving directory '/<<BUILDDIR>>/samba-4.3.3+dfsg'
> debian/rules:77: recipe for target 'build' failed
> make: *** [build] Error 2
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
More information about the Pkg-samba-maint
mailing list