Bug 402901 - kdesrc-build --initial-setup reports "* No installer for linux!" when executing the command on Debian 9 stable
Summary: kdesrc-build --initial-setup reports "* No installer for linux!" when executi...
Status: RESOLVED FIXED
Alias: None
Product: KDE Config Driver Manager
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: VHI critical
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-05 18:06 UTC by Tauheed Elahee
Modified: 2024-04-13 09:46 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Shows the error message when running the command. (52.04 KB, image/png)
2019-01-05 18:06 UTC, Tauheed Elahee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tauheed Elahee 2019-01-05 18:06:00 UTC
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.
Comment 1 Michael Pyne 2019-01-06 15:32:00 UTC
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
Comment 2 Luigi Toscano 2019-01-24 18:19:23 UTC
Reported also on Fedora 29.
Comment 3 Nate Graham 2019-01-30 19:26:57 UTC
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.
Comment 4 Michael Pyne 2019-02-09 01:41:34 UTC
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.
Comment 5 Michael Pyne 2019-02-09 03:18:20 UTC
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.
Comment 6 Nate Graham 2019-02-10 17:58:05 UTC
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
Comment 7 Andrew Shark 2023-12-21 12:54:02 UTC
Debian 9 is EOL now.
Currently the Debian and Fedora support is presented.
Comment 8 Michael Pyne 2024-04-13 09:46:08 UTC
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