Bug 472850 - kdesrc-build --initial-setup does not take care of packagekit dependency
Summary: kdesrc-build --initial-setup does not take care of packagekit dependency
Status: RESOLVED FIXED
Alias: None
Product: kdesrc-build
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-31 16:13 UTC by Jannick
Modified: 2023-08-01 15:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jannick 2023-07-31 16:13:02 UTC
SUMMARY
Trying to build packagekit-qt with kdesrc-build fails with an error that org.freedesktop.PackageKit.xml couldn't be found. I fixed this by installing extra/packagekit


STEPS TO REPRODUCE
1. Make sure that packagekit is not installed on your system
2. kdesrc-build --initial-setup
3. kdesrc-build packagekit-qt

OBSERVED RESULT
Build fails with the following error:
ninja: error: '/usr/share/dbus-1/interfaces/org.freedesktop.PackageKit.xml', needed by 'src/daemonproxy.cpp', missing and no known rule to make it

EXPECTED RESULT
Builds successfully, or kdesrc-build --initial-setup gives a helpful message about missing dependencies

SOFTWARE/OS VERSIONS
Archlinux 6.4.7-arch1-1 x86_64
KF6/QT6 branch
Comment 1 Bug Janitor Service 2023-07-31 16:29:55 UTC
A possibly relevant merge request was started @ https://invent.kde.org/sdk/kdesrc-build/-/merge_requests/256
Comment 2 Nate Graham 2023-08-01 15:13:49 UTC
Git commit f4bf297b5dae23d3edf51771472beeffbe30f7f6 by Nate Graham, on behalf of Jannick Kremer.
Committed on 01/08/2023 at 17:13.
Pushed by ngraham into branch 'master'.

Add packagekit to dependencies for initial setup

packagekit is required to build packagekit-qt

@teams/qa

I don't know if there's any order in which the packages are listed, so I just put packagekit close to the QT stuff.
I've googled for the package name in Debian, OpenSUSE and Fedora, but have only actually tested that this is correct under Arch. 

M  +4    -0    modules/ksb/FirstRun.pm

https://invent.kde.org/sdk/kdesrc-build/-/commit/f4bf297b5dae23d3edf51771472beeffbe30f7f6