Bug#831186: boinc-app-seti: FTBFS with GCC 6: ../../client/vector/analyzeFuncs_vector.cpp:105:30: error: 'isnan' was not declared in this scope
Lucas Nussbaum
lucas at debian.org
Thu Jul 14 06:48:19 UTC 2016
Source: boinc-app-seti
Version: 8.00~svn3363-2
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160713 qa-ftbfs
Justification: FTBFS with GCC 6 on amd64
Hi,
During a rebuild of all packages in sid using the gcc-defaults package
available in experimental to make GCC default to version 6, your package failed
to build on amd64. For more information about GCC 6 and Stretch, see:
- https://wiki.debian.org/GCC6
- https://lists.debian.org/debian-devel-announce/2016/06/msg00007.html
Relevant part (hopefully):
> if g++ -DHAVE_CONFIG_H -I. -I../../client -I.. -msse3 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/boinc -I/usr/include/boinc/lib -I/usr/include/boinc/api -O3 -I/usr/include -I/usr/include/openssl -fPIC -DPIC -DHAVE_CONFIG_H -I../.. \
> -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/boinc -I/usr/include/boinc/lib -I/usr/include/boinc/api -O3 -msse3 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/boinc -I/usr/include/boinc/lib -I/usr/include/boinc/api -O3 -I/usr/include -I/usr/include/openssl -DHAVE_CONFIG_H -DTEXT_UI -DNDEBUG -DCLIENT -I../../db -I../../client -I../../client/win_build -I/usr/include/boinc -I/usr/include/boinc/api -I/usr/include/boinc/lib -I/usr/include/boinc/sched -I/usr/include/boinc/db -I/usr/include/boinc -pthread -march=opteron -mtune=generic -msse2 -DUSE_SSE -DUSE_SSE2 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/boinc -I/usr/include/boinc/lib -I/usr/include/boinc/api -O3 -I/usr/include -I/usr/include/openssl -DUSE_SSE3 -DUSE_3DNOW \
> -MT seti_boinc-analyzeFuncs_vector.o -MD -MP -MF ".deps/seti_boinc-analyzeFuncs_vector.Tpo" \
> -c -o seti_boinc-analyzeFuncs_vector.o ../../client/vector/analyzeFuncs_vector.cpp; then mv -f ".deps/seti_boinc-analyzeFuncs_vector.Tpo" ".deps/seti_boinc-analyzeFuncs_vector.Po"; \
> else rm -f ".deps/seti_boinc-analyzeFuncs_vector.Tpo"; exit 1; fi
> In file included from ../../client/vector/analyzeFuncs_vector.cpp:39:0:
> ../sah_config.h:775:37: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
> #define CUSTOM_STRING PACKAGE_STRING" "SVN_REV" "COMPILER_STRING
> ^
> ../sah_config.h:775:47: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
> #define CUSTOM_STRING PACKAGE_STRING" "SVN_REV" "COMPILER_STRING
> ^
> In file included from /usr/include/boinc/lib/str_replace.h:24:0,
> from /usr/include/boinc/coproc.h:91,
> from /usr/include/boinc/hostinfo.h:32,
> from /usr/include/boinc/app_ipc.h:28,
> from /usr/include/boinc/boinc_api.h:26,
> from ../../client/vector/analyzeFuncs_vector.cpp:66:
> /usr/include/boinc/config.h:631:0: warning: "HOSTTYPEALT" redefined
> #define HOSTTYPEALT "x86_64-linux-gnu"
>
> In file included from ../../client/vector/analyzeFuncs_vector.cpp:39:0:
> ../sah_config.h:568:0: note: this is the location of the previous definition
> #define HOSTTYPEALT "i686-pc-linux-gnu"
>
> In file included from /usr/include/boinc/lib/str_replace.h:24:0,
> from /usr/include/boinc/coproc.h:91,
> from /usr/include/boinc/hostinfo.h:32,
> from /usr/include/boinc/app_ipc.h:28,
> from /usr/include/boinc/boinc_api.h:26,
> from ../../client/vector/analyzeFuncs_vector.cpp:66:
> /usr/include/boinc/config.h:685:0: warning: "PACKAGE" redefined
> #define PACKAGE "boinc"
>
> In file included from ../../client/vector/analyzeFuncs_vector.cpp:39:0:
> ../sah_config.h:589:0: note: this is the location of the previous definition
> #define PACKAGE "setiathome_v8"
>
> In file included from /usr/include/boinc/lib/str_replace.h:24:0,
> from /usr/include/boinc/coproc.h:91,
> from /usr/include/boinc/hostinfo.h:32,
> from /usr/include/boinc/app_ipc.h:28,
> from /usr/include/boinc/boinc_api.h:26,
> from ../../client/vector/analyzeFuncs_vector.cpp:66:
> /usr/include/boinc/config.h:688:0: warning: "PACKAGE_BUGREPORT" redefined
> #define PACKAGE_BUGREPORT ""
>
> In file included from ../../client/vector/analyzeFuncs_vector.cpp:39:0:
> ../sah_config.h:592:0: note: this is the location of the previous definition
> #define PACKAGE_BUGREPORT "korpela at ssl.berkeley.edu"
>
> In file included from /usr/include/boinc/lib/str_replace.h:24:0,
> from /usr/include/boinc/coproc.h:91,
> from /usr/include/boinc/hostinfo.h:32,
> from /usr/include/boinc/app_ipc.h:28,
> from /usr/include/boinc/boinc_api.h:26,
> from ../../client/vector/analyzeFuncs_vector.cpp:66:
> /usr/include/boinc/config.h:691:0: warning: "PACKAGE_NAME" redefined
> #define PACKAGE_NAME "BOINC"
>
> In file included from ../../client/vector/analyzeFuncs_vector.cpp:39:0:
> ../sah_config.h:595:0: note: this is the location of the previous definition
> #define PACKAGE_NAME "setiathome_v8"
>
> In file included from /usr/include/boinc/lib/str_replace.h:24:0,
> from /usr/include/boinc/coproc.h:91,
> from /usr/include/boinc/hostinfo.h:32,
> from /usr/include/boinc/app_ipc.h:28,
> from /usr/include/boinc/boinc_api.h:26,
> from ../../client/vector/analyzeFuncs_vector.cpp:66:
> /usr/include/boinc/config.h:694:0: warning: "PACKAGE_STRING" redefined
> #define PACKAGE_STRING "BOINC 7.6.33"
>
> In file included from ../../client/vector/analyzeFuncs_vector.cpp:39:0:
> ../sah_config.h:598:0: note: this is the location of the previous definition
> #define PACKAGE_STRING "setiathome_v8 8.00"
>
> In file included from /usr/include/boinc/lib/str_replace.h:24:0,
> from /usr/include/boinc/coproc.h:91,
> from /usr/include/boinc/hostinfo.h:32,
> from /usr/include/boinc/app_ipc.h:28,
> from /usr/include/boinc/boinc_api.h:26,
> from ../../client/vector/analyzeFuncs_vector.cpp:66:
> /usr/include/boinc/config.h:697:0: warning: "PACKAGE_TARNAME" redefined
> #define PACKAGE_TARNAME "boinc"
>
> In file included from ../../client/vector/analyzeFuncs_vector.cpp:39:0:
> ../sah_config.h:601:0: note: this is the location of the previous definition
> #define PACKAGE_TARNAME "setiathome_v8"
>
> In file included from /usr/include/boinc/lib/str_replace.h:24:0,
> from /usr/include/boinc/coproc.h:91,
> from /usr/include/boinc/hostinfo.h:32,
> from /usr/include/boinc/app_ipc.h:28,
> from /usr/include/boinc/boinc_api.h:26,
> from ../../client/vector/analyzeFuncs_vector.cpp:66:
> /usr/include/boinc/config.h:703:0: warning: "PACKAGE_VERSION" redefined
> #define PACKAGE_VERSION "7.6.33"
>
> In file included from ../../client/vector/analyzeFuncs_vector.cpp:39:0:
> ../sah_config.h:607:0: note: this is the location of the previous definition
> #define PACKAGE_VERSION "8.00"
>
> In file included from /usr/include/boinc/lib/str_replace.h:24:0,
> from /usr/include/boinc/coproc.h:91,
> from /usr/include/boinc/hostinfo.h:32,
> from /usr/include/boinc/app_ipc.h:28,
> from /usr/include/boinc/boinc_api.h:26,
> from ../../client/vector/analyzeFuncs_vector.cpp:66:
> /usr/include/boinc/config.h:734:0: warning: "VERSION" redefined
> #define VERSION "7.6.33"
>
> In file included from ../../client/vector/analyzeFuncs_vector.cpp:39:0:
> ../sah_config.h:700:0: note: this is the location of the previous definition
> #define VERSION "8.00"
>
> In file included from ../../db/sqlrow.h:28:0,
> from ../../db/db_table.h:27,
> from ../../client/seti_header.h:43,
> from ../../client/seti.h:43,
> from ../../client/analyzeFuncs.h:31,
> from ../../client/vector/analyzeFuncs_vector.cpp:74:
> ../../db/xml_util.h:215:3: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
> "<?xml version=\"1.0\" encoding=\""XML_ENCODING"\"?>\n";
> ^
> In file included from ../../client/seti_header.h:43:0,
> from ../../client/seti.h:43,
> from ../../client/analyzeFuncs.h:31,
> from ../../client/vector/analyzeFuncs_vector.cpp:74:
> ../../db/db_table.h:534:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
> sprintf(buf,"%"INT8_FMT,INT8_PRINT_CAST(sqlint8_t(r.id)));
> ^
> ../../db/db_table.h:545:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
> sprintf(buf,"<id>%"INT8_FMT"</id>",INT8_PRINT_CAST(sqlint8_t(r.id)));
> ^
> In file included from ../../client/analyzeFuncs.h:31:0,
> from ../../client/vector/analyzeFuncs_vector.cpp:74:
> ../../client/seti.h:56:19: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
> #define SINT8_FMT "%"PRId64
> ^
> ../../client/seti.h:58:19: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
> #define UINT8_FMT "%"PRIu64
> ^
> ../../client/vector/analyzeFuncs_vector.cpp: In function 'int (* ChooseBaseLineSmooth())(float (*)[2], int, int, int)':
> ../../client/vector/analyzeFuncs_vector.cpp:105:30: error: 'isnan' was not declared in this scope
> #define isnotnan(x) (!isnan(x))
> ^
> ../../client/vector/analyzeFuncs_vector.cpp:655:35: note: in expansion of macro 'isnotnan'
> if ((timing<speed) && isnotnan(accuracy) && (accuracy<1e-5)) {
> ^~~~~~~~
> ../../client/vector/analyzeFuncs_vector.cpp:105:30: note: suggested alternative:
> #define isnotnan(x) (!isnan(x))
> ^
> ../../client/vector/analyzeFuncs_vector.cpp:655:35: note: in expansion of macro 'isnotnan'
> if ((timing<speed) && isnotnan(accuracy) && (accuracy<1e-5)) {
> ^~~~~~~~
> In file included from ../../client/vector/analyzeFuncs_vector.cpp:47:0:
> /usr/include/c++/6/cmath:655:5: note: 'std::isnan'
> isnan(_Tp __x)
> ^~~~~
> ../../client/vector/analyzeFuncs_vector.cpp: In function 'int (* ChooseGetPowerSpectrum())(float (*)[2], float*, int)':
> ../../client/vector/analyzeFuncs_vector.cpp:105:30: error: 'isnan' was not declared in this scope
> #define isnotnan(x) (!isnan(x))
> ^
> ../../client/vector/analyzeFuncs_vector.cpp:781:35: note: in expansion of macro 'isnotnan'
> if ((timing<speed) && isnotnan(accuracy) && (accuracy<1e-5)) {
> ^~~~~~~~
> ../../client/vector/analyzeFuncs_vector.cpp:105:30: note: suggested alternative:
> #define isnotnan(x) (!isnan(x))
> ^
> ../../client/vector/analyzeFuncs_vector.cpp:781:35: note: in expansion of macro 'isnotnan'
> if ((timing<speed) && isnotnan(accuracy) && (accuracy<1e-5)) {
> ^~~~~~~~
> In file included from ../../client/vector/analyzeFuncs_vector.cpp:47:0:
> /usr/include/c++/6/cmath:655:5: note: 'std::isnan'
> isnan(_Tp __x)
> ^~~~~
> ../../client/vector/analyzeFuncs_vector.cpp: In function 'int (* ChooseChirpData())(float (*)[2], float (*)[2], int, double, int, double)':
> ../../client/vector/analyzeFuncs_vector.cpp:105:30: error: 'isnan' was not declared in this scope
> #define isnotnan(x) (!isnan(x))
> ^
> ../../client/vector/analyzeFuncs_vector.cpp:951:35: note: in expansion of macro 'isnotnan'
> if ((timing<speed) && isnotnan(accuracy) && (accuracy<5e-3)) {
> ^~~~~~~~
> ../../client/vector/analyzeFuncs_vector.cpp:105:30: note: suggested alternative:
> #define isnotnan(x) (!isnan(x))
> ^
> ../../client/vector/analyzeFuncs_vector.cpp:951:35: note: in expansion of macro 'isnotnan'
> if ((timing<speed) && isnotnan(accuracy) && (accuracy<5e-3)) {
> ^~~~~~~~
> In file included from ../../client/vector/analyzeFuncs_vector.cpp:47:0:
> /usr/include/c++/6/cmath:655:5: note: 'std::isnan'
> isnan(_Tp __x)
> ^~~~~
> ../../client/vector/analyzeFuncs_vector.cpp: In function 'int (* ChooseTranspose())(int, int, float*, float*)':
> ../../client/vector/analyzeFuncs_vector.cpp:105:30: error: 'isnan' was not declared in this scope
> #define isnotnan(x) (!isnan(x))
> ^
> ../../client/vector/analyzeFuncs_vector.cpp:1076:35: note: in expansion of macro 'isnotnan'
> if ((timing<speed) && isnotnan(accuracy) && (accuracy<1e-6)) {
> ^~~~~~~~
> ../../client/vector/analyzeFuncs_vector.cpp:105:30: note: suggested alternative:
> #define isnotnan(x) (!isnan(x))
> ^
> ../../client/vector/analyzeFuncs_vector.cpp:1076:35: note: in expansion of macro 'isnotnan'
> if ((timing<speed) && isnotnan(accuracy) && (accuracy<1e-6)) {
> ^~~~~~~~
> In file included from ../../client/vector/analyzeFuncs_vector.cpp:47:0:
> /usr/include/c++/6/cmath:655:5: note: 'std::isnan'
> isnan(_Tp __x)
> ^~~~~
> ../../client/vector/analyzeFuncs_vector.cpp: In function 'int ChooseFoldSubs(ChirpFftPair_t*, int, int)':
> ../../client/vector/analyzeFuncs_vector.cpp:105:30: error: 'isnan' was not declared in this scope
> #define isnotnan(x) (!isnan(x))
> ^
> ../../client/vector/analyzeFuncs_vector.cpp:1466:31: note: in expansion of macro 'isnotnan'
> if ((timing < speed) && isnotnan(accuracy) && (accuracy < 1e-6) && (errmax < 1e-4)) {
> ^~~~~~~~
> ../../client/vector/analyzeFuncs_vector.cpp:105:30: note: suggested alternative:
> #define isnotnan(x) (!isnan(x))
> ^
> ../../client/vector/analyzeFuncs_vector.cpp:1466:31: note: in expansion of macro 'isnotnan'
> if ((timing < speed) && isnotnan(accuracy) && (accuracy < 1e-6) && (errmax < 1e-4)) {
> ^~~~~~~~
> In file included from ../../client/vector/analyzeFuncs_vector.cpp:47:0:
> /usr/include/c++/6/cmath:655:5: note: 'std::isnan'
> isnan(_Tp __x)
> ^~~~~
> make[4]: *** [seti_boinc-analyzeFuncs_vector.o] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2016/07/13/boinc-app-seti_8.00~svn3363-2_unstable_gcc6.log
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!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the pkg-boinc-devel
mailing list