https://www.bunkus.org/blog/
These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild U ] media-video/mkvtoolnix-8.3.0::gentoo [8.2.0-r1::gentoo] USE="curl qt5 wxwidgets -debug -pch" 0 KiB Total: 1 package (1 upgrade), Size of downloads: 0 KiB x86_64-pc-linux-gnu-g++ -Wall -Wno-comment -Wfatal-errors -D_FILE_OFFSET_BITS=64 -DMTX_LOCALE_DIR=\"/usr/share/locale\" -DMTX_PKG_DATA_DIR=\"/usr/share/mkvtoolnix\" -DMTX_DOC_DIR=\"/usr/share/doc/mkvtoolnix-8.3.0\" -fstack-protector-strong -fPIE -std=gnu++14 -Wnon-virtual-dtor -Woverloaded-virtual -Wextra -Wno-missing-field-initializers -Wno-maybe-uninitialized -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5 -I/usr/include/qt5/QtPlatformSupport -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -I/usr/include -march=native -O2 -pipe -I. -Ilib -Ilib/avilib-0.6.10 -Isrc -Ilib/utf8-cpp/source -c -MMD -MF ./rake.d/dependency.d/tmp/src_common_wavpack_o.d -o src/common/wavpack.o -x c++ src/common/wavpack.cpp In file included from /usr/include/qt5/QtGui/qwindowdefs.h:37:0, from /usr/include/qt5/QtWidgets/qwidget.h:37, from /usr/include/qt5/QtWidgets/qdialog.h:37, from /usr/include/qt5/QtWidgets/qmessagebox.h:37, from /usr/include/qt5/QtWidgets/QMessageBox:1, from src/common/qt_kax_analyzer.cpp:18: /usr/include/qt5/QtCore/qglobal.h:1097:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not enough)." # error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\ ^ compilation terminated due to -Wfatal-errors. * ERROR: media-video/mkvtoolnix-8.3.0::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 2997: Called die * The specific snippet of code: * "${RUBY}" ./drake V=1 -j$(makeopts_jobs) || die
That qt5/gcc5? bug is seen on other packages too. That way all compiles fine: USE="-qt5" emerge -vat mkvtoolnix These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild U ] media-video/mkvtoolnix-8.3.0::gentoo [8.2.0-r1::gentoo] USE="curl wxwidgets -debug -pch -qt5*" 0 KiB Total: 1 package (1 upgrade), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Running pre-merge checks for media-video/mkvtoolnix-8.3.0 >>> Emerging (1 of 1) media-video/mkvtoolnix-8.3.0::gentoo >>> Installing (1 of 1) media-video/mkvtoolnix-8.3.0::gentoo >>> Jobs: 1 of 1 complete Load avg: 2.40, 2.82, 2.13 >>> Auto-cleaning packages...
558030 media-video/mkvtoolnix 8.3.0 version bump (Show Votes) 558490 media-video/mkvtoolnix-8.3.0 doesn't build with qt5 : needs -fPIC (Show Votes) Please fix asap. Even pathc available in other bug report, see above!
media-video/mkvtoolnix-8.4.0 is not in tree yet https://bugs.gentoo.org/show_bug.cgi?id=558490#c6 These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild U ] media-video/mkvtoolnix-8.4.0::gentoo [8.3.0::gentoo] USE="curl qt5* wxwidgets -debug -pch" 0 KiB Total: 1 package (1 upgrade), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Running pre-merge checks for media-video/mkvtoolnix-8.4.0 >>> Emerging (1 of 1) media-video/mkvtoolnix-8.4.0::gentoo >>> Installing (1 of 1) media-video/mkvtoolnix-8.4.0::gentoo >>> Jobs: 1 of 1 complete Load avg: 2.55, 1.96, 1.23 >>> Auto-cleaning packages...
media-video/mkvtoolnix-8.4.0 is in tree now. All well.
(In reply to jospezial from comment #5) > media-video/mkvtoolnix-8.4.0 is in tree now. All well. yep