Hi Laura,
Am 19. November 2024 15:01:27 MEZ schrieb Laura Arjona Reina <larjona@debian.org>:
Hello all
Thanks for helping with dl10n scripts and infrastructure.
Since the last changes in dl10n codebase (I think it's not related to the change in Makefile.PL but I cannot find other changes that could have caused this), our hourly job spiderbts fails with error:
run-parts: /srv/i18n.debian.org/dl10n/git/etc/cron.hourly//spiderbts exited with return code 255
Looking at the log, it says:
Undefined subroutine &Html::html called at /srv/i18n.debian.org//dl10n/git/dl10n-html line 140.
(well, now it says "Undefined subroutine &Debian::L10n::Html::html called at /srv/i18n.debian.org//dl10n/git/dl10n-html line 140." because I changed the line trying to fix the error).
We have the file in dl10n/git/lib/Debian/L10n/Html.pm that includes the subroutine hmtl() and it was working without issues. I think that now Perl in tye.d.o cannot find it but I don't know why, because the cron job (script https://salsa.debian.org/l10n-team/dl10n/-/blob/master/cron/spiderbts?ref_type=heads ) gets the configuration from file dl10n.conf as the other scripts.
I have tried to rename the "html" subroutine to "myhtml" for the case it clashes with some standard Perl module but I get the same error.
Can anybody help?
Maybe disable the 'git pull' in the cron script and revert the git status locally back to say November 14th ?
To verify, it's related to latest changings...