* Package: media-video/ffmpeg2theora-0.29-r1 * Repository: gentoo * Maintainer: media-video@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux multilib userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking ffmpeg2theora-0.29.tar.bz2 to /var/tmp/portage/media-video/ffmpeg2theora-0.29-r1/work >>> Source unpacked in /var/tmp/portage/media-video/ffmpeg2theora-0.29-r1/work >>> Preparing source in /var/tmp/portage/media-video/ffmpeg2theora-0.29-r1/work/ffmpeg2theora-0.29 ... * Applying ffmpeg2theora-0.29-swr.patch ... [ ok ] * Applying ffmpeg2theora-0.29-ffmpeg2.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-video/ffmpeg2theora-0.29-r1/work/ffmpeg2theora-0.29 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/media-video/ffmpeg2theora-0.29-r1/work/ffmpeg2theora-0.29 ... scons -j5 APPEND_CCFLAGS=-march=opteron -O2 -pipe APPEND_LINKFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-O1 prefix=/usr mandir=PREFIX/share/man libkate=0 scons: Reading SConscript files ... Checking for pkg-config... (cached) yes Checking for ogg >= 1.1... (cached) yes Checking for vorbis... (cached) yes Checking for vorbisenc... (cached) yes Checking for theoraenc >= 1.1.0... (cached) yes Checking for ogg >= 1.1 vorbis vorbisenc theoraenc >= 1.1.0... (cached) yes Checking for libavdevice libavformat libavfilter libavcodec >= 52.30.0 libpostproc libswscale libavutil... (cached) yes Checking for C header file libavformat/framehook.h... no Checking for C header file iconv.h... yes Checking for C library iconv... no scons: done reading SConscript files. scons: Building targets ... gcc -o src/ffmpeg2theora.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -march=opteron -O2 -pipe -DHAVE_ICONV -I. src/ffmpeg2theora.c gcc -o src/index.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -march=opteron -O2 -pipe -DHAVE_ICONV -I. src/index.c gcc -o src/iso639.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -march=opteron -O2 -pipe -DHAVE_ICONV -I. src/iso639.c gcc -o src/avinfo.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -march=opteron -O2 -pipe -DHAVE_ICONV -I. src/avinfo.c gcc -o src/theorautils.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -march=opteron -O2 -pipe -DHAVE_ICONV -I. src/theorautils.c src/ffmpeg2theora.c: In function 'ff2theora_output': src/ffmpeg2theora.c:966:17: warning: 'av_audio_resample_init' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4339) [-Wdeprecated-declarations] this->audio_resample_ctx = av_audio_resample_init(this->channels, aenc->channels, ^ src/ffmpeg2theora.c:1431:33: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [enabled by default] output_tmp->data, output_tmp->linesize); ^ In file included from src/ffmpeg2theora.c:33:0: /usr/include/libswscale/swscale.h:226:5: note: expected 'const uint8_t * const*' but argument is of type 'uint8_t **' int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], ^ src/ffmpeg2theora.c:1440:33: warning: 'avpicture_deinterlace' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4505) [-Wdeprecated-declarations] if (avpicture_deinterlace((AVPicture *)output,(AVPicture *)output_tmp,this->pix_fmt,display_width,display_height)<0) { ^ src/ffmpeg2theora.c:1455:48: warning: 'qscale_table' is deprecated (declared at /usr/include/libavutil/frame.h:218) [-Wdeprecated-declarations] output->qscale_table, output->qstride, ^ src/ffmpeg2theora.c:1455:48: warning: 'qstride' is deprecated (declared at /usr/include/libavutil/frame.h:223) [-Wdeprecated-declarations] src/ffmpeg2theora.c:1478:37: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [enabled by default] output_resized->linesize); ^ In file included from src/ffmpeg2theora.c:33:0: /usr/include/libswscale/swscale.h:226:5: note: expected 'const uint8_t * const*' but argument is of type 'uint8_t **' int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], ^ src/ffmpeg2theora.c:1540:25: warning: 'avcodec_decode_audio3' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3787) [-Wdeprecated-declarations] len1 = avcodec_decode_audio3(astream->codec, audio_buf, &data_size, &avpkt); ^ src/ffmpeg2theora.c:1551:33: warning: 'audio_resample' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4347) [-Wdeprecated-declarations] samples_out = audio_resample(this->audio_resample_ctx, resampled, audio_buf, samples); ^ src/ffmpeg2theora.c:1755:17: warning: 'audio_resample_close' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4356) [-Wdeprecated-declarations] audio_resample_close(this->audio_resample_ctx); ^ gcc -o src/subtitles.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -march=opteron -O2 -pipe -DHAVE_ICONV -I. src/subtitles.c src/theorautils.c: In function 'oggmux_add_audio': src/theorautils.c:1296:29: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'ogg_int64_t' [-Wformat=] op.packetno, start_granule); ^ src/theorautils.c:1296:29: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' [-Wformat=] src/theorautils.c:1306:29: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'ogg_int64_t' [-Wformat=] " the end of the preceeding packet!", op.packetno, op.granulepos); ^ src/theorautils.c:1306:29: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' [-Wformat=] src/avinfo.c: In function 'gen_oshash': src/avinfo.c:448:18: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buffer1, used, 8, file); ^ src/avinfo.c:450:18: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buffer1, 8192, 8, file); ^ src/avinfo.c:452:18: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&buffer1[8192], 8192, 8, file); ^ gcc -o ffmpeg2theora -Wl,-O1 -Wl,--as-needed -Wl,-O1 src/ffmpeg2theora.o src/index.o src/iso639.o src/avinfo.o src/theorautils.o src/subtitles.o -lvorbis -lvorbisenc -ltheoraenc -ltheoradec -logg -lavdevice -lavformat -lavfilter -lavcodec -lpostproc -lswscale -lavutil /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../x86_64-pc-linux-gnu/bin/ld: src/ffmpeg2theora.o: undefined reference to symbol 'rintf@@GLIBC_2.2.5' /lib64/libm.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status scons: *** [ffmpeg2theora] Error 1 scons: building terminated because of errors. * ERROR: media-video/ffmpeg2theora-0.29-r1::gentoo failed (compile phase): * escons failed. * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 1923: Called escons * environment, line 765: Called die * The specific snippet of code: * [[ ${ret} -ne 0 ]] && has "${EAPI:-0}" 4 5 && die "escons failed."; * * If you need support, post the output of `emerge --info '=media-video/ffmpeg2theora-0.29-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-video/ffmpeg2theora-0.29-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-video/ffmpeg2theora-0.29-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/ffmpeg2theora-0.29-r1/temp/environment'. * Working directory: '/var/tmp/portage/media-video/ffmpeg2theora-0.29-r1/work/ffmpeg2theora-0.29' * S: '/var/tmp/portage/media-video/ffmpeg2theora-0.29-r1/work/ffmpeg2theora-0.29'