I have multiple distros in one filesystem, each in its own directory. it works perfectly since the current distro has symlinks pointing into the corresponding directories. only emerge gives me trouble: just like with rust also here it is necessary to chroot into my distro before emerge since otherwise the system gets confused and fails to find the built files during install phase. Reproducible: Always Steps to Reproduce: 1.put distro into /systemd 2.create symlinks of each directory into root 3.boot and build dev-qt/qtwebengine-5.15.2 on root Actual Results: [...] make[2]: Leaving directory '/systemd/var/tmp/portage/dev-qt/qtwebengine-5.15.2/work/qtwebengine-everywhere-src-5.15.2_build/src/webenginewidgets' cd plugins/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake -o Makefile /systemd/var/tmp/portage/dev-qt/qtwebengine-5.15.2/work/qtwebengine-everywhere-src-5.15.2/src/plugins/plugins.pro CONFIG+=release CONFIG-=debug 'QMAKE_AR=x86_64-pc-linux-gnu-ar cqs' 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 -march=native -mtune=native -fstack-protector-strong -fomit-frame-pointer -pipe' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-O2 -march=native -mtune=native -fstack-protector-strong -fomit-frame-pointer -pipe' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= ) && make -f Makefile make[2]: Entering directory '/systemd/var/tmp/portage/dev-qt/qtwebengine-5.15.2/work/qtwebengine-everywhere-src-5.15.2_build/src/plugins' make[2]: Nothing to be done for 'first'. make[2]: Leaving directory '/systemd/var/tmp/portage/dev-qt/qtwebengine-5.15.2/work/qtwebengine-everywhere-src-5.15.2_build/src/plugins' make[1]: Leaving directory '/systemd/var/tmp/portage/dev-qt/qtwebengine-5.15.2/work/qtwebengine-everywhere-src-5.15.2_build/src' >>> Source compiled. * Skipping make test/check due to ebuild restriction. >>> Test phase [disabled because of RESTRICT=test]: dev-qt/qtwebengine-5.15.2 >>> Install dev-qt/qtwebengine-5.15.2 into /systemd/var/tmp/portage/dev-qt/qtwebengine-5.15.2/image * Running emake INSTALL_ROOT=/systemd/var/tmp/portage/dev-qt/qtwebengine-5.15.2/image install make -j6 -l6 INSTALL_ROOT=/systemd/var/tmp/portage/dev-qt/qtwebengine-5.15.2/image install [...] /usr/lib64/qt5/bin/qmake -install qinstall /systemd/var/tmp/portage/dev-qt/qtwebengine-5.15.2/work/qtwebengine-everywhere-src-5.15.2_build/src/webenginewidgets/qtwebenginewidgets-config.h /systemd/var/tmp/portage/dev-qt/qtwebengine-5.15.2/image/systemd/usr/include/qt5/QtWebEngineWidgets/qtwebenginewidgets-config.h make[2]: Leaving directory '/systemd/var/tmp/portage/dev-qt/qtwebengine-5.15.2/work/qtwebengine-everywhere-src-5.15.2_build/src/webenginewidgets' cd plugins/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake -o Makefile /systemd/var/tmp/portage/dev-qt/qtwebengine-5.15.2/work/qtwebengine-everywhere-src-5.15.2/src/plugins/plugins.pro CONFIG+=release CONFIG-=debug 'QMAKE_AR=x86_64-pc-linux-gnu-ar cqs' 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 -march=native -mtune=native -fstack-protector-strong -fomit-frame-pointer -pipe' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-O2 -march=native -mtune=native -fstack-protector-strong -fomit-frame-pointer -pipe' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= ) && make -f Makefile install make[2]: Entering directory '/systemd/var/tmp/portage/dev-qt/qtwebengine-5.15.2/work/qtwebengine-everywhere-src-5.15.2_build/src/plugins' make[2]: Nothing to be done for 'install'. make[2]: Leaving directory '/systemd/var/tmp/portage/dev-qt/qtwebengine-5.15.2/work/qtwebengine-everywhere-src-5.15.2_build/src/plugins' make[1]: Leaving directory '/systemd/var/tmp/portage/dev-qt/qtwebengine-5.15.2/work/qtwebengine-everywhere-src-5.15.2_build/src' * ERROR: dev-qt/qtwebengine-5.15.2::gentoo failed (install phase): * dev-qt/qtwebengine-5.15.2 failed to build anything. Please report to https://bugs.gentoo.org/ * * Call stack: * ebuild.sh, line 125: Called src_install * environment, line 3234: Called die * The specific snippet of code: * die "${CATEGORY}/${PF} failed to build anything. Please report to https://bugs.gentoo.org/"; * * If you need support, post the output of `emerge --info '=dev-qt/qtwebengine-5.15.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-qt/qtwebengine-5.15.2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-qt:qtwebengine-5.15.2:20210302-022414.log'. * For convenience, a symlink to the build log is located at '/systemd/var/tmp/portage/dev-qt/qtwebengine-5.15.2/temp/build.log'. * The ebuild environment file is located at '/systemd/var/tmp/portage/dev-qt/qtwebengine-5.15.2/temp/environment'. * Working directory: '/systemd/var/tmp/portage/dev-qt/qtwebengine-5.15.2/work/qtwebengine-everywhere-src-5.15.2' * S: '/systemd/var/tmp/portage/dev-qt/qtwebengine-5.15.2/work/qtwebengine-everywhere-src-5.15.2' Expected Results: chroot into /systemd before building shouldn't be necessary for successful install phase!
Not a Qt bug.