Bug #3687
closedBuilding 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