[Pkg-sysvinit-devel] Bug#877229: insserv: FTBFS with GCC 7: error: 'extension' undeclared

Andreas Beckmann anbe at debian.org
Fri Sep 29 18:33:30 UTC 2017


Source: insserv
Version: 1.16.0-5
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Hi

insserv/experimental FTBFS in an up-to-date sid/experimental
environment, at least since GCC 7 was made the default:

   dh_auto_build
dh_auto_build: Compatibility levels before 9 are deprecated (level 8 in use)
        make -j1
make[1]: Entering directory '/build/insserv-1.16.0'
gcc -W -Wall -g -O2 -fdebug-prefix-map=/build/insserv-1.16.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -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 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -c insserv.c
insserv.c: In function '_logger':
insserv.c:1132:5: error: 'extension' undeclared (first use in this function)
     extension char buf[strlen(myname)+2+strlen(fmt)+1];
     ^~~~~~~~~
insserv.c:1132:5: note: each undeclared identifier is reported only once for each function it appears in
insserv.c:1132:15: error: expected ';' before 'char'
     extension char buf[strlen(myname)+2+strlen(fmt)+1];
               ^~~~
insserv.c: In function 'main':
insserv.c:2747:5: error: 'extension' undeclared (first use in this function)
     extension char * argr[argc];
     ^~~~~~~~~
insserv.c:2747:15: error: expected ';' before 'char'
     extension char * argr[argc];
               ^~~~
insserv.c:2775:2: error: 'argr' undeclared (first use in this function); did you mean 'argv'?
  argr[c] = (char*)0;
  ^~~~
  argv
insserv.c: In function 'rememberreq':
insserv.c:343:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
      bit |=  REQ_SHLD;
insserv.c:344:2: note: here
  default:
  ^~~~~~~
insserv.c: In function 'reversereq':
insserv.c:421:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
      bit |=  REQ_SHLD;
insserv.c:422:2: note: here
  default:
  ^~~~~~~
Makefile:96: recipe for target 'insserv.o' failed
make[1]: *** [insserv.o] Error 1
make[1]: Leaving directory '/build/insserv-1.16.0'
dh_auto_build: make -j1 returned exit code 2


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: insserv_1.16.0-5.log.gz
Type: application/gzip
Size: 5729 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20170929/e4917b84/attachment.bin>


More information about the Pkg-sysvinit-devel mailing list