Bug#1066335: giac: FTBFS: quickjs.c:11282:9: error: implicit declaration of function ‘fesetround’ [-Werror=implicit-function-declaration]
Lucas Nussbaum
lucas at debian.org
Wed Mar 13 11:38:37 GMT 2024
Source: giac
Version: 1.9.0.93+dfsg2-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration
Relevant part (hopefully):
> /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DIN_GIAC -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE -DQUICKJS -DCONFIG_BIGNUM -DCONFIG_VERSION=\"2020-11-08\" -c -o quickjs.lo quickjs.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DIN_GIAC -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE -DQUICKJS -DCONFIG_BIGNUM -DCONFIG_VERSION=\"2020-11-08\" -c quickjs.c -fPIC -DPIC -o .libs/quickjs.o
> quickjs.c: In function ‘js_ecvt1’:
> quickjs.c:11282:9: error: implicit declaration of function ‘fesetround’ [-Werror=implicit-function-declaration]
> 11282 | fesetround(rounding_mode);
> | ^~~~~~~~~~
> /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DIN_GIAC -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE -DQUICKJS -DCONFIG_BIGNUM -DCONFIG_VERSION=\"2020-11-08\" -c -o quickjs-libc.lo quickjs-libc.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DIN_GIAC -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE -DQUICKJS -DCONFIG_BIGNUM -DCONFIG_VERSION=\"2020-11-08\" -c quickjs-libc.c -fPIC -DPIC -o .libs/quickjs-libc.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DIN_GIAC -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE -DQUICKJS -DCONFIG_BIGNUM -DCONFIG_VERSION=\"2020-11-08\" -c quickjs-libc.c -o quickjs-libc.o >/dev/null 2>&1
> g++ mkjs.cc -o mkjs
> /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DIN_GIAC -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE -DQUICKJS -DCONFIG_BIGNUM -DCONFIG_VERSION=\"2020-11-08\" -c -o qrcodegen.lo qrcodegen.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DIN_GIAC -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE -DQUICKJS -DCONFIG_BIGNUM -DCONFIG_VERSION=\"2020-11-08\" -c qrcodegen.c -fPIC -DPIC -o .libs/qrcodegen.o
> 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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -U_GLIBCXX_ASSERTIONS -DUSE_OBJET_BIDON -fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS -DTIMEOUT -DHAVE_LIBMICROPYTHON -fpermissive -DQUICKJS -c -o xcas.o xcas.cc
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DIN_GIAC -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE -DQUICKJS -DCONFIG_BIGNUM -DCONFIG_VERSION=\"2020-11-08\" -c qrcodegen.c -o qrcodegen.o >/dev/null 2>&1
> In file included from poly.h:26,
> from gen.h:71,
> from giacPCH.h:32,
> from xcas.cc:2:
> monomial.h:341:10: warning: ‘template<class _Arg1, class _Arg2, class _Result> class std::pointer_to_binary_function’ is deprecated [-Wdeprecated-declarations]
> 341 | std::pointer_to_binary_function < const monomial<T> &, const monomial<T> &, bool> strictly_greater ;
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/13/bits/refwrap.h:39,
> from /usr/include/c++/13/vector:68,
> from vector.h:474,
> from index.h:21,
> from giacPCH.h:8:
> /usr/include/c++/13/bits/stl_function.h:1131:11: note: declared here
> 1131 | class pointer_to_binary_function
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> monomial.h:342:28: warning: ‘template<class _Arg1, class _Arg2, class _Result> class std::pointer_to_binary_function’ is deprecated [-Wdeprecated-declarations]
> 342 | sort_helper(const std::pointer_to_binary_function < const monomial<T> &, const monomial<T> &, bool> is_strictly_greater):strictly_greater(is_strictly_greater) {};
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/13/bits/stl_function.h:1131:11: note: declared here
> 1131 | class pointer_to_binary_function
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> monomial.h:680:25: warning: ‘template<class _Arg1, class _Arg2, class _Result> class std::pointer_to_binary_function’ is deprecated [-Wdeprecated-declarations]
> 680 | const std::pointer_to_binary_function < const monomial<T> &, const monomial<T> &, bool> m_is_strictly_greater
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/13/bits/stl_function.h:1131:11: note: declared here
> 1131 | class pointer_to_binary_function
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> monomial.h: In function ‘void giac::Mul(typename std::vector<monomial<T> >::const_iterator&, typename std::vector<monomial<T> >::const_iterator&, typename std::vector<monomial<T> >::const_iterator&, typename std::vector<monomial<T> >::const_iterator&, std::vector<monomial<T> >&, bool (*)(const index_m&, const index_m&), std::pointer_to_binary_function<const monomial<T>&, const monomial<T>&, bool>)’:
> monomial.h:729:44: warning: ‘template<class _Arg1, class _Arg2, class _Result> class std::pointer_to_binary_function’ is deprecated [-Wdeprecated-declarations]
> 729 | typedef std::map< index_t,T,const std::pointer_to_binary_function < const index_m &, const index_m &, bool> > application;
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/13/bits/stl_function.h:1131:11: note: declared here
> 1131 | class pointer_to_binary_function
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> monomial.h:730:37: warning: ‘std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const giac::index_m&; _Arg2 = const giac::index_m&; _Result = bool]’ is deprecated: use 'std::function' instead [-Wdeprecated-declarations]
> 730 | application produit(std::ptr_fun(is_strictly_greater));
> | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/13/bits/stl_function.h:1153:5: note: declared here
> 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2))
> | ^~~~~~~
> In file included from poly.h:27:
> threaded.h: In function ‘void giac::in_out_heap(T*, size_t, T)’:
> threaded.h:1303:20: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 1303 | register T * ptr=tab+childindex;
> | ^~~
> threaded.h: In function ‘int giac::hashdivrem(const std::vector<T_unsigned<T, U> >&, const std::vector<T_unsigned<T, U> >&, std::vector<T_unsigned<T, U> >&, std::vector<T_unsigned<T, U> >&, const std::vector<U>&, const R&, double, bool, int)’:
> threaded.h:2727:20: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 2727 | register U u=cit->u;
> | ^
> threaded.h:2796:28: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 2796 | register int deg = int(u >> mainvar); // deg=deg1+it2->u/mainvar;
> | ^~~
> threaded.h:2805:28: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 2805 | register int deg=int(u >> mainvar);
> | ^~~
> threaded.h:3241:18: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 3241 | register U u=cit->u;
> | ^
> threaded.h:3336:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 3336 | register int deg = int(u >> mainvar); // deg=deg1+it2->u/mainvar;
> | ^~~
> threaded.h:3355:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 3355 | register int deg=int(u >> mainvar);
> | ^~~
> poly.h: At global scope:
> poly.h:43:10: warning: ‘template<class _Arg1, class _Arg2, class _Result> class std::pointer_to_binary_function’ is deprecated [-Wdeprecated-declarations]
> 43 | std::pointer_to_binary_function < const monomial<T> &, const monomial<T> &, bool> m_is_strictly_greater ;
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/13/bits/stl_function.h:1131:11: note: declared here
> 1131 | class pointer_to_binary_function
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> 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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -U_GLIBCXX_ASSERTIONS -DUSE_OBJET_BIDON -fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS -DTIMEOUT -DHAVE_LIBMICROPYTHON -fpermissive -DQUICKJS -c -o aide.o aide.cc
> In file included from sym2poly.h:27,
> from giacPCH.h:38:
> gausspol.h:96:29: warning: ‘template<class _Arg1, class _Arg2, class _Result> class std::pointer_to_binary_function’ is deprecated [-Wdeprecated-declarations]
> 96 | const std::pointer_to_binary_function < const monomial<gen> &, const monomial<gen> &, bool> m_is_greater
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/13/bits/stl_function.h:1131:11: note: declared here
> 1131 | class pointer_to_binary_function
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> gausspol.h: In function ‘int giac::coeff_type(const std::vector<T_unsigned<gen, U> >&, unsigned int&)’:
> gausspol.h:293:18: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 293 | register int tmp;
> | ^~~
> In file included from xcas.cc:4:
> hist.cxx: In function ‘void cb_Insert_Example(Fl_Widget*, void*)’:
> hist.cxx:695:17: warning: ‘int fl_ask(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 695 | i=fl_ask("%s",("File "+std::string(m->text())+" exists. Overwrite?").c_str());
> | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/FL/fl_message.H:19,
> from Editeur.h:35,
> from Graph.h:33,
> from Xcas1.h:19,
> from hist.h:7,
> from hist.cxx:4:
> /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__));
> | ^~~~~~
> hist.cxx: In function ‘void load_autorecover_data()’:
> hist.cxx:883:16: warning: ‘int fl_ask(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 883 | n=fl_ask("%s",gettext("Launch tutorial in browser?"));
> | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /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__));
> | ^~~~~~
> hist.cxx:904:22: warning: too many arguments for format [-Wformat-extra-args]
> 904 | int i=fl_ask("%s",gettext("Auto-recovery files found. Load ?"),gettext("Yes"),gettext("No"));
> | ^~~~
> hist.cxx:904:21: warning: ‘int fl_ask(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 904 | int i=fl_ask("%s",gettext("Auto-recovery files found. Load ?"),gettext("Yes"),gettext("No"));
> | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /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__));
> | ^~~~~~
> hist.cxx: In function ‘void cb_Xcas_nw_backup(Fl_Menu_*, void*)’:
> hist.cxx:1154:29: warning: ‘int fl_ask(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 1154 | int i=fl_ask(gettext("File %s exists. Overwrite?"),newfile);
> | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /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__));
> | ^~~~~~
> hist.cxx: In function ‘void cb_Xcas_nw_rescue(Fl_Menu_*, void*)’:
> hist.cxx:1217:15: warning: ‘int fl_ask(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 1217 | int i=fl_ask(gettext("Connect the calculator,\nPress the 6 key on the calculator, press the RESET button on the back keeping the 6 key pressed, release the 6 key,\nThe screen should be down and the led should be red\nOn windows, please install a driver for STM32-BOOTLOADER from https://zadig.akeo.ie/\nIf you run Xcas from a virtual machine, enable the STM32 BOOTLOADER in USB devices")); if (!i) return;
> | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /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__));
> | ^~~~~~
> hist.cxx:1221:23: warning: ‘int fl_ask(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 1221 | i=fl_ask(gettext("If you are running Xcas from a virtual machine, please enable the Numworks calculator in USB devices. Install KhiCAS?"));
> | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /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__));
> | ^~~~~~
> hist.cxx: In function ‘void cb_Xcas_nw_certify_overwrite(Fl_Menu_*, void*)’:
> hist.cxx:1241:15: warning: ‘int fl_ask(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 1241 | int i=fl_ask("Ce test necessite l'accord du proprietaire de la calculatrice et dure environ 1 minute. Effectuer?");
> | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /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__));
> | ^~~~~~
> hist.cxx: In function ‘void cb_Xcas_help_load(Fl_Menu_*, void*)’:
> hist.cxx:1950:10: warning: ‘int fl_ask(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 1950 | i=fl_ask("%s",("Check that you can write over "+path+",\ncheck that your Internet connection is ready\nand check that wget, tar and gzip are installed.\nProceed?").c_str());
> | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /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__));
> | ^~~~~~
> 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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -U_GLIBCXX_ASSERTIONS -DUSE_OBJET_BIDON -fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS -DTIMEOUT -DHAVE_LIBMICROPYTHON -fpermissive -DQUICKJS -c -o hevea2mml.o hevea2mml.cc
> hist.cxx:1953:11: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
> 1953 | system(("mkdir /tmp ; cd /tmp && wget https://www-fourier.univ-grenoble-alpes.fr/~parisse/giac/giacshare.tgz && cd "+path+" && tar xvfz /tmp/giacshare.tgz").c_str());
> | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> hist.cxx: In function ‘void cb_Xcas_CloneOffline(Fl_Menu_*, void*)’:
> hist.cxx:1086:201: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
> 1086 | int pos=0;std::string html5=giac::browser_command("doc/xcasfr.html#filename="+Xcas_current_session_name()+"&"+xcas::widget_html5(Xcas_current_session(),pos)); std::cout << html5 << std::endl; system(html5.c_str());
> | ~~~~~~^~~~~~~~~~~~~~~
> hist.cxx: In function ‘int main(int, char**)’:
> hist.cxx:5970:13: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
> 5970 | system("xterm -e 'sudo apt-get update ; sudo apt-get install giac'");
> | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> hist.cxx:5973:13: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
> 5973 | system("xterm -e 'rm -f giac64.rpm && wget https://www-fourier.univ-grenoble-alpes.fr/~parisse/giac/giac64.rpm && sudo rpm -e giac && sudo rpm -U gia64c.rpm'");
> | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> hist.cxx:5980:13: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
> 5980 | system("cd /tmp && wget https://www-fourier.univ-grenoble-alpes.fr/~parisse/giac/xcas.tgz && cd /usr/local && xterm -e 'sudo tar xvfz tmp/xcas.tgz' &");
> | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> hevea2mml.cc: In function ‘int main(int, char**)’:
> hevea2mml.cc:388:13: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
> 388 | system(cmd.c_str());
> | ~~~~~~^~~~~~~~~~~~~
> gcc -DHAVE_CONFIG_H -I. -I.. -DIN_GIAC -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE -DQUICKJS -DCONFIG_BIGNUM -DCONFIG_VERSION=\"2020-11-08\" -c -o lex_yy.o lex_yy.c
> gcc -DHAVE_CONFIG_H -I. -I.. -DIN_GIAC -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE -DQUICKJS -DCONFIG_BIGNUM -DCONFIG_VERSION=\"2020-11-08\" -c -o y_tab.o y_tab.c
> 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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -U_GLIBCXX_ASSERTIONS -DUSE_OBJET_BIDON -fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS -DTIMEOUT -DHAVE_LIBMICROPYTHON -fpermissive -DQUICKJS -c cocoa.cc -o cocoa.o >/dev/null 2>&1
> ./mkjs
> ./mkjs
> /bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -U_GLIBCXX_ASSERTIONS -DUSE_OBJET_BIDON -fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS -DTIMEOUT -DHAVE_LIBMICROPYTHON -fpermissive -DQUICKJS -Wl,-z,relro -Wl,-z,now -L. -L.. -lmicropython -o hevea2mml hevea2mml.o lex_yy.o y_tab.o -lrt -lpthread -ldl -lpng16 -lm -lmpfi -lmpfr -lgmp
> libtool: link: g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -U_GLIBCXX_ASSERTIONS -DUSE_OBJET_BIDON -fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS -DTIMEOUT -DHAVE_LIBMICROPYTHON -fpermissive -DQUICKJS -Wl,-z -Wl,relro -Wl,-z -Wl,now -o hevea2mml hevea2mml.o lex_yy.o y_tab.o -L. -L.. -lmicropython -lrt -lpthread -ldl -lpng16 -lm -lmpfi -lmpfr -lgmp
> /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DIN_GIAC -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE -DQUICKJS -DCONFIG_BIGNUM -DCONFIG_VERSION=\"2020-11-08\" -c -o js.lo js.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DIN_GIAC -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE -DQUICKJS -DCONFIG_BIGNUM -DCONFIG_VERSION=\"2020-11-08\" -c js.c -fPIC -DPIC -o .libs/js.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DIN_GIAC -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE -DQUICKJS -DCONFIG_BIGNUM -DCONFIG_VERSION=\"2020-11-08\" -c js.c -o js.o >/dev/null 2>&1
> cc1: some warnings being treated as errors
> make[3]: *** [Makefile:975: quickjs.lo] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/03/13/giac_1.9.0.93+dfsg2-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the debian-science-maintainers
mailing list