Bug 492089 - kdesrc-build fail with exitcode 99
Summary: kdesrc-build fail with exitcode 99
Status: RESOLVED UPSTREAM
Alias: None
Product: kdesrc-build
Classification: Developer tools
Component: general (show other bugs)
Version: Git
Platform: Other Linux
: NOR critical
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-23 15:21 UTC by Petr Matousu
Modified: 2024-09-08 14:14 UTC (History)
0 users

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 Petr Matousu 2024-08-23 15:21:05 UTC
SUMMARY
I am on SLES 15SP5.
Having perl-base version 5.26.1 .
Having kdesrc-build symlinked into $HOME/bin directory

STEPS TO REPRODUCE
1.  in terminal
2. type kdesrc-build, hit enter

OBSERVED RESULT
Encountered an error in the execution of the script.
--> Error in option spec: "ignore-modules|!=s{,}"
 at /usr/lib/perl5/5.26.1/Getopt/Long.pm line 478.
        Getopt::Long::GetOptionsFromArray(ARRAY(0x55affb220720), HASH(0x55affb1995a8), "dependency-tree", "dependency-tree-fullpath", "help|h", "list-installed", "no-metadata|M", "query=s", ...) called at /home/petrm/Documents/build/kde/kdesrc-build/modules/ksb/Cmdline.pm line 279
        ksb::Cmdline::readCommandLineOptionsAndSelectors("--help") called at /home/petrm/Documents/build/kde/kdesrc-build/modules/ksb/Application.pm line 246
        ksb::Application::generateModuleList(ksb::Application=HASH(0x55affb5d3fb0), "--help") called at /home/petrm/Documents/build/kde/kdesrc-build/modules/ksb/Application.pm line 85
        ksb::Application::new("ksb::Application", "--help") called at /home/petrm/.local/bin/kdesrc-build line 204
        eval {...} called at /home/petrm/.local/bin/kdesrc-build line 203

Please submit a bug against kdesrc-build on https://bugs.kde.org/


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux SLES 15SP5
perl-base version 5.26.1 .
Comment 1 Dominik Haumann 2024-09-08 14:14:00 UTC
I had the same issue on Leap 15.5. You can fix it by upgrading perl. You can use https://download.opensuse.org/repositories/devel:/languages:/perl/ to do so. I'll close this issue, since this is fixed with newer perl versions, and there likely will be no one else to look into this issue.