Bug#925638: belle-sip: ftbfs with GCC-9

Matthias Klose doko at debian.org
Wed Mar 27 19:44:09 GMT 2019


Package: src:belle-sip
Version: 1.6.3-4
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-9

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-9/g++-9, but succeeds to build with gcc-8/g++-8. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc9-20190321/belle-sip_1.6.3-4_unstable_gcc9.log
The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

Common build failures are 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-9/porting_to.html

GCC 9 also passes the linker option --as-needed by default; typical
build issues are passing libraries before object files to the linker,
or underlinking of convenience libraries built from the same source.

[...]
/<<PKGBUILDDIR>>/src/dns.c: In function 'dns_ai_nextent':
/<<PKGBUILDDIR>>/src/dns.c:8448:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
 8448 |   ai->state++;
      |   ~~~~~~~~~^~
/<<PKGBUILDDIR>>/src/dns.c:8449:2: note: here
 8449 |  case DNS_AI_S_NEXTAF:
      |  ^~~~
/<<PKGBUILDDIR>>/src/dns.c:8453:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
 8453 |   ai->state++;
      |   ~~~~~~~~~^~
/<<PKGBUILDDIR>>/src/dns.c:8454:2: note: here
 8454 |  case DNS_AI_S_NUMERIC:
      |  ^~~~
/<<PKGBUILDDIR>>/src/dns.c:8476:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
 8476 |   ai->state++;
      |   ~~~~~~~~~^~
/<<PKGBUILDDIR>>/src/dns.c:8477:2: note: here
 8477 |  case DNS_AI_S_SUBMIT:
      |  ^~~~
/<<PKGBUILDDIR>>/src/dns.c:8483:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
 8483 |   ai->state++;
      |   ~~~~~~~~~^~
/<<PKGBUILDDIR>>/src/dns.c:8484:2: note: here
 8484 |  case DNS_AI_S_CHECK:
      |  ^~~~
/<<PKGBUILDDIR>>/src/dns.c:8488:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
 8488 |   ai->state++;
      |   ~~~~~~~~~^~
/<<PKGBUILDDIR>>/src/dns.c:8489:2: note: here
 8489 |  case DNS_AI_S_FETCH:
      |  ^~~~
/<<PKGBUILDDIR>>/src/dns.c:8511:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
 8511 |   ai->state++;
      |   ~~~~~~~~~^~
/<<PKGBUILDDIR>>/src/dns.c:8512:2: note: here
 8512 |  case DNS_AI_S_FOREACH_I:
      |  ^~~~
/<<PKGBUILDDIR>>/src/dns.c:8545:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
 8545 |   ai->state++;
      |   ~~~~~~~~~^~
/<<PKGBUILDDIR>>/src/dns.c:8546:2: note: here
 8546 |  case DNS_AI_S_ITERATE_G:
      |  ^~~~
/<<PKGBUILDDIR>>/src/dns.c:8553:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
 8553 |   ai->state++;
      |   ~~~~~~~~~^~
/<<PKGBUILDDIR>>/src/dns.c:8554:2: note: here
 8554 |  case DNS_AI_S_FOREACH_G:
      |  ^~~~
/<<PKGBUILDDIR>>/src/dns.c:8574:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
 8574 |   ai->state++;
      |   ~~~~~~~~~^~
/<<PKGBUILDDIR>>/src/dns.c:8575:2: note: here
 8575 |  case DNS_AI_S_CHECK_G:
      |  ^~~~
/<<PKGBUILDDIR>>/src/dns.c:8579:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
 8579 |   ai->state++;
      |   ~~~~~~~~~^~
/<<PKGBUILDDIR>>/src/dns.c:8580:2: note: here
 8580 |  case DNS_AI_S_FETCH_G:
      |  ^~~~
make[3]: *** [src/CMakeFiles/bellesip.dir/build.make:287: src/CMakeFiles/bellesip.dir/dns.c.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:114: src/CMakeFiles/bellesip.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:155: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: cd obj-x86_64-linux-gnu && make -j1 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:18: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2



More information about the Pkg-voip-maintainers mailing list