Bug#667333: ptlib-wolf: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Tue Apr 3 23:11:48 UTC 2012


Package: ptlib-wolf
Version: 2.4.5-2
Severity: important
Tags: sid wheezy
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.7

The package fails to build in a test rebuild on at least amd64 with
gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
severity of this report may be raised before the wheezy release.

array.h:526:9: error: 'SetAt' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/ptlib-wolf_2.4.5-2_unstable-gcc47.log
The last lines of the build log are at the end of this report.

Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html

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

[...]
make[1]: Leaving directory `/«PKGBUILDDIR»'
   dh_auto_build -a
make[1]: Entering directory `/«PKGBUILDDIR»'
make DEBUG= P_SHAREDLIB=1 default_target
make[2]: Entering directory `/«PKGBUILDDIR»'
make[2]: Leaving directory `/«PKGBUILDDIR»'
set -e; if test -e src ; then make -C src optshared; fi;  if test -e plugins ; then make -C plugins optshared; fi; 
make[2]: Entering directory `/«PKGBUILDDIR»/src'
make DEBUG= P_SHAREDLIB=1 default_target
make[3]: Entering directory `/«PKGBUILDDIR»/src'
g++ -DPTRACING=1 -D_REENTRANT     -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL    -fno-exceptions  -Wall  -DP_64BIT -fPIC -DPIC -DNDEBUG -I/«PKGBUILDDIR»/include -Os   -felide-constructors -Wreorder  -c ptclib/psasl.cxx -o /«PKGBUILDDIR»/lib_linux_x86_64/obj/psasl.o
g++ -DPTRACING=1 -D_REENTRANT     -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL    -fno-exceptions  -Wall  -DP_64BIT -fPIC -DPIC -DNDEBUG -I/«PKGBUILDDIR»/include -Os   -felide-constructors -Wreorder  -c ptclib/pldap.cxx -o /«PKGBUILDDIR»/lib_linux_x86_64/obj/pldap.o
g++ -DPTRACING=1 -D_REENTRANT     -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL    -fno-exceptions  -Wall  -DP_64BIT -fPIC -DPIC -DNDEBUG -I/«PKGBUILDDIR»/include -Os   -felide-constructors -Wreorder  -c ptclib/pils.cxx -o /«PKGBUILDDIR»/lib_linux_x86_64/obj/pils.o
In file included from /«PKGBUILDDIR»/include/ptlib/contain.h:588:0,
                 from /«PKGBUILDDIR»/include/ptlib.h:56,
                 from ptclib/pils.cxx:35:
/«PKGBUILDDIR»/include/ptlib/array.h: In instantiation of 'void PScalarArray<T>::ReadElementFrom(std::istream&, PINDEX) [with T = short unsigned int; std::istream = std::basic_istream<char>; PINDEX = int]':
ptclib/pils.cxx:149:1:   required from here
/«PKGBUILDDIR»/include/ptlib/array.h:526:9: error: 'SetAt' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/«PKGBUILDDIR»/include/ptlib/array.h:526:9: note: declarations in dependent base 'PBaseArray<short unsigned int>' are not found by unqualified lookup
/«PKGBUILDDIR»/include/ptlib/array.h:526:9: note: use 'this->SetAt' instead
make[3]: *** [/«PKGBUILDDIR»/lib_linux_x86_64/obj/pils.o] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/src'
make[2]: *** [optshared] Error 2
make[1]: *** [optshared] Error 2
dh_auto_build: make -j1 returned exit code 2
make[2]: Leaving directory `/«PKGBUILDDIR»/src'
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2





More information about the Pkg-voip-maintainers mailing list