Bug 400571 - Can't locate ksb/Debug.pm in @INC
Summary: Can't locate ksb/Debug.pm in @INC
Status: RESOLVED FIXED
Alias: None
Product: kdesrc-build
Classification: Developer tools
Component: general (show other bugs)
Version: Git
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-02 03:42 UTC by Andrew Crouthamel
Modified: 2018-11-07 12:52 UTC (History)
1 user (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 Andrew Crouthamel 2018-11-02 03:42:44 UTC
SUMMARY
After following the wiki procedure for installing kdesrc-build via Git, I receive the following error when I attempt to run kdesrc-build on KDE Neon:

Can't locate ksb/Debug.pm in @INC (you may need to install the ksb::Debug module) (@INC contains: /home/andrew/.bin/ /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /home/andrew/.bin/kdesrc-build line 108.


STEPS TO REPRODUCE
1. Install kdesrc-build from Git via the wiki instructions: https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source#kdesrc-build
2. Run kdesrc-build

OBSERVED RESULT
Receive error: Couldn't load the base platform for kdesrc-build!
More detail might be available in error-1256.log

EXPECTED RESULT
kdesrc-build executes properly


SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.14.2
KDE Frameworks Version: 5.51.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION
Comment 1 Andrew Crouthamel 2018-11-05 03:49:12 UTC
More information: 

t runs fine with executed from the source directory:

$ ~/kde/src/kdesrc-build/kdesrc-build frameworks

Works fine.

But if I make a symlink to ~/.bin (which is in my PATH), and try to run:

$ kdesrc-build frameworks

I get the described error.
Comment 2 Michael Pyne 2018-11-07 02:30:26 UTC
I've been away from email for a bit but Dominik Haumann managed to flag me down and have me fix this a few days ago. Apologies for the error, I've at least added this to the small kdesrc-build test suite so it should hopefully not recur.
Comment 3 Andrew Crouthamel 2018-11-07 12:52:52 UTC
(In reply to Michael Pyne from comment #2)
> I've been away from email for a bit but Dominik Haumann managed to flag me
> down and have me fix this a few days ago. Apologies for the error, I've at
> least added this to the small kdesrc-build test suite so it should hopefully
> not recur.

Thanks! I'll give it a test later today.