Bug #5000
Build with disabled SatIP make error In function ‘config_boot’
Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2018-03-13
Due date:
% Done:
100%
Estimated time:
Found in version:
4.3-1155
Affected Versions:
Description
I use simple script to build faster without some components and use -j$(nproc)
#!/bin/bash BASE=$(dirname "$0") ( if [ -d "$BASE/tvheadend" ]; then cd "$BASE/tvheadend" git pull else cd "$BASE" git clone https://github.com/tvheadend/tvheadend.git tvheadend cd "$BASE/tvheadend" fi AUTOBUILD_CONFIGURE_EXTRA="–-disable-bintray_cache --disable-satip_server --disable-satip_client --disable-hdhomerun_client --disable-hdhomerun_static" ./Autobuild.sh -j$(nproc) ) | tee "$BASE/build.log"
./bt.sh Already up-to-date. On branch master Your branch is up-to-date with 'origin/master'. Untracked files: (use "git add <file>..." to include in what will be committed) filelist.txt nothing added to commit but untracked files present (use "git add" to track) dpkg-buildpackage: source package tvheadend dpkg-buildpackage: source version 4.3-1155~gef96199 dpkg-buildpackage: source distribution unstable dpkg-buildpackage: source changed by Andreas Öman <[email protected]> dpkg-source --before-build tvheadend dpkg-buildpackage: host architecture amd64 debian/rules clean dh clean --with-systemd dh_testdir -O--with-systemd dh_clean -O--with-systemd 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 -f debian/*.debhelper.log rm -f debian/files find . \( \( -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 --with-systemd dh_testdir -O--with-systemd debian/rules override_dh_auto_configure make[1]: Entering directory `/opt/tvheadend' dh_auto_configure -- –-disable-bintray_cache --disable-satip_server --disable-satip_client --disable-hdhomerun_client --disable-hdhomerun_static --jobs=4 ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=\${prefix}/lib/tvheadend --disable-maintainer-mode --disable-dependency-tracking –-disable-bintray_cache --disable-satip_server --disable-satip_client --disable-hdhomerun_client --disable-hdhomerun_static --jobs=4 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 atomic32 ... ok checking for cc atomic64 ... ok checking for cc atomic_time_t ... ok checking for cc atomic_ptr ... ok checking for cc bitops64 ... 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 ^ using build-in glibc iconv routines checking for cc ifnames ... ok checking for cc cclang_threadsan ... fail 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.1f) checking for cc linux/dvb/version.h ... ok checking for pkg zlib ... ok (detected 1.2.8) checking for pkg libpcre2-8 ... fail (detected <none>) checking for pkg libpcre ... ok (detected 8.31) checking for pkg liburiparser ... ok (detected 0.7.5) checking for pkg avahi-client ... ok (detected 0.6.31) checking for cmake ... ok checking for cc -lstdc++ ... ok checking for pkg libva >=0.38.0 ... fail (detected 0.35.0) checking for cc sys/inotify.h ... ok checking for cc inotify_init1 ... ok fetching dvb-scan files ... ok checking for cc epoll_create1 ... ok checking for pkg dbus-1 ... ok (detected 1.6.18) Compiler: Using C compiler: cc Build for arch: x86_64 Binaries: Using PYTHON: python Using GZIP: gzip Using BZIP2: bzip2 Options: pie yes ccdebug no cardclient yes cwc yes cccam yes capmt yes constcw yes linuxdvb yes satip_server no satip_client no hdhomerun_client no hdhomerun_static no iptv yes tsfile yes dvbscan yes timeshift yes trace yes imagecache yes avahi yes zlib yes libav yes ffmpeg_static yes libx264 yes libx264_static yes libx265 yes libx265_static yes libvpx yes libvpx_static yes libtheora yes libtheora_static yes libvorbis yes libvorbis_static yes libfdkaac no libfdkaac_static no libopus yes libopus_static yes nvenc no vaapi no mmal no omx no inotify yes epoll yes pcre yes pcre2 no uriparser yes ccache no tvhcsa yes bundle no pngquant no dvbcsa no kqueue no dbus_1 yes android no tsdebug no gtimer_check no slow_memoryinfo no libsystemd_daemon no bintray_cache yes ddci yes cclang_threadsan no gperftools no execinfo yes mmx yes sse2 yes W_unused_result yes getloadavg yes atomic32 yes atomic64 yes atomic_time_t yes atomic_ptr yes bitops64 yes lockowner yes qsort_r yes stime yes gmtoff yes recvmmsg yes sendmmsg yes ifnames yes py_gzip yes bin_pkg_config yes bin_xgettext yes bin_msgmerge yes bin_gzip yes bin_bzip2 yes ssl yes linuxdvbapi yes linuxdvb_ca yes bin_cmake yes stdcpp yes libogg_static yes inotify_h yes inotify_init1 yes epoll_create1 yes mpegts yes mpegts_dvb yes Packages: openssl 1.0.1f zlib 1.2.8 libpcre 8.31 liburiparser 0.7.5 avahi-client 0.6.31 dbus-1 1.6.18 Installation paths: Prefix: /usr Binaries: ${prefix}/bin Libraries: ${prefix}/lib Data files: ${prefix}/share Man pages: /usr/share/man Final Binary: /opt/tvheadend/build.linux/tvheadend Tvheadend Data Directory: /usr/share/tvheadend make[1]: Leaving directory `/opt/tvheadend' debian/rules override_dh_auto_build make[1]: Entering directory `/opt/tvheadend' make -j4 make[2]: Entering directory `/opt/tvheadend' make -f Makefile.ffmpeg libcacheget make -f Makefile.webui LANGUAGES="ach ady ar bg cs da de en_US en_GB es et fa fi fr he hr hu it ko lv lt nl no pl pt ro ru sl sk sq sv tr uk zh zh-Hans" all make[3]: Entering directory `/opt/tvheadend' make[3]: Entering directory `/opt/tvheadend' make -f Makefile.webui WEBUI=std compile-std CC src/uuid.o make[4]: Entering directory `/opt/tvheadend' WEBUI std finished make[4]: Leaving directory `/opt/tvheadend' make -f Makefile.webui WEBUI=debug compile-debug CC src/idnode.o make[4]: Entering directory `/opt/tvheadend' WEBUI debug finished make[4]: Leaving directory `/opt/tvheadend' make[3]: Leaving directory `/opt/tvheadend' CC src/prop.o DOWNLOAD https://dl.bintray.com/tvheadend/misc/staticlib/Ubuntu%2014.04/x86_64/ffmpeg-4da1360e59ae37fcd985573cdb10fb6da03ab964.tgz --2018-03-13 23:08:52-- https://dl.bintray.com/tvheadend/misc/staticlib/Ubuntu%2014.04/x86_64/ffmpeg-4da1360e59ae37fcd985573cdb10fb6da03ab964.tgz Resolving dl.bintray.com (dl.bintray.com)... 159.122.18.156, 5.153.35.248 Connecting to dl.bintray.com (dl.bintray.com)|159.122.18.156|:443... CC src/proplib.o CC src/utils.o connected. CC src/wrappers.o CC src/tvhvfs.o HTTP request sent, awaiting response... CC src/access.o CC src/tcp.o 404 Not Found 2018-03-13 23:08:52 ERROR 404: Not Found. FAILED TO DOWNLOAD https://dl.bintray.com/tvheadend/misc/staticlib/Ubuntu%2014.04/x86_64/ffmpeg-4da1360e59ae37fcd985573cdb10fb6da03ab964.tgz (BUT THIS IS NOT A FATAL ERROR! DO NOT REPORT THAT!) make[3]: Leaving directory `/opt/tvheadend' make -f Makefile.ffmpeg make[3]: Entering directory `/opt/tvheadend' make[3]: Nothing to be done for `default'. make[3]: Leaving directory `/opt/tvheadend' CC src/udp.o CC src/url.o CC src/http.o CC src/notify.o CC src/file.o CC src/epg.o CC src/epgdb.o CC src/epggrab.o CC src/spawn.o CC src/packet.o CC src/streaming.o CC src/channels.o CC src/subscriptions.o CC src/service.o CC src/htsp_server.o CC src/htsmsg.o CC src/htsmsg_binary.o CC src/htsmsg_binary2.o CC src/htsmsg_json.o CC src/htsmsg_xml.o CC src/misc/json.o CC src/misc/m3u.o CC src/settings.o CC src/htsbuf.o CC src/trap.o CC src/tvhpoll.o CC src/huffman.o CC src/filebundle.o CC src/config.o CC src/lang_codes.o src/config.c: In function ‘config_boot’: src/config.c:1692:22: error: ‘HTTP_AUTH_DIGEST’ undeclared (first use in this function) config.http_auth = HTTP_AUTH_DIGEST; ^ src/config.c:1692:22: note: each undeclared identifier is reported only once for each function it appears in src/config.c: In function ‘config_class_http_auth_list’: src/config.c:2028:36: error: ‘HTTP_AUTH_PLAIN’ undeclared (first use in this function) { N_("Plain (insecure)"), HTTP_AUTH_PLAIN }, ^ src/config.c:2029:36: error: ‘HTTP_AUTH_DIGEST’ undeclared (first use in this function) { N_("Digest"), HTTP_AUTH_DIGEST }, ^ src/config.c:2030:36: error: ‘HTTP_AUTH_PLAIN_DIGEST’ undeclared (first use in this function) { N_("Both plain and digest"), HTTP_AUTH_PLAIN_DIGEST }, ^ make[2]: *** [/opt/tvheadend/build.linux/src/config.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/opt/tvheadend' make[1]: *** [override_dh_auto_build] Error 2 make[1]: Leaving directory `/opt/tvheadend' make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2
History
Updated by Jaroslav Kysela over 6 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|5536c65678289ff228e735e0a4313808965953c2.