Bug#811948: vdr-plugin-satip: FTBFS with GCC 6: unable to find string literal operator
Martin Michlmayr
tbm at hpe.com
Wed Jan 20 03:58:24 UTC 2016
Package: vdr-plugin-satip
Version: 2.2.3-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 -DPLUGIN_NAME_I18N='"satip"' -o poller.o poller.c
> 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/device.h:13,
> from /usr/include/vdr/dvbdevice.h:15,
> from /usr/include/vdr/menuitems.h:14,
> from config.h:11,
> from poller.c:12:
> poller.c: In member function 'virtual void cSatipPoller::Action()':
> common.h:55:34: error: unable to find string literal operator 'operator""errstr' with 'const char [14]', 'long unsigned int' arguments
> esyslog("[%s,%d]: "errstr": %s", __FILE__, __LINE__, \
> ^
>
> poller.c:82:9: note: in expansion of macro 'ERROR_IF_FUNC'
> ERROR_IF_FUNC((nfds == -1), "epoll_wait() failed", break, ;);
> ^~~~~~~~~~~~~
>
> poller.c: In member function 'bool cSatipPoller::Register(cSatipPollerIf&)':
> common.h:55:34: error: unable to find string literal operator 'operator""errstr' with 'const char [14]', 'long unsigned int' arguments
> esyslog("[%s,%d]: "errstr": %s", __FILE__, __LINE__, \
> ^
>
> common.h:63:40: note: in expansion of macro 'ERROR_IF_FUNC'
> #define ERROR_IF_RET(exp, errstr, ret) ERROR_IF_FUNC(exp, errstr, ,ret);
> ^~~~~~~~~~~~~
>
> poller.c:108:3: note: in expansion of macro 'ERROR_IF_RET'
> ERROR_IF_RET(epoll_ctl(fdM, EPOLL_CTL_ADD, pollerP.GetFd(), &ev) == -1, "epoll_ctl(EPOLL_CTL_ADD) failed", return false);
> ^~~~~~~~~~~~
>
> poller.c: In member function 'bool cSatipPoller::Unregister(cSatipPollerIf&)':
> common.h:55:34: error: unable to find string literal operator 'operator""errstr' with 'const char [14]', 'long unsigned int' arguments
> esyslog("[%s,%d]: "errstr": %s", __FILE__, __LINE__, \
> ^
>
> common.h:63:40: note: in expansion of macro 'ERROR_IF_FUNC'
> #define ERROR_IF_RET(exp, errstr, ret) ERROR_IF_FUNC(exp, errstr, ,ret);
> ^~~~~~~~~~~~~
>
> poller.c:118:3: note: in expansion of macro 'ERROR_IF_RET'
> ERROR_IF_RET((epoll_ctl(fdM, EPOLL_CTL_DEL, pollerP.GetFd(), NULL) == -1), "epoll_ctl(EPOLL_CTL_DEL) failed", return false);
> ^~~~~~~~~~~~
>
> Makefile:91: recipe for target 'poller.o' failed
> make[2]: *** [poller.o] Error 1
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
More information about the pkg-vdr-dvb-devel
mailing list