[Pkg-sysvinit-devel] Bug#777914: insserv: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:32:35 UTC 2015


Package: src:insserv
Version: 1.14.0-5
Severity: normal
Tags: sid stretch
User: debian-gcc at 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/insserv_1.14.0-5_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

[...]
dpkg-buildpackage
─────────────────

dpkg-buildpackage: source package insserv
dpkg-buildpackage: source version 1.14.0-5
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Kel Modderman <kel at otaku42.de>
 dpkg-source --before-build insserv-1.14.0
dpkg-buildpackage: host architecture amd64
dpkg-source: warning: unknown information field 'Dm-Upload-Allowed' in input data in general section of control info file
 fakeroot debian/rules clean
dh clean --with=bash-completion
   dh_testdir
   dh_auto_clean
make[1]: Entering directory '/«PKGBUILDDIR»'
rm -f *.o *~ insserv insserv.8 config.h .depend.* .system
make[1]: Leaving directory '/«PKGBUILDDIR»'
   dh_clean
 debian/rules build-arch
dh build-arch --with=bash-completion
   dh_testdir -a
   dh_auto_configure -a
   dh_auto_build -a
make[1]: Entering directory '/«PKGBUILDDIR»'
gcc -W -Wall -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2   -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DNOTSUSE -DINITDIR=\"/etc/init.d\" -DINSCONF=\"/etc/insserv.conf\" -pipe -falign-loops=0 -c insserv.c
insserv.c: In function '_logger':
insserv.c:1001:5: error: 'extension' undeclared (first use in this function)
     extension char buf[strlen(myname)+2+strlen(fmt)+1];
     ^
insserv.c:1001:5: note: each undeclared identifier is reported only once for each function it appears in
insserv.c:1001:15: error: expected ';' before 'char'
     extension char buf[strlen(myname)+2+strlen(fmt)+1];
               ^
insserv.c: In function 'main':
insserv.c:2385:5: error: 'extension' undeclared (first use in this function)
     extension char * argr[argc];
     ^
insserv.c:2385:15: error: expected ';' before 'char'
     extension char * argr[argc];
               ^
insserv.c:2408:2: error: 'argr' undeclared (first use in this function)
  argr[c] = (char*)0;
  ^
make[1]: *** [insserv.o] Error 1
Makefile:84: recipe for target 'insserv.o' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
debian/rules:17: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Pkg-sysvinit-devel mailing list