Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 809116

Summary: dev-qt/qtopengl-5.15.2 fails to build without native gcc symlinks
Product: Gentoo Linux Reporter: Alexey <alexey+gentoo>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Alexey 2021-08-19 22:51:10 UTC
Created attachment 734323 [details]
emerge --info

* Package:    dev-qt/qtopengl-5.15.2
 * Repository: gentoo
 * Maintainer: qt@gentoo.org
 * Upstream:   https://bugreports.qt.io/
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux prefix userland_GNU
 * FEATURES:   network-sandbox preserve-libs splitdebug
>>> Unpacking source...
>>> Unpacking qtbase-everywhere-src-5.15.2.tar.xz to /home/user/gentoo/var/tmp/portage/dev-qt/qtopengl-5.15.2/work
>>> Unpacking qtbase-5.15.2-gcc11.patch.xz to /home/user/gentoo/var/tmp/portage/dev-qt/qtopengl-5.15.2/work
>>> Source unpacked in /home/user/gentoo/var/tmp/portage/dev-qt/qtopengl-5.15.2/work
>>> Preparing source in /home/user/gentoo/var/tmp/portage/dev-qt/qtopengl-5.15.2/work/qtbase-everywhere-src-5.15.2 ...
 * Applying qtbase-5.15.2-gcc11.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /home/user/gentoo/var/tmp/portage/dev-qt/qtopengl-5.15.2/work/qtbase-everywhere-src-5.15.2 ...
 * Configuring with: -prefix /home/user/gentoo/usr -bindir /home/user/gentoo/usr/lib64/qt5/bin -headerdir /home/user/gentoo/usr/include/qt5 -libdir /home/user/gentoo/usr/lib64 -archdatadir /home/user/gentoo/usr/lib64/qt5 -plugindir /home/user/gentoo/usr/lib64/qt5/plugins -libexecdir /home/user/gentoo/usr/lib64/qt5/libexec -importdir /home/user/gentoo/usr/lib64/qt5/imports -qmldir /home/user/gentoo/usr/lib64/qt5/qml -datadir /home/user/gentoo/usr/share/qt5 -docdir /home/user/gentoo/usr/share/qt5-doc -translationdir /home/user/gentoo/usr/share/qt5/translations -sysconfdir /home/user/gentoo/etc/xdg -examplesdir /home/user/gentoo/usr/share/qt5/examples -testsdir /home/user/gentoo/usr/share/qt5/tests -platform linux-g++ -release -no-separate-debug-info -no-optimized-tools -opensource -confirm-license -shared -accessibility -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-tds -pkg-config -system-zlib -system-pcre -system-doubleconversion -no-mtdev -no-journald -no-syslog -no-libpng -no-libjpeg -no-freetype -no-harfbuzz -no-openssl -no-libproxy -no-feature-gssapi -no-xcb-xlib -no-xkbcommon -no-bundled-xcb-xinput -glib -no-gtk -nomake examples -nomake tests -no-compile-examples -verbose -no-cups -no-evdev -no-tslib -no-icu -no-fontconfig -no-dbus -no-strip -no-pch -no-ltcg -no-use-gold-linker -no-xcb -no-eglfs -no-kms -no-gbm -no-directfb -no-linuxfb -sm -qreal double -no-opengl -no-egl -no-libinput -system-proxies -no-warnings-are-errors -no-gui -no-widgets -no-zstd -opengl desktop
Performing shadow build...
Preparing build tree...
Info: creating cache file /home/user/gentoo/var/tmp/portage/dev-qt/qtopengl-5.15.2/work/qtbase-everywhere-src-5.15.2_build/.qmake.cache
Command line: -prefix /home/user/gentoo/usr -bindir /home/user/gentoo/usr/lib64/qt5/bin -headerdir /home/user/gentoo/usr/include/qt5 -libdir /home/user/gentoo/usr/lib64 -archdatadir /home/user/gentoo/usr/lib64/qt5 -plugindir /home/user/gentoo/usr/lib64/qt5/plugins -libexecdir /home/user/gentoo/usr/lib64/qt5/libexec -importdir /home/user/gentoo/usr/lib64/qt5/imports -qmldir /home/user/gentoo/usr/lib64/qt5/qml -datadir /home/user/gentoo/usr/share/qt5 -docdir /home/user/gentoo/usr/share/qt5-doc -translationdir /home/user/gentoo/usr/share/qt5/translations -sysconfdir /home/user/gentoo/etc/xdg -examplesdir /home/user/gentoo/usr/share/qt5/examples -testsdir /home/user/gentoo/usr/share/qt5/tests -platform linux-g++ -release -no-separate-debug-info -no-optimized-tools -opensource -confirm-license -shared -accessibility -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-tds -pkg-config -system-zlib -system-pcre -system-doubleconversion -no-mtdev -no-journald -no-syslog -no-libpng -no-libjpeg -no-freetype -no-harfbuzz -no-openssl -no-libproxy -no-feature-gssapi -no-xcb-xlib -no-xkbcommon -no-bundled-xcb-xinput -glib -no-gtk -nomake examples -nomake tests -no-compile-examples -verbose -no-cups -no-evdev -no-tslib -no-icu -no-fontconfig -no-dbus -no-strip -no-pch -no-ltcg -no-use-gold-linker -no-xcb -no-eglfs -no-kms -no-gbm -no-directfb -no-linuxfb -sm -qreal double -no-opengl -no-egl -no-libinput -system-proxies -no-warnings-are-errors -no-gui -no-widgets -no-zstd -opengl desktop QMAKE_AR=x86_64-pc-linux-gnu-ar QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C_SHLIB=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_SHLIB=x86_64-pc-linux-gnu-g++ QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP=x86_64-pc-linux-gnu-strip 'QMAKE_CFLAGS=-O2 -pipe -O2 -pipe' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-O2 -pipe -O2 -pipe' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG=
Project ERROR: Cannot run compiler 'g++'. Output:
===================
===================
Maybe you forgot to setup the environment?
 * ERROR: dev-qt/qtopengl-5.15.2::gentoo failed (configure phase):
 *   configure failed
 * 
 * Call stack:
 *     ebuild.sh, line  127:  Called src_configure
 *   environment, line 2094:  Called qt5-build_src_configure
 *   environment, line 1650:  Called qt5_base_configure
 *   environment, line 1759:  Called die
 * The specific snippet of code:
 *       "${S}"/configure "${conf[@]}" || die "configure failed";
 * 
 * If you need support, post the output of `emerge --info '=dev-qt/qtopengl-5.15.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtopengl-5.15.2::gentoo'`.
 * The complete build log is located at '/home/user/gentoo/var/tmp/portage/dev-qt/qtopengl-5.15.2/temp/build.log'.
 * The ebuild environment file is located at '/home/user/gentoo/var/tmp/portage/dev-qt/qtopengl-5.15.2/temp/environment'.
 * Working directory: '/home/user/gentoo/var/tmp/portage/dev-qt/qtopengl-5.15.2/work/qtbase-everywhere-src-5.15.2_build'
 * S: '/home/user/gentoo/var/tmp/portage/dev-qt/qtopengl-5.15.2/work/qtbase-everywhere-src-5.15.2'
Comment 1 Ionen Wolkens gentoo-dev 2021-08-19 23:32:51 UTC
That's about every single qmake packages

*** This bug has been marked as a duplicate of bug 726112 ***