Created attachment 117300 [details] Shows the error message when running the command. SUMMARY --initial-setup does not install the necessary packages for kdesrc-build to work. STEPS TO REPRODUCE 1. git clone kde:kdesrc-build 2. kdesrc-build --initial-setup Steps where found on the get involved page at https://community.kde.org/Get_Involved/development. OBSERVED RESULT The dependencies for kdesrc-build to function properly are not installed and as a result kdesrc-build does not work. EXPECTED RESULT The dependencies for kdesrc-build to be installed so that kdesrc-build can work properly. SOFTWARE/OS VERSIONS Windows: MacOS: Linux/KDE Plasma: Debian 9.6 (available in About System) KDE Plasma Version: 5.8.6 KDE Frameworks Version: 5.28.0 Qt Version: 5.7.1 ADDITIONAL INFORMATION I read through and followed the instructions on the get involved page on the KDE website to setup the get involved page. I would like to have it so that by following the instructions on the page one can setup a development environment.
I've made an initial commit that adds the installer command for Debian-based distros that is needed to install a basic set of packages needed to at least allow kdesrc-build to successfully run --initial-setup, as tested under a Docker image of debian 9. This will still miss the dependencies required to fully make it through any kind of reasonable KDE software build. In particular even if I included the list of Qt modules that Debian 9 stable has available, they are too old for current git-based applications. But other modules are probably needed and still missing (suggestions accepted! :). So there's still more to do here, which is why the bug remains open. See issue #15
Reported also on Fedora 29.
Bumping priority since we also have a report of this on Fedora 29 with Qt 5.11.3, so for this one the problem is probably not that the System's Qt is too old.
Right, the Qt would be fine but there is no existing support in kdesrc-build for Fedora package installer and package list until someone adds it. Guess I'll do that too.
Current kdesrc-build master should work with Fedora 29 with only one added manual step. Fedora doesn't include any Perl version at all in the base Docker image, not even the broken ones other distros include, so you'll need to run "dnf install perl" manually before "kdesrc-build --initial-setup" would work.
Thanks Michael! I've updated https://community.kde.org/Get_Involved/development accordingly. Fedora support was added in https://cgit.kde.org/kdesrc-build.git/commit/?id=34cef6ec14ddbc6c169a8de5c29bab4c35d1f81c
Debian 9 is EOL now. Currently the Debian and Fedora support is presented.
Git commit a5d286145e9b9374b5e9c6ec6045de1e58f812e9 by Michael Pyne. Committed on 06/01/2019 at 02:39. Pushed by ashark into branch 'no-ff-recreate'. first-run: Add basic installer and packages for Debian distros. This adds the installer to allow Debian-based distros to run and a basic set of packages needed to at least allow kdesrc-build to successfully run --initial-setup, as tested under a Docker image of debian 9. This will still miss the dependencies required to fully make it through any kind of reasonable KDE software build. In particular even if I included the list of Qt modules that Debian 9 stable has available, they are too old for current git-based applications. But other modules are probably needed and still missing (suggestions accepted! :). So there's still more to do here, which is why the bug remains open. See issue #15 Original commit: 845e9da4 https://invent.kde.org/sdk/kdesrc-build/-/commit/845e9da4ac262e14161bb777449d85972cfe6103 M +3 -1 distro-dependencies/debian.ini https://invent.kde.org/sysadmin/repo-metadata/-/commit/a5d286145e9b9374b5e9c6ec6045de1e58f812e9