File "/usr/lib/python3.9/subprocess.py", line 951, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.9/subprocess.py", line 1821, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'qmake' make[2]: *** [src/qt_gui_cpp_sip/CMakeFiles/libqt_gui_cpp_sip.dir/build.make:103: sip/qt_gui_cpp_sip/Makefile] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-ros/qt_gui_cpp-0.4.2-r1/work/qt_gui_cpp-0.4.2_build' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma_systemd-j4-20220410-172600 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.1 [2] x86_64-pc-linux-gnu-11.2.1 * clang/llvm (if any): /usr/lib/llvm/14 14.0.0 Python 3.9.12 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.60.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11] 2) Eclipse Temurin JRE 11.0.14_p9 [openjdk-jre-bin-11] 3) Eclipse Temurin JRE 8.322_p06 [openjdk-jre-bin-8] Available Java Virtual Machines: [1] openjdk-bin-11 system-vm [2] openjdk-jre-bin-8 [3] openjdk-jre-bin-11 The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: [1] php7.4 [2] php8.0 [3] php8.1 * HEAD of ::gentoo commit f49de6bbc82391c5f531d0c2843bc4a7a1ba7c00 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Apr 14 23:19:21 2022 +0000 2022-04-14 23:19:19 UTC emerge -qpvO dev-ros/qt_gui_cpp [ebuild N ] dev-ros/qt_gui_cpp-0.4.2-r1 USE="-test" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10"
Created attachment 770810 [details] emerge-info.txt
Created attachment 770813 [details] dev-ros:qt_gui_cpp-0.4.2-r1:20220415-000111.log
Created attachment 770816 [details] emerge-history.txt.bz2
Created attachment 770819 [details] environment
Created attachment 770822 [details] etc.portage.tar.bz2
Created attachment 770825 [details] logs.tar.bz2
Created attachment 770828 [details] temp.tar.bz2
In my system "qmake" is "qmake5". That solved the problem for me.
The correct fix is for the ebuild to use qmake-utils.eclass to inject the path to the qmake binary into the build system, rather than depending on PATH.
*** This bug has been marked as a duplicate of bug 872839 ***