Dear debian-www list, I was monitoring current website rebuild log [1] and noticed many errors like this: ========================================== make -C 2002 install make[5]: Entering directory '/srv/www.debian.org/webwml/ english/devel/debian-med/News/2002' [...] wml -q -D CUR_YEAR=2018 -o UNDEFuEN:20020528.en.html@g+w 20020528.wml ePerl:Error: Perl parsing error (interpreter rc=2) ---- Contents of STDERR channel: --------- Can't locate Local/VCS.pm in @INC (you may need to install the Local::VCS module) (@INC contains: ../../../../Perl ./../../Perl ../../Perl ../Perl Perl /usr/lib/wml/perl/lib / usr/lib/wml/perl/lib/x86_64-linux-gnu-thread-multi /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/ perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/ perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/ 5.24 /usr/local/lib/site_perl) at /tmp/wml.n8LYVj/wml. 22229.tmp1.wml line 1975. BEGIN failed--compilation aborted at /tmp/wml.n8LYVj/wml. 22229.tmp1.wml line 1975. ------------------------------------------ ** WML:Break: Error in Pass 3 (rc=1). Makefile:17: recipe for target '20020528.en.html' failed make[5]: *** [20020528.en.html] Error 1 make[5]: Leaving directory '/srv/www.debian.org/webwml/ english/devel/debian-med/News/2002' ./../../../Makefile.common:71: recipe for target '2002- install' failed make[4]: [2002-install] Error 2 (ignored) =============================================== It seems that the problem is caused by an incomplete fix committed as ed4a6cc2378cdf3d589ca8c95ca534c4504c48e8 in english/template/debian/translation-check.wml: https://salsa.debian.org/webmaster-team/webwml/commit/ ed4a6cc2378cdf3d589ca8c95ca534c4504c48e8#c146cd51b09e4b1b937a505fb5edf01278a497f3_55_62 ================================ # Grotty, but it works... use lib "Perl"; use lib "../Perl"; use lib "../../Perl"; use lib "../../../Perl"; use lib "../../../../Perl"; use Local::VCS ':all'; ================================ ..and 4 layers are obviously not enough for some deep directories. I'm not really familiar in Perl but there might be some better solutions than adding more layers of "use lib". -- Regards, Boyuan Yang [1] https://www-master.debian.org/build-logs/webwml/ wml_run.log
Attachment:
signature.asc
Description: This is a digitally signed message part.