Date: Sun, 19 Mar 2023 20:07:07 +0100 From: Sergio Carlavilla <carlavilla@freebsd.org> To: Gabriel Dutra <0xdutra@gmail.com> Cc: freebsd-doc@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Error compiling FreeBSD documentation using hugo 0.111.3 Message-ID: <CAFwocyNJTegetRoV7Q6ExqNS%2BN1PxDUiSnYX7N0X_hSenWZFGA@mail.gmail.com> In-Reply-To: <CAC5tWNEJPHV%2BFiTiLUmChaHXjqxO6WYydK2qz7V=xgzrBzwoQw@mail.gmail.com> References: <CAC5tWNHj75XP8oSZbmboOhbKiiMwdvU%2B5z7AhFLjEte%2BtCsQ8A@mail.gmail.com> <CAFwocyOHxVmLCu5%2BqnyR9GeyHccYGZizOj2PM1Dm0MiP%2B15_dA@mail.gmail.com> <CAC5tWNEJPHV%2BFiTiLUmChaHXjqxO6WYydK2qz7V=xgzrBzwoQw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 =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.11= 1.3 but I get an error compiling FreeBSD documentation. How to proceed in t= hese 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/document= ation/themes/beastie/layouts/books/single.html:10:11": execute of template = failed: template: books/single.html:10:11: executing "main" at <partial "me= nu" .>: 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/document= ation/themes/beastie/layouts/books/single.html:10:11": execute of template = failed: template: books/single.html:10:11: executing "main" at <partial "me= nu" .>: 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" f= ailed: "/root/doc/documentation/themes/beastie/layouts/books/single.html:10= :11": execute of template failed: template: books/single.html:10:11: execut= ing "main" at <partial "menu" .>: error calling partial: partial "menu" tim= ed 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=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. Bye!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFwocyNJTegetRoV7Q6ExqNS%2BN1PxDUiSnYX7N0X_hSenWZFGA>