[Debian-med-packaging] Bug#667330: pp-popularity-contest: ftbfs with GCC-4.7

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


Package: pp-popularity-contest
Version: 1.0.4-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.

collect2: error: ld returned 1 exit status

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

[...]
configure.ac:4: but the definition used by this AM_INIT_AUTOMAKE
configure.ac:4: comes from Automake 1.11.1.  You should recreate
configure.ac:4: aclocal.m4 with aclocal and run automake again.
src/Makefile.am:5: `%'-style pattern rules are a GNU make extension
WARNING: `automake-1.11' is probably too old.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
 cd .. && /bin/bash ./config.status src/Makefile depfiles
config.status: creating src/Makefile
config.status: executing depfiles commands
make[3]: Leaving directory `/«PKGBUILDDIR»/src'
make[3]: Entering directory `/«PKGBUILDDIR»/src'
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -D__sysconfdir__=\"/etc\" -D__pkgdatadir__=\"/usr/share/pp-popularity-contest\" -Wall    -MT pp_popcon_cnt.o -MD -MP -MF .deps/pp_popcon_cnt.Tpo -c -o pp_popcon_cnt.o pp_popcon_cnt.cpp
mv -f .deps/pp_popcon_cnt.Tpo .deps/pp_popcon_cnt.Po
g++   -L/usr/lib -Wall -Wl,-z,defs -o pp_popcon_cnt pp_popcon_cnt.o -lboost_program_options-mt 
g++   -static -Wl,-z,defs -o pp_popcon_cnt.static pp_popcon_cnt.o -lboost_program_options-mt 
`.text._ZN5boost16exception_detail19error_info_injectorINS_17bad_function_callEED2Ev' referenced in section `.text._ZN5boost16exception_detail19error_info_injectorINS_17bad_function_callEED1Ev[_ZN5boost16exception_detail19error_info_injectorINS_17bad_function_callEED1Ev]' of /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libboost_program_options-mt.a(cmdline.o): defined in discarded section `.text._ZN5boost16exception_detail19error_info_injectorINS_17bad_function_callEED2Ev[_ZN5boost16exception_detail19error_info_injectorINS_17bad_function_callEED5Ev]' of /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libboost_program_options-mt.a(cmdline.o)
`.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_17bad_function_callEEEED2Ev' referenced in section `.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_17bad_function_callEEEED1Ev[_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_17bad_function_callEEEED1Ev]' of /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libboost_program_options-mt.a(cmdline.o): defined in discarded section `.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_17bad_function_callEEEED2Ev[_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_17bad_function_callEEEED5Ev]' of /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libboost_program_options-mt.a(cmdline.o)
`.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_17bad_function_callEEEED2Ev' referenced in section `.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_17bad_function_callEEEED1Ev[_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_17bad_function_callEEEED1Ev]' of /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libboost_program_options-mt.a(cmdline.o): defined in discarded section `.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_17bad_function_callEEEED2Ev[_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_17bad_function_callEEEED5Ev]' of /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libboost_program_options-mt.a(cmdline.o)
`.text._ZN5boost16exception_detail19error_info_injectorINS_15program_options16validation_errorEED2Ev' referenced in section `.text._ZN5boost16exception_detail19error_info_injectorINS_15program_options16validation_errorEED1Ev[_ZN5boost16exception_detail19error_info_injectorINS_15program_options16validation_errorEED1Ev]' of /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libboost_program_options-mt.a(value_semantic.o): defined in discarded section `.text._ZN5boost16exception_detail19error_info_injectorINS_15program_options16validation_errorEED2Ev[_ZN5boost16exception_detail19error_info_injectorINS_15program_options16validation_errorEED5Ev]' of /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libboost_program_options-mt.a(value_semantic.o)
`.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEED2Ev' referenced in section `.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEED1Ev[_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEED1Ev]' of /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libboost_program_options-mt.a(value_semantic.o): defined in discarded section `.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEED2Ev[_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEED5Ev]' of /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libboost_program_options-mt.a(value_semantic.o)
`.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEED2Ev' referenced in section `.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEED1Ev[_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEED1Ev]' of /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libboost_program_options-mt.a(value_semantic.o): defined in discarded section `.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEED2Ev[_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEED5Ev]' of /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libboost_program_options-mt.a(value_semantic.o)
collect2: error: ld returned 1 exit status
make[3]: *** [pp_popcon_cnt.static] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/src'
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2





More information about the Debian-med-packaging mailing list