Bug#811949: vdr-plugin-vnsiserver: FTBFS with GCC 6: unable to find string literal operator

Martin Michlmayr tbm at hpe.com
Wed Jan 20 03:58:38 UTC 2016


Package: vdr-plugin-vnsiserver
Version: 1:1.3.1-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
...
> g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"vnsiserver"' -DVNSI_SERVER_VERSION='"1.3.1"'  -o responsepacket.o responsepacket.c
> In file included from /usr/include/vdr/i18n.h:14:0,
>                  from /usr/include/vdr/config.h:19,
>                  from cxsocket.c:46:
> cxsocket.c: In member function 'ssize_t cxSocket::write(const void*, size_t, int, bool)':
> config.h:49:32: error: unable to find string literal operator 'operator""x' with 'const char [13]', 'long unsigned int' arguments
>  #define ERRORLOG(x...) esyslog("VNSI-Error: "x)
>                                 ^
> 
> cxsocket.c:102:7: note: in expansion of macro 'ERRORLOG'
>        ERRORLOG("cxSocket::write: poll() failed");
>        ^~~~~~~~
> 
> config.h:49:32: error: unable to find string literal operator 'operator""x' with 'const char [13]', 'long unsigned int' arguments
>  #define ERRORLOG(x...) esyslog("VNSI-Error: "x)
>                                 ^
> 
> cxsocket.c:116:9: note: in expansion of macro 'ERRORLOG'
>          ERRORLOG("cxSocket::write: write() error");
>          ^~~~~~~~
> 
> cxsocket.c: In member function 'ssize_t cxSocket::read(void*, size_t, int)':
> config.h:49:32: error: unable to find string literal operator 'operator""x' with 'const char [13]', 'long unsigned int' arguments
>  #define ERRORLOG(x...) esyslog("VNSI-Error: "x)
>                                 ^
> 
> cxsocket.c:141:7: note: in expansion of macro 'ERRORLOG'
>        ERRORLOG("cxSocket::read: poll() failed at %d/%d", (int)(size-missing), (int)size);
>        ^~~~~~~~
> 
> config.h:49:32: error: unable to find string literal operator 'operator""x' with 'const char [13]', 'long unsigned int' arguments
>  #define ERRORLOG(x...) esyslog("VNSI-Error: "x)
>                                 ^
> 
> cxsocket.c:155:7: note: in expansion of macro 'ERRORLOG'
>        ERRORLOG("cxSocket::read: read() error at %d/%d", (int)(size-missing), (int)size);
>        ^~~~~~~~
> 
> config.h:48:31: error: unable to find string literal operator 'operator""x' with 'const char [7]', 'long unsigned int' arguments
>  #define INFOLOG(x...) isyslog("VNSI: "x)
>                                ^
> 
> cxsocket.c:160:7: note: in expansion of macro 'INFOLOG'
>        INFOLOG("cxSocket::read: eof, connection closed");
>        ^~~~~~~
> 
> g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"vnsiserver"' -DVNSI_SERVER_VERSION='"1.3.1"'  -o vnsiserver.o vnsiserver.c
> Makefile:107: recipe for target 'cxsocket.o' failed
> make[1]: *** [cxsocket.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> In file included from /usr/include/vdr/i18n.h:14:0,
>                  from /usr/include/vdr/config.h:19,
>                  from /usr/include/vdr/channels.h:13,
>                  from /usr/include/vdr/recording.h:14,
>                  from recplayer.h:35,
>                  from recplayer.c:31:
> recplayer.c: In constructor 'cRecPlayer::cRecPlayer(cRecording*, bool)':
> config.h:48:31: error: unable to find string literal operator 'operator""x' with 'const char [7]', 'long unsigned int' arguments
>  #define INFOLOG(x...) isyslog("VNSI: "x)
>                                ^
> 
> recplayer.c:54:22: note: in expansion of macro 'INFOLOG'
>    if(m_pesrecording) INFOLOG("recording '%s' is a PES recording", m_recordingFilename);
>                       ^~~~~~~
> 
> recplayer.c: In member function 'void cRecPlayer::scan()':
> config.h:48:31: error: unable to find string literal operator 'operator""x' with 'const char [7]', 'long unsigned int' arguments
>  #define INFOLOG(x...) isyslog("VNSI: "x)
>                                ^
> 
> recplayer.c:95:5: note: in expansion of macro 'INFOLOG'
>      INFOLOG("File %i found, size: %lu, totalLength now %lu", i, s.st_size, m_totalLength);
>      ^~~~~~~
> 
> config.h:48:31: error: unable to find string literal operator 'operator""x' with 'const char [7]', 'long unsigned int' arguments
>  #define INFOLOG(x...) isyslog("VNSI: "x)
...



More information about the pkg-multimedia-maintainers mailing list