Package: src:cadabra Version: 1.46-2 Severity: normal Tags: sid buster User: debian-...@lists.debian.org Usertags: ftbfs-gcc-7
Please keep this issue open in the bug tracker for the package it was filed for. If a fix in another package is required, please file a bug for the other package (or clone), and add a block in this package. Please keep the issue open until the package can be built in a follow-up test rebuild. The package fails to build in a test rebuild on at least amd64 with gcc-7/g++-7, but succeeds to build with gcc-6/g++-6. The severity of this report may be raised before the buster release. There is no need to fix this issue in time for the stretch release. The full build log can be found at: http://people.debian.org/~doko/logs/gcc7-20170126/cadabra_1.46-2_unstable_gcc7.log The last lines of the build log are at the end of this report. To build with GCC 7, either set CC=gcc-7 CXX=g++-7 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-7/porting_to.html [...] ~^~~ g++ -o test_gmp test_gmp.o -Wl,-z,relro -Wl,-z,now -lgmpxx -lgmp g++ -o tree_example tree_example.o modules/xperm_new.cc: In function 'void schreier_sims_step(int*, int, int*, int, int, int, int*, int, int*, int*, int**, int*, int*)': modules/xperm_new.cc:1176:7: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] if (j == *nbl+1) { ^~ exchange.cc: In static member function 'static int exchange::collect_identical_tensors(exptree&, tree<str_node>::iterator, std::vector<exchange::identical_tensors_t>&)': exchange.cc:113:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(ngr.spino==false || ngr.spino->majorana==true) ^~~~~ Makefile:30: recipe for target 'exchange.o' failed make[2]: *** [exchange.o] Error 1 make[2]: *** Waiting for unfinished jobs.... manipulator.cc: In member function 'tree<str_node>::iterator manipulator::handle_active_nodes_(tree<str_node>::iterator)': manipulator.cc:863:7: warning: variable 'once_modified' set but not used [-Wunused-but-set-variable] bool once_modified=false; // if nothing happens, do a check_consistency at the end ^~~~~~~~~~~~~ g++ -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -D"DESTDIR=\"/usr\"" -D"RELEASE=\"1.46\"" -D"DATETIME=\"`date | sed -e 's/ / /'`\"" -DHOSTNAME=\"`hostname`\" -O2 -I. -I../include `pkg-config modglue --cflags` `pkg-config --cflags gtkmm-2.4` `pkg-config --cflags pango` -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o main.o main.cc In file included from /usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:24:0, from /usr/include/glibmm-2.4/glibmm/arrayhandle.h:23, from /usr/include/gdkmm-2.4/gdkmm/types.h:30, from /usr/include/gtkmm-2.4/gtkmm/main.h:33, from window.hh:24, from main.cc:36: /usr/include/glibmm-2.4/glibmm/variant.h:596:55: warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated] static V_CastTo cast_dynamic(const VariantBase& v) throw(std::bad_cast); ^~~~~ /usr/include/glibmm-2.4/glibmm/variant.h:643:1: warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated] throw(std::bad_cast) ^~~~~ /usr/include/glibmm-2.4/glibmm/variant.h:899:1: warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated] throw(std::bad_cast); ^~~~~ /usr/include/glibmm-2.4/glibmm/variant.h:1082:1: warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated] throw(std::bad_cast); ^~~~~ /usr/include/glibmm-2.4/glibmm/variant.h:1139:1: warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated] throw(std::bad_cast); ^~~~~ g++ -o xcadabra help.o widgets.o window.o main.o ../src/stopwatch.o `pkg-config modglue --libs` `pkg-config --libs gtkmm-2.4` -lpcrecpp -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 make[2]: Leaving directory '/<<PKGBUILDDIR>>/gui' make[2]: Leaving directory '/<<PKGBUILDDIR>>/src' Makefile:21: recipe for target 'program' failed make[1]: *** [program] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: make -j64 returned exit code 2 debian/rules:10: recipe for target 'build' failed make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2