[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#667282: mklibs: ftbfs with GCC-4.7



Package: mklibs
Version: 0.1.33
Severity: important
Tags: sid wheezy
User: debian-gcc@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.

../../../src/mklibs-readelf/elf.cpp:68:5: error: '::close' has not been declared

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

[...]
Making all in utils
make[5]: Entering directory `/«PKGBUILDDIR»/build-deb/lib/mklibs/utils'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/«PKGBUILDDIR»/build-deb/lib/mklibs/utils'
make[5]: Entering directory `/«PKGBUILDDIR»/build-deb/lib/mklibs'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/«PKGBUILDDIR»/build-deb/lib/mklibs'
make[4]: Leaving directory `/«PKGBUILDDIR»/build-deb/lib/mklibs'
make[4]: Entering directory `/«PKGBUILDDIR»/build-deb/lib'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/«PKGBUILDDIR»/build-deb/lib'
make[3]: Leaving directory `/«PKGBUILDDIR»/build-deb/lib'
Making all in src
make[3]: Entering directory `/«PKGBUILDDIR»/build-deb/src'
Making all in mklibs-readelf
make[4]: Entering directory `/«PKGBUILDDIR»/build-deb/src/mklibs-readelf'
g++ -DHAVE_CONFIG_H -I. -I../../../src/mklibs-readelf -I../..     -g -O2 -c -o elf.o ../../../src/mklibs-readelf/elf.cpp
../../../src/mklibs-readelf/elf.cpp: In static member function 'static Elf::file* Elf::file::open(const char*)':
../../../src/mklibs-readelf/elf.cpp:68:5: error: '::close' has not been declared
make[4]: *** [elf.o] Error 1
make[4]: Leaving directory `/«PKGBUILDDIR»/build-deb/src/mklibs-readelf'
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
dh_auto_build: make -j1 returned exit code 2
make[3]: Leaving directory `/«PKGBUILDDIR»/build-deb/src'
make[2]: Leaving directory `/«PKGBUILDDIR»/build-deb'
make[1]: Leaving directory `/«PKGBUILDDIR»/build-deb'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



Reply to: