Bug#667261: libzrtpcpp: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Tue Apr 3 23:10:32 UTC 2012


Package: libzrtpcpp
Version: 1.4.6-1.1
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.

ZIDFile.cxx:84:20: error: 'unlink' was not declared in this scope

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/libzrtpcpp_1.4.6-1.1_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.

[...]
config.status: executing libtool commands
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --disable-silent-rules
touch debian/stamp-autotools
/usr/bin/make  -C .  
make[1]: Entering directory `/«PKGBUILDDIR»'
/usr/bin/make  all-recursive
make[2]: Entering directory `/«PKGBUILDDIR»'
Making all in src
make[3]: Entering directory `/«PKGBUILDDIR»/src'
Making all in libzrtpcpp
make[4]: Entering directory `/«PKGBUILDDIR»/src/libzrtpcpp'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/«PKGBUILDDIR»/src/libzrtpcpp'
Making all in libzrtpcpp/crypto
make[4]: Entering directory `/«PKGBUILDDIR»/src/libzrtpcpp/crypto'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/«PKGBUILDDIR»/src/libzrtpcpp/crypto'
make[4]: Entering directory `/«PKGBUILDDIR»/src'
/bin/bash ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -Wno-long-long -Wno-char-subscripts -D_GNU_SOURCE   -c -o ZIDFile.lo ZIDFile.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -Wno-long-long -Wno-char-subscripts -D_GNU_SOURCE -c ZIDFile.cxx  -fPIC -DPIC -o .libs/ZIDFile.o
ZIDFile.cxx: In member function 'void ZIDFile::checkDoMigration(char*)':
ZIDFile.cxx:84:20: error: 'unlink' was not declared in this scope
make[4]: *** [ZIDFile.lo] Error 1
make[4]: Leaving directory `/«PKGBUILDDIR»/src'
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2





More information about the Pkg-voip-maintainers mailing list