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
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.
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.
*** This bug has been marked as a duplicate of bug 420521 ***