From nobody Tue Mar 21 06:56:59 2023 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Pgj8V2vrqz40trs; Tue, 21 Mar 2023 06:57:14 +0000 (UTC) (envelope-from carlavilla@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pgj8V0S6vz3kpR; Tue, 21 Mar 2023 06:57:14 +0000 (UTC) (envelope-from carlavilla@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679381834; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=eTIei2XuVVtTpSk7Xol6pzg2/NaxovfZXlQ996cvHbg=; b=SAVbyHwGa9cltebe4hWRGeX4WhIZXjb8l+v4vWnSSubcGkMF9R4vgVSPL85C6KA98oxy2B 11cNCOfskwi05T5Gj2UvZKl9bVY1jiOkWcv8mnuxii8ZDe8VPE9LkH53NgCxnYa0n3EMxs JLtFLYDfsTO1h9ebbeSN88iv7Om2vnT3qL0pzy+FPSEF2uFKVbHfHZiVCf6CvG5vwG6Wl/ 3P79jSxlRzCYSY77LsCHOnr6SqDdtU71EgFDkpXPfc8N3NbRsRbbnvFHU3FonOhA6Xs6dJ R3zME/Zx9H9AjgXgxLO1vHkNQnciNbTZkZ12t2A4/01urSMPf5pso35zOH7ctQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679381834; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=eTIei2XuVVtTpSk7Xol6pzg2/NaxovfZXlQ996cvHbg=; b=Vmf4d+n8Gsxf0YAOVhAJ5EFJVfRhttYXOmEqz/cI9+L3eh+T84pcmZDLGlZ5ZI5yEGgVcR Evezp/Dq1j1zqaJbfO5VZ+CtDP2nb3PHkJKjrBGKSySBBpwucfCsX/nWrl5Mjjonw/RLcG 9aPPr501Pv7x/vt4FtSVqURHy1Kf6yjF+tpaBfvMjXmSglNYMD5vlgK6puLYMVlwgfZZ5W GHbgHfnDEusOa1yeQlZWO/ip3GpJmdWrf3JvFvqHnJ8zM//HFp+xDETswYz6pCPDsHDGz+ ROLUGhUhEwigBqrBlZFyS5abCAl42lx9sVRs1OMhRfFCRREDlOKmI+6lOYnDsA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679381834; a=rsa-sha256; cv=none; b=AmQilYwJaNZlUtB4KoGxyjV087vIcKJ0QeaIjJsIunPuLSLmp9k/dHwRz+CC6w6BOzDpcb zvyFJgY7IPTnG21kl9Y68lIbBaNI+jEJLb4eyKQr8dqG0VgqBMNL7JzHHcyw7vsfOdKkbB SJk9KxGbaIV7BQjJ9NL9WoSmt5f6NrDsHOcBUq4Rqx1Bwm3qqOqYHwsPRKUprFMZBUnU5U rWPdseKYzE3KDh6Qo5NeWmdbaobL3B2N8ciiA9nHZYBn46fOxXFM327OymDcJQcKDcOnK1 nHrH8FG4mAtgrfPIb8MT1oCe3ueMLFs6sSSo8T8oXfUSRH+xBWk5ibqX8hU34g== Received: from mail-oo1-f54.google.com (mail-oo1-f54.google.com [209.85.161.54]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: carlavilla) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Pgj8T6YtnzVDp; Tue, 21 Mar 2023 06:57:13 +0000 (UTC) (envelope-from carlavilla@freebsd.org) Received: by mail-oo1-f54.google.com with SMTP id n7-20020a4ae1c7000000b0053b61145406so23265oot.11; Mon, 20 Mar 2023 23:57:13 -0700 (PDT) X-Gm-Message-State: AO0yUKWXDH9S8UWOs9KdkAs2G8DrbW7UEeeFNb4HxKED0AxIF03ndmH4 cplZML5CR60AZOK0lZKIPSXkkbOvrZ5QVC0QWHc= X-Google-Smtp-Source: AK7set9U5tQWCLlB0bybiokzFfr+h1LPT4XRivajdP39PNwzp17HTLz2V0GVei39XvWJ/2tTvOtXBgdjJDrCGvltSVE= X-Received: by 2002:a4a:bd11:0:b0:53b:4e0a:6714 with SMTP id n17-20020a4abd11000000b0053b4e0a6714mr310186oop.0.1679381833048; Mon, 20 Mar 2023 23:57:13 -0700 (PDT) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 References: <0B729210-84D2-41BE-8A31-52949D49EF6C@submonkey.net> In-Reply-To: <0B729210-84D2-41BE-8A31-52949D49EF6C@submonkey.net> From: Sergio Carlavilla Date: Tue, 21 Mar 2023 07:56:59 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Error compiling FreeBSD documentation using hugo 0.111.3 To: Ceri Davies Cc: Gabriel Dutra <0xdutra@gmail.com>, "freebsd-doc@FreeBSD.org" , freebsd-ports@freebsd.org Content-Type: multipart/alternative; boundary="00000000000099e84805f7638d92" X-ThisMailContainsUnwantedMimeParts: N --00000000000099e84805f7638d92 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable El lun., 20 mar. 2023 23:36, Ceri Davies escribi=C3=B3= : > > > > On 19 Mar 2023, at 19:07, Sergio Carlavilla > 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 : 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 : 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 : 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
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 &= lt;carlavilla@freebsd.org> escreveu:
>>>
>>> On Sun, 19 Mar 2023 at 07:37, Gabriel Dutra <0xdutra@gmail.c= om> wrote:
>>>>
>>>> Hi,
>>>>
>>>> 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= ?
>>>>
>>>> Error log
>>>> --------
>>>>
>>>> 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.
>>>> 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.
>>>> 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.
>>>
>>> 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 quite the risky = regression.

Ceri

= Hi,

I'll take a look= , maybe we can increase the timeout.
--00000000000099e84805f7638d92--