Bug#853699: vdr-plugin-live: ftbfs with GCC-7

Matthias Klose doko at debian.org
Tue Jan 31 09:36:37 UTC 2017

Package: src:vdr-plugin-live
Version: 0.3.0+git20160123-1
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
The last lines of the build log are at the end of this report.

To build with GCC 7, either set CC=gcc-7 CXX=g++-7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at

/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
In file included from ../setup.h:8:0,
                 from multischedule.ecpp:10:
../live.h:36:7: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  std::auto_ptr< ServerThread > m_thread;
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
                 from /usr/include/c++/7/locale:43,
                 from /usr/include/cxxtools/char.h:420,
                 from /usr/include/cxxtools/string.h:34,
                 from /usr/include/cxxtools/serializationinfo.h:33,
                 from /usr/include/tnt/tntconfig.h:35,
                 from /usr/include/tnt/sessionscope.h:34,
                 from /usr/include/tnt/ecpp.h:35,
                 from multischedule.cpp:6:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
multischedule.ecpp: In member function 'virtual unsigned int {anonymous}::_component_::operator()(tnt::HttpRequest&, tnt::HttpReply&, tnt::QueryParams&)':
multischedule.ecpp:302:50: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if ( Channel->GroupSep() || Channel->Name() == '\0' )
Makefile:26: recipe for target 'multischedule.o' failed
make[2]: *** [multischedule.o] Error 1
make[2]: Leaving directory '/<<BUILDDIR>>/vdr-plugin-live-0.3.0+git20160123/pages'
make[2]: Entering directory '/<<BUILDDIR>>/vdr-plugin-live-0.3.0+git20160123/css'
ecppc   -b -m "text/css" styles.css
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 -I/usr/include  -Wno-overloaded-virtual -Wno-unused-function -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"live"' -DTNTVERSION=22100 -DCXXTOOLVER=22100 -DHAVE_LIBPCRECPP -I/include -I.. styles.cpp
ar r libcss.a styles.o
ar: creating libcss.a
rm styles.cpp
make[2]: Leaving directory '/<<BUILDDIR>>/vdr-plugin-live-0.3.0+git20160123/css'
make[2]: Entering directory '/<<BUILDDIR>>/vdr-plugin-live-0.3.0+git20160123/javascript'
ecppc   -b -m "text/javascript" treeview.js
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 -I/usr/include  -Wno-overloaded-virtual -Wno-unused-function -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"live"' -DTNTVERSION=22100 -DCXXTOOLVER=22100 -DHAVE_LIBPCRECPP -I/include -I.. treeview.cpp
ar r libjavascript.a treeview.o
ar: creating libjavascript.a
rm treeview.cpp
make[2]: Leaving directory '/<<BUILDDIR>>/vdr-plugin-live-0.3.0+git20160123/javascript'
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 -I/usr/include  -Wl,-z,relro -shared live.o thread.o tntconfig.o setup.o i18n.o timers.o tools.o recman.o tasks.o status.o epg_events.o epgsearch.o grab.o md5.o filecache.o livefeatures.o preload.o timerconflict.o users.o -Wl,--whole-archive pages/libpages.a css/libcss.a javascript/libjavascript.a -Wl,--no-whole-archive -L/usr/lib -ltntnet -lcxxtools -lpcrecpp -lpcre -o libvdr-live.so
g++: error: pages/libpages.a: No such file or directory
Makefile:128: recipe for target 'libvdr-live.so' failed
make[1]: *** [libvdr-live.so] Error 1
make[1]: Leaving directory '/<<BUILDDIR>>/vdr-plugin-live-0.3.0+git20160123'
dh_auto_build: make -j1 returned exit code 2
debian/rules:9: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

More information about the pkg-vdr-dvb-devel mailing list