• webwml failed (/portuguese/vote folder)

    From Laura Arjona Reina@21:1/5 to All on Fri Jun 4 12:50:02 2021
    XPost: linux.debian.www

    Dear Portuguese team
    Thanks for your contributions to translations of the website!
    We're getting some build failures due to missing files in /portuguese/vote folder (see email below).

    I suggest committing the translations when all the files of a certain vote are ready, so it builds correctly. You can test if the build would work in your local clone, going to /portuguese/vote and writing in a terminal window:

    make

    Then the build system will try to generate the html files of the /vote folder and subfolders, and you can see if the output is good or there's something to fix.

    Other option is to commit the wml file changing the "includes" to point to the English files, and then changing the references when all the files are ready and committed, as Holger and Paulo did and explained in this email thread:
    https://lists.debian.org/debian-www/2021/06/msg00007.html (and follow-ups).

    Thanks!

    Kind regards,
    Laura Arjona Reina
    https://wiki.debian.org/LauraArjona


    -------- Mensaje reenviado --------
    Asunto: webwml failed
    Fecha: Fri, 04 Jun 2021 09:48:40 +0000
    De: Debian Webmaster <webmaster@debian.org>
    Para: webwml-monitor@www-master.debian.org

    [...]
    make -C 2019 install
    make[3]: Entering directory '/srv/www.debian.org/webwml/portuguese/vote/2019' wml -q -D CUR_YEAR=2021 -o UNDEFuPT:vote_001.pt.html@g+w vote_001.wml
    ** WML:Error: file not found: 2019/vote_001_results.src
    make[3]: *** [/srv/www.debian.org/webwml/english/vote/2019/Makefile:18: vote_001.pt.html] Error 1
    make[3]: Leaving directory '/srv/www.debian.org/webwml/portuguese/vote/2019' make[2]: [../../Makefile.common:84: 2019-install] Error 2 (ignored)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paulo Henrique de Lima Santana@21:1/5 to All on Fri Jun 4 15:30:02 2021
    XPost: linux.debian.www

    Hi Laura,

    Em 04/06/2021 07:42, Laura Arjona Reina escreveu:
    Dear Portuguese team
    Thanks for your contributions to translations of the website!
    We're getting some build failures due to missing files in /portuguese/vote folder (see email below).
    [...]
    make -C 2019 install
    make[3]: Entering directory '/srv/www.debian.org/webwml/portuguese/vote/2019' wml -q -D CUR_YEAR=2021 -o UNDEFuPT:vote_001.pt.html@g+w vote_001.wml
    ** WML:Error: file not found: 2019/vote_001_results.src
    make[3]: *** [/srv/www.debian.org/webwml/english/vote/2019/Makefile:18: vote_001.pt.html] Error 1
    make[3]: Leaving directory '/srv/www.debian.org/webwml/portuguese/vote/2019' make[2]: [../../Makefile.common:84: 2019-install] Error 2 (ignored)

    Thanks.

    The file vote_001_results.src was there since 2 days ago. The issue was
    I didin't remove the "2019" path (2019/vote_001_results.src) when I
    fixed the include on vote_001.wml file yesterday.

    best regards,

    --
    Paulo Henrique de Lima Santana (phls)
    Curitiba - Brasil
    Debian Developer
    Diretor do Instituto para Conservação de Tecnologias Livres
    Site: http://phls.com.br
    GNU/Linux user: 228719 GPG ID: 0443C450

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)