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

Bug 838421

Summary: dev-ros/qt_gui_cpp-0.4.2-r1 - FileNotFoundError: [Errno 2] No such file or directory: qmake
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Robot Operating System team <ros>
Status: RESOLVED DUPLICATE    
Severity: normal CC: otrocorreoinutil
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-ros:qt_gui_cpp-0.4.2-r1:20220415-000111.log
emerge-history.txt.bz2
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-04-15 07:20:06 UTC
  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"
Comment 1 Toralf Förster gentoo-dev 2022-04-15 07:20:07 UTC
Created attachment 770810 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-15 07:20:08 UTC
Created attachment 770813 [details]
dev-ros:qt_gui_cpp-0.4.2-r1:20220415-000111.log
Comment 3 Toralf Förster gentoo-dev 2022-04-15 07:20:10 UTC
Created attachment 770816 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-04-15 07:20:11 UTC
Created attachment 770819 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-04-15 07:20:12 UTC
Created attachment 770822 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-15 07:20:13 UTC
Created attachment 770825 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-15 07:20:14 UTC
Created attachment 770828 [details]
temp.tar.bz2
Comment 8 otrocorreoinutil 2022-05-17 08:45:01 UTC
In my system "qmake" is "qmake5". That solved the problem for me.
Comment 9 Andreas Sturmlechner gentoo-dev 2022-05-18 15:09:20 UTC
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.
Comment 10 Andreas Sturmlechner gentoo-dev 2022-10-16 15:20:03 UTC

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