[Aptitude-devel] Bug#746824: aptitude: ftbfs with GCC-4.9

Matthias Klose doko at debian.org
Sun May 4 00:21:11 UTC 2014


Package: src:aptitude
Version: 0.6.10-1
Severity: important
Tags: sid jessie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.9

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

The full build log can be found at:
http://people.debian.org/~doko/logs/failed-gcc49/aptitude_0.6.10-1_unstable_gcc49.log
The last lines of the build log are at the end of this report.

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

  apt-get -t experimental install g++ 

Common build failures are new warnings resulting in build failures
with -Werror turned on, or new/dropped symbols in Debian symbols
files.  For other C/C++ related build failures see the porting guide
at http://gcc.gnu.org/gcc-4.9/porting_to.html

[...]
g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../../../../src/generic/util -I../../..  -I../../.. -I../../../../src/generic/util -I../../../.. -I../../../../src -D_FORTIFY_SOURCE=2 -I/usr/include -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/include/tagcoll-2.0.14     -D_REENTRANT -fno-strict-aliasing -Wall -Werror -c -o file_cache.o ../../../../src/generic/util/file_cache.cc
g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../../../../src/generic/util -I../../..  -I../../.. -I../../../../src/generic/util -I../../../.. -I../../../../src -D_FORTIFY_SOURCE=2 -I/usr/include -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/include/tagcoll-2.0.14     -D_REENTRANT -fno-strict-aliasing -Wall -Werror -c -o logging.o ../../../../src/generic/util/logging.cc
g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../../../../src/generic/util -I../../..  -I../../.. -I../../../../src/generic/util -I../../../.. -I../../../../src -D_FORTIFY_SOURCE=2 -I/usr/include -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/include/tagcoll-2.0.14     -D_REENTRANT -fno-strict-aliasing -Wall -Werror -c -o progress_info.o ../../../../src/generic/util/progress_info.cc
g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../../../../src/generic/util -I../../..  -I../../.. -I../../../../src/generic/util -I../../../.. -I../../../../src -D_FORTIFY_SOURCE=2 -I/usr/include -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/include/tagcoll-2.0.14     -D_REENTRANT -fno-strict-aliasing -Wall -Werror -c -o refcounted_base.o ../../../../src/generic/util/refcounted_base.cc
g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../../../../src/generic/util -I../../..  -I../../.. -I../../../../src/generic/util -I../../../.. -I../../../../src -D_FORTIFY_SOURCE=2 -I/usr/include -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/include/tagcoll-2.0.14     -D_REENTRANT -fno-strict-aliasing -Wall -Werror -c -o sqlite.o ../../../../src/generic/util/sqlite.cc
g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../../../../src/generic/util -I../../..  -I../../.. -I../../../../src/generic/util -I../../../.. -I../../../../src -D_FORTIFY_SOURCE=2 -I/usr/include -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/include/tagcoll-2.0.14     -D_REENTRANT -fno-strict-aliasing -Wall -Werror -c -o temp.o ../../../../src/generic/util/temp.cc
g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../../../../src/generic/util -I../../..  -I../../.. -I../../../../src/generic/util -I../../../.. -I../../../../src -D_FORTIFY_SOURCE=2 -I/usr/include -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/include/tagcoll-2.0.14     -D_REENTRANT -fno-strict-aliasing -Wall -Werror -c -o throttle.o ../../../../src/generic/util/throttle.cc
g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../../../../src/generic/util -I../../..  -I../../.. -I../../../../src/generic/util -I../../../.. -I../../../../src -D_FORTIFY_SOURCE=2 -I/usr/include -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/include/tagcoll-2.0.14     -D_REENTRANT -fno-strict-aliasing -Wall -Werror -c -o undo.o ../../../../src/generic/util/undo.cc
g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../../../../src/generic/util -I../../..  -I../../.. -I../../../../src/generic/util -I../../../.. -I../../../../src -D_FORTIFY_SOURCE=2 -I/usr/include -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/include/tagcoll-2.0.14     -D_REENTRANT -fno-strict-aliasing -Wall -Werror -c -o util.o ../../../../src/generic/util/util.cc
rm -f libgeneric-util.a
ar cru libgeneric-util.a file_cache.o logging.o progress_info.o refcounted_base.o sqlite.o temp.o throttle.o undo.o util.o 
ranlib libgeneric-util.a
make[6]: Leaving directory `/«PKGBUILDDIR»/build-arch/src/generic/util'
make[5]: Leaving directory `/«PKGBUILDDIR»/build-arch/src/generic/util'
Making all in apt
make[5]: Entering directory `/«PKGBUILDDIR»/build-arch/src/generic/apt'
Making all in history
make[6]: Entering directory `/«PKGBUILDDIR»/build-arch/src/generic/apt/history'
g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../../../../../src/generic/apt/history -I../../../..  -I../../../.. -I../../../../../src/generic/apt/history -I../../../../.. -I../../../../../src -D_FORTIFY_SOURCE=2 -I/usr/include -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/include/tagcoll-2.0.14     -D_REENTRANT -fno-strict-aliasing -Wall -Werror -c -o history_entry.o ../../../../../src/generic/apt/history/history_entry.cc
rm -f libgeneric-history.a
ar cru libgeneric-history.a history_entry.o 
ranlib libgeneric-history.a
make[6]: Leaving directory `/«PKGBUILDDIR»/build-arch/src/generic/apt/history'
Making all in matching
make[6]: Entering directory `/«PKGBUILDDIR»/build-arch/src/generic/apt/matching'
g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../../../../../src/generic/apt/matching -I../../../..  -I../../../.. -I../../../../../src/generic/apt/matching -I../../../../.. -I../../../../../src -D_FORTIFY_SOURCE=2 -I/usr/include -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/include/tagcoll-2.0.14     -D_REENTRANT -fno-strict-aliasing -Wall -Werror -c -o compare_patterns.o ../../../../../src/generic/apt/matching/compare_patterns.cc
g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../../../../../src/generic/apt/matching -I../../../..  -I../../../.. -I../../../../../src/generic/apt/matching -I../../../../.. -I../../../../../src -D_FORTIFY_SOURCE=2 -I/usr/include -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/include/tagcoll-2.0.14     -D_REENTRANT -fno-strict-aliasing -Wall -Werror -c -o match.o ../../../../../src/generic/apt/matching/match.cc
g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../../../../../src/generic/apt/matching -I../../../..  -I../../../.. -I../../../../../src/generic/apt/matching -I../../../../.. -I../../../../../src -D_FORTIFY_SOURCE=2 -I/usr/include -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/include/tagcoll-2.0.14     -D_REENTRANT -fno-strict-aliasing -Wall -Werror -c -o parse.o ../../../../../src/generic/apt/matching/parse.cc
g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../../../../../src/generic/apt/matching -I../../../..  -I../../../.. -I../../../../../src/generic/apt/matching -I../../../../.. -I../../../../../src -D_FORTIFY_SOURCE=2 -I/usr/include -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/include/tagcoll-2.0.14     -D_REENTRANT -fno-strict-aliasing -Wall -Werror -c -o pattern.o ../../../../../src/generic/apt/matching/pattern.cc
g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../../../../../src/generic/apt/matching -I../../../..  -I../../../.. -I../../../../../src/generic/apt/matching -I../../../../.. -I../../../../../src -D_FORTIFY_SOURCE=2 -I/usr/include -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include   -I/usr/include/tagcoll-2.0.14     -D_REENTRANT -fno-strict-aliasing -Wall -Werror -c -o serialize.o ../../../../../src/generic/apt/matching/serialize.cc
../../../../../src/generic/apt/matching/serialize.cc:97:12: error: 'void aptitude::matching::{anonymous}::serialize_pattern_list(const std::vector<cwidget::util::ref_ptr<aptitude::matching::pattern> >&, std::ostream&, std::vector<std::basic_string<char> >&)' defined but not used [-Werror=unused-function]
       void serialize_pattern_list(const std::vector<ref_ptr<pattern> > &patterns,
            ^
cc1plus: all warnings being treated as errors
make[6]: *** [serialize.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[6]: Leaving directory `/«PKGBUILDDIR»/build-arch/src/generic/apt/matching'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/«PKGBUILDDIR»/build-arch/src/generic/apt'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/«PKGBUILDDIR»/build-arch/src/generic'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/build-arch/src'
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
dh_auto_build: make -j10 returned exit code 2
make[2]: Leaving directory `/«PKGBUILDDIR»/build-arch'
make[1]: Leaving directory `/«PKGBUILDDIR»/build-arch'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Aptitude-devel mailing list