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

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000099e84805f7638d92
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

El lun., 20 mar. 2023 23:36, Ceri Davies <ceri@submonkey.net> escribi=C3=B3=
:

>
>
> > On 19 Mar 2023, at 19:07, Sergio Carlavilla <carlavilla@freebsd.org>
> wrote:
> >
> > =EF=BB=BFOn Sun, 19 Mar 2023 at 17:47, Gabriel Dutra <0xdutra@gmail.com=
> wrote:
> >>
> >> It works. But, isn't it recommended to build for all languages?
> >>
> >>> Em dom., 19 de mar. de 2023 =C3=A0s 05:41, Sergio Carlavilla <
> carlavilla@freebsd.org> escreveu:
> >>>
> >>> On Sun, 19 Mar 2023 at 07:37, Gabriel Dutra <0xdutra@gmail.com> wrote=
:
> >>>>
> >>>> Hi,
> >>>>
> >>>> 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 procee=
d
> in these cases, I hope they fix it or can I update the port?
> >>>>
> >>>> Error log
> >>>> --------
> >>>>
> >>>> ERROR 2023/03/19 03:20:20 render of "page" failed:
> "/root/doc/documentation/themes/beastie/layouts/books/single.html:10:11":
> execute of template failed: 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 try to increase the 'timeout' config settin=
g.
> >>>> ERROR 2023/03/19 03:20:20 render of "page" failed:
> "/root/doc/documentation/themes/beastie/layouts/books/single.html:10:11":
> execute of template failed: 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 try to increase the 'timeout' config settin=
g.
> >>>> Error: Error building site: failed to render pages: render of "page"
> failed:
> "/root/doc/documentation/themes/beastie/layouts/books/single.html:10:11":
> execute of template failed: 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 try to increase the 'timeout' config settin=
g.
> >>>
> >>> Hi,
> >>>
> >>> Try with:
> >>>
> >>> make run DOC_LANG=3Den,ko
> >
> > Hi,
> >
> > 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.
> >
> > 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 on the port maintainer=E2=80=99s machine, would represent qu=
ite the
> risky regression.
>
> Ceri


Hi,

I'll take a look, maybe we can increase the timeout.

>

--00000000000099e84805f7638d92
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D=
"gmail_attr">El lun., 20 mar. 2023 23:36, Ceri Davies &lt;<a href=3D"mailto=
:ceri@submonkey.net">ceri@submonkey.net</a>&gt; escribi=C3=B3:<br></div><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #=
ccc solid;padding-left:1ex"><br>
<br>
&gt; On 19 Mar 2023, at 19:07, Sergio Carlavilla &lt;<a href=3D"mailto:carl=
avilla@freebsd.org" target=3D"_blank" rel=3D"noreferrer">carlavilla@freebsd=
.org</a>&gt; wrote:<br>
&gt; <br>
&gt; =EF=BB=BFOn Sun, 19 Mar 2023 at 17:47, Gabriel Dutra &lt;<a href=3D"ma=
ilto:0xdutra@gmail.com" target=3D"_blank" rel=3D"noreferrer">0xdutra@gmail.=
com</a>&gt; wrote:<br>
&gt;&gt; <br>
&gt;&gt; It works. But, isn&#39;t it recommended to build for all languages=
?<br>
&gt;&gt; <br>
&gt;&gt;&gt; Em dom., 19 de mar. de 2023 =C3=A0s 05:41, Sergio Carlavilla &=
lt;<a href=3D"mailto:carlavilla@freebsd.org" target=3D"_blank" rel=3D"noref=
errer">carlavilla@freebsd.org</a>&gt; escreveu:<br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; On Sun, 19 Mar 2023 at 07:37, Gabriel Dutra &lt;<a href=3D"mai=
lto:0xdutra@gmail.com" target=3D"_blank" rel=3D"noreferrer">0xdutra@gmail.c=
om</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt; <br>
&gt;&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;&gt; <br>
&gt;&gt;&gt;&gt; I&#39;m the maintainer of the hugo, I&#39;m trying to upda=
te hugo port to 0.111.3 but I get an error compiling FreeBSD documentation.=
 How to proceed in these cases, I hope they fix it or can I update the port=
?<br>
&gt;&gt;&gt;&gt; <br>
&gt;&gt;&gt;&gt; Error log<br>
&gt;&gt;&gt;&gt; --------<br>
&gt;&gt;&gt;&gt; <br>
&gt;&gt;&gt;&gt; ERROR 2023/03/19 03:20:20 render of &quot;page&quot; faile=
d: &quot;/root/doc/documentation/themes/beastie/layouts/books/single.html:1=
0:11&quot;: execute of template failed: template: books/single.html:10:11: =
executing &quot;main&quot; at &lt;partial &quot;menu&quot; .&gt;: error cal=
ling partial: partial &quot;menu&quot; timed out after 30s. This is most li=
kely due to infinite recursion. If this is just a slow template, you can tr=
y to increase the &#39;timeout&#39; config setting.<br>
&gt;&gt;&gt;&gt; ERROR 2023/03/19 03:20:20 render of &quot;page&quot; faile=
d: &quot;/root/doc/documentation/themes/beastie/layouts/books/single.html:1=
0:11&quot;: execute of template failed: template: books/single.html:10:11: =
executing &quot;main&quot; at &lt;partial &quot;menu&quot; .&gt;: error cal=
ling partial: partial &quot;menu&quot; timed out after 30s. This is most li=
kely due to infinite recursion. If this is just a slow template, you can tr=
y to increase the &#39;timeout&#39; config setting.<br>
&gt;&gt;&gt;&gt; Error: Error building site: failed to render pages: render=
 of &quot;page&quot; failed: &quot;/root/doc/documentation/themes/beastie/l=
ayouts/books/single.html:10:11&quot;: execute of template failed: template:=
 books/single.html:10:11: executing &quot;main&quot; at &lt;partial &quot;m=
enu&quot; .&gt;: error calling partial: partial &quot;menu&quot; timed out =
after 30s. This is most likely due to infinite recursion. If this is just a=
 slow template, you can try to increase the &#39;timeout&#39; config settin=
g.<br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; Try with:<br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; make run DOC_LANG=3Den,ko<br>
&gt; <br>
&gt; Hi,<br>
&gt; <br>
&gt; TBH, if all you want to check is that the FreeBSD documentation<br>
&gt; compiles with the latest version of gohugo, that should be more than<b=
r>
&gt; enough.<br>
&gt; <br>
&gt; This happens because the FreeBSD documentation is *very* huge and if<b=
r>
&gt; you are on an older computer there may be timeouts.<br>
<br>
Surely if the current port works then it suddenly not working, particularly=
 on the port maintainer=E2=80=99s machine, would represent quite the risky =
regression.<br>
<br>
Ceri</blockquote></div></div><div dir=3D"auto"><br></div><div dir=3D"auto">=
Hi,</div><div dir=3D"auto"><br></div><div dir=3D"auto">I&#39;ll take a look=
, maybe we can increase the timeout.</div><div dir=3D"auto"><div class=3D"g=
mail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex"> </blockquote></div></div></div>

--00000000000099e84805f7638d92--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFwocyOGWpa920dxuVo_vmuCRjHg0eov3k3YVztERYT3GyZ25Q>