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?

(The scripts in tye.d.o run based on git, not on the package. A daily jobs makes a "git pull". If you need me to do any test just tell, I am in debian-i18n group).

Kind regards,

--
Laura Arjona Reina
https://wiki.debian.org/LauraArjona


El 16/11/24 a las 18:01, Holger Wansing via Debian-l10n-devel escribió:
Hi,

Am 16. November 2024 16:46:48 MEZ schrieb Andreas Tille <ti...@debian.org>:
Control: tags -1 pending
Thanks.

The problem is that Makefile.PL wrongly limits the directory from
which modules are to be installed. Removing the PMLIBDIRS line brings
Cool, thanks a lot, pushed that patch to Git.

Now hoping for some confirmation from L10n team to upload the package
which I do not really want to do without any response.
Please note, the purpose of this script mostly is, to be executed on tye,
to create Debian's l10n statistics found under
<https://www.debian.org/international/l10n/>

That script is running every second day, and it works fine currently.
(There some issues some time ago, but they were solved, and it's
running fine now.)

I seem to remember, that there is some sort of locally installed
version of DebSrc.pm on tye, what makes the script running fine.


However, on the next run, it will git pull the latest change for
dl10n-check from git repo, so let's see, if it's broken now :-D


Holger





Reply via email to