Package: src:giac Version: 1.6.0.41+dfsg1-1 Severity: normal Tags: sid bookworm User: [email protected] Usertags: ftbfs-gcc-11
[This bug is not targeted to the upcoming bullseye release] 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-11/g++-11, but succeeds to build with gcc-10/g++-10. The severity of this report will be raised before the bookworm release, so nothing has to be done for the bullseye release. The full build log can be found at: http://people.debian.org/~doko/logs/20210228/filtered/gcc11/giac_1.6.0.41+dfsg1-1_unstable_gcc11.log The last lines of the build log are at the end of this report. To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html GCC 11 defaults to the GNU++17 standard. If your package installs header files in /usr/include, please don't work around C++17 issues by choosing a lower C++ standard for the package build, but fix these issues to build with the C++17 standard. [...] 2667 | int i=fl_ask("%s",gettext("Sorting is not compatible with some cell references. Sort anyway"),gettext("Yes"),gettext("No")); | ^ In file included from /usr/include/FL/fl_message.H:19, from Tableur.h:38, from Tableur.cc:28: /usr/include/FL/fl_ask.H:55:15: note: declared here 55 | FL_EXPORT int fl_ask(const char *,...) __fl_attr((__format__ (__printf__, 1, 2), __deprecated__)); | ^~~~~~ Editeur.cc: In function ‘void xcas::cb_Editeur_Load(Fl_Widget*, void*)’: Editeur.cc:502:50: warning: ‘int fl_ask(const char*, ...)’ is deprecated [-Wdeprecated-declarations] 502 | int i=fl_ask("%s","Buffer changed. Save?"); | ^ In file included from /usr/include/FL/fl_message.H:19, from Editeur.h:42, from Editeur.cc:2: /usr/include/FL/fl_ask.H:55:15: note: declared here 55 | FL_EXPORT int fl_ask(const char *,...) __fl_attr((__format__ (__printf__, 1, 2), __deprecated__)); | ^~~~~~ Editeur.cc: In function ‘void xcas::editeur_export(Fl_Text_Editor*, const string&, int)’: Editeur.cc:613:59: warning: ‘int fl_ask(const char*, ...)’ is deprecated [-Wdeprecated-declarations] 613 | int i=fl_ask("%s",gettext("File exists. Overwrite?")); | ^ In file included from /usr/include/FL/fl_message.H:19, from Editeur.h:42, from Editeur.cc:2: /usr/include/FL/fl_ask.H:55:15: note: declared here 55 | FL_EXPORT int fl_ask(const char *,...) __fl_attr((__format__ (__printf__, 1, 2), __deprecated__)); | ^~~~~~ Editeur.cc: In function ‘void xcas::cb_Editeur_Save_as(Fl_Widget*, void*)’: Editeur.cc:765:77: warning: ‘int fl_ask(const char*, ...)’ is deprecated [-Wdeprecated-declarations] 765 | int i=fl_ask("%s",(tmp+gettext(": file exists. Overwrite?")).c_str()); | ^ In file included from /usr/include/FL/fl_message.H:19, from Editeur.h:42, from Editeur.cc:2: /usr/include/FL/fl_ask.H:55:15: note: declared here 55 | FL_EXPORT int fl_ask(const char *,...) __fl_attr((__format__ (__printf__, 1, 2), __deprecated__)); | ^~~~~~ Editeur.cc: In function ‘void xcas::cb_Editeur_Next(Fl_Widget*, void*)’: Editeur.cc:1378:18: warning: too many arguments for format [-Wformat-extra-args] 1378 | fl_alert("%s","No more occurrences of '%s' found!", e->search.c_str()); | ^~~~ Editeur.cc: In function ‘void xcas::cb_Editeur_Search(Fl_Widget*, void*)’: Editeur.cc:1543:57: warning: ‘int fl_ask(const char*, ...)’ is deprecated [-Wdeprecated-declarations] 1543 | i=fl_ask("%s","Really replace by nothing?"); | ^ In file included from /usr/include/FL/fl_message.H:19, from Editeur.h:42, from Editeur.cc:2: /usr/include/FL/fl_ask.H:55:15: note: declared here 55 | FL_EXPORT int fl_ask(const char *,...) __fl_attr((__format__ (__printf__, 1, 2), __deprecated__)); | ^~~~~~ Editeur.cc:1596:24: warning: too many arguments for format [-Wformat-extra-args] 1596 | fl_alert("%s","No occurrences of '%s' found!", e->search.c_str()); | ^~~~ Tableur.cc: In function ‘bool xcas::csv_guess(const string&, char&, char&, char&)’: Tableur.cc:1092:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1092 | fread(data,size,count,f); | ~~~~~^~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:968: Tableur.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DIN_GIAC -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS -DHAVE_LIBMICROPYTHON -fpermissive -c Editeur.cc -o Editeur.o >/dev/null 2>&1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/src' make[2]: *** [Makefile:620: all] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>/src' dh_auto_build: error: cd src && make -j4 "INSTALL=install --strip-program=true" returned exit code 2 make[1]: *** [debian/rules:35: override_dh_auto_build-arch] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:7: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -- debian-science-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
