[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#778176: x11-xserver-utils: ftbfs with GCC-5



Package: src:x11-xserver-utils
Version: 7.7+3
Severity: normal
Tags: sid stretch
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

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

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/x11-xserver-utils_7.7+3_unstable_gcc5.log
The last lines of the build log are at the end of this report.

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

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files.  For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html

[...]
   ^
gcc -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall  -Wl,-z,relro -o iceauth iceauth.o process.o -lICE  
make[4]: Leaving directory '/«BUILDDIR»/x11-xserver-utils-7.7+3/iceauth-build'
make[3]: Leaving directory '/«BUILDDIR»/x11-xserver-utils-7.7+3/iceauth-build'
make[2]: Leaving directory '/«BUILDDIR»/x11-xserver-utils-7.7+3/iceauth-build'
>stampdir/build-iceauth
mkdir -p stampdir
dh_auto_build -Drgb -Brgb-build
make[2]: Entering directory '/«BUILDDIR»/x11-xserver-utils-7.7+3/rgb-build'
make  all-recursive
make[3]: Entering directory '/«BUILDDIR»/x11-xserver-utils-7.7+3/rgb-build'
Making all in man
make[4]: Entering directory '/«BUILDDIR»/x11-xserver-utils-7.7+3/rgb-build/man'
/bin/sed -e 's|__vendorversion__|"rgb 1.0.5" "X Version 11"|' 	-e 's|__xorgversion__|"rgb 1.0.5" "X Version 11"|' 	-e 's|__xservername__|Xorg|g' 	-e 's|__xconfigfile__|xorg.conf|g' 	-e 's|__projectroot__|/usr|g' 	-e 's|__apploaddir__||g' 	-e 's|__appmansuffix__|1|g' 	-e 's|__drivermansuffix__|4|g' 	-e 's|__adminmansuffix__|8|g' 	-e 's|__libmansuffix__|3|g' 	-e 's|__miscmansuffix__|7|g' 	-e 's|__filemansuffix__|5|g' -e 's|__RGB_DB__|/usr/share/X11/rgb|g' -e 's|__RGB_DB_DIR__|/usr/share/X11|g' -e 's|__RGB_DB_TYPE__|text|g' -e 's|__RGB_DB_FILES__||g' < ../../rgb/man/showrgb.man > showrgb.1
make[4]: Leaving directory '/«BUILDDIR»/x11-xserver-utils-7.7+3/rgb-build/man'
make[4]: Entering directory '/«BUILDDIR»/x11-xserver-utils-7.7+3/rgb-build'
gcc -DHAVE_CONFIG_H -I. -I../rgb   -D_FORTIFY_SOURCE=2  -DRGB_DB=\"/usr/share/X11/rgb\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o showrgb.o ../rgb/showrgb.c
gcc  -DRGB_DB=\"/usr/share/X11/rgb\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall  -Wl,-z,relro -o showrgb showrgb.o  
make[4]: Leaving directory '/«BUILDDIR»/x11-xserver-utils-7.7+3/rgb-build'
make[3]: Leaving directory '/«BUILDDIR»/x11-xserver-utils-7.7+3/rgb-build'
make[2]: Leaving directory '/«BUILDDIR»/x11-xserver-utils-7.7+3/rgb-build'
>stampdir/build-rgb
mkdir -p stampdir
dh_auto_build -Dsessreg -Bsessreg-build
make[2]: Entering directory '/«BUILDDIR»/x11-xserver-utils-7.7+3/sessreg-build'
make  all-recursive
make[3]: Entering directory '/«BUILDDIR»/x11-xserver-utils-7.7+3/sessreg-build'
Making all in man
make[4]: Entering directory '/«BUILDDIR»/x11-xserver-utils-7.7+3/sessreg-build/man'
gcc -E -DHAVE_CONFIG_H   \
    -I.. -I../../sessreg -D_FORTIFY_SOURCE=2 ../../sessreg/man/filenames.sed.c | \
    grep 's|__' > filenames.sed
/bin/sed -e 's|__vendorversion__|"sessreg 1.0.8" "X Version 11"|' 	-e 's|__xorgversion__|"sessreg 1.0.8" "X Version 11"|' 	-e 's|__xservername__|Xorg|g' 	-e 's|__xconfigfile__|xorg.conf|g' 	-e 's|__projectroot__|/usr|g' 	-e 's|__apploaddir__||g' 	-e 's|__appmansuffix__|1|g' 	-e 's|__drivermansuffix__|4|g' 	-e 's|__adminmansuffix__|8|g' 	-e 's|__libmansuffix__|3|g' 	-e 's|__miscmansuffix__|7|g' 	-e 's|__filemansuffix__|5|g' -f filenames.sed < ../../sessreg/man/sessreg.man > sessreg.1
/bin/sed: file filenames.sed line 2: unterminated `s' command
make[4]: *** [sessreg.1] Error 1
Makefile:491: recipe for target 'sessreg.1' failed
make[4]: Leaving directory '/«BUILDDIR»/x11-xserver-utils-7.7+3/sessreg-build/man'
make[3]: *** [all-recursive] Error 1
Makefile:501: recipe for target 'all-recursive' failed
make[3]: Leaving directory '/«BUILDDIR»/x11-xserver-utils-7.7+3/sessreg-build'
make[2]: *** [all] Error 2
Makefile:372: recipe for target 'all' failed
make[2]: Leaving directory '/«BUILDDIR»/x11-xserver-utils-7.7+3/sessreg-build'
dh_auto_build: make -j10 returned exit code 2
make[1]: *** [stampdir/build-sessreg] Error 2
debian/rules:50: recipe for target 'stampdir/build-sessreg' failed
make[1]: Leaving directory '/«BUILDDIR»/x11-xserver-utils-7.7+3'
make: *** [build-arch] Error 2
debian/rules:28: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2


Reply to: