Bug#1003309: vdr-plugin-streamdev FTBFS: error: invalid conversion from ‘cChannel*’ to ‘int’
Helmut Grohne
helmut at subdivi.de
Fri Jan 7 22:24:45 GMT 2022
Source: vdr-plugin-streamdev
Version: 0.6.1+git20180514-4
Severity: serious
Tags: ftbfs
vdr-plugin-streamdev fails to build from source in unstable on amd64. A
non-parallel build now ends as follows:
| g++ -g -O2 -ffile-prefix-map=/build/vdr-dx7twj/vdr-2.6.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -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='"streamdev-server"' -I/include -I.. -o connectionVTP.o connectionVTP.c
| connectionVTP.c: In member function ‘bool cConnectionVTP::CmdMOVC(const char*)’:
| connectionVTP.c:1885:108: error: invalid conversion from ‘cChannel*’ to ‘int’ [-fpermissive]
| 1885 | cDevice::SetCurrentChannel(CurrentChannel);
| | ^~~~~~~~~~~~~~
| | |
| | cChannel*
| In file included from /usr/include/vdr/dvbdevice.h:15,
| from /usr/include/vdr/menuitems.h:14,
| from /usr/include/vdr/plugin.h:14,
| from ../common.h:15,
| from ../server/connection.h:9,
| from ../server/connectionVTP.h:4,
| from connectionVTP.c:5:
| /usr/include/vdr/device.h:366:37: note: initializing argument 1 of ‘static void cDevice::SetCurrentChannel(int)’
| 366 | static void SetCurrentChannel(int ChannelNumber) { currentChannel = ChannelNumber; }
| | ~~~~^~~~~~~~~~~~~
| connectionVTP.c: In member function ‘bool cConnectionVTP::CmdDELC(const char*)’:
| connectionVTP.c:1986:84: error: invalid conversion from ‘cChannel*’ to ‘int’ [-fpermissive]
| 1986 | cDevice::SetCurrentChannel(CurrentChannel);
| | ^~~~~~~~~~~~~~
| | |
| | cChannel*
| In file included from /usr/include/vdr/dvbdevice.h:15,
| from /usr/include/vdr/menuitems.h:14,
| from /usr/include/vdr/plugin.h:14,
| from ../common.h:15,
| from ../server/connection.h:9,
| from ../server/connectionVTP.h:4,
| from connectionVTP.c:5:
| /usr/include/vdr/device.h:366:37: note: initializing argument 1 of ‘static void cDevice::SetCurrentChannel(int)’
| 366 | static void SetCurrentChannel(int ChannelNumber) { currentChannel = ChannelNumber; }
| | ~~~~^~~~~~~~~~~~~
| make[2]: *** [Makefile:39: connectionVTP.o] Error 1
| make[2]: Leaving directory '/<<PKGBUILDDIR>>/server'
| make[1]: *** [Makefile:80: server] Error 2
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| dh_auto_build: error: make -j1 "INSTALL=install --strip-program=true" returned exit code 2
| make: *** [debian/rules:9: build] Error 25
| dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Helmut
More information about the pkg-vdr-dvb-devel
mailing list