When I try to build media-tv/tvheadend-9999 it fails with the following error: libtool: link: x86_64-pc-linux-gnu-gcc -D_V_SELFTEST -O20 -Wall -ffast-math -fsigned-char -g -O2 -o test_framing test_framing-framing.o libtool: link: ar cru .libs/libogg.a framing.o bitwise.o libtool: link: ranlib .libs/libogg.a libtool: link: x86_64-pc-linux-gnu-gcc -D_V_SELFTEST -O20 -Wall -ffast-math -fsigned-char -g -O2 -o test_bitwise test_bitwise-bitwise.o libtool: link: ( cd ".libs" && rm -f "libogg.la" && ln -s "../libogg.la" "libogg.la" ) /bin/mkdir -p '/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib' /bin/sh ../libtool --mode=install /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c libogg.la '/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib' libtool: install: /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c .libs/libogg.lai /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libogg.la libtool: install: /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c .libs/libogg.a /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libogg.a libtool: install: chmod 644 /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libogg.a libtool: install: ranlib /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libogg.a libtool: install: warning: remember to run `libtool --finish /ffmpeg/lib' Making install in include Making install in ogg /bin/mkdir -p '/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/include/ogg' /bin/mkdir -p '/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/include/ogg' /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 644 config_types.h '/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/include/ogg' /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 644 ogg.h os_types.h '/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/include/ogg' Making install in doc Making install in libogg /bin/mkdir -p '/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/share/doc/libogg/libogg' /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 644 bitpacking.html datastructures.html decoding.html encoding.html general.html index.html ogg_iovec_t.html ogg_packet.html ogg_packet_clear.html ogg_page.html ogg_page_bos.html ogg_page_checksum_set.html ogg_page_continued.html ogg_page_eos.html ogg_page_granulepos.html ogg_page_packets.html ogg_page_pageno.html ogg_page_serialno.html ogg_page_version.html ogg_stream_check.html ogg_stream_clear.html ogg_stream_destroy.html ogg_stream_eos.html ogg_stream_flush.html ogg_stream_flush_fill.html ogg_stream_init.html ogg_stream_iovecin.html ogg_stream_packetin.html ogg_stream_packetout.html ogg_stream_packetpeek.html ogg_stream_pagein.html ogg_stream_pageout.html ogg_stream_pageout_fill.html ogg_stream_reset.html ogg_stream_reset_serialno.html ogg_stream_state.html ogg_sync_buffer.html ogg_sync_check.html ogg_sync_clear.html ogg_sync_destroy.html '/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/share/doc/libogg/libogg' /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: libx264.a(cabac-a.o): relocation R_X86_64_32 against `x264_cabac_range_lps' can not be used when making a shared object; recompile with -fPIC libx264.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status Makefile:202: recipe for target 'x264' failed make2: * [x264] Error 1 make2: Waiting for unfinished jobs.... /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 644 ogg_sync_init.html ogg_sync_pageout.html ogg_sync_pageseek.html ogg_sync_reset.html ogg_sync_state.html ogg_sync_wrote.html oggpack_adv.html oggpack_adv1.html oggpack_bits.html oggpack_buffer.html oggpack_bytes.html oggpack_get_buffer.html oggpack_look.html oggpack_look1.html oggpack_read.html oggpack_read1.html oggpack_readinit.html oggpack_reset.html oggpack_write.html oggpack_writealign.html oggpack_writecheck.html oggpack_writeclear.html oggpack_writecopy.html oggpack_writeinit.html oggpack_writetrunc.html overview.html reference.html style.css '/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/share/doc/libogg/libogg' /bin/mkdir -p '/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/share/doc/libogg' /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 644 framing.html index.html oggstream.html ogg-multiplex.html fish_xiph_org.png multiplex1.png packets.png pages.png stream.png vorbisword2.png white-ogg.png white-xifish.png rfc3533.txt rfc5334.txt skeleton.html '/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/share/doc/libogg' Makefile.ffmpeg:177: recipe for target '/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/x264-snapshot-20160217-2245/.tvh_build' failed make1: [/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/x264-snapshot-20160217-2245/.tvh_build] Error 2 make1: Waiting for unfinished jobs.... /bin/mkdir -p '/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/share/aclocal' /bin/mkdir -p '/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/pkgconfig' /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 644 ogg.m4 '/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/share/aclocal' /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 644 ogg.pc '/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/pkgconfig' [AR] libvpx_g.a [STRIP] libvpx.a < libvpx_g.a [INSTALL] /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libvpx.a failed: Connection timed out. 2016-04-03 10:20:13 URL:http://ftp.videolan.org/pub/videolan/x265/x265_1.9.tar.gz [956101/956101] -> "/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/x265_1.9.tar.gz" [1] SHA1SUM test '8c9aa3b87b0f0a418bbb9782e9354d112d75e003' == '8c9aa3b87b0f0a418bbb9782e9354d112d75e003': OK UNTAR x265_1.9.tar.gz Makefile:749: recipe for target '/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libavcodec.a' failed make: ** [/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libavcodec.a] Error 2 Reproducible: Always Steps to Reproduce: 1. emerge =tvheadend-9999 2. 3. Actual Results: /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: libx264.a(cabac-a.o): relocation R_X86_64_32 against `x264_cabac_range_lps' can not be used when making a shared object; recompile with -fPIC libx264.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status Makefile:202: recipe for target 'x264' failed Expected Results: Build completed successfully [ebuild R ] media-tv/tvheadend-9999::ceres-overlay USE="capmt constcw cwc dvb dvbscan ffmpeg imagecache inotify iptv satip timeshift zlib -avahi -dbus -hdhomerun -libav -uriparser -xmltv" 0 KiB
Created attachment 430476 [details] info.txt emerge --info tvheadend
Please attach a complete build.log.
Created attachment 430478 [details] build.log
build.log shows that you are using ebuild from 'eris-overlay' overlay. `layman -L` doesn't know about this overlay, so it's most likely unofficial. You should contact eris-overlay's owner/maintainer in order to resolve bugs in their ebuilds. Thus I am closing this as resolved-invalid for now. If you can reproduce this problem with tvheadend-9999 ebuild from gentoo repository, then feel free to reopen this bug.
This ebuild is copied from gentoo portage. This is exactly the same ebuild - I forked it, because I tried to fix the ebuild.
(In reply to Rafal Kupiec from comment #5) > This ebuild is copied from gentoo portage. > This is exactly the same ebuild - I forked it, because I tried to fix the > ebuild. I see. Thank you for the clarification.
Any progress?
I got a build failure with tvheadend-9999, however the failure I got was different to the one you reported. Can you please try building again and see if you get the same error?
libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops -o vp3huff vp3huff.o mkdir -p -- /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/share/doc/libtheora-1.1.1 *** Warning: Doxygen not found; documentation will not be built. /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 644 vp3-format.txt /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/share/doc/libtheora-1.1.1/vp3-format.txt mkdir -p -- /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/share/doc/libtheora-1.1.1/html /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 644 color.html /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/share/doc/libtheora-1.1.1/color.html /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 644 draft-ietf-avt-rtp-theora-00.xml /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/share/doc/libtheora-1.1.1/draft-ietf-avt-rtp-theora-00.xml /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 644 draft-ietf-avt-rtp-theora-00.txt /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/share/doc/libtheora-1.1.1/draft-ietf-avt-rtp-theora-00.txt /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 644 doxygen-build.stamp /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/share/doc/libtheora-1.1.1/doxygen-build.stamp mkdir -p -- /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/share/doc/libtheora-1.1.1/latex Making install in tests Making install in m4 /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 644 theora.pc /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/pkgconfig/theora.pc /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 644 theoradec.pc /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/pkgconfig/theoradec.pc /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 644 theoraenc.pc /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/pkgconfig/theoraenc.pc failed: Connection timed out. 2016-04-21 15:34:36 URL:http://ftp.videolan.org/pub/videolan/x265/x265_1.9.tar.gz [956101/956101] -> "/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/x265_1.9.tar.gz" [1] SHA1SUM test '8c9aa3b87b0f0a418bbb9782e9354d112d75e003' == '8c9aa3b87b0f0a418bbb9782e9354d112d75e003': OK UNTAR x265_1.9.tar.gz Makefile:746: recipe for target '/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libavcodec.a' failed make: *** [/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libavcodec.a] Error 2 * ERROR: media-tv/tvheadend-9999::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-tv/tvheadend-9999::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-tv/tvheadend-9999::gentoo'`. * The complete build log is located at '/var/log/portage/media-tv:tvheadend-9999:20160421-133219.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-tv/tvheadend-9999/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-tv/tvheadend-9999/temp/environment'. * Working directory: '/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999' * S: '/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999' >>> Failed to emerge media-tv/tvheadend-9999, Log file: >>> '/var/log/portage/media-tv:tvheadend-9999:20160421-133219.log' * Messages for package media-tv/tvheadend-9999: * ERROR: media-tv/tvheadend-9999::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-tv/tvheadend-9999::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-tv/tvheadend-9999::gentoo'`. * The complete build log is located at '/var/log/portage/media-tv:tvheadend-9999:20160421-133219.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-tv/tvheadend-9999/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-tv/tvheadend-9999/temp/environment'. * Working directory: '/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999' * S: '/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999'
any way to build this on gentoo?
bump
With latest trunk build fails with: CC src/docs.o CC tvheadend /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libx265.a(api.cpp.o): In function `x265_encoder_open_79': api.cpp:(.text+0x213): undefined reference to `operator new(unsigned long)' api.cpp:(.text+0x320): undefined reference to `operator delete(void*)' /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libx265.a(api.cpp.o): In function `x265_encoder_close': api.cpp:(.text+0x979): undefined reference to `operator delete(void*)' /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libx265.a(bitstream.cpp.o): In function `x265::Bitstream::~Bitstream()': bitstream.cpp:(.text._ZN4x2659BitstreamD0Ev[_ZN4x2659BitstreamD5Ev]+0x57): undefined reference to `operator delete(void*)' /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libx265.a(bitstream.cpp.o):(.data.rel.ro._ZTIN4x26512BitInterfaceE[_ZTIN4x26512BitInterfaceE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info' /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libx265.a(bitstream.cpp.o):(.data.rel.ro._ZTIN4x2659BitstreamE[_ZTIN4x2659BitstreamE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info' /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libx265.a(sao.cpp.o): In function `x265::SAO::allocSaoParam(x265::SAOParam*) const': sao.cpp:(.text+0xeda): undefined reference to `operator new[](unsigned long)' /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libx265.a(sao.cpp.o): In function `x265::SAO::startSlice(x265::Frame*, x265::Entropy&, int)': sao.cpp:(.text+0x1106): undefined reference to `operator new(unsigned long)' /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libx265.a(encoder.cpp.o): In function `x265::Encoder::destroy()': encoder.cpp:(.text+0x5d2): undefined reference to `operator delete(void*)' encoder.cpp:(.text+0x635): undefined reference to `operator delete[](void*)' encoder.cpp:(.text+0x674): undefined reference to `operator delete(void*)' encoder.cpp:(.text+0x6b4): undefined reference to `operator delete(void*)' /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libx265.a(encoder.cpp.o): In function `x265::Encoder::create()': encoder.cpp:(.text+0x36be): undefined reference to `operator new(unsigned long)' encoder.cpp:(.text+0x38e4): undefined reference to `operator new(unsigned long)' encoder.cpp:(.text+0x393d): undefined reference to `operator new(unsigned long)' encoder.cpp:(.text+0x39cf): undefined reference to `operator new(unsigned long)' /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libx265.a(encoder.cpp.o): In function `x265::Encoder::encode(x265_picture const*, x265_picture*)': (...) /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libx265.a(framefilter.cpp.o): In function `x265::FrameFilter::init(x265::Encoder*, x265::FrameEncoder*, int, unsigned int)': framefilter.cpp:(.text+0x1400): undefined reference to `operator new[](unsigned long)' /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libx265.a(framefilter.cpp.o):(.data.rel.ro._ZTIN4x2657DeblockE[_ZTIN4x2657DeblockE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info' /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libx265.a(framefilter.cpp.o):(.data.rel.ro._ZTIN4x26511FrameFilter14ParallelFilterE[_ZTIN4x26511FrameFilter14ParallelFilterE]+0x0): undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info' /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libx265.a(sei.cpp.o): In function `x265::BitCounter::~BitCounter()': sei.cpp:(.text._ZN4x26510BitCounterD0Ev[_ZN4x26510BitCounterD5Ev]+0x38): undefined reference to `operator delete(void*)' /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libx265.a(sei.cpp.o):(.data.rel.ro._ZTIN4x26519SyntaxElementWriterE[_ZTIN4x26519SyntaxElementWriterE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info' /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libx265.a(sei.cpp.o):(.data.rel.ro._ZTIN4x26510BitCounterE[_ZTIN4x26510BitCounterE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info' /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libx265.a(sei.cpp.o):(.data.rel.ro._ZTIN4x2653SEIE[_ZTIN4x2653SEIE]+0x0): undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info' /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libx265.a(sei.cpp.o):(.data.rel.ro._ZTVN4x2653SEIE[_ZTVN4x2653SEIE]+0x28): undefined reference to `__cxa_pure_virtual' /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libx265.a(dpb.cpp.o): In function `x265::DPB::~DPB()': dpb.cpp:(.text+0xb7): undefined reference to `operator delete(void*)' dpb.cpp:(.text+0xc0): undefined reference to `operator delete(void*)' dpb.cpp:(.text+0x10f): undefined reference to `operator delete(void*)' dpb.cpp:(.text+0x13f): undefined reference to `operator delete(void*)' /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libx265.a(ratecontrol.cpp.o):(.data.rel.ro._ZTIN4x26518SEIBufferingPeriodE[_ZTIN4x26518SEIBufferingPeriodE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info' /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libx265.a(deblock.cpp.o): In function `x265::Deblock::getBoundaryStrength(x265::CUData const*, int, unsigned int, unsigned char const*)': deblock.cpp:(.text+0x4f8): undefined reference to `__cxa_guard_acquire' deblock.cpp:(.text+0x58a): undefined reference to `__cxa_guard_release' /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libx265.a(analysis.cpp.o):(.data.rel.ro._ZTIN4x2658Analysis5PMODEE[_ZTIN4x2658Analysis5PMODEE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info' /var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/lib/libx265.a(search.cpp.o):(.data.rel.ro._ZTIN4x2656Search3PMEE[_ZTIN4x2656Search3PMEE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info' collect2: error: ld returned 1 exit status Makefile:608: recipe for target '/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/tvheadend' failed make[1]: *** [/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/tvheadend] Error 1 Makefile:85: recipe for target 'ffmpeg_all' failed make: *** [ffmpeg_all] Error 2 I can build tvheadend manually w/o using ebuild. From what I checked, tvheadend is configured by portage with: ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --prefix=/usr --datadir=/usr/share --disable-ccache --disable-dvbscan --disable-avahi --enable-capmt --enable-constcw --enable-cwc --disable-dbus --enable-linuxdvb --disable-hdhomerun_client --enable-imagecache --enable-inotify --enable-iptv --enable-satip_server --enable-satip_client --enable-timeshift --disable-uriparser --enable-zlib and built with: make -j20 -s CC=x86_64-pc-linux-gnu-gcc using these 2 commands, I can build TVH manually. Unfortunately it emerge fails.
Full output: http://wklej.org/hash/5febf353d00/
There's a bad option in the media-tv/tvheadend-9999 ebuild either from a change upstream or typo. --disable-libffmmpeg_static should be --disable-ffmpeg_static
fwiw, the configure now also has --nowerror to remove the need for sed in src_prepare. https://github.com/tvheadend/tvheadend/commit/ddb31c58b88450f7228e620048fb2d691d427fab
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3544384630a818ea97571db41ee93919ad9c719 commit f3544384630a818ea97571db41ee93919ad9c719 Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2017-12-04 22:11:05 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2017-12-04 22:20:07 +0000 media-tv/tvheadend: Version bump to 4.2.4 and 9999 update * Add support for dvbcsa via USE flag * Add support for dvben50221 via USE flag * Drop support for libav (fails version checks, missing symbols) * Source DTV scan tables from new media-tv/dtv-scan-tables package * Set tvheadend user HOME to /etc/tvheadend to allow for XMLTV data * Tighten up the systemd service unit * Add debug USE flag for trace support * Fix inotify kernel config check * Add ffmpeg sub-dependencies and associated USE flags (9999 only) Closes: https://bugs.gentoo.org/579048 Closes: https://bugs.gentoo.org/579986 Closes: https://bugs.gentoo.org/586448 Closes: https://bugs.gentoo.org/588210 Closes: https://bugs.gentoo.org/626238 Package-Manager: Portage-2.3.16, Repoman-2.3.6 media-tv/tvheadend/Manifest | 5 +- .../files/tvheadend-4.0.9-use_system_queue.patch | 12 +++ .../files/tvheadend-4.2.1-hdhomerun.patch | 24 +++++ .../files/tvheadend-4.2.2-dtv_scan_tables.patch | 12 +++ media-tv/tvheadend/files/tvheadend.service | 15 ++- media-tv/tvheadend/metadata.xml | 12 ++- media-tv/tvheadend/tvheadend-4.2.4.ebuild | 117 +++++++++++++++++++++ media-tv/tvheadend/tvheadend-9999.ebuild | 90 +++++++++++----- 8 files changed, 253 insertions(+), 34 deletions(-)
I didn't encounter this but I suspect the issue has gone away now. Please reopen if necessary.