Bug 403171 - kdesrc-build cant run any command
Summary: kdesrc-build cant run any command
Status: RESOLVED FIXED
Alias: None
Product: kdesrc-build
Classification: Developer tools
Component: project metadata (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR critical
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
: 403177 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-01-13 12:28 UTC by Gaurav Pant
Modified: 2019-01-20 00:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Attachment showing encountered error (132.03 KB, image/png)
2019-01-13 12:28 UTC, Gaurav Pant
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gaurav Pant 2019-01-13 12:28:37 UTC
Created attachment 117439 [details]
Attachment showing encountered error

SUMMARY

Encountered an error in the execution of the script.
The error reported was Called unknown method ksb::test::inspect at /home/gaurav-pant/kde
 at /home/gaurav-pant/kde/kdesrc-build/modules/ksb/Debug.pm line 203.
        ksb::test::AUTOLOAD("log_command", "kde-build-metadata", "git-clone", ARRAY(0x55
        ksb::Util::log_command(ksb::Module=HASH(0x55919ce6a240), "git-clone", ARRAY(0x55
        ksb::Updater::Git::_clone(ksb::Updater::KDEProjectMetadata=HASH(0x55919cf933f8),
        ksb::Updater::Git::updateCheckout(ksb::Updater::KDEProjectMetadata=HASH(0x55919c
        ksb::Updater::Git::updateInternal(ksb::Updater::KDEProjectMetadata=HASH(0x55919c
        eval {...} called at /home/gaurav-pant/kde/kdesrc-build/modules/ksb/Application.
        ksb::Application::_downloadKDEProjectMetadata(ksb::Application=HASH(0x55919c98ac
        ksb::Application::generateModuleList(ksb::Application=HASH(0x55919c98acf0)) call
        ksb::Application::new("ksb::Application") called at /home/gaurav-pant/kde/kdesrc
        eval {...} called at /home/gaurav-pant/kde/kdesrc-build/kdesrc-build line 363
 at /home/gaurav-pant/kde/kdesrc-build/modules/ksb/Application.pm line 556.
        ksb::Application::_downloadKDEProjectMetadata(ksb::Application=HASH(0x55919c98ac
        ksb::Application::generateModuleList(ksb::Application=HASH(0x55919c98acf0)) call
        ksb::Application::new("ksb::Application") called at /home/gaurav-pant/kde/kdesrc
        eval {...} called at /home/gaurav-pant/kde/kdesrc-build/kdesrc-build line 363

STEPS TO REPRODUCE
1. Remove any previous versions of kdesrc-build if you have any
2. Clone using git clone git://anongit.kde.org/kdesrc-build
3. Do the initial setup using ./kdesrc-build-setup
4. Try running kdesrc-build --metadata-only, encounters error
5. All commands produce similar error

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Michael Pyne 2019-01-20 00:49:57 UTC
Thank you for the report. This bug was fixed shortly after it was introduced.

However since kdesrc-build will not be able to update itself when it can't start, you may have to go to the kdesrc-build directory and manually run "git pull".
Comment 2 Michael Pyne 2019-01-20 00:52:17 UTC
*** Bug 403177 has been marked as a duplicate of this bug. ***