Bug 476287

Summary: kio-extras fails to compile due to missing qcoro-qt6 dependency
Product: [Developer tools] kdesrc-build Reporter: benmordecai
Component: setup wizardAssignee: Michael Pyne <mpyne>
Status: RESOLVED NOT A BUG    
Severity: normal CC: fanzhuyifan
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description benmordecai 2023-10-29 12:01:35 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1.  Follow instructions here: https://community.kde.org/Get_Involved/development/Set_up_a_development_environment
2. Run initial setup script
3. Run `kdesrc-build workspace`

OBSERVED RESULT
kio-extras failed to compile because it was missing `qcoro-qt6`. I had to manually install qcoro-qt6 with pacman. Furthermore, error message suggested using package manager to find missing dependencies, but this does not apply to Arch linux which requires a dedicated PKGBUILD file. 

EXPECTED RESULT
All dependencies to be satisfied running initial setup script.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 6.5.9-arch2-1 (64-bit)
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
Comment 1 fanzhuyifan 2023-10-29 22:10:23 UTC
Currently the Qt6 dependencies are listed in a collapsed list in this section https://community.kde.org/Get_Involved/development/Set_up_a_development_environment#Set_up_Qt
This seems very easy to overlook..
Comment 2 benmordecai 2023-10-30 11:33:29 UTC
Thank you, I did not notice that. I had assumed that it was the job of the initial setup script to pull required dependencies.
Comment 3 benmordecai 2023-10-30 11:38:54 UTC
I have edited the wiki to default the section to expanded rather than collapsed
Comment 4 fanzhuyifan 2023-10-30 17:00:15 UTC
(In reply to benmordecai from comment #3)
> I have edited the wiki to default the section to expanded rather than
> collapsed

Given the transition to Qt6, I guess it makes sense for the script to install all Qt6 dependencies automatically. You could submit a MR to add the missing Qt6 dependencies for Arch Linux.