Bug#667312: openh323: ftbfs with GCC-4.7

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


Package: openh323
Version: 1.18.0.dfsg-10
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:635: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/openh323_1.18.0.dfsg-10_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.

[...]
# put NOTRACE to empty to build with PTRACING code
/usr/bin/make OPENH323DIR=/«PKGBUILDDIR» CFLAGS="-g" DEBUG= NOTRACE= P_SHAREDLIB=1 OBJDIR_SUFFIX=r OH323_LIBDIR=/«PKGBUILDDIR»/lib/opt optshared
make[1]: Entering directory `/«PKGBUILDDIR»'
/usr/bin/make P_SHAREDLIB=1 opt
make[2]: Entering directory `/«PKGBUILDDIR»'
/usr/bin/make -C src opt
make[3]: Entering directory `/«PKGBUILDDIR»/src'
g++ -D_REENTRANT -Wall -DP_64BIT -fPIC -DPIC -DPTRACING -I/«PKGBUILDDIR»/include -I/usr/share/pwlib//include -M channels.cxx >> /«PKGBUILDDIR»/lib/opt/obj_linux_x86_64_r/*.dep
make[3]: Leaving directory `/«PKGBUILDDIR»/src'
make[3]: Entering directory `/«PKGBUILDDIR»/src'
g++  -D_REENTRANT -Wall  -DP_64BIT -fPIC -DPIC -DPTRACING -I/«PKGBUILDDIR»/include -I/usr/share/pwlib//include -O2 -g  -c h225_1.cxx -o /«PKGBUILDDIR»/lib/opt/obj_linux_x86_64_r/h225_1.o
In file included from /usr/share/pwlib//include/ptlib/contain.h:800:0,
                 from /usr/share/pwlib//include/ptlib.h:158,
                 from h225_1.cxx:11:
/usr/share/pwlib//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]':
h225_1.cxx:8814:1:   required from here
/usr/share/pwlib//include/ptlib/array.h:635:9: error: 'SetAt' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/usr/share/pwlib//include/ptlib/array.h:635:9: note: declarations in dependent base 'PBaseArray<short unsigned int>' are not found by unqualified lookup
/usr/share/pwlib//include/ptlib/array.h:635:9: note: use 'this->SetAt' instead
/usr/share/pwlib//include/ptlib/array.h: In instantiation of 'void PScalarArray<T>::ReadElementFrom(std::istream&, PINDEX) [with T = unsigned int; std::istream = std::basic_istream<char>; PINDEX = int]':
/usr/include/ptclib/asner.h:340:7:   required from here
/usr/share/pwlib//include/ptlib/array.h:635:9: error: 'SetAt' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/usr/share/pwlib//include/ptlib/array.h:635:9: note: declarations in dependent base 'PBaseArray<unsigned int>' are not found by unqualified lookup
/usr/share/pwlib//include/ptlib/array.h:635:9: note: use 'this->SetAt' instead
make[3]: *** [/«PKGBUILDDIR»/lib/opt/obj_linux_x86_64_r/h225_1.o] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/src'
make[2]: *** [opt] Error 2
make[1]: *** [optshared] Error 2
make: *** [build-arch-stamp] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2





More information about the Pkg-voip-maintainers mailing list