#990104 Use of uninitialized value in english/international/l10n/scripts/gen-files.pl

#990104#5
Date:
2021-06-20 17:05:11 UTC
From:
To:
Hi all,
looking at the build logs of the website ( https://www-master.debian.org/build-logs/webwml/wml_run.log ) I've found some Perl warnings when building the l10n-related pages:

perl ../../../../english/international/l10n/scripts/gen-files.pl --sort=../../../../english/international/l10n/data/popcon --dist=unstable --l10ndir=../../../../english/international/l10n  --langs --po --podebconf --po4a
Use of uninitialized value in hash element at ../../../../english/international/l10n/scripts/../../../../Perl/Debian/L10n/Db.pm line 264, <DB> line 26457.
[...]
Use of uninitialized value within %LanguageList in concatenation (.) or string at ../../../../english/international/l10n/scripts/gen-files.pl line 331.
[...]

(the "[...]" means a lot (hundreds) of repetitions of the same warning).

I've seen this script is called in these makefiles:

english/international/l10n/po4a/Makefile:39:    perl $(L10N_DIR)/scripts/gen-files.pl --sort=$(SORT_PKGS) --dist=$(DIST) --l10ndir=$(L10N_DIR)  --langs --po --podebconf --po4a

english/international/l10n/po/Makefile:46:      perl $(L10N_DIR)/scripts/gen-files.pl --sort=$(SORT_PKGS) --dist=$(DIST) --l10ndir=$(L10N_DIR)  --langs --po --podebconf --po4a

english/international/l10n/po-debconf/Makefile:52:      perl $(L10N_DIR)/scripts/gen-files.pl --sort=$(SORT_PKGS) --dist=$(DIST) --l10ndir=$(L10N_DIR)  --langs --po --podebconf --po4a

but I don't know how to fix the issue. I'm creating this bug as a request for help.

Kind regards,

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