Bug #3687
Building fails: ld returned 1 exit status
0%
Description
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
History
Updated by Rafal Kupiec over 8 years ago
Any progress here? It is impossible to use tvh at the moment. I tried to update ffmpeg to 3.0.1 but still no luck...
Updated by saen acro over 8 years ago
Did you try to remove content from build.linux folder.
this will redownload and compile from zero.
Updated by Rafal Kupiec over 8 years ago
Its Gentoo on host and TVH is being build from portage tree.
Emerge is cleaning up everything on start if it finds any trash.
Updated by Rafal Kupiec over 8 years ago
FAILED 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 --enable-libav --disable-hdhomerun_client --enable-imagecache --enable-inotify --enable-iptv --enable-satip_server --enable-satip_client --enable-timeshift --disable-uriparser --enable-zlib
make -j20
Updated by Rafal Kupiec over 8 years ago
Now i got:
libtool: link: x86_64-pc-linux-gnu-gccmkdir -p -
- Warning: Doxygen not found; documentation will not be built.
/usr/lib/portage/python3.4/ebuild-helpers/xattr/installc -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/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/share/doc/libtheora-1.1.1/html
mkdir -p -
/usr/lib/portage/python3.4/ebuild-helpers/xattr/installc -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/var/tmp/portage/media-tv/tvheadend-9999/work/tvheadend-9999/build.linux/ffmpeg/build/ffmpeg/share/doc/libtheora-1.1.1/latex
/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 -
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'
Updated by Jaroslav Kysela over 8 years ago
- Status changed from New to Fixed
It should be fixed from v4.1-1947-g9237d88 .