Bug#811947: boinc: FTBFS with GCC 6: unable to find string literal operator
Martin Michlmayr
tbm at hpe.com
Wed Jan 20 03:58:14 UTC 2016
Package: boinc
Version: 7.6.22+dfsg-1
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-literal-operator
This package fails to build with GCC 6. GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.
Note that only the first error is reported; there might be more. You
can find a snapshot of GCC 6 in experimental. To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.
You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html
> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> /usr/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -pthread -I/usr/include/mysql -g -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -O3 -funroll-loops -fforce-addr -ffast-math -Wall -c -o handle_request.o handle_request.cpp
> In file included from ./sched_limit.h:29:0,
> from ./sched_config.h:25,
> from ../tools/backend_lib.h:24,
> from handle_request.cpp:41:
> handle_request.cpp: In function 'int authenticate_user()':
> ./sched_msgs.h:46:21: error: unable to find string literal operator 'operator""x' with 'const char [6]', 'long unsigned int' arguments
> #define _(x) "_(\""x"\")"
> ^
>
> handle_request.cpp:307:25: note: in expansion of macro '_'
> _("Invalid or missing account key. To fix, remove and add this project."),
> ^
>
> handle_request.cpp: In function 'bool send_code_sign_key(char*)':
> ./sched_msgs.h:46:21: error: unable to find string literal operator 'operator""x' with 'const char [6]', 'long unsigned int' arguments
> #define _(x) "_(\""x"\")"
> ^
>
> handle_request.cpp:914:8: note: in expansion of macro '_'
> _("The project has changed its security key. Please remove and add this project."),
> ^
>
> handle_request.cpp: In function 'bool unacceptable_os()':
> ./sched_msgs.h:46:21: error: unable to find string literal operator 'operator""x' with 'const char [6]', 'long unsigned int' arguments
> #define _(x) "_(\""x"\")"
> ^
>
> handle_request.cpp:985:17: note: in expansion of macro '_'
> _("This project doesn't support operating system"),
> ^
>
> handle_request.cpp: In function 'bool unacceptable_cpu()':
> ./sched_msgs.h:46:21: error: unable to find string literal operator 'operator""x' with 'const char [6]', 'long unsigned int' arguments
> #define _(x) "_(\""x"\")"
> ^
>
> handle_request.cpp:1011:17: note: in expansion of macro '_'
> _("This project doesn't support CPU type"),
> ^
>
> handle_request.cpp: In function 'bool wrong_core_client_version()':
> ./sched_msgs.h:46:21: error: unable to find string literal operator 'operator""x' with 'const char [6]', 'long unsigned int' arguments
> #define _(x) "_(\""x"\")"
> ^
>
> handle_request.cpp:1035:9: note: in expansion of macro '_'
> _("Your BOINC client software is too old. Please install the current version."),
> ^
>
> handle_request.cpp: In function 'void process_request(char*)':
> ./sched_msgs.h:46:21: error: unable to find string literal operator 'operator""x' with 'const char [6]', 'long unsigned int' arguments
> #define _(x) "_(\""x"\")"
> ^
>
> handle_request.cpp:1315:13: note: in expansion of macro '_'
> _("This project doesn't support computers of type"),
> ^
>
> Makefile:1653: recipe for target 'handle_request.o' failed
> make[4]: *** [handle_request.o] Error 1
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
More information about the pkg-boinc-devel
mailing list