mkvtoolnix-15.0.0-r1 compilation failed with libmatroska 1.4.5. emerge --info: Portage 2.3.8 (python 2.7.13-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.23-r4, 4.12.8-gentoo x86_64) ================================================================= System uname: Linux-4.12.8-gentoo-x86_64-Intel-R-_Core-TM-_i7-5600U_CPU_@_2.60GHz-with-gentoo-2.3 KiB Mem: 16138840 total, 5360116 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Fri, 25 Aug 2017 02:43:54 +0000 Head commit of repository gentoo: 7dba50bbb8508b8bf8598c43c1e2b44f36165150 sh bash 4.3_p48-r1 ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1 app-shells/bash: 4.3_p48-r1::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.1-r2::gentoo dev-lang/python: 2.7.13::gentoo, 3.4.6::gentoo dev-util/cmake: 3.9.1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.29::gentoo sys-apps/sandbox: 2.10-r4::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.28.1::gentoo sys-devel/gcc: 5.4.0-r3::gentoo, 6.4.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers) sys-libs/glibc: 2.23-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo priority: -1000 local location: /usr/local/portage/local masters: gentoo steam-overlay location: /var/lib/layman/steam-overlay sync-type: laymansync sync-uri: git://github.com/anyc/steam-overlay.git masters: gentoo priority: 50 vstone location: /var/lib/layman/vstone sync-type: laymansync sync-uri: https://github.com/vStone/vstone-overlay.git masters: gentoo priority: 50 Installed sets: @allsets, @applications, @devtools, @emulation, @gentools, @graphics, @puppet, @services, @shelltools, @systemtools, @thinkpad, @vrtstuff, @xfce4 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA skype-eula Oracle-BCLA-JavaSE AdobeFlash-10.3 AdobeFlash-11.x PUEL google-chrome skype-4.0.0.7-copyright Q3AEULA Intel-SDP Broadcom Google-TOS NVIDIA-CUDA FraunhoferFDK TeamViewer RAR" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=broadwell" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /var/bind /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/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-O2 -pipe -march=broadwell" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--autounmask=n" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" 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 --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X aalib acl amd64 apng berkdb bindist bluetooth bzip2 cairo cgroups clang cli consolekit cracklib crypt curl cxx dbus dri egl exif ffmpeg flac fontconfig fortran gdbm glamor gles2 gnome-keyring gtk gtk3 iconv idn imagemagick ipv6 jpeg libcaca mmx modules multilib ncurses nls nptl ogg opencl opengl openmp pam pcre perl pm-utils png pulseaudio python qt5 readline ruby seccomp session sse sse2 ssl svg tcpd theora tiff unicode vim-syntax x264 xattr zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="*" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="nss" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" L10N="en nl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en nl" NETBEANS_MODULES="groovy java php webcommon mobility" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python3_4 python2_7" QEMU_SOFTMMU_TARGETS="x86_64 i386 arm" RUBY_TARGETS="ruby21 ruby22 ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="intel i965 vesa" 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: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 490506 [details] build.log
Can confirm this on my machine.
Can you please check if you have an obsolete dev-lang/ruby:2.1 installed I had and using: MAKEOPTS="-j1" emerge -v -j1 media-video/mkvtoolnix got this error: >>> Compiling source in /dev/shm/portage/media-video/mkvtoolnix-15.0.0-r1/work/mkvtoolnix-15.0.0 ... /usr/lib64/ruby/2.1.0/rubygems.rb:15:in `require': cannot load such file -- rubygems/compatibility (LoadError) from /usr/lib64/ruby/2.1.0/rubygems.rb:15:in `<top (required)>' from <internal:gem_prelude>:1:in `require' from <internal:gem_prelude>:1:in `<compiled>' * ERROR: media-video/mkvtoolnix-15.0.0-r1::gentoo failed (compile phase): After removing it =media-video/mkvtoolnix-15.0.0-r1 compiled OK with: MAKEOPTS="-j1" emerge -v -j1 media-video/mkvtoolnix Since you have MAKEOPTS="-j5" the output of the error of the compile phase is not very relevant... so could you please try again with: MAKEOPTS="-j1" emerge -v -j1 media-video/mkvtoolnix and repost if there is an error again.... P.S. Someone may try if this will work with MAKEOPTS -j above 1 ... If not that means newer media-video/mkvtoolnix require the -j 1 option
Same thing here. But even with newer libmatroska and -j1, it does not compile. I uninstalled old ruby 2.1. It fails with the same error as mkvtoolnix-9.6.0 at the moment: src/common/libmtxcommon.a(ebml_converter.o): In function `mtx::xml::ebml_converter_c::parse_binary(mtx::xml::ebml_converter_c::parser_context_t&)': ebml_converter.cpp:(.text+0x5d8f): undefined reference to `boost::re_detail_106200::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags)' collect2: error: ld returned 1 exit status
For me, switching to a newer ruby version >= ruby22 (with Rubygems) does the trick. Check with the help of eselect ruby list @thomas, your failure output looks like, that you did not respect the hints given in the eselect news from 2015-10-22-gcc-5-new-c++11-abi
Thanks, you were right. Didn't think about that GCC upgrade anymore. After recompiling >300 packages, this one now also compiles.
I downgraded libmatroska back to 1.4.5 and tried again. I have no old ruby 21 # qlist -I dev-lang/ruby -v dev-lang/ruby-2.2.7-r3 dev-lang/ruby-2.3.4-r3 dev-lang/ruby-2.4.1-r3 Portage 2.3.8 (python 2.7.13-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.23-r4, 4.12.10-gentoo x86_64) ================================================================= System uname: Linux-4.12.10-gentoo-x86_64-Intel-R-_Core-TM-_i7-5600U_CPU_@_2.60GHz-with-gentoo-2.3 KiB Mem: 16138840 total, 1012112 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sat, 02 Sep 2017 09:26:14 +0000 Head commit of repository gentoo: 3a6553d27fcd53610cdf5e882e3ba1b6d3ab4001 sh bash 4.3_p48-r1 ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1 distcc 3.2rc1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.3_p48-r1::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.1-r2::gentoo dev-lang/python: 2.7.13::gentoo, 3.4.6::gentoo dev-util/cmake: 3.9.1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.29::gentoo sys-apps/sandbox: 2.10-r4::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.28.1::gentoo sys-devel/gcc: 5.4.0-r3::gentoo, 6.4.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.11::gentoo (virtual/os-headers) sys-libs/glibc: 2.23-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo priority: -1000 local location: /usr/local/portage/local masters: gentoo steam-overlay location: /var/lib/layman/steam-overlay sync-type: laymansync sync-uri: git://github.com/anyc/steam-overlay.git masters: gentoo priority: 50 vstone location: /var/lib/layman/vstone sync-type: laymansync sync-uri: https://github.com/vStone/vstone-overlay.git masters: gentoo priority: 50 Installed sets: @allsets, @applications, @devtools, @emulation, @gentools, @graphics, @puppet, @services, @shelltools, @systemtools, @thinkpad, @vrtstuff, @xfce4 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA skype-eula Oracle-BCLA-JavaSE AdobeFlash-10.3 AdobeFlash-11.x PUEL google-chrome skype-4.0.0.7-copyright Q3AEULA Intel-SDP Broadcom Google-TOS NVIDIA-CUDA FraunhoferFDK TeamViewer RAR" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=broadwell" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /var/bind /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/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-O2 -pipe -march=broadwell" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--autounmask=n" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" 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 --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X aalib acl amd64 apng berkdb bindist bluetooth bzip2 cairo cgroups clang cli consolekit cracklib crypt curl cxx dbus dri egl exif ffmpeg flac fontconfig fortran gdbm glamor gles2 gnome-keyring gtk gtk3 iconv idn imagemagick ipv6 jpeg libcaca mmx modules multilib ncurses nls nptl ogg opencl opengl openmp pam pcre perl pm-utils png pulseaudio python qt5 readline ruby seccomp session sse sse2 ssl svg tcpd theora tiff unicode vim-syntax x264 xattr xpresent zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="*" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="nss" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" L10N="en nl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en nl" NETBEANS_MODULES="groovy java php webcommon mobility" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python3_4 python2_7" QEMU_SOFTMMU_TARGETS="x86_64 i386 arm" RUBY_TARGETS="ruby21 ruby22 ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="intel i965 vesa" 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: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 492228 [details] build log with libmatroska 1.4.5 + makeopts -j1 build log with libmatroska 1.4.5 + makeopts -j1
Compiles fine after upgrading libmatroska again.
[master c64f427a433] media-video/mkvtoolnix: libmatroska-1.4.7 or newer is needed as I just confirmed (#628880 by Jan Vansteenkiste). 2 files changed, 2 insertions(+), 2 deletions(-)