Bug #1458
ERROR: Failed to fetch dvb-scan files (use --disable-dvbscan to skip)
0%
Description
I'm trying to compile latest source (master and/or timeshift branche) and in both cases i'm getting the subject error
ERROR: Failed to fetch dvb-scan files (use --disable-dvbscan to skip)
I'm compiling it directly on my Synology NAS DS211.
ANy ideas?
History
Updated by Randy M almost 12 years ago
When i chose to disable dvbscan and proceed making it i'm getting this error
DS211> make
CC build.linux/src/main.o
CC build.linux/src/utils.o
cc1: warnings being treated as errors
/opt/tvheadend/src/utils.c: In function 'rmtree':
/opt/tvheadend/src/utils.c:383: warning: 'err' may be used uninitialized in this function
make: *** [build.linux/src/utils.o] Error 1
Thanks in advance
Updated by Adam Sutton almost 12 years ago
- Status changed from New to Rejected
I have included a fix for the noted uninit var bug you spotted. However the original report is rejected. The configure script has behaved correctly and informed you that you don't have the ability to download the dvb-scan files (you need either curl or wget).
Adam
Updated by Randy M almost 12 years ago
if it is a wget or curl issue then that is funny since it's available on my NAS.
DS211> ipkg install wget
Package wget (1.12-2) installed in root is up to date.
Nothing to be done
Successfully terminated.
Updated by Adam Sutton almost 12 years ago
- Status changed from Rejected to Need feedback
try manually running the fetch script, its support/getmuxlist. See if that sheds any light.
Adam
Updated by Randy M almost 12 years ago
As confirmed on irc, i needed to insert bash in configure script. Awaiting your uninit var bug fix
Updated by Adam Sutton almost 12 years ago
- Status changed from Need feedback to Invalid
I'm not entirely sure I understand why the need for "bash" in the configure script, all shebang lines should be properly spec'd.
The uninit var fix is now comitted and I'm closing this. If you think a patch is needed for the configure issue, feel free to submit a PR and I'll merge it.
Adam
Updated by Henrik Harmsen over 10 years ago
I stumbled on this too. I was missing git. Installed git and this problem went away. (I had copied a git repository to a new machine which did not have git installed...)
Updated by Julian Lam over 10 years ago
Henrik Harmsen wrote:
Installed git and this problem went away.
Ran into this just now... can confirm git is a requirement... how interesting, and good timing Henrik
Updated by saen acro over 8 years ago
is there any new solution
Ubuntu 14.04 x64
root@ubu-img:/opt/tvheadend# git pull Already up-to-date. root@ubu-img:/opt/tvheadend# ./Autobuild.sh dpkg-buildpackage: source package tvheadend dpkg-buildpackage: source version 4.1-1853~g0b69407 dpkg-buildpackage: source distribution unstable dpkg-buildpackage: source changed by Andreas Цman <[email protected]> dpkg-buildpackage: host architecture amd64 dpkg-source --before-build tvheadend debian/rules clean dh clean dh_testdir dh_clean rm -f debian/tvheadend.substvars rm -f debian/tvheadend.*.debhelper rm -rf debian/tvheadend/ rm -f debian/tvheadend-dbg.substvars rm -f debian/tvheadend-dbg.*.debhelper rm -rf debian/tvheadend-dbg/ rm -rf debian/.debhelper/ rm -f debian/*.debhelper.log rm -f debian/files find . \( \( \ \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS \) -prune -o -type f -a \ \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ \) -exec rm -f {} + \) -o \ \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \) debian/rules build dh build dh_testdir debian/rules override_dh_auto_configure make[1]: Entering directory '/opt/tvheadend' dh_auto_configure -- ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=\${prefix}/lib/tvheadend --disable-maintainer-mode --disable-dependency-tracking Checking support/features checking for cc execinfo.h ... ok checking for cc -mmmx ... ok checking for cc -msse2 ... ok checking for cc -Wunused-result ... ok checking for cc getloadavg ... ok checking for cc atomic64 ... ok checking for cc atomic_time_t ... ok checking for cc lockowner ... ok checking for cc qsort_r ... ok checking for cc stime ... ok checking for cc gmtoff ... ok checking for cc recvmmsg ... ok checking for cc sendmmsg ... ok checking for cc libiconv ... fail checking for cc libdvben50221 ... ok checking for cc ifnames ... ok checking for py module gzip ... ok checking for pkg-config ... ok checking for xgettext ... ok checking for msgmerge ... ok checking for gzip ... ok checking for bzip2 ... ok checking for pkg openssl ... ok (detected 1.0.2d) checking for cc linux/dvb/version.h ... ok checking for pkg zlib ... ok (detected 1.2.8) checking for pkg liburiparser ... ok (detected 0.8.2) checking for pkg avahi-client ... ok (detected 0.6.31) checking for cmake ... ok checking for cc -lstdc++ ... ok checking for cc nvEncodeAPI.h ... fail checking for cc sys/inotify.h ... ok fetching dvb-scan files ... fail checking for git ... ok ERROR: Failed to fetch dvb-scan data (use --disable-dvbscan) dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=${prefix}/lib/tvheadend --disable-maintainer-mode --disable-dependency-tracking returned exit code 1 debian/rules:8: recipe for target 'override_dh_auto_configure' failed make[1]: *** [override_dh_auto_configure] Error 2 make[1]: Leaving directory '/opt/tvheadend' debian/rules:5: recipe for target 'build' failed make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 root@ubu-img:/opt/tvheadend#
Updated by Mark Clarkstone over 8 years ago
saen acro wrote:
is there any new solution
Ubuntu 14.04 x64[...]
install dvb-apps
sudo apt-get install dvb-apps
or try:
AUTOBUILD_CONFIGURE_EXTRA=--disable-dvbscan\ --disable-bintray_cache ./Autobuild.sh
Updated by saen acro over 8 years ago
This helped but there is no problem on Ubuntu 15.10 ???
now the only problem with i need to solve is FFMPEG from bintray
https://dl.bintray.com/tvheadend/misc/staticlib/wily/i686/ffmpeg-27e5dff0ae971ca88f6014fae221f76e89cfe71e.tgz