Bug 447121 - Setup of kdesrc-build on openSUSE Leap 15.3 does not work
Summary: Setup of kdesrc-build on openSUSE Leap 15.3 does not work
Status: RESOLVED DUPLICATE of bug 420521
Alias: None
Product: kdesrc-build
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-17 10:48 UTC by JStrebel
Modified: 2023-12-21 15:04 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JStrebel 2021-12-17 10:48:51 UTC
SUMMARY
***
I tried to execute the commands on the tutorial https://community.kde.org/Get_Involved/development#One-time_setup:_your_development_environment to set up my KDE development environment on my openSUSE Leap 15.3 Linux box. When running ./kdesrc-build --initial-setup, I receive the error message:

pkgconfig(libattr)' wurde in den Paketnamen nicht gefunden. Fähigkeiten werden durchsucht. Keine Anbieter von pkgconfig(libattr)' gefunden.  
* Ran into an error with the installer!  
* You already have a configuration file: ~/.kdesrc-buildrc  
* Update your ~/.bashrc? (y/N) N

So it cannot resolve the dependency on libattr. And the tool skips the rest of the package checks, so I think I am missing some dependencies. It does not build anything. I tried to find libattr myself, but no chance.
***

STEPS TO REPRODUCE
1. open Konsole and create a root shell
2. execute the steps in the tutorial:
mkdir -p ~/kde/src
cd ~/kde/src/
git clone https://invent.kde.org/sdk/kdesrc-build.git && cd kdesrc-build
./kdesrc-build --initial-setup


OBSERVED RESULT
See error message above in the summary

EXPECTED RESULT
kdesrc-build --initial-setup retrieves / installs all dependencies.
My Linux configuration is standard and all update processes usually work.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: openSUSE LEAP 15.3, fully updated.
(available in About System)
KDE Plasma Version: 5.18.6
KDE Frameworks Version: 5.76.0
Qt Version: 5.12.7

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-12-17 19:12:41 UTC
You already filed this at https://invent.kde.org/sdk/kdesrc-build/-/issues/88; no need for two.

Side note:

> open Konsole and create a root shell
Don't do that. It's not necessary for this process and will introduce issues.
Comment 2 JStrebel 2021-12-18 07:21:31 UTC
I closed the defect https://invent.kde.org/sdk/kdesrc-build/-/issues/88 on the issue tracker, so this bug will only live here.

I gave a wrong summary - I don't open a root shell in step #1, I am just using a regular shell, but I get asked for my sudo password. Maybe that's why I wrote about that root shell.
Here are my steps:

1. open regular Konsole window
2. cd ~/kde/src/kdesrc-build
3. ./kdesrc-build --initial-setup

Error message is the same as in the summary.
In parallel, I started the rest of the tutorial and I can build the helloworld program just fine, so I don't have general issue with KDE libraries.
Comment 3 Andrew Shark 2023-12-21 15:04:54 UTC
*** This bug has been marked as a duplicate of bug 420521 ***