[Pkg-samba-maint] Bug#701352: samba4: ftbfs with GCC-4.8

Matthias Klose doko at debian.org
Sat Feb 23 11:21:56 UTC 2013


Package: src:samba4
Version: 4.0.0~beta2+dfsg1-3.1
Severity: important
Tags: sid jessie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.8

The package fails to build in a test rebuild on at least amd64 with
gcc-4.8/g++-4.8, but succeeds to build with gcc-4.7/g++-4.7. The
severity of this report may be raised before the jessie release.

  stdc-predef.h:0: error: Syntax error near '3'

The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/samba4_4.0.0~beta2+dfsg1-3.1_unstable_gcc48.log
The last lines of the build log are at the end of this report.

To build with GCC 4.8, either set CC=gcc-4.8 CXX=g++-4.8 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ g++-4.7 g++-4.8 libc6-dev

The test rebuild was done with eglibc-2.17 and GCC-4.8, so some issues
might be caused by the updated glibc.

[...]
[ 157/2938] Compiling source4/heimdal/lib/asn1/gen_glue.c
[ 158/2938] Compiling source4/heimdal/lib/asn1/gen_length.c
[ 159/2938] Compiling source4/heimdal/lib/asn1/gen_seq.c
[ 160/2938] Compiling source4/heimdal/lib/asn1/gen_template.c
[ 161/2938] Compiling source4/heimdal/lib/asn1/hash.c
[ 162/2938] Compiling source4/heimdal/lib/asn1/symbol.c
[ 163/2938] Compiling source4/heimdal/lib/asn1/asn1parse.c
[ 164/2938] Compiling source4/heimdal/lib/asn1/lex.c
[ 165/2938] Linking default/source4/heimdal_build/asn1_compile
[ 166/2938] Compiling IDL librpc/idl/atsvc.idl
[ 167/2938] Compiling IDL librpc/idl/auth.idl
[ 168/2938] Compiling IDL librpc/idl/drsuapi.idl
[ 169/2938] Compiling IDL librpc/idl/epmapper.idl
[ 170/2938] Compiling IDL librpc/idl/initshutdown.idl
[ 171/2938] Compiling IDL librpc/idl/misc.idl
[ 172/2938] Compiling IDL librpc/idl/ntlmssp.idl
/usr/include/stdc-predef.h:0: error: Syntax error near '3'
Failed to parse /«BUILDDIR»/samba4-4.0.0~beta2+dfsg1/librpc/idl/atsvc.idl at /«BUILDDIR»/samba4-4.0.0~beta2+dfsg1/pidl/pidl line 608.
/usr/include/stdc-predef.h:0: error: Syntax error near '3'
Failed to parse /«BUILDDIR»/samba4-4.0.0~beta2+dfsg1/librpc/idl/drsuapi.idl at /«BUILDDIR»/samba4-4.0.0~beta2+dfsg1/pidl/pidl line 608.
/usr/include/stdc-predef.h:0: error: Syntax error near '3'
Failed to parse /«BUILDDIR»/samba4-4.0.0~beta2+dfsg1/librpc/idl/initshutdown.idl at /«BUILDDIR»/samba4-4.0.0~beta2+dfsg1/pidl/pidl line 608.
/usr/include/stdc-predef.h:0: error: Syntax error near '3'
Failed to parse /«BUILDDIR»/samba4-4.0.0~beta2+dfsg1/librpc/idl/auth.idl at /«BUILDDIR»/samba4-4.0.0~beta2+dfsg1/pidl/pidl line 608.
/usr/include/stdc-predef.h:0: error: Syntax error near '3'
Failed to parse /«BUILDDIR»/samba4-4.0.0~beta2+dfsg1/librpc/idl/epmapper.idl at /«BUILDDIR»/samba4-4.0.0~beta2+dfsg1/pidl/pidl line 608.
/usr/include/stdc-predef.h:0: error: Syntax error near '3'
Failed to parse /«BUILDDIR»/samba4-4.0.0~beta2+dfsg1/librpc/idl/ntlmssp.idl at /«BUILDDIR»/samba4-4.0.0~beta2+dfsg1/pidl/pidl line 608.
/usr/include/stdc-predef.h:0: error: Syntax error near '3'
Failed to parse /«BUILDDIR»/samba4-4.0.0~beta2+dfsg1/librpc/idl/misc.idl at /«BUILDDIR»/samba4-4.0.0~beta2+dfsg1/pidl/pidl line 608.
Waf: Leaving directory `/«BUILDDIR»/samba4-4.0.0~beta2+dfsg1/bin'
Build failed:
 -> task failed (err #255): 
	{task: PIDL_ATSVC atsvc.idl,CUtil.pm,Compat.pm,Dump.pm,Expr.pm,IDL.pm,NDR.pm,ODL.pm,ClientNDR.pm,ServerNDR.pm,Header.pm,Proxy.pm,Stub.pm,Header.pm,Client.pm,Parser.pm,Server.pm,Python.pm,TDR.pm,Template.pm,Samba4.pm,Typelist.pm,Util.pm,Conformance.pm,NDR.pm,Pidl.pm,Driver.pm -> atsvc.h,ndr_atsvc.c,ndr_atsvc.h,srv_atsvc.c,srv_atsvc.h,ndr_atsvc_s.c,ndr_atsvc_c.c,ndr_atsvc_c.h,py_atsvc.c}
 -> task failed (err #255): 
	{task: PIDL_DRSUAPI drsuapi.idl,CUtil.pm,Compat.pm,Dump.pm,Expr.pm,IDL.pm,NDR.pm,ODL.pm,ClientNDR.pm,ServerNDR.pm,Header.pm,Proxy.pm,Stub.pm,Header.pm,Client.pm,Parser.pm,Server.pm,Python.pm,TDR.pm,Template.pm,Samba4.pm,Typelist.pm,Util.pm,Conformance.pm,NDR.pm,Pidl.pm,Driver.pm -> drsuapi.h,ndr_drsuapi.c,ndr_drsuapi.h,srv_drsuapi.c,srv_drsuapi.h,ndr_drsuapi_s.c,ndr_drsuapi_c.c,ndr_drsuapi_c.h,py_drsuapi.c}
 -> task failed (err #255): 
	{task: PIDL_INITSHUTDOWN initshutdown.idl,CUtil.pm,Compat.pm,Dump.pm,Expr.pm,IDL.pm,NDR.pm,ODL.pm,ClientNDR.pm,ServerNDR.pm,Header.pm,Proxy.pm,Stub.pm,Header.pm,Client.pm,Parser.pm,Server.pm,Python.pm,TDR.pm,Template.pm,Samba4.pm,Typelist.pm,Util.pm,Conformance.pm,NDR.pm,Pidl.pm,Driver.pm -> initshutdown.h,ndr_initshutdown.c,ndr_initshutdown.h,srv_initshutdown.c,srv_initshutdown.h,ndr_initshutdown_s.c,ndr_initshutdown_c.c,ndr_initshutdown_c.h,py_initshutdown.c}
 -> task failed (err #255): 
	{task: PIDL_AUTH auth.idl,CUtil.pm,Compat.pm,Dump.pm,Expr.pm,IDL.pm,NDR.pm,ODL.pm,ClientNDR.pm,ServerNDR.pm,Header.pm,Proxy.pm,Stub.pm,Header.pm,Client.pm,Parser.pm,Server.pm,Python.pm,TDR.pm,Template.pm,Samba4.pm,Typelist.pm,Util.pm,Conformance.pm,NDR.pm,Pidl.pm,Driver.pm -> auth.h,ndr_auth.c,ndr_auth.h,srv_auth.c,srv_auth.h,ndr_auth_s.c,ndr_auth_c.c,ndr_auth_c.h,py_auth.c}
 -> task failed (err #255): 
	{task: PIDL_EPMAPPER epmapper.idl,CUtil.pm,Compat.pm,Dump.pm,Expr.pm,IDL.pm,NDR.pm,ODL.pm,ClientNDR.pm,ServerNDR.pm,Header.pm,Proxy.pm,Stub.pm,Header.pm,Client.pm,Parser.pm,Server.pm,Python.pm,TDR.pm,Template.pm,Samba4.pm,Typelist.pm,Util.pm,Conformance.pm,NDR.pm,Pidl.pm,Driver.pm -> epmapper.h,ndr_epmapper.c,ndr_epmapper.h,srv_epmapper.c,srv_epmapper.h,ndr_epmapper_s.c,ndr_epmapper_c.c,ndr_epmapper_c.h,py_epmapper.c}
 -> task failed (err #255): 
	{task: PIDL_NTLMSSP ntlmssp.idl,CUtil.pm,Compat.pm,Dump.pm,Expr.pm,IDL.pm,NDR.pm,ODL.pm,ClientNDR.pm,ServerNDR.pm,Header.pm,Proxy.pm,Stub.pm,Header.pm,Client.pm,Parser.pm,Server.pm,Python.pm,TDR.pm,Template.pm,Samba4.pm,Typelist.pm,Util.pm,Conformance.pm,NDR.pm,Pidl.pm,Driver.pm -> ntlmssp.h,ndr_ntlmssp.c,ndr_ntlmssp.h,srv_ntlmssp.c,srv_ntlmssp.h,ndr_ntlmssp_s.c,ndr_ntlmssp_c.c,ndr_ntlmssp_c.h,py_ntlmssp.c}
 -> task failed (err #255): 
	{task: PIDL_MISC misc.idl,CUtil.pm,Compat.pm,Dump.pm,Expr.pm,IDL.pm,NDR.pm,ODL.pm,ClientNDR.pm,ServerNDR.pm,Header.pm,Proxy.pm,Stub.pm,Header.pm,Client.pm,Parser.pm,Server.pm,Python.pm,TDR.pm,Template.pm,Samba4.pm,Typelist.pm,Util.pm,Conformance.pm,NDR.pm,Pidl.pm,Driver.pm -> misc.h,ndr_misc.c,ndr_misc.h,srv_misc.c,srv_misc.h,ndr_misc_s.c,ndr_misc_c.c,ndr_misc_c.h,py_misc.c}
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory `/«BUILDDIR»/samba4-4.0.0~beta2+dfsg1'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Pkg-samba-maint mailing list