Bug#777885: gnugk: ftbfs with GCC-5
Jan Willamowius
jan at willamowius.de
Thu Feb 12 11:31:58 UTC 2015
Hi,
here is a patch that fixes PTLib 2.10.9, 2.10.10 and 2.10.11 for gcc 5.
Regards,
Jan
--
Jan Willamowius, Founder of the GNU Gatekeeper Project
EMail : jan at willamowius.de
Website: http://www.gnugk.org
Support: http://www.willamowius.com/gnugk-support.html
Relaxed Communications GmbH
Frahmredder 91
22393 Hamburg
Geschäftsführer: Jan Willamowius
HRB 125261 (Amtsgericht Hamburg)
USt-IdNr: DE286003584
Matthias Klose wrote:
> Package: src:gnugk
> Version: 2:3.6-1
> 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/gnugk_3.6-1_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
>
> [...]
> /usr/share/ptlib//make/common.mak:96: recipe for target 'obj_linux_x86_64/h323util.o' failed
> make[3]: *** [obj_linux_x86_64/singleton.o] Error 1
> /usr/share/ptlib//make/common.mak:96: recipe for target 'obj_linux_x86_64/singleton.o' failed
> compilation terminated.
> compilation terminated.
> make[3]: *** [obj_linux_x86_64/RasTbl.o] Error 1
> In file included from /usr/include/ptlib/contain.h:42:0,
> from /usr/include/ptlib.h:56,
> from SoftPBX.cxx:14:
> /usr/include/ptlib/critsec.h:46:33: fatal error: bits/atomicity.h: No such file or directory
> compilation terminated.
> /usr/share/ptlib//make/common.mak:96: recipe for target 'obj_linux_x86_64/RasTbl.o' failed
> make[3]: *** [obj_linux_x86_64/Routing.o] Error 1
> /usr/share/ptlib//make/common.mak:96: recipe for target 'obj_linux_x86_64/Routing.o' failed
> In file included from /usr/include/ptlib/contain.h:42:0,
> from /usr/include/ptlib.h:56,
> from job.cxx:18:
> /usr/include/ptlib/critsec.h:46:33: fatal error: bits/atomicity.h: No such file or directory
> compilation terminated.
> make[3]: *** [obj_linux_x86_64/job.o] Error 1
> /usr/share/ptlib//make/common.mak:96: recipe for target 'obj_linux_x86_64/job.o' failed
> In file included from /usr/include/ptlib/contain.h:42:0,
> from /usr/include/ptlib.h:56,
> from Toolkit.cxx:14:
> /usr/include/ptlib/critsec.h:46:33: fatal error: bits/atomicity.h: No such file or directory
> compilation terminated.
> make[3]: *** [obj_linux_x86_64/Toolkit.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/SoftPBX.o] Error 1
> /usr/share/ptlib//make/common.mak:96: recipe for target 'obj_linux_x86_64/SoftPBX.o' failed
> In file included from /usr/include/ptlib/contain.h:42:0,
> from /usr/include/ptlib.h:56,
> from yasocket.cxx:15:
> /usr/include/ptlib/critsec.h:46:33: fatal error: bits/atomicity.h: No such file or directory
> compilation terminated.
> make[3]: *** [obj_linux_x86_64/yasocket.o] Error 1
> /usr/share/ptlib//make/common.mak:96: recipe for target 'obj_linux_x86_64/yasocket.o' failed
> make[3]: Leaving directory '/«PKGBUILDDIR»'
> make[2]: *** [opt] Error 2
> make[2]: *** Waiting for unfinished jobs....
> /usr/share/ptlib//make/common.mak:289: recipe for target 'opt' failed
> make[3]: Leaving directory '/«PKGBUILDDIR»/docs/manual'
> make[2]: Leaving directory '/«PKGBUILDDIR»'
> dh_auto_build: make -j10 opt doc returned exit code 2
> make[1]: *** [override_dh_auto_build] Error 2
> debian/rules:31: recipe for target 'override_dh_auto_build' failed
> make[1]: Leaving directory '/«PKGBUILDDIR»'
> make: *** [build-arch] Error 2
> debian/rules:25: recipe for target 'build-arch' failed
> dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ptlib-2.10.9-gcc5.diff
Type: text/x-patch
Size: 387 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20150212/10deb13b/attachment.bin>
More information about the Pkg-voip-maintainers
mailing list