Bug#1095397: vdr-plugin-remote: FTBFS: error: invalid new-expression of abstract class type 'cLircRemote'
Santiago Vila
sanvila at debian.org
Fri Feb 7 12:13:22 GMT 2025
Package: src:vdr-plugin-remote
Version: 0.7.0-6
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --with vdrplugin
dh_auto_clean
make -j2 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
debian/rules binary
dh binary --with vdrplugin
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
dh_auto_build
make -j2 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/vdr-2.6.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -DPLUGIN_NAME_I18N='"remote"' -DREMOTE_FEATURE_LIRC -DREMOTE_FEATURE_TCPIP remote.c
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/vdr-2.6.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -DPLUGIN_NAME_I18N='"remote"' -DREMOTE_FEATURE_LIRC -DREMOTE_FEATURE_TCPIP ttystatus.c
remote.c: In member function âvirtual bool cPluginRemote::Start()â:
remote.c:799:42: error: invalid new-expression of abstract class type âcLircRemoteâ
799 | new cLircRemote(devnam[i]); // use vdr's lirc code
| ^
In file included from remote.c:27:
/usr/include/vdr/lirc.h:16:7: note: because the following virtual functions are pure within âcLircRemoteâ:
16 | class cLircRemote : public cRemote, protected cThread {
| ^~~~~~~~~~~
In file included from /usr/include/vdr/tools.h:29,
from /usr/include/vdr/i18n.h:14,
from /usr/include/vdr/plugin.h:13,
from remote.c:25:
/usr/include/vdr/thread.h:96:16: note: âvirtual void cThread::Action()â
96 | virtual void Action(void) = 0;
| ^~~~~~
remote.c:750:21: warning: ignoring return value of âint asprintf(char**, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result]
750 | asprintf(&nam, "%s-%s", Name(), cp+1);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
remote.c:752:21: warning: ignoring return value of âint asprintf(char**, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result]
752 | asprintf(&nam, "%s-%s", Name(), devnam[i]);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ttystatus.c: In member function âvirtual void cTtyStatus::display(const char*, bool, int)â:
ttystatus.c:69:26: warning: ignoring return value of âssize_t write(int, const void*, size_t)â declared with attribute âwarn_unused_resultâ [-Wunused-result]
69 | write(fd, blanks, 1);
| ~~~~~^~~~~~~~~~~~~~~
ttystatus.c:79:22: warning: ignoring return value of âssize_t write(int, const void*, size_t)â declared with attribute âwarn_unused_resultâ [-Wunused-result]
79 | write(fd, "\r\n", 2);
| ~~~~~^~~~~~~~~~~~~~~
ttystatus.c:106:22: warning: ignoring return value of âssize_t write(int, const void*, size_t)â declared with attribute âwarn_unused_resultâ [-Wunused-result]
106 | write(fd, buf+i, l);
| ~~~~~^~~~~~~~~~~~~~
ttystatus.c:115:14: warning: ignoring return value of âssize_t write(int, const void*, size_t)â declared with attribute âwarn_unused_resultâ [-Wunused-result]
115 | write(fd, blanks, n);
| ~~~~~^~~~~~~~~~~~~~~
make[1]: *** [Makefile:138: remote.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202502/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:vdr-plugin-remote, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the pkg-vdr-dvb-devel
mailing list