Bug#778074: ptlib: ftbfs with GCC-5

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


Package: src:ptlib
Version: 2.10.10~dfsg-4.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/ptlib_2.10.10~dfsg-4.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

[...]
compilation terminated.
make[4]: *** [/«PKGBUILDDIR»/lib_linux_x86_64/obj/videoio.o] Error 1
../make/common.mak:96: recipe for target '/«PKGBUILDDIR»/lib_linux_x86_64/obj/videoio.o' failed
In file included from /«PKGBUILDDIR»/include/ptlib/contain.h:42:0,
                 from /«PKGBUILDDIR»/include/ptlib.h:56,
                 from ptlib/common/vfakeio.cxx:31:
/«PKGBUILDDIR»/include/ptlib/critsec.h:46:33: fatal error: bits/atomicity.h: No such file or directory
compilation terminated.
make[4]: *** [/«PKGBUILDDIR»/lib_linux_x86_64/obj/vfakeio.o] Error 1
Makefile:101: recipe for target '/«PKGBUILDDIR»/lib_linux_x86_64/obj/vfakeio.o' failed
make[4]: *** [/«PKGBUILDDIR»/lib_linux_x86_64/obj/vsdl.o] Error 1
Makefile:79: recipe for target '/«PKGBUILDDIR»/lib_linux_x86_64/obj/vsdl.o' failed
In file included from /«PKGBUILDDIR»/include/ptlib/contain.h:42:0,
                 from /«PKGBUILDDIR»/include/ptlib.h:56,
                 from ptclib/pldap.cxx:35:
/«PKGBUILDDIR»/include/ptlib/critsec.h:46:33: fatal error: bits/atomicity.h: No such file or directory
compilation terminated.
make[4]: *** [/«PKGBUILDDIR»/lib_linux_x86_64/obj/pldap.o] Error 1
../make/common.mak:96: recipe for target '/«PKGBUILDDIR»/lib_linux_x86_64/obj/pldap.o' failed
In file included from /«PKGBUILDDIR»/include/ptlib/contain.h:42:0,
                 from /«PKGBUILDDIR»/include/ptlib.h:56,
                 from ptclib/psasl.cxx:35:
/«PKGBUILDDIR»/include/ptlib/critsec.h:46:33: fatal error: bits/atomicity.h: No such file or directory
compilation terminated.
make[4]: *** [/«PKGBUILDDIR»/lib_linux_x86_64/obj/pils.o] Error 1
../make/common.mak:96: recipe for target '/«PKGBUILDDIR»/lib_linux_x86_64/obj/pils.o' failed
make[4]: *** [/«PKGBUILDDIR»/lib_linux_x86_64/obj/psasl.o] Error 1
../make/common.mak:96: recipe for target '/«PKGBUILDDIR»/lib_linux_x86_64/obj/psasl.o' failed
In file included from /«PKGBUILDDIR»/include/ptlib/contain.h:42:0,
                 from /«PKGBUILDDIR»/include/ptlib.h:56,
                 from ptlib/common/vconvert.cxx:33:
/«PKGBUILDDIR»/include/ptlib/critsec.h:46:33: fatal error: bits/atomicity.h: No such file or directory
compilation terminated.
make[4]: *** [/«PKGBUILDDIR»/lib_linux_x86_64/obj/vconvert.o] Error 1
../make/common.mak:96: recipe for target '/«PKGBUILDDIR»/lib_linux_x86_64/obj/vconvert.o' failed
make[4]: Leaving directory '/«PKGBUILDDIR»/src'
make[3]: *** [optshared] Error 2
../make/common.mak:292: recipe for target 'optshared' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/src'
make[2]: *** [optshared] Error 2
make[2]: *** Waiting for unfinished jobs....
Makefile:91: recipe for target 'optshared' failed
make[2]: Leaving directory '/«PKGBUILDDIR»'
dh_auto_build: make -j10 optshared docs returned exit code 2
make[1]: *** [override_dh_auto_build] Error 2
debian/rules:26: recipe for target 'override_dh_auto_build' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
debian/rules:12: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Pkg-voip-maintainers mailing list