Created attachment 790424 [details] build.log Fails to emerge with the following error: -- No executable found. Can't check QT_INSTALL_PREFIX CMake Error at /usr/share/ECM/modules/ECMQueryQt.cmake:84 (message): No executable found. Can't check QT_INSTALL_PLUGINS as required Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs5.cmake:249 (ecm_query_qt) /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include) CMakeLists.txt:14 (include) Same error when trying to build kcoreaddons-5.92.0
Created attachment 790427 [details] CMakeOutput.log
Created attachment 790430 [details] emerge --info
Anything special about your system, filesystem layout etc. we should know about? Possibly caused by https://invent.kde.org/frameworks/extra-cmake-modules/-/commit/01f41fe327e66872a5182db1bbbace805e07df40 but it works fine for my systems. When you tried kcoreaddons-5.92, had you also downgraded to extra-cmake-modules-5.92 before? If not, please try again.
ping
(In reply to Andreas Sturmlechner from comment #3) > Anything special about your system, filesystem layout etc. we should know > about? > > Possibly caused by > https://invent.kde.org/frameworks/extra-cmake-modules/-/commit/ > 01f41fe327e66872a5182db1bbbace805e07df40 but it works fine for my systems. > > When you tried kcoreaddons-5.92, had you also downgraded to > extra-cmake-modules-5.92 before? If not, please try again. Hello Andreas. Sorry for the delay. That git commit is already present in kde-frameworks/extra-cmake-modules-5.95.0 installed on my system and downgrading it to 5.92.0 and trying to install kcoreaddons 5.92.0 also gives the same error. It was fixed by doing this: export CMAKE_FRAMEWORK_PATH="/usr/lib64/cmake:${CMAKE_FRAMEWORK_PATH}". Is this something related to my system or this envvar should be exported by the ebuild? Thanks for help!
5.92 did not have ECMQueryQt.cmake yet so the error must have looked at least a bit different. What about 5.96, does it still happen? Do you have any content in /usr/local/? Do you have Qt4 and/or Qt6 installed in addition to Qt5? Do you have dev-qt/qtchooser installed? If so, where is /etc/xdg/qtchooser/default.conf pointing at? What is the content of that file? Let's try to get the direct error from Qt5: Please edit /usr/share/ECM/modules/ECMQueryQt.cmake and modify the line at https://invent.kde.org/frameworks/extra-cmake-modules/-/blob/master/modules/ECMQueryQt.cmake#L49 replacing QUIET with REQUIRED. Paste the new resulting cmake error here. This will be reset whenever you re-emerge extra-cmake-modules.
(In reply to Andreas Sturmlechner from comment #6) > 5.92 did not have ECMQueryQt.cmake yet so the error must have looked at > least a bit different. > > What about 5.96, does it still happen? > > Do you have any content in /usr/local/? > > Do you have Qt4 and/or Qt6 installed in addition to Qt5? > > Do you have dev-qt/qtchooser installed? If so, where is > /etc/xdg/qtchooser/default.conf pointing at? What is the content of that > file? > > Let's try to get the direct error from Qt5: Please edit > /usr/share/ECM/modules/ECMQueryQt.cmake and modify the line at > https://invent.kde.org/frameworks/extra-cmake-modules/-/blob/master/modules/ > ECMQueryQt.cmake#L49 replacing QUIET with REQUIRED. Paste the new resulting > cmake error here. This will be reset whenever you re-emerge > extra-cmake-modules. Hi Andreas. Yeah, it happened on 5.96 also, but manually exporting QT-related variables helps me to overcome that problems. But still I think that something is missing and it should emerge without this manual fixes. content of my /usr/local: gbox /home/fletch # tree /usr/local/ /usr/local/ ├── bin ├── crossdev-overlay │ ├── metadata │ │ └── layout.conf │ └── profiles │ └── repo_name ├── lib ├── lib64 ├── portage │ ├── metadata │ │ └── layout.conf │ └── sci-electronics │ ├── librnd │ │ ├── librnd-3.0.2.ebuild │ │ └── Manifest │ └── pcb-rnd │ ├── Manifest │ ├── pcb-rnd-2.3.1.ebuild │ └── pcb-rnd-3.0.2.ebuild ├── sbin └── share └── fonts └── c └── Canaro_SemiBoldItalic.ttf No I don't have QT4 or QT6 No. qtchooser is not emerged. After changing that line to REQUIRED this happens: -- The C compiler identification is GNU 11.3.0 -- The CXX compiler identification is GNU 11.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- CMake Error at /usr/share/ECM/modules/ECMQueryQt.cmake:49 (find_package): By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Core", but CMake did not find one. Could not find a package configuration file provided by "Qt5Core" with any of the following names: Qt5CoreConfig.cmake qt5core-config.cmake Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set "Qt5Core_DIR" to a directory containing one of the above files. If "Qt5Core" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs5.cmake:234 (include) /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include) CMakeLists.txt:14 (include) -- Configuring incomplete, errors occurred! See also "/var/tmp/portage/kde-frameworks/kcoreaddons-5.96.0/work/kcoreaddons-5.96.0_build/CMakeFiles/CMakeOutput.log". * ERROR: kde-frameworks/kcoreaddons-5.96.0::gentoo failed (configure phase):
Created attachment 793442 [details] CMakeOutput.log
(In reply to Maxim Titov from comment #8) > (In reply to Andreas Sturmlechner from comment #6) > > Let's try to get the direct error from Qt5: Please edit > > /usr/share/ECM/modules/ECMQueryQt.cmake and modify the line at > > https://invent.kde.org/frameworks/extra-cmake-modules/-/blob/master/modules/ > > ECMQueryQt.cmake#L49 replacing QUIET with REQUIRED. Paste the new resulting > > cmake error here. This will be reset whenever you re-emerge > > extra-cmake-modules. > > After changing that line to REQUIRED this happens: That confirms it is basically identical to bug 734052. But these are only two bug reports in two years, I am wondering what is the common denominator about both systems affected.
What about 5.96 or 5.98?