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

Bug 935365

Summary: kde-apps/akonadi-24.05.1[doc]: Make Error at src/core/cmake_install.cmake:311 (file): file INSTALL cannot find ".../src/core/KPim6AkonadiCore.qch": No such file or directory
Product: Gentoo Linux Reporter: Frank Krömmelbein <kroemmelbein>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED INVALID    
Severity: normal CC: kroemmelbein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=836726
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: akonadi-24.05.1.tar.gz

Description Frank Krömmelbein 2024-07-02 18:27:22 UTC
USE='designer doc kaccounts -mysql postgres -sqlite -tools xml' failed for =kde-apps/akonadi-24.05.1
[ebuild   R   ~] kde-apps/akonadi-24.05.1:6::gentoo  USE="designer* doc* kaccounts postgres* xml -debug -mysql* -sqlite* -test -tools*" 0 KiB


-- Installing: /var/tmp/portage/kde-apps/akonadi-24.05.1/image/usr/share/kf6/akonadi/kcfg2dbus.xsl
CMake Error at src/core/cmake_install.cmake:311 (file):
  file INSTALL cannot find
  "/var/tmp/portage/kde-apps/akonadi-24.05.1/work/akonadi-24.05.1_build/src/core/KPim6AkonadiCore.qch":
  No such file or directory.
Call Stack (most recent call first):
  src/cmake_install.cmake:92 (include)
  cmake_install.cmake:47 (include)


FAILED: CMakeFiles/install.util 
cd /var/tmp/portage/kde-apps/akonadi-24.05.1/work/akonadi-24.05.1_build && /usr/bin/cmake -P cmake_install.cmake
ninja: build stopped: subcommand failed.


Reproducible: Always
Comment 1 Frank Krömmelbein 2024-07-02 18:27:44 UTC
Created attachment 896813 [details]
akonadi-24.05.1.tar.gz
Comment 2 Andreas Sturmlechner gentoo-dev 2024-07-03 08:37:59 UTC
Please check if qhelpgenerator binary works fine on your system.
Comment 3 Frank Krömmelbein 2024-07-03 18:10:08 UTC
You're right, previously dev-qt/qtbase was reemerged with nonsense useflags.
->Resoved
Comment 4 Andreas Sturmlechner gentoo-dev 2024-07-03 18:11:58 UTC
What exactly does that mean? Can you paste what they were? Was it done with --nodeps?
Comment 5 Frank Krömmelbein 2024-07-03 18:30:35 UTC
(In reply to Andreas Sturmlechner from comment #4)
> What exactly does that mean? Can you paste what they were? Was it done with
> --nodeps?

I had previously wrongly emerged qtbase with the same useflags as for akoandi, instead reemerge qtbase with just +postgres.

[ebuild   R    ] dev-qt/qtbase-6.7.1:6/6.7.1::gentoo  USE="X accessibility concurrent cups dbus gtk gui icu libinput libproxy network nls opengl postgres* sql ssl udev vulkan wayland widgets xml (zstd) -brotli -eglfs -evdev -gles2-only -gssapi -mysql* -oci8 -odbc -renderdoc -sctp -sqlite* -test -tslib" 0 KiB
Comment 6 Andreas Sturmlechner gentoo-dev 2024-07-03 18:34:14 UTC
Unless there was a Qt 6.7.1 vs. 6.7.2 version mismatch, these flags are irrelevant. This error is not caused by akonadi itself but by qhelpgenerator somehow bailing out, see also the linked bug, which is part of dev-qt/qttools.
Comment 7 Frank Krömmelbein 2024-07-03 18:47:56 UTC
(In reply to Andreas Sturmlechner from comment #6)
> Unless there was a Qt 6.7.1 vs. 6.7.2 version mismatch, these flags are
> irrelevant. This error is not caused by akonadi itself but by qhelpgenerator
> somehow bailing out, see also the linked bug, which is part of
> dev-qt/qttools.

Ich schreibe es mal schnell ausnahmsweise auf deutsch, da ich gleich weg muss und englisch bei mir länger dauert ;-).
Es gab keinen Qt Versions mix von 6.7.1 mit 6.7.2. Laut emerge.log war auch noch nie eine Qt 6.7.2 Komponente installiert.

Ich konnte aber den akonadi Fehler vorhin mit exakt diesen Useflags für qtbase und akonadi nachstellen. 

qttools war zu diesem Zeitpunkt unverändert:
dev-qt/qttools-6.7.1:6/6.7.1::gentoo  USE="assistant designer linguist opengl qdbus qml vulkan widgets (zstd) -clang -distancefieldgenerator -gles2-only -pixeltool -qdoc -qtattributionsscanner -qtdiag -qtplugininfo" LLVM_SLOT="17 -15 -16 (-18)" 0 KiB