Bug#952593: FTBFS in buster: liblocale-codes-perl package required for building /english/doc/devel-manuals

Laura Arjona Reina <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <ef6411b8-2ac3-4fef-b7d3-0b7c4977a599__47963.7893776939$1582727607$gmane$org@debian.org>
Package: www.debian.org
Severity: normal
User: [email protected]
Usertags: scripts

Hi,

I have tried to build /english/doc/devel-manuals in a buster machine and got
this error:

wml -q -D CUR_YEAR=2020 -o UNDEFuEN:devel-manuals.en.html@g+w   devel-manuals.wml
ePerl:Error: Perl runtime error (interpreter rc=0)

---- Contents of STDERR channel: ---------
Locale::Codes will be removed from the Perl core distribution in the next major
release. Please install the separate liblocale-codes-perl package. It is being
used at /usr/share/perl/5.28/Locale/Language.pm, line 22.
------------------------------------------
** WML:Break: Error in Pass 3 (rc=1).
Died at /usr/share/wml/TheWML/Frontends/Wml/Runner.pm line 403.

TheWML::Frontends::Wml::Runner::_run_pass(TheWML::Frontends::Wml::Runner=HASH(0x5648034e0458),
3, SCALAR(0x564803a629a0), SCALAR(0x564803a62970), SCALAR(0x564803a62988))
called at /usr/share/wml/TheWML/Frontends/Wml/Runner.pm line 441

TheWML::Frontends::Wml::Runner::_passes_loop(TheWML::Frontends::Wml::Runner=HASH(0x5648034e0458))
called at /usr/share/wml/TheWML/Frontends/Wml/Runner.pm line 726

TheWML::Frontends::Wml::Runner::_output_and_cleanup(TheWML::Frontends::Wml::Runner=HASH(0x5648034e0458))
called at /usr/share/wml/TheWML/Frontends/Wml/Runner.pm line 930

TheWML::Frontends::Wml::Runner::run_with_ARGV(TheWML::Frontends::Wml::Runner=HASH(0x5648034e0458),
HASH(0x5648036c0c50)) called at /usr/bin/wml line 47
make: *** [../../Makefile.common:123: devel-manuals.en.html] Error 2

Installing liblocale-codes-perl solved the issue for me.

I have checked
https://salsa.debian.org/dsa-team/mirror/debian.org/blob/master/debian/control
and I cannot see such package in the recipe for www-master.
I have checked the www-master machine (wolkenstein.debian.org) and it's not
installed there (but that machine is running Debian 9 stretch currently).

I'm not sure if the package will be installed automatically with the upgrade to
buster, or in a clean install as a dependency of other Perl package that is in
the recipe in debian/control.

Just opening this bug to not forget to check after the upgrade if it's needed to
install manually and thus update the debian/control recipe.

Kind regards,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.