Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828100 - dev-qt/qt{concurrent,core,dbus,gui,network,opengl,printsupport,sql,test,widgets,xml}: ./configure: missing BDEPEND on which(1) (aka You don't seem to have 'make' or 'gmake' in your PATH.)
Summary: dev-qt/qt{concurrent,core,dbus,gui,network,opengl,printsupport,sql,test,widge...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard: fixed in 5.15.5
Keywords: PullRequest
: 844106 844172 846980 (view as bug list)
Depends on: qt-5.15.5-stable
Blocks: which-hunt
  Show dependency tree
 
Reported: 2021-12-03 19:03 UTC by Michał Górny
Modified: 2022-07-06 10:32 UTC (History)
4 users (show)

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


Attachments
dev-qt:qtcore-5.15.2-r10:20211203-185804.log (dev-qt:qtcore-5.15.2-r10:20211203-185804.log,4.49 KB, text/plain)
2021-12-03 19:03 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-12-03 19:03:45 UTC
Created attachment 757345 [details]
dev-qt:qtcore-5.15.2-r10:20211203-185804.log

The package fails with totally confusing error message if which(1) is not installed.


>>> Configuring source in /var/tmp/portage/dev-qt/qtcore-5.15.2-r10/work/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd ...
 * Configuring with: -prefix /usr -bindir /usr/lib64/qt5/bin -headerdir /usr/include/qt5 -libdir /usr/lib64 -archdatadir /usr/lib64/qt5 -plugindir /usr/lib64/qt5/plugins -libexecdir /usr/lib64/qt5/libexec -importdir /usr/lib64/qt5/imports -qmldir /usr/lib64/qt5/qml -datadir /usr/share/qt5 -docdir /usr/share/qt5-doc -translationdir /usr/share/qt5/translations -sysconfdir /etc/xdg -examplesdir /usr/share/qt5/examples -testsdir /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 -no-rpath -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 -icu -no-iconv -journald
You don't seem to have 'make' or 'gmake' in your PATH.
Cannot proceed.
Comment 1 Ionen Wolkens gentoo-dev 2021-12-05 05:14:46 UTC
But why would which be missing? Sure it's not posix / type but it's currently in profiles/base/packages (minus windows prefix fwiw)

Did have this thread though, unsure what happened there until more posts:
https://forums.gentoo.org/viewtopic-t-1146061.html
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-12-05 06:05:02 UTC
I guess I've un-based it to find packages that do not depend explicitly on it and finally have it removed from @system.
Comment 3 Andreas Sturmlechner gentoo-dev 2021-12-10 09:22:27 UTC
Is this part of a plan, should we start to bdepend on sys-apps/which then?
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-12-10 10:08:00 UTC
(In reply to Andreas Sturmlechner from comment #3)
> Is this part of a plan, should we start to bdepend on sys-apps/which then?

Given that this is the first issue I've seen for months now, I think that'd be a good idea.  Or even better, convince upstream not to use it :-P.
Comment 5 Andreas Sturmlechner gentoo-dev 2021-12-16 14:56:19 UTC
Upstream is unlikely to touch any of this considering qmake is obsolete in >=Qt6 and not really a problem KDE will be interested to look into, I guess, even if we provide a patch.

Usage/error comes from here:

https://invent.kde.org/qt/qt/qtbase/-/blob/kde/5.15/configure#L43
Comment 6 Andreas Sturmlechner gentoo-dev 2021-12-16 15:39:59 UTC
./configure is run for every QT5_MODULE=qtbase in qt5-build.eclass' qt5_base_configure()
Comment 7 Davide Pesavento (RETIRED) gentoo-dev 2021-12-16 16:04:48 UTC
Don't all packages have an implicit dependency on the @system set? And last time I checked, sys-apps/which was in @system.
Comment 8 Andreas Sturmlechner gentoo-dev 2021-12-16 18:02:12 UTC
It is, but ever so rarely a package is being dropped from @system.

(incidentally, someone in the forums had an issue with which as well recently, but it would not have been fixed by declaring BDEPEND anyway https://forums.gentoo.org/viewtopic-t-1146061.html)
Comment 9 Andreas Sturmlechner gentoo-dev 2022-05-14 10:54:47 UTC
*** Bug 844106 has been marked as a duplicate of this bug. ***
Comment 10 Andreas Sturmlechner gentoo-dev 2022-05-14 10:55:20 UTC
*** Bug 844172 has been marked as a duplicate of this bug. ***
Comment 11 Davide Pesavento (RETIRED) gentoo-dev 2022-05-22 17:38:58 UTC
*** Bug 846980 has been marked as a duplicate of this bug. ***
Comment 12 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-06-10 04:06:32 UTC
Ping.  Could you finally update BDEPEND to stop blocking the effort on this, please?  Already, just sed `which` into `command -v` if upstream insists on making shitty software.
Comment 14 Larry the Git Cow gentoo-dev 2022-06-15 17:20:16 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/qt.git/commit/?id=15f852619ec5b7366fba5780fbdc3b7fd543c387

commit 15f852619ec5b7366fba5780fbdc3b7fd543c387
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-06-14 12:59:33 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-06-14 18:21:17 +0000

    dev-qt: Follow-up remaining QT5_MODULE=qtbase packages w/ patchset
    
    Ends the which-hunt.
    
    Bug: https://bugs.gentoo.org/828100
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtconcurrent/Manifest   | 1 +
 dev-qt/qtdbus/Manifest         | 1 +
 dev-qt/qtnetwork/Manifest      | 1 +
 dev-qt/qtopengl/Manifest       | 1 +
 dev-qt/qtprintsupport/Manifest | 1 +
 dev-qt/qttest/Manifest         | 1 +
 dev-qt/qtwidgets/Manifest      | 1 +
 dev-qt/qtxml/Manifest          | 1 +
 8 files changed, 8 insertions(+)

https://gitweb.gentoo.org/proj/qt.git/commit/?id=599928def81f1bdf6a832e72950244e14f84cc8a

commit 599928def81f1bdf6a832e72950244e14f84cc8a
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-06-14 11:52:55 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-06-14 18:21:17 +0000

    dev-qt/qtgui: Cleanup and make use of gentoo-patchset
    
    Ends the which-hunt.
    
    Bug: https://bugs.gentoo.org/828100
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtgui/Manifest                              |  1 +
 dev-qt/qtgui/files/qt-5.12-gcc-avx2.patch          | 29 -------------
 .../qtgui-5.14.1-cmake-macro-backward-compat.patch | 50 ----------------------
 dev-qt/qtgui/qtgui-5.15.4.9999.ebuild              |  5 ---
 4 files changed, 1 insertion(+), 84 deletions(-)

https://gitweb.gentoo.org/proj/qt.git/commit/?id=f53329f738bfbd9ce93be632a5da4a0bd5767272

commit f53329f738bfbd9ce93be632a5da4a0bd5767272
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-06-14 11:41:24 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-06-14 18:21:17 +0000

    dev-qt/qtcore: Cleanup and make use of gentoo-patchset
    
    Ends the which-hunt.
    
    Bug: https://bugs.gentoo.org/828100
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtcore/Manifest                             |  1 +
 ...qtcore-5.14.1-cmake-macro-backward-compat.patch | 50 ----------------------
 dev-qt/qtcore/files/qtcore-5.15.3-pthread.patch    | 41 ------------------
 dev-qt/qtcore/qtcore-5.15.4.9999.ebuild            |  5 ---
 4 files changed, 1 insertion(+), 96 deletions(-)
Comment 15 Andreas Sturmlechner gentoo-dev 2022-06-15 19:43:32 UTC
Will introduce with Qt 5.15.5, due in a few days.