Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 559332 - media-video/ffmpeg-9999 and ffmpeg-2.8 USE="x265" - ERROR: x265 not found using pkg-config
Summary: media-video/ffmpeg-9999 and ffmpeg-2.8 USE="x265" - ERROR: x265 not found usi...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-01 12:54 UTC by jospezial
Modified: 2022-02-19 23:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2015-09-01 12:54:23 UTC
* Package:    media-video/ffmpeg-9999
 * Repository: gentoo
 * Maintainer: media-video@gentoo.org
 * USE:        X aac aacplus abi_x86_32 abi_x86_64 alsa amd64 bluray bzip2 cdio cpu_flags_x86_3dnow cpu_flags_x86_3dnowext cpu_flags_x86_mmx cpu_flags_x86_mmxext cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 elibc_glibc encode faac fftools_aviocat fftools_cws2fws fftools_ffescape fftools_ffeval fftools_ffhash fftools_fourcc2pixfmt fftools_graph2dot fftools_ismindex fftools_pktdumper fftools_qt-faststart fftools_sidxindex fftools_trasher fontconfig gme gnutls gpl gsm hardcoded-tables iconv jack jpeg2k kernel_linux ladspa libass librtmp libv4l lzma modplug mp3 network openal opengl openssl postproc pulseaudio schroedinger sdl speex ssh theora threads truetype twolame userland_GNU v4l vaapi vdpau vorbis vpx wavpack webp x264 x265 xcb xvid zlib zvbi
 * FEATURES:   ccache preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
GIT update -->
   repository:               git://source.ffmpeg.org/ffmpeg.git
   at the commit:            63fb5a6aefb4223334001fd2c0d82a5e22e3b528
   branch:                   master
   storage directory:        "/usr/portage/distfiles/egit-src/ffmpeg.git"
   checkout type:            bare repository
Cloning into '/var/tmp/portage/media-video/ffmpeg-9999/work/ffmpeg-9999'...
done.
Branch branch-master set up to track remote branch master from origin.
Switched to a new branch 'branch-master'
>>> Unpacked to /var/tmp/portage/media-video/ffmpeg-9999/work/ffmpeg-9999
>>> Source unpacked in /var/tmp/portage/media-video/ffmpeg-9999/work
>>> Preparing source in /var/tmp/portage/media-video/ffmpeg-9999/work/ffmpeg-9999 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-video/ffmpeg-9999/work/ffmpeg-9999 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
/var/tmp/portage/media-video/ffmpeg-9999/work/ffmpeg-9999/configure --prefix=/usr --libdir=/usr/lib32 --shlibdir=/usr/lib32 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc -m32 --cxx=x86_64-pc-linux-gnu-g++ -m32 --ar=ar --optflags=  --disable-static --enable-avfilter --enable-avresample --disable-stripping --enable-nonfree --enable-version3 --enable-nonfree --disable-indev=oss --disable-outdev=oss --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-doc --enable-gnutls --enable-gpl --enable-hardcoded-tables --enable-iconv --enable-lzma --enable-network --enable-openssl --enable-postproc --disable-libsmbclient --enable-ffplay --enable-vaapi --enable-vdpau --enable-xlib --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-zlib --enable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --enable-openal --enable-opengl --enable-libv4l2 --enable-libpulse --disable-libopencore-amrwb --disable-libopencore-amrnb --disable-libfdk-aac --enable-libopenjpeg --enable-libbluray --disable-libcelt --enable-libgme --enable-libgsm --enable-libmodplug --disable-libopus --disable-libquvi --enable-librtmp --enable-libssh --enable-libschroedinger --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libzvbi --disable-libbs2b --disable-libflite --disable-frei0r --disable-libfribidi --enable-fontconfig --enable-ladspa --enable-libass --enable-libfreetype --disable-libsoxr --enable-pthreads --enable-libvo-aacenc --disable-libvo-amrwbenc --enable-libmp3lame --enable-libaacplus --enable-libfaac --disable-libsnappy --enable-libtheora --enable-libtwolame --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --disable-frei0r --disable-avx --disable-avx2 --disable-fma3 --disable-fma4 --disable-ssse3 --disable-sse4 --disable-sse42 --disable-xop --cpu=host
ERROR: x265 not found using pkg-config

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.
 * ERROR: media-video/ffmpeg-9999::gentoo failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 3449:  Called multilib-minimal_src_configure
 *   environment, line 2552:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 2759:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2483:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2481:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  696:  Called multilib-minimal_abi_src_configure
 *   environment, line 2546:  Called multilib_src_configure
 *   environment, line 3058:  Called die
 * The specific snippet of code:
 *       "${@}" || die
 * 


