[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-doc
Subject:    Re: Error compiling FreeBSD documentation using hugo 0.111.3
From:       Sergio Carlavilla <carlavilla () freebsd ! org>
Date:       2023-03-21 6:56:59
Message-ID: CAFwocyOGWpa920dxuVo_vmuCRjHg0eov3k3YVztERYT3GyZ25Q () mail ! gmail ! com
[Download RAW message or body]

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

>
>
> > On 19 Mar 2023, at 19:07, Sergio Carlavilla <carlavilla@freebsd.org>
> wrote:
> >
> > On 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 Ã s 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 proceed
> 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 setting.
> >>>> 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 setting.
> >>>> 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 setting.
> >>>
> >>> Hi,
> >>>
> >>> Try with:
> >>>
> >>> make run DOC_LANG=en,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's machine, would represent quite the
> risky regression.
>
> Ceri


Hi,

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

>

[Attachment #3 (text/html)]

<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El \
lun., 20 mar. 2023 23:36, Ceri Davies &lt;<a \
href="mailto:ceri@submonkey.net">ceri@submonkey.net</a>&gt; \
escribió:<br></div><blockquote class="gmail_quote" style="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="mailto:carlavilla@freebsd.org" target="_blank" \
rel="noreferrer">carlavilla@freebsd.org</a>&gt; wrote:<br> &gt; <br>
&gt; On Sun, 19 Mar 2023 at 17:47, Gabriel Dutra &lt;<a \
href="mailto:0xdutra@gmail.com" target="_blank" \
rel="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 Ã s 05:41, Sergio Carlavilla &lt;<a \
href="mailto:carlavilla@freebsd.org" target="_blank" \
rel="noreferrer">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="mailto:0xdutra@gmail.com" target="_blank" \
rel="noreferrer">0xdutra@gmail.com</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 update 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; failed: \
&quot;/root/doc/documentation/themes/beastie/layouts/books/single.html:10:11&quot;: \
execute of template failed: template: books/single.html:10:11: executing \
&quot;main&quot; at &lt;partial &quot;menu&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 setting.<br> &gt;&gt;&gt;&gt; ERROR 2023/03/19 03:20:20 \
render of &quot;page&quot; failed: \
&quot;/root/doc/documentation/themes/beastie/layouts/books/single.html:10:11&quot;: \
execute of template failed: template: books/single.html:10:11: executing \
&quot;main&quot; at &lt;partial &quot;menu&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 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/layouts/books/single.html:10:11&quot;: \
execute of template failed: template: books/single.html:10:11: executing \
&quot;main&quot; at &lt;partial &quot;menu&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 setting.<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=en,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<br>
&gt; enough.<br>
&gt; <br>
&gt; This happens because the FreeBSD documentation is *very* huge and if<br>
&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's machine, would represent quite the risky regression.<br> <br>
Ceri</blockquote></div></div><div dir="auto"><br></div><div dir="auto">Hi,</div><div \
dir="auto"><br></div><div dir="auto">I&#39;ll take a look, maybe we can increase the \
timeout.</div><div dir="auto"><div class="gmail_quote"><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> </blockquote></div></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic