Bug 411595 - kdesrc-build l10n crashes
Summary: kdesrc-build l10n crashes
Status: RESOLVED FIXED
Alias: None
Product: kdesrc-build
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-04 16:46 UTC by David Edmundson
Modified: 2023-09-01 16:18 UTC (History)
2 users (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 David Edmundson 2019-09-04 16:46:07 UTC
2kdesrc-build l10n    "
fails with output:


Encountered an error in the execution of the script.
The error reported was Can't locate object method "setScmType" via package "snapshots" (perhaps you forgot to load "snapshots"?) at /opt/kde5/share/kdesrc-build/modules/ksb/ModuleResolver.pm line 249.
 at /opt/kde5/share/kdesrc-build/modules/ksb/ModuleResolver.pm line 249.
        ksb::ModuleResolver::_resolveSingleSelector(ksb::ModuleResolver=HASH(0x5628cdd177f0), "l10n") called at /opt/kde5/share/kdesrc-build/modules/ksb/ModuleResolver.pm line 356
        ksb::ModuleResolver::resolveSelectorsIntoModules(ksb::ModuleResolver=HASH(0x5628cdd177f0), "l10n") called at /opt/kde5/share/kdesrc-build/modules/ksb/Application.pm line 509
        ksb::Application::generateModuleList(ksb::Application=HASH(0x5628cd721228), "l10n") called at /opt/kde5/share/kdesrc-build/modules/ksb/Application.pm line 69
        ksb::Application::new("ksb::Application", "l10n") called at /opt/kde5/bin/kdesrc-build line 364
        eval {...} called at /opt/kde5/bin/kdesrc-build line 363

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



As I understand from the code it should build and install translations.

Note that I suspect that will fail later as _expandl10nModules explicitly references kde4
Comment 1 Michael Pyne 2019-11-09 22:28:37 UTC
Well, it's supposed to build and install translations but on the other hand I've not used that myself in years and you're the first to mention it one way or the other.

It shouldn't be far off as long as the l10n-kde4 stuff hasn't changed much in the meantime.

I'm trying to remember why 'snapshots' would have made its way into the module list (what this part of the codebase is complaining about). I remember l10n-kde4 had a '/scripts' directory that had required special handling but I don't remember a 'snapshots' dir...
Comment 2 Andrew Shark 2023-09-01 16:18:20 UTC
There is no l10n project in kdesrc-build. Also, the translations are already moved to the project repositories.