Bug#778043: openam: ftbfs with GCC-5

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


Package: src:openam
Version: 1.4.0-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/openam_1.4.0-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

[...]
dpkg-buildpackage: source changed by Mark Purcell <msp at debian.org>
 dpkg-source --before-build openam-1.4.0
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp
[ ! -f Makefile -o ! -f /usr/share/openh323/openh323u.mak ]||/usr/bin/make OPENH323DIR=/usr/share/openh323 PTLIBDIR=/usr/share/ptlib PTLIB_FILE=. PREFIX=/usr OH323_LIBDIR=/usr/lib/ optclean clean
make[1]: Entering directory '/«PKGBUILDDIR»'
/usr/bin/make DEBUG= default_clean
make[2]: Entering directory '/«PKGBUILDDIR»'
rm -rf   ./obj_linux_x86_64/main.o  ./obj_linux_x86_64/main.dep core ./obj_linux_x86_64/openam
make[2]: Leaving directory '/«PKGBUILDDIR»'
/usr/bin/make DEBUG=1 default_clean
make[2]: Entering directory '/«PKGBUILDDIR»'
rm -rf   ./obj_linux_x86_64_d/main.o  ./obj_linux_x86_64_d/main.dep core ./obj_linux_x86_64_d/openam
make[2]: Leaving directory '/«PKGBUILDDIR»'
/usr/bin/make DEBUG= P_SHAREDLIB=0 default_clean
make[2]: Entering directory '/«PKGBUILDDIR»'
rm -rf   ./obj_linux_x86_64_s/main.o  ./obj_linux_x86_64_s/main.dep core ./obj_linux_x86_64_s/openam
make[2]: Leaving directory '/«PKGBUILDDIR»'
/usr/bin/make DEBUG=1 P_SHAREDLIB=0 default_clean
make[2]: Entering directory '/«PKGBUILDDIR»'
rm -rf   ./obj_linux_x86_64_d_s/main.o  ./obj_linux_x86_64_d_s/main.dep core ./obj_linux_x86_64_d_s/openam
make[2]: Leaving directory '/«PKGBUILDDIR»'
make[1]: Leaving directory '/«PKGBUILDDIR»'
rm -rf obj_*
dh_clean
dpkg-buildpackage: warning: debian/rules must be updated to support the 'build-arch' and 'build-indep' targets (at least 'build-arch' seems to be missing)
 debian/rules build
dh_testdir
/usr/bin/make	OPENH323DIR=/usr/share/openh323 PTLIBDIR=/usr/share/ptlib PTLIB_FILE=. PREFIX=/usr OH323_LIBDIR=/usr/lib/ opt optshared
make[1]: Entering directory '/«PKGBUILDDIR»'
/usr/bin/make DEBUG= default_target
make[2]: Entering directory '/«PKGBUILDDIR»'
[CC] main.cxx
In file included from /usr/include/ptlib/contain.h:42:0,
                 from /usr/include/ptlib.h:56,
                 from main.cxx:460:
/usr/include/ptlib/critsec.h:46:33: fatal error: bits/atomicity.h: No such file or directory
compilation terminated.
make[2]: *** [obj_linux_x86_64/main.o] Error 1
/usr/share/ptlib/make/common.mak:96: recipe for target 'obj_linux_x86_64/main.o' failed
make[2]: Leaving directory '/«PKGBUILDDIR»'
make[1]: *** [opt] Error 2
/usr/share/ptlib/make/common.mak:289: recipe for target 'opt' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build-stamp] Error 2
debian/rules:13: recipe for target 'build-stamp' failed
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the Pkg-voip-maintainers mailing list