Bug #3110
Won't compile on Debian stretch (testing) amd64 with libhdhomerun-dev
100%
Description
Hi, when trying to build tvheadend (master version of today, 4.1-474~gf2a8619), I get the following error:
I build with: AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static ./Autobuild.sh
Error:
CC src/input/mpegts/linuxdvb/linuxdvb_lnb.o CC src/input/mpegts/linuxdvb/linuxdvb_switch.o CC src/input/mpegts/linuxdvb/linuxdvb_rotor.o CC src/input/mpegts/linuxdvb/linuxdvb_en50494.o CC src/input/mpegts/satip/satip.o CC src/input/mpegts/satip/satip_frontend.o CC src/input/mpegts/satip/satip_satconf.o CC src/input/mpegts/satip/satip_rtsp.o CC src/input/mpegts/tvhdhomerun/tvhdhomerun.o src/input/mpegts/tvhdhomerun/tvhdhomerun.c: In function ‘tvhdhomerun_device_discovery’: src/input/mpegts/tvhdhomerun/tvhdhomerun.c:346:20: error: implicit declaration of function ‘hdhomerun_discover_find_devices_custom’ [-Werror=implicit-function-declaration] int numDevices = hdhomerun_discover_find_devices_custom(0, ^ cc1: all warnings being treated as errors Makefile:527: recipe for target '/usr/src/tvheadend/build.linux/src/input/mpegts/tvhdhomerun/tvhdhomerun.o' failed make[2]: *** [/usr/src/tvheadend/build.linux/src/input/mpegts/tvhdhomerun/tvhdhomerun.o] Error 1 make[2]: Leaving directory '/usr/src/tvheadend' debian/rules:11: recipe for target 'override_dh_auto_build' failed make[1]: *** [override_dh_auto_build] Error 2 make[1]: Leaving directory '/usr/src/tvheadend' debian/rules:5: recipe for target 'build' failed make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2
It compiles fine when I remove libhdhomerun-dev from my system... but I have a hdhomerun device so I kinda need it.
I think some part of the cause lies in the updated version of the lib: this is the first time I tried to build tvheadend with version 20150826-2.
History
Updated by Willem D about 9 years ago
Willem D wrote:
I think some part of the cause lies in the updated version of the lib: this is the first time I tried to build tvheadend with version 20150826-2.
Just tested it with version 20140604-2 (the previous Debian package), which works just fine!
Updated by Jaroslav Kysela about 9 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|f01effe9d9833874634980f7ccbee04dc5e430da.