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 .
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.