emerging x264 and x264-encoder 9999 does not work anymore: emerge x264 still works but emerge x264-encoder fails with the message "Detection of system libx264 configuration failed". There is no compiling going on, this happens during configuration. Reproducible: Always Steps to Reproduce: emerge x264 x264-encoder Actual Results: x264-encoder fails during configuration step Expected Results: x264-encoder should compile and install build.log: * Package: media-video/x264-encoder-9999 * Repository: gentoo * Maintainer: media-video@gentoo.org * USE: 10bit abi_x86_64 amd64 avs elibc_glibc ffmpeg interlaced kernel_linux mp4 threads userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... GIT update --> repository: git://git.videolan.org/x264.git at the commit: 121396c71b4907ca82301d1a529795d98daab5f8 branch: master storage directory: "/usr/portage/distfiles/egit-src/x264.git" checkout type: bare repository Cloning into '/mnt/ramdisk/portage/media-video/x264-encoder-9999/work/x264-encoder-9999'... done. Branch branch-master set up to track remote branch master from origin. Switched to a new branch 'branch-master' >>> Unpacked to /mnt/ramdisk/portage/media-video/x264-encoder-9999/work/x264-encoder-9999 >>> Source unpacked in /mnt/ramdisk/portage/media-video/x264-encoder-9999/work >>> Preparing source in /mnt/ramdisk/portage/media-video/x264-encoder-9999/work/x264-encoder-9999 ... >>> Source prepared. >>> Configuring source in /mnt/ramdisk/portage/media-video/x264-encoder-9999/work/x264-encoder-9999 ... Detection of system libx264 configuration failed * ERROR: media-video/x264-encoder-9999::gentoo failed (configure phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 2564: Called die * The specific snippet of code: * ./configure --prefix="${EPREFIX}"/usr --libdir="${EPREFIX}"/usr/$(get_libdir) --system-libx264 --host="${CHOST}" --disable-lsmash $(usex 10bit "--bit-depth=10" "") $(usex avs "" "--disable-avs") $(usex ffmpeg "" "--disable-lavf --disable-swscale") $(usex ffmpegsource "" "--disable-ffms") $(usex interlaced "" "--disable-interlaced") $(usex mp4 "" "--disable-gpac") $(usex threads "" "--disable-thread") || die; * * If you need support, post the output of `emerge --info '=media-video/x264-encoder-9999::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-video/x264-encoder-9999::gentoo'`. * The complete build log is located at '/mnt/ramdisk/portage/media-video/x264-encoder-9999/temp/build.log'. * The ebuild environment file is located at '/mnt/ramdisk/portage/media-video/x264-encoder-9999/temp/environment'. * Working directory: '/mnt/ramdisk/portage/media-video/x264-encoder-9999/work/x264-encoder-9999' * S: '/mnt/ramdisk/portage/media-video/x264-encoder-9999/work/x264-encoder-9999' emerge --info '=media-video/x264-encoder-9999::gentoo' Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.2, glibc-2.20-r2, 4.0.0-rc4 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.0.0-rc4-x86_64-Intel-R-_Core-TM-_i7-4790K_CPU_@_4.00GHz-with-gentoo-2.2 KiB Mem: 32851488 total, 28253228 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 23 Mar 2015 10:30:01 +0000 sh bash 4.3_p33-r2 ld GNU ld (Gentoo 2.25 p1.0) 2.25 app-shells/bash: 4.3_p33-r2::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.9-r2::libressl, 3.3.5-r1::libressl, 3.4.3::gentoo dev-util/cmake: 3.1.0::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.13.11::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25::gentoo sys-devel/gcc: 4.9.2::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 tag-sources location: /usr/local/portage masters: gentoo priority: 0 libressl location: /var/lib/layman/libressl masters: gentoo priority: 50 x11 location: /var/lib/layman/x11 masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=haswell -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.2/conf /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=haswell -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j10" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/mnt/ramdisk" USE="X a52 aac acl acpi aes alsa amd64 avx avx2 berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fma3 fortran gdbm gif glamor gpm gtk iconv icu ipv6 jack jpeg kde kipi lcms ldap libnotify lzma mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opencl opengl openmp osmesa pam pango pch pcre pdf phonon plasma png policykit popcnt portaudio ppds qt3support qt4 readline sdl session spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis wxwidgets x264 x265 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby20 ruby21" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= media-video/x264-encoder-9999::gentoo was built with the following: USE="10bit avs ffmpeg interlaced mp4 threads -custom-cflags -ffmpegsource" ABI_X86="64" CFLAGS="-march=haswell -pipe" CXXFLAGS="-march=haswell -pipe" emerge -pqv '=media-video/x264-encoder-9999::gentoo' [ebuild R ] media-video/x264-encoder-9999 USE="10bit avs ffmpeg interlaced mp4 threads -custom-cflags -ffmpegsource"
Please upload the full build log /mnt/ramdisk/portage/media-video/x264-encoder-9999/temp/build.log.
There is a fix in the x264-sandbox branch: https://git.videolan.org/?p=x264/x264-sandbox.git;a=commit;h=03ca3cc7e2ed4ddfeadc3a85ce15ca0b36e6f3fb Whenever they decide to merge that, the problem should be resolved.
please test with x264-encoder-0.0.20150820-r1 then