Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 838421 - dev-ros/qt_gui_cpp-0.4.2-r1 - FileNotFoundError: [Errno 2] No such file or directory: qmake
Summary: dev-ros/qt_gui_cpp-0.4.2-r1 - FileNotFoundError: [Errno 2] No such file or di...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robot Operating System team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qtbindir
  Show dependency tree
 
Reported: 2022-04-15 07:20 UTC by Toralf Förster
Modified: 2022-05-18 15:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,19.55 KB, text/plain)
2022-04-15 07:20 UTC, Toralf Förster
Details
dev-ros:qt_gui_cpp-0.4.2-r1:20220415-000111.log (dev-ros:qt_gui_cpp-0.4.2-r1:20220415-000111.log,36.78 KB, text/plain)
2022-04-15 07:20 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,76.86 KB, application/x-bzip)
2022-04-15 07:20 UTC, Toralf Förster
Details
environment (environment,131.68 KB, text/plain)
2022-04-15 07:20 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,26.08 KB, application/x-bzip)
2022-04-15 07:20 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.91 KB, application/x-bzip)
2022-04-15 07:20 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,34.06 KB, application/x-bzip)
2022-04-15 07:20 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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.