/var/tmp/portage/media-video/ffmpeg-9999/work/ffmpeg-9999-abi_x86_32.x86/config.log:
...
check_pkg_config libwebp >= 0.2.0 webp/encode.h WebPGetEncoderVersion
pkg-config --exists --print-errors libwebp >= 0.2.0
check_func_headers webp/encode.h WebPGetEncoderVersion -L/usr/lib32 -lwebp
check_ld cc -L/usr/lib32 -lwebp
check_cc -L/usr/lib32
BEGIN /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c
    1	#include <webp/encode.h>
    2	long check_WebPGetEncoderVersion(void) { return (long) WebPGetEncoderVersion; }
    3	int main(void) { return 0; }
END /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c
x86_64-pc-linux-gnu-gcc -m32 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -march=native -O2 -pipe -march=amdfam10 -std=c99 -fomit-frame-pointer -pthread -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/include/freetype2 -D_REENTRANT -I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4 -L/usr/lib32 -c -o /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6RFcCC3l.o /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c
x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,-z,noexecstack -L/usr/lib32 -o /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.B40lCH58 /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6RFcCC3l.o -lwebp -lwavpack -L/usr/lib32 -lvpx -lm -L/usr/lib32 -lvpx -lm -L/usr/lib32 -lvpx -lm -L/usr/lib32 -lvpx -lm -lvorbisenc -lvorbis -logg -lvo-aacenc -L/usr/lib32 -lv4l2 -ltwolame -ltwolame -ltheoraenc -ltheoradec -logg -L/usr/lib32 -lspeex -L/usr/lib32 -lssh -L/usr/lib32 -lschroedinger-1.0 -L/usr/lib32 -lrtmp -lz -lgmp -lgnutls -lhogweed -lnettle -L/usr/lib32 -lpulse -lopenjpeg -DOPJ_STATIC -lmp3lame -L/usr/lib32 -lmodplug -lgsm -lgme -lstdc++ -L/usr/lib32 -lfreetype -L/usr/lib32 -lfontconfig -lfreetype -lfaac -L/usr/lib32 -lbluray -L/usr/lib32 -lass -laacplus -L/usr/lib32 -lgnutls -lm -llzma -lbz2 -lz -pthread
check_pkg_config libwebpmux >= 0.4.0 webp/mux.h WebPAnimEncoderOptionsInit
pkg-config --exists --print-errors libwebpmux >= 0.4.0
check_func_headers webp/mux.h WebPAnimEncoderOptionsInit -L/usr/lib32 -lwebpmux -lwebp
check_ld cc -L/usr/lib32 -lwebpmux -lwebp
check_cc -L/usr/lib32
BEGIN /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c
    1	#include <webp/mux.h>
    2	long check_WebPAnimEncoderOptionsInit(void) { return (long) WebPAnimEncoderOptionsInit; }
    3	int main(void) { return 0; }
END /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c
x86_64-pc-linux-gnu-gcc -m32 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -march=native -O2 -pipe -march=amdfam10 -std=c99 -fomit-frame-pointer -pthread -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/include/freetype2 -D_REENTRANT -I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4 -L/usr/lib32 -c -o /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6RFcCC3l.o /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c
/var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c: In function 'check_WebPAnimEncoderOptionsInit':
/var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c:2:61: error: 'WebPAnimEncoderOptionsInit' undeclared (first use in this function)
 long check_WebPAnimEncoderOptionsInit(void) { return (long) WebPAnimEncoderOptionsInit; }
                                                             ^
/var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c:2:61: note: each undeclared identifier is reported only once for each function it appears in
check_pkg_config x264 stdint.h x264.h x264_encoder_encode
pkg-config --exists --print-errors x264
check_func_headers stdint.h x264.h x264_encoder_encode -L/usr/lib32 -lx264
check_ld cc -L/usr/lib32 -lx264
check_cc -L/usr/lib32
BEGIN /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c
    1	#include <stdint.h>
    2	#include <x264.h>
    3	long check_x264_encoder_encode(void) { return (long) x264_encoder_encode; }
    4	int main(void) { return 0; }
END /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c
x86_64-pc-linux-gnu-gcc -m32 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -march=native -O2 -pipe -march=amdfam10 -std=c99 -fomit-frame-pointer -pthread -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/include/freetype2 -D_REENTRANT -I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4 -L/usr/lib32 -c -o /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6RFcCC3l.o /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c
x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,-z,noexecstack -L/usr/lib32 -o /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.B40lCH58 /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6RFcCC3l.o -lx264 -L/usr/lib32 -lwebp -lwavpack -L/usr/lib32 -lvpx -lm -L/usr/lib32 -lvpx -lm -L/usr/lib32 -lvpx -lm -L/usr/lib32 -lvpx -lm -lvorbisenc -lvorbis -logg -lvo-aacenc -L/usr/lib32 -lv4l2 -ltwolame -ltwolame -ltheoraenc -ltheoradec -logg -L/usr/lib32 -lspeex -L/usr/lib32 -lssh -L/usr/lib32 -lschroedinger-1.0 -L/usr/lib32 -lrtmp -lz -lgmp -lgnutls -lhogweed -lnettle -L/usr/lib32 -lpulse -lopenjpeg -DOPJ_STATIC -lmp3lame -L/usr/lib32 -lmodplug -lgsm -lgme -lstdc++ -L/usr/lib32 -lfreetype -L/usr/lib32 -lfontconfig -lfreetype -lfaac -L/usr/lib32 -lbluray -L/usr/lib32 -lass -laacplus -L/usr/lib32 -lgnutls -lm -llzma -lbz2 -lz -pthread
check_cpp_condition x264.h X264_BUILD >= 118
check_cpp
BEGIN /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c
    1	#include <x264.h>
    2	#if !(X264_BUILD >= 118)
    3	#error "unsatisfied condition: X264_BUILD >= 118"
    4	#endif
END /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c
x86_64-pc-linux-gnu-gcc -m32 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -march=native -O2 -pipe -march=amdfam10 -std=c99 -fomit-frame-pointer -pthread -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/include/freetype2 -D_REENTRANT -I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4 -E -o /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6RFcCC3l.o /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c
In file included from /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c:1:0:
/usr/include/x264.h:40:4: warning: #warning You must include stdint.h or inttypes.h before x264.h [-Wcpp]
 #  warning You must include stdint.h or inttypes.h before x264.h
    ^
check_cpp_condition x264.h X264_MPEG2
check_cpp
BEGIN /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c
    1	#include <x264.h>
    2	#if !(X264_MPEG2)
    3	#error "unsatisfied condition: X264_MPEG2"
    4	#endif
END /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c
x86_64-pc-linux-gnu-gcc -m32 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -march=native -O2 -pipe -march=amdfam10 -std=c99 -fomit-frame-pointer -pthread -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/include/freetype2 -D_REENTRANT -I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4 -E -o /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6RFcCC3l.o /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c
In file included from /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c:1:0:
/usr/include/x264.h:40:4: warning: #warning You must include stdint.h or inttypes.h before x264.h [-Wcpp]
 #  warning You must include stdint.h or inttypes.h before x264.h
    ^
/var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c:3:2: error: #error "unsatisfied condition: X264_MPEG2"
 #error "unsatisfied condition: X264_MPEG2"
  ^
check_pkg_config x265 x265.h x265_api_get
pkg-config --exists --print-errors x265
check_func_headers x265.h x265_api_get -L/usr/lib32 -lx265
check_ld cc -L/usr/lib32 -lx265
check_cc -L/usr/lib32
BEGIN /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c
    1	#include <x265.h>
    2	long check_x265_api_get(void) { return (long) x265_api_get; }
    3	int main(void) { return 0; }
END /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c
x86_64-pc-linux-gnu-gcc -m32 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -march=native -O2 -pipe -march=amdfam10 -std=c99 -fomit-frame-pointer -pthread -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/include/freetype2 -D_REENTRANT -I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4 -L/usr/lib32 -c -o /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6RFcCC3l.o /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c
In file included from /var/tmp/portage/media-video/ffmpeg-9999/temp/ffconf.6BSu6A2N.c:1:0:
/usr/include/x265.h:145:5: error: unknown type name 'bool'
     bool             bScenecut;
     ^
ERROR: x265 not found using pkg-config
Comment 1 jospezial 2015-09-01 12:58:12 UTC
=================================================================
                        Package Settings
=================================================================

dev-util/pkgconfig-0.28-r3::gentoo was built with the following:
USE="-hardened -internal-glib" ABI_X86="32 64 -x32"


media-libs/x265-9999::gentoo was built with the following:
USE="10bit -test" ABI_X86="32 64 -x32"
CFLAGS="-march=native -O2 -pipe -fPIC -fPIC"
CXXFLAGS="-march=native -O2 -pipe -fPIC -fPIC"


media-libs/x264-0.0.20150820::gentoo was built with the following:
USE="interlaced opencl threads -10bit -pic -static-libs" ABI_X86="32 64 -x32" CPU_FLAGS_X86="sse"
CFLAGS="-march=native -O2 -pipe -msse -mfpmath=sse -ffast-math -msse -mfpmath=sse -ffast-math"
CXXFLAGS="-march=native -O2 -pipe -msse -mfpmath=sse -ffast-math -msse -mfpmath=sse -ffast-math"


media-libs/libwebp-0.4.2::gentoo was built with the following:
USE="gif jpeg opengl png tiff -experimental -static-libs -swap-16bit-csp" ABI_X86="32 64 -x32"


equery f x265
 * Searching for x265 ...
 * Contents of media-libs/x265-9999:
/usr
/usr/bin
/usr/bin/x265
/usr/include
/usr/include/x265.h
/usr/include/x265_config.h
/usr/lib32
/usr/lib32/libx265.a
/usr/lib32/libx265.so -> libx265.so.73
/usr/lib32/libx265.so.73
/usr/lib32/pkgconfig
/usr/lib32/pkgconfig/x265.pc
/usr/lib64
/usr/lib64/libx265.a
/usr/lib64/libx265.so -> libx265.so.73
/usr/lib64/libx265.so.73
/usr/lib64/pkgconfig
/usr/lib64/pkgconfig/x265.pc
/usr/share
/usr/share/doc
/usr/share/doc/x265-9999
/usr/share/doc/x265-9999/intra
/usr/share/doc/x265-9999/intra/intra-16x16.txt.bz2
/usr/share/doc/x265-9999/intra/intra-32x32.txt.bz2
/usr/share/doc/x265-9999/intra/intra-4x4.txt.bz2
/usr/share/doc/x265-9999/intra/intra-8x8.txt.bz2
/usr/share/doc/x265-9999/reST
/usr/share/doc/x265-9999/reST/Makefile.bz2
/usr/share/doc/x265-9999/reST/api.rst.bz2
/usr/share/doc/x265-9999/reST/cli.rst.bz2
/usr/share/doc/x265-9999/reST/conf.py.bz2
/usr/share/doc/x265-9999/reST/index.rst.bz2
/usr/share/doc/x265-9999/reST/introduction.rst.bz2
/usr/share/doc/x265-9999/reST/lossless.rst.bz2
/usr/share/doc/x265-9999/reST/presets.rst.bz2
/usr/share/doc/x265-9999/reST/threading.rst.bz2
/usr/share/doc/x265-9999/reST/x265.rst.bz2
/usr/share/doc/x265-9999/uncrustify
/usr/share/doc/x265-9999/uncrustify/codingstyle.cfg.bz2
Comment 2 jospezial 2015-09-07 09:12:28 UTC
Bug wranglers, please assign to the maintainer.
Comment 3 SpanKY gentoo-dev 2015-09-11 22:09:27 UTC
please attach build logs and never paste them as comments.  bugzilla will corrupt the output and it's hard to tell when the user has truncated things.

then again, build errors you get when using live git ebuilds are generally your problem and should be reported to upstream developers.
Comment 4 jospezial 2015-09-13 11:50:09 UTC
I get the same errors with ffmpeg-2.8 (copy of ffmpeg-2.7.2.ebuild).

ffmpeg-2.8 was released but is not in gentoo tree yet.
Comment 5 jospezial 2015-09-14 07:54:29 UTC
The now in tree version of media-video/ffmpeg-2.8 has the same bug.
Comment 6 jospezial 2015-09-14 09:12:02 UTC
The 64 bit abi_src_configure shows the same.
So the abi is not relevant.

When I downgrade to media-libs/x265-1.7 then the ebuild configure works.

.so names have changed:

x265-1.7 /usr/lib64/libx265.so.59

x265-9999 (before) /usr/lib64/libx265.so.73
x265-9999 (now) /usr/lib64/libx265.so.75


After that downgrade I upgraded back to 9999 and the ebuild configure seems to work.
Must have been fixed upstream in https://github.com/videolan/x265.

Could be:
https://github.com/videolan/x265/commit/08fcd6955106f6986d90ce72305b0a8193ab87e5
api: remove bool to prevent portability issues

source/x265.h

@@ -142,7 +142,7 @@ typedef struct x265_frame_stats
     int              list1POC[16];
     uint16_t         maxLumaLevel;
     char             sliceType;
-    bool             bScenecut;
+    int              bScenecut;
     x265_cu_stats    cuStats;
 } x265_frame_stats;


emerge -va1 x265

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U *] media-libs/x265-9999:0/59::gentoo [1.7:0/59::gentoo] USE="10bit {-test}" ABI_X86="32 (64) (-x32)" 0 KiB

Is the subslot "59" ok or should it be "75"?

Do the live ebuilds always have the subslot of the latest released version in tree because the .so names of the 9999 versions change to often?