[frank@frashserv ~]$ yaourt -S tvheadend ==> Downloading tvheadend PKGBUILD from AUR... x .SRCINFO x PKGBUILD x tvheadend.install x tvheadend.service LukyLX commented on 2017-05-26 17:41 @francoism90, that doesn't say much as "Failed with result 'resources'" is a very generic way of saying 'something went wrong'. Did you check 'journalctl -eu tvheadend.service' for more info? That being said, as a first step it would be wise to check whether tvheadend has the correct permissions. Did you manually start tvheadend as user hts and does hts's home folder (and its contents) have the right owner and access rights set? mindjoy commented on 2017-05-29 02:39 When trying to build I get the following: ... /usr/bin/ld: warning: libx265.so.116, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib/libavcodec.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib/libavcodec.so: undefined reference to `x265_api_get_116' collect2: error: ld returned 1 exit status make: *** [Makefile:626: /tmp/yaourt-tmp-ivica/aur-tvheadend/tvheadend] Error 1 == ERROR: A failure occurred in build(). Aborting... == ERROR: Makepkg was unable to build tvheadend. == Restart building tvheadend ? [y/N] == ---------------------------------- == lupoalberto commented on 2017-05-29 05:05 In my opinion first you must install x265 and than rerun building tvheadend. LukyLX commented on 2017-05-29 07:31 x265 is pulled in by dependency ffmpeg so it should work out of the box. @mindjoy, did you upgrade your system (pacman -Syu) prior to building? mindjoy commented on 2017-05-29 14:53 Thank you for your replies! I just reinstalled x265, ran yaourt -Syua (although the system was up to date), retried tvheadend installation and it worked! Not sure what happened, but I am happy. BTW, running the latest Manjaro Linux. tvheadend 4.2.2-1 (2017-05-16 18:13) ( Unsupported package: Potentially dangerous ! ) ==> Edit PKGBUILD ? [Y/n] ("A" to abort) ==> ------------------------------------ ==> n ==> tvheadend dependencies: - avahi (already installed) - linuxtv-dvb-apps (already installed) - ffmpeg (already installed) - uriparser (already installed) - openssl (already installed) - tar (already installed) - git (already installed) [makedepend] - wget (already installed) [makedepend] - python (already installed) [makedepend] ==> Edit tvheadend.install ? [Y/n] ("A" to abort) ==> --------------------------------------------- ==> n ==> Continue building tvheadend ? [Y/n] ==> ----------------------------------- ==> ==> Building and installing package ==> Making package: tvheadend 4.2.2-1 (Tue May 30 08:11:33 CEST 2017) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading v4.2.2.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 127 0 127 0 0 219 0 --:--:-- --:--:-- --:--:-- 220 100 20.4M 0 20.4M 0 0 1909k 0 --:--:-- 0:00:10 --:--:-- 2686k -> Found tvheadend.service ==> Validating source files with sha512sums... v4.2.2.tar.gz ... Passed tvheadend.service ... Passed ==> Extracting sources... -> Extracting v4.2.2.tar.gz with bsdtar ==> Starting prepare()... 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 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 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.1.0f) checking for cc linux/dvb/version.h ... ok checking for pkg zlib ... ok (detected 1.2.11) checking for pkg liburiparser ... ok (detected 0.8.4) checking for pkg avahi-client ... ok (detected 0.6.32) checking for pkg libavfilter >=6.31.100 ... ok (detected 6.82.100) checking for pkg libswresample >=2.0.101 ... ok (detected 2.7.100) checking for pkg libavresample >=3.0.0 ... ok (detected 3.5.0) checking for pkg libswscale >=4.0.100 ... ok (detected 4.6.100) checking for pkg libavformat >=57.25.100 ... ok (detected 57.71.100) checking for pkg libavcodec >=57.24.102 ... ok (detected 57.89.100) checking for pkg libavutil >=55.17.103 ... ok (detected 55.58.100) 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.10.18) Compiler: Using C compiler: cc Using C flags: -march=native -O2 -pipe -fstack-protector-strong Using LD flags: -Wl,-O1,--sort-common,--as-needed,-z,relro -ldvben50221 -ldvbapi -lucsi Build for arch: x86_64 Binaries: Using PYTHON: python3 Using GZIP: gzip Using BZIP2: bzip2 Options: pie yes ccdebug no cwc yes capmt yes constcw yes linuxdvb yes satip_server yes satip_client yes hdhomerun_client yes hdhomerun_static yes iptv yes tsfile yes dvbscan yes timeshift yes trace yes imagecache yes avahi yes zlib yes libav yes ffmpeg_static no libx264 yes libx264_static no libx265 yes libx265_static no libvpx yes libvpx_static no libtheora yes libtheora_static no libvorbis yes libvorbis_static no libfdkaac yes libfdkaac_static no nvenc no qsv no libmfx_static yes inotify yes epoll yes uriparser yes ccache no tvhcsa yes bundle no pngquant no dvbcsa no dvben50221 yes kqueue no dbus_1 yes android no tsdebug no gtimer_check no slow_memoryinfo no libsystemd_daemon no bintray_cache yes execinfo yes mmx yes sse2 yes W_unused_result yes getloadavg yes atomic64 yes atomic_time_t yes bitops64 yes lockowner yes qsort_r yes stime yes gmtoff yes recvmmsg yes sendmmsg yes libdvben50221 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 upnp yes inotify_h yes inotify_init1 yes linuxdvb_ca yes epoll_create1 yes mpegts yes mpegts_dvb yes Packages: openssl 1.1.0f zlib 1.2.11 liburiparser 0.8.4 avahi-client 0.6.32 libavfilter 6.82.100 libswresample 2.7.100 libavresample 3.5.0 libswscale 4.6.100 libavformat 57.71.100 libavcodec 57.89.100 libavutil 55.58.100 dbus-1 1.10.18 Installation paths: Prefix: /usr Binaries: ${prefix}/bin Libraries: ${prefix}/lib Data files: ${prefix}/share Man pages: ${datadir}/man Final Binary: /tmp/yaourt-tmp-frank/aur-tvheadend/tvheadend Tvheadend Data Directory: /usr/share/tvheadend ==> Starting build()... make -f Makefile.hdhomerun libcacheget make[1]: Entering directory '/tmp/yaourt-tmp-frank/aur-tvheadend/src/tvheadend-4.2.2' Receiving data/dvb-scan from https://github.com/tvheadend/dtv-scan-tables.git#tvheadend DOWNLOAD https://dl.bintray.com/tvheadend/misc/staticlib/unknown/x86_64/hdhomerun-22e4f11ee8add542a8569390c97ea7081b0632e2.tgz --2017-05-30 08:11:57-- https://dl.bintray.com/tvheadend/misc/staticlib/unknown/x86_64/hdhomerun-22e4f11ee8add542a8569390c97ea7081b0632e2.tgz Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt' Resolving dl.bintray.com... 5.153.35.248 Connecting to dl.bintray.com|5.153.35.248|:443... connected. HTTP request sent, awaiting response... 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[1]: Entering directory '/tmp/yaourt-tmp-frank/aur-tvheadend/src/tvheadend-4.2.2' make -f Makefile.webui WEBUI=std compile-std make[2]: Entering directory '/tmp/yaourt-tmp-frank/aur-tvheadend/src/tvheadend-4.2.2' 404 Not Found 2017-05-30 08:11:59 ERROR 404: Not Found. FAILED TO DOWNLOAD https://dl.bintray.com/tvheadend/misc/staticlib/unknown/x86_64/hdhomerun-22e4f11ee8add542a8569390c97ea7081b0632e2.tgz (BUT THIS IS NOT A FATAL ERROR! DO NOT REPORT THAT!) make[1]: Leaving directory '/tmp/yaourt-tmp-frank/aur-tvheadend/src/tvheadend-4.2.2' make -f Makefile.hdhomerun make[1]: Entering directory '/tmp/yaourt-tmp-frank/aur-tvheadend/src/tvheadend-4.2.2' WGET http://download.silicondust.com/hdhomerun/libhdhomerun_20150826.tgz 2017-05-30 08:11:59 URL:http://download.silicondust.com/hdhomerun/libhdhomerun_20150826.tgz [49169/49169] -> "/tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826.tgz" [1] SHA1SUM test '24ce6003b1e815ec4c642d180b621c1d524ca1cf' == '24ce6003b1e815ec4c642d180b621c1d524ca1cf': OK UNTAR libhdhomerun_20150826.tgz ln -sf libhdhomerun /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826 make -f Makefile.hdhomerun /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/libhdhomerun.a make[2]: Entering directory '/tmp/yaourt-tmp-frank/aur-tvheadend/src/tvheadend-4.2.2' gcc -MD -MP -march=native -O2 -pipe -fstack-protector-strong -D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -fPIE -Wall -O2 -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -fPIE -c -o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_channels.o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_channels.c src/webui/static/tvh.js.gz.tmp 1307157 src/webui/static/tvh.js.gz.tmp2 1041979 gcc -MD -MP -march=native -O2 -pipe -fstack-protector-strong -D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -fPIE -Wall -O2 -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -fPIE -c -o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_channelscan.o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_channelscan.c src/webui/static/tvh.js.gz 280875 gcc -MD -MP -march=native -O2 -pipe -fstack-protector-strong -D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -fPIE -Wall -O2 -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -fPIE -c -o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_control.o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_control.c src/webui/static/tvh.blue.css.gz.tmp 171174 src/webui/static/tvh.blue.css.gz.tmp2 137334 gcc -MD -MP -march=native -O2 -pipe -fstack-protector-strong -D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -fPIE -Wall -O2 -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -fPIE -c -o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_debug.o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_debug.c src/webui/static/tvh.blue.css.gz 21954 gcc -MD -MP -march=native -O2 -pipe -fstack-protector-strong -D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -fPIE -Wall -O2 -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -fPIE -c -o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_device.o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_device.c /bin/sh: line 1: 6573 Illegal instruction (core dumped) PYTHONIOENCODING=utf-8 python3 vendor/rcssmin-1.0.5/rcssmin.py < src/webui/static/tvh.gray.css.gz.tmp > src/webui/static/tvh.gray.css.gz.tmp2 make[2]: *** [Makefile.webui:263: src/webui/static/tvh.gray.css.gz] Error 132 make[2]: Leaving directory '/tmp/yaourt-tmp-frank/aur-tvheadend/src/tvheadend-4.2.2' make[1]: *** [Makefile.webui:230: all] Error 2 make[1]: Leaving directory '/tmp/yaourt-tmp-frank/aur-tvheadend/src/tvheadend-4.2.2' make: *** [Makefile:749: make_webui] Error 2 make: *** Waiting for unfinished jobs.... gcc -MD -MP -march=native -O2 -pipe -fstack-protector-strong -D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -fPIE -Wall -O2 -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -fPIE -c -o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_device_selector.o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_device_selector.c gcc -MD -MP -march=native -O2 -pipe -fstack-protector-strong -D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -fPIE -Wall -O2 -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -fPIE -c -o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_discover.o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_discover.c gcc -MD -MP -march=native -O2 -pipe -fstack-protector-strong -D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -fPIE -Wall -O2 -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -fPIE -c -o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_os_posix.o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_os_posix.c gcc -MD -MP -march=native -O2 -pipe -fstack-protector-strong -D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -fPIE -Wall -O2 -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -fPIE -c -o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_pkt.o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_pkt.c gcc -MD -MP -march=native -O2 -pipe -fstack-protector-strong -D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -fPIE -Wall -O2 -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -fPIE -c -o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_sock_posix.o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_sock_posix.c gcc -MD -MP -march=native -O2 -pipe -fstack-protector-strong -D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -fPIE -Wall -O2 -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -fPIE -c -o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_video.o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_video.c ar rcs /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/libhdhomerun.a /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_channels.o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_channelscan.o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_control.o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_debug.o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_device.o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_device_selector.o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_discover.o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_os_posix.o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_pkt.o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_sock_posix.o /tmp/yaourt-tmp-frank/aur-tvheadend/hdhomerun/libhdhomerun_20150826/hdhomerun_video.o make[2]: Leaving directory '/tmp/yaourt-tmp-frank/aur-tvheadend/src/tvheadend-4.2.2' make[1]: Leaving directory '/tmp/yaourt-tmp-frank/aur-tvheadend/src/tvheadend-4.2.2' ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build tvheadend. ==> Restart building tvheadend ? [y/N]