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 <<a href=3D"mailto= :ceri@submonkey.net">ceri@submonkey.net</a>> 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> > On 19 Mar 2023, at 19:07, Sergio Carlavilla <<a href=3D"mailto:carl= avilla@freebsd.org" target=3D"_blank" rel=3D"noreferrer">carlavilla@freebsd= .org</a>> wrote:<br> > <br> > =EF=BB=BFOn Sun, 19 Mar 2023 at 17:47, Gabriel Dutra <<a href=3D"ma= ilto:0xdutra@gmail.com" target=3D"_blank" rel=3D"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 =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>> escreveu:<br> >>> <br> >>> On Sun, 19 Mar 2023 at 07:37, Gabriel Dutra <<a href=3D"mai= lto:0xdutra@gmail.com" target=3D"_blank" rel=3D"noreferrer">0xdutra@gmail.c= om</a>> wrote:<br> >>>> <br> >>>> Hi,<br> >>>> <br> >>>> I'm the maintainer of the hugo, I'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> >>>> <br> >>>> Error log<br> >>>> --------<br> >>>> <br> >>>> ERROR 2023/03/19 03:20:20 render of "page" faile= d: "/root/doc/documentation/themes/beastie/layouts/books/single.html:1= 0:11": execute of template failed: template: books/single.html:10:11: = executing "main" at <partial "menu" .>: error cal= ling partial: partial "menu" 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 'timeout' config setting.<br> >>>> ERROR 2023/03/19 03:20:20 render of "page" faile= d: "/root/doc/documentation/themes/beastie/layouts/books/single.html:1= 0:11": execute of template failed: template: books/single.html:10:11: = executing "main" at <partial "menu" .>: error cal= ling partial: partial "menu" 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 'timeout' config setting.<br> >>>> Error: Error building site: failed to render pages: render= of "page" failed: "/root/doc/documentation/themes/beastie/l= ayouts/books/single.html:10:11": execute of template failed: template:= books/single.html:10:11: executing "main" at <partial "m= enu" .>: 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.<br> >>> <br> >>> Hi,<br> >>> <br> >>> Try with:<br> >>> <br> >>> make run DOC_LANG=3Den,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<b= r> > enough.<br> > <br> > This happens because the FreeBSD documentation is *very* huge and if<b= r> > 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'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>