Bug#853426: gnugk: ftbfs with GCC-7

Matthias Klose doko at debian.org
Tue Jan 31 09:31:46 UTC 2017


Package: src:gnugk
Version: 2:3.6-1
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7

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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/gnugk_3.6-1_unstable_gcc7.log
The last lines of the build log are at the end of this report.

To build with GCC 7, either set CC=gcc-7 CXX=g++-7 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-7/porting_to.html

[...]
RasPDU.h: In constructor 'Requester<RAS>::Requester(H225_RasMessage&, const Address&)':
RasPDU.h:331:16: error: invalid use of incomplete type 'class RasServer'
  this->m_rasSrv->RegisterHandler(this); // fix for GCC 3.4.2
                ^~
In file included from sqlauth.cxx:25:0:
RasTbl.h:39:7: note: forward declaration of 'class RasServer'
 class RasServer;
       ^~~~~~~~~
/usr/share/ptlib//make/common.mak:96: recipe for target 'obj_linux_x86_64/RasTbl.o' failed
make[3]: *** [obj_linux_x86_64/RasTbl.o] Error 1
/usr/share/ptlib//make/common.mak:96: recipe for target 'obj_linux_x86_64/ipauth.o' failed
make[3]: *** [obj_linux_x86_64/ipauth.o] Error 1
/usr/share/ptlib//make/common.mak:96: recipe for target 'obj_linux_x86_64/sqlacct.o' failed
make[3]: *** [obj_linux_x86_64/sqlacct.o] Error 1
/usr/share/ptlib//make/common.mak:96: recipe for target 'obj_linux_x86_64/gk.o' failed
make[3]: *** [obj_linux_x86_64/gk.o] Error 1
ProxyChannel.cxx: At global scope:
ProxyChannel.cxx:289:6: warning: 'bool {anonymous}::IsOldH263(const H245_DataType&)' defined but not used [-Wunused-function]
 bool IsOldH263(const H245_DataType & type)
      ^~~~~~~~~
ProxyChannel.cxx:280:6: warning: 'BYTE {anonymous}::RandomPT(BYTE, BYTE)' defined but not used [-Wunused-function]
 BYTE RandomPT(BYTE oldPT, BYTE plainPT)
      ^~~~~~~~
ProxyChannel.cxx:255:6: warning: 'BYTE {anonymous}::GetStaticPayloadType(const H245_DataType&)' defined but not used [-Wunused-function]
 BYTE GetStaticPayloadType(const H245_DataType & type)
      ^~~~~~~~~~~~~~~~~~~~
ProxyChannel.cxx:100:6: warning: 'bool {anonymous}::odd(unsigned int)' defined but not used [-Wunused-function]
 bool odd(unsigned n) { return (n % 2) != 0; }
      ^~~
/usr/share/ptlib//make/common.mak:96: recipe for target 'obj_linux_x86_64/ProxyChannel.o' failed
make[3]: *** [obj_linux_x86_64/ProxyChannel.o] Error 1
/usr/share/ptlib//make/common.mak:96: recipe for target 'obj_linux_x86_64/GkStatus.o' failed
make[3]: *** [obj_linux_x86_64/GkStatus.o] Error 1
/usr/share/ptlib//make/common.mak:96: recipe for target 'obj_linux_x86_64/sqlauth.o' failed
make[3]: *** [obj_linux_x86_64/sqlauth.o] Error 1
/usr/share/ptlib//make/common.mak:96: recipe for target 'obj_linux_x86_64/GkClient.o' failed
make[3]: *** [obj_linux_x86_64/GkClient.o] Error 1
/usr/share/ptlib//make/common.mak:96: recipe for target 'obj_linux_x86_64/Toolkit.o' failed
make[3]: *** [obj_linux_x86_64/Toolkit.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
/usr/share/ptlib//make/common.mak:289: recipe for target 'opt' failed
make[2]: *** [opt] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j64 opt doc returned exit code 2
debian/rules:31: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:25: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the Pkg-voip-maintainers mailing list