Bug 407535 - kdesrc-build-metadata encounters an error and prevents the building of any application
Summary: kdesrc-build-metadata encounters an error and prevents the building of any ap...
Status: RESOLVED NOT A BUG
Alias: None
Product: kdesrc-build
Classification: Developer tools
Component: project metadata (show other bugs)
Version: Git
Platform: Neon Linux
: NOR major
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-14 19:22 UTC by Tauheed Elahee
Modified: 2019-05-20 23:08 UTC (History)
1 user (show)

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


Attachments
The full error when excecuting kdesrc-build --metadata-only (164.86 KB, image/png)
2019-05-14 19:22 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-05-14 19:22:45 UTC
Created attachment 120066 [details]
The full error when excecuting kdesrc-build --metadata-only

SUMMARY
Installed KDE neon developer edition.
Followed steps found at the development page (https://community.kde.org/Get_Involved/development).
Encountered an error when trying to build applications.

STEPS TO REPRODUCE
1. setup kdesrc-build (instructions at the get involved developmer page)
2. kdesrc-build --metadata-only
3. kdesrc-build dolphin --include-dependencies (outputs the same error as step 2)

OBSERVED RESULT
Encountered an error in the execution of the script.

Permission denied at /home/kde-developer/kde/src/kdesrc-build/modules/ksb/Util.pm line 152.

Full error shown in the attached screenshot.

EXPECTED RESULT
Build dolphin

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE neon developer edition (lnix kernel Version 4.18.0-18-generic)
(available in About System)
KDE Plasma Version: 5.15.80
KDE Frameworks Version: 5.58.0
Qt Version: 5.12.0

ADDITIONAL INFORMATION
Used both kdesrc-build --initial-setup found on get involved developer page (https://community.kde.org/Get_Involved/development) and kdesrc-build-setup found on gitlab (https://invent.kde.org/kde/kdesrc-build). Same result happened when executing step #2.

kdesrc-build version: kdesrc-build 18.10 (v18.10-71-g74d70de)
Comment 1 Nate Graham 2019-05-20 23:08:31 UTC
This appears to be a local error on your machine. It's trying to create /home/kde-developer/kde/src/log and failing because it doesn't have permission to do so. You should make sure that your current user account (or the one you're using to run kdesrc-build) has full write permission to /home/kde-developer/kde and all sub-folders.