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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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 #2 --] <div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El lun., 20 mar. 2023 23:36, Ceri Davies <<a href="mailto:ceri@submonkey.net">ceri@submonkey.net</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br> <br> > On 19 Mar 2023, at 19:07, Sergio Carlavilla <<a href="mailto:carlavilla@freebsd.org" target="_blank" rel="noreferrer">carlavilla@freebsd.org</a>> wrote:<br> > <br> > On Sun, 19 Mar 2023 at 17:47, Gabriel Dutra <<a href="mailto:0xdutra@gmail.com" target="_blank" rel="noreferrer">0xdutra@gmail.com</a>> wrote:<br> >> <br> >> It works. But, isn't it recommended to build for all languages?<br> >> <br> >>> Em dom., 19 de mar. de 2023 às 05:41, Sergio Carlavilla <<a href="mailto:carlavilla@freebsd.org" target="_blank" rel="noreferrer">carlavilla@freebsd.org</a>> escreveu:<br> >>> <br> >>> On Sun, 19 Mar 2023 at 07:37, Gabriel Dutra <<a href="mailto:0xdutra@gmail.com" target="_blank" rel="noreferrer">0xdutra@gmail.com</a>> wrote:<br> >>>> <br> >>>> Hi,<br> >>>> <br> >>>> 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?<br> >>>> <br> >>>> Error log<br> >>>> --------<br> >>>> <br> >>>> 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.<br> >>>> 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.<br> >>>> 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.<br> >>> <br> >>> Hi,<br> >>> <br> >>> Try with:<br> >>> <br> >>> make run DOC_LANG=en,ko<br> > <br> > Hi,<br> > <br> > TBH, if all you want to check is that the FreeBSD documentation<br> > compiles with the latest version of gohugo, that should be more than<br> > enough.<br> > <br> > This happens because the FreeBSD documentation is *very* huge and if<br> > 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'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>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFwocyOGWpa920dxuVo_vmuCRjHg0eov3k3YVztERYT3GyZ25Q>
