Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2023 22:36:21 +0000
From:      Ceri Davies <ceri@submonkey.net>
To:        Sergio Carlavilla <carlavilla@freebsd.org>
Cc:        Gabriel Dutra <0xdutra@gmail.com>, freebsd-doc@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: Error compiling FreeBSD documentation using hugo 0.111.3
Message-ID:  <0B729210-84D2-41BE-8A31-52949D49EF6C@submonkey.net>
In-Reply-To: <CAFwocyNJTegetRoV7Q6ExqNS%2BN1PxDUiSnYX7N0X_hSenWZFGA@mail.gmail.com>
References:  <CAFwocyNJTegetRoV7Q6ExqNS%2BN1PxDUiSnYX7N0X_hSenWZFGA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 19 Mar 2023, at 19:07, Sergio Carlavilla <carlavilla@freebsd.org> wrote=
:
>=20
> =EF=BB=BFOn Sun, 19 Mar 2023 at 17:47, Gabriel Dutra <0xdutra@gmail.com> w=
rote:
>>=20
>> It works. But, isn't it recommended to build for all languages?
>>=20
>>> Em dom., 19 de mar. de 2023 =C3=A0s 05:41, Sergio Carlavilla <carlavilla=
@freebsd.org> escreveu:
>>>=20
>>> On Sun, 19 Mar 2023 at 07:37, Gabriel Dutra <0xdutra@gmail.com> wrote:
>>>>=20
>>>> Hi,
>>>>=20
>>>> I'm the maintainer of the hugo, I'm trying to update hugo port to 0.111=
.3 but I get an error compiling FreeBSD documentation. How to proceed in the=
se cases, I hope they fix it or can I update the port?
>>>>=20
>>>> Error log
>>>> --------
>>>>=20
>>>> ERROR 2023/03/19 03:20:20 render of "page" failed: "/root/doc/documenta=
tion/themes/beastie/layouts/books/single.html:10:11": execute of template fa=
iled: template: books/single.html:10:11: executing "main" at <partial "menu"=
 .>: error calling partial: partial "menu" timed out after 30s. This is most=
 likely due to infinite recursion. If this is just a slow template, you can t=
ry to increase the 'timeout' config setting.
>>>> ERROR 2023/03/19 03:20:20 render of "page" failed: "/root/doc/documenta=
tion/themes/beastie/layouts/books/single.html:10:11": execute of template fa=
iled: template: books/single.html:10:11: executing "main" at <partial "menu"=
 .>: error calling partial: partial "menu" timed out after 30s. This is most=
 likely due to infinite recursion. If this is just a slow template, you can t=
ry to increase the 'timeout' config setting.
>>>> Error: Error building site: failed to render pages: render of "page" fa=
iled: "/root/doc/documentation/themes/beastie/layouts/books/single.html:10:1=
1": execute of template failed: template: books/single.html:10:11: executing=
 "main" at <partial "menu" .>: error calling partial: partial "menu" timed o=
ut after 30s. This is most likely due to infinite recursion. If this is just=
 a slow template, you can try to increase the 'timeout' config setting.
>>>=20
>>> Hi,
>>>=20
>>> Try with:
>>>=20
>>> make run DOC_LANG=3Den,ko
>=20
> Hi,
>=20
> TBH, if all you want to check is that the FreeBSD documentation
> compiles with the latest version of gohugo, that should be more than
> enough.
>=20
> This happens because the FreeBSD documentation is *very* huge and if
> you are on an older computer there may be timeouts.

Surely if the current port works then it suddenly not working, particularly o=
n the port maintainer=E2=80=99s machine, would represent quite the risky reg=
ression.

Ceri=20=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0B729210-84D2-41BE-8A31-52949D49EF6C>