Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Aug 2023 08:03:31 +0900
From:      YooKyung-tak <stonegaze@me.com>
To:        "freebsd-translators@freebsd.org" <freebsd-translators@FreeBSD.org>
Subject:   Question) Error occurred during build process
Message-ID:  <C36C3C6E-F79D-4E58-99C9-2BB89D6F6906@me.com>

next in thread | raw e-mail | index | archive | help

--Apple-Mail=_54C13C3B-99AE-4EE2-A579-7CBA3D82450B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hello,=20

I tried to build the entire document because I finished translating the =
handbook into Korean. (Weblate)=20

I downloaded the handbook file translated into Korean from the weblate =
and pasted it into the freebsd-doc directory on Github.=20
Then I executed the "DOC_LANG=3Dko make" command, and the process was =
interrupted with the following error.=20

How do I fix this problem?=20

Thanks.=20

=
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94

stonegaze@S5Test:~/freebsd-doc/documentation $ DOC_LANG=3Dko make
make: "/usr/home/stonegaze/freebsd-doc/documentation/Makefile" line 56: =
warning: "Warning: cannot skip 'en'; adding it back"
---------------------------------------------------------------
Building the documentation
included languages: ko en
excluded languages: bn-bd da de el es fr hu id it ja mn nl pl pt-br ru =
tr zh-cn zh-tw
---------------------------------------------------------------
HUGO_DISABLELANGUAGES=3D" bn-bd da de el es fr hu id it ja mn nl pl =
pt-br ru tr zh-cn zh-tw" /usr/local/bin/hugo --minify
Start building sites =E2=80=A6
hugo v0.111.3+extended freebsd/amd64 BuildDate=3D2023-03-17T03:01:46Z+0000=
 VendorInfo=3Dfreebsd
WARN 2023/08/26 03:22:38 books/handbook/book.adoc: asciidoctor: WARNING: =
content/en/books/handbook/multimedia/_index.adoc: line 241: id assigned =
to section already in use: troubleshooting
WARN 2023/08/26 03:22:59 books/handbook/book.adoc: asciidoctor: WARNING: =
content/ko/books/handbook/multimedia/_index.adoc: line 241: id assigned =
to section already in use: troubleshooting
Error: Error building site: failed to render pages: render of "section" =
failed: =
"/usr/home/stonegaze/freebsd-doc/documentation/themes/beastie/layouts/book=
s/list.html:132:30": execute of template failed: template: =
books/list.html:132:30: executing "main" at <split .Page.File "/">: =
error calling split: unable to cast =
page.zeroFile{log:(*helpers.DistinctLogger)(0x858326210)} of type =
page.zeroFile to string
Total in 38487 ms
*** Error code 255

Stop.
make: stopped in /usr/home/stonegaze/freebsd-doc/documentation=

--Apple-Mail=_54C13C3B-99AE-4EE2-A579-7CBA3D82450B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: =
after-white-space;"><div>Hello,&nbsp;</div><div><br></div><div>I tried =
to build the entire document because I finished translating the handbook =
into Korean. (Weblate)&nbsp;</div><div><br></div><div>I downloaded the =
handbook file translated into Korean from the weblate and pasted it into =
the freebsd-doc directory on Github.&nbsp;</div><div>Then I executed the =
"DOC_LANG=3Dko make" command, and the process was interrupted with the =
following error.&nbsp;</div><div><br></div><div>How do I fix this =
problem?&nbsp;</div><div><br></div><div>Thanks.&nbsp;</div><div><br></div>=
<div>=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94</div><div><br></div><div><sp=
an style=3D"font-size: =
medium;">stonegaze@S5Test:~/freebsd-</span><wbr><span style=3D"font-size: =
medium;">doc/documentation $ DOC_LANG=3Dko make</span><br><span =
style=3D"font-size: medium;">make: =
"/usr/home/stonegaze/freebsd-</span><wbr><span style=3D"font-size: =
medium;">doc/documentation/Makefile" line 56: warning: "Warning: cannot =
skip 'en'; adding it back"</span><br><span style=3D"font-size: =
medium;">------------------------------</span><wbr><span =
style=3D"font-size: =
medium;">------------------------------</span><wbr><span =
style=3D"font-size: medium;">---</span><br><span style=3D"font-size: =
medium;">Building the documentation</span><br><span style=3D"font-size: =
medium;">included languages: ko en</span><br><span style=3D"font-size: =
medium;">excluded languages: bn-bd da de el es fr hu id it ja mn nl pl =
pt-br ru tr zh-cn zh-tw</span><br><span style=3D"font-size: =
medium;">------------------------------</span><wbr><span =
style=3D"font-size: =
medium;">------------------------------</span><wbr><span =
style=3D"font-size: medium;">---</span><br><span style=3D"font-size: =
medium;">HUGO_DISABLELANGUAGES=3D" bn-bd da de el es fr hu id it ja mn =
nl pl pt-br ru tr zh-cn zh-tw" /usr/local/bin/hugo =
--minify</span><br><span style=3D"font-size: medium;">Start building =
sites =E2=80=A6</span><br><span style=3D"font-size: medium;">hugo =
v0.111.3+extended freebsd/amd64 =
BuildDate=3D2023-03-17T03:01:</span><wbr><span style=3D"font-size: =
medium;">46Z+0000 VendorInfo=3Dfreebsd</span><br><span style=3D"font-size:=
 medium;">WARN 2023/08/26 03:22:38 books/handbook/book.adoc: =
asciidoctor: WARNING: content/en/books/handbook/</span><wbr><span =
style=3D"font-size: medium;">multimedia/_index.adoc: line 241: id =
assigned to section already in use: troubleshooting</span><br><span =
style=3D"font-size: medium;">WARN 2023/08/26 03:22:59 =
books/handbook/book.adoc: asciidoctor: WARNING: =
content/ko/books/handbook/</span><wbr><span style=3D"font-size: =
medium;">multimedia/_index.adoc: line 241: id assigned to section =
already in use: troubleshooting</span><br><span style=3D"font-size: =
medium;">Error: Error building site: failed to render pages: render of =
"section" failed: "/usr/home/stonegaze/freebsd-</span><wbr><span =
style=3D"font-size: medium;">doc/documentation/themes/</span><wbr><span =
style=3D"font-size: =
medium;">beastie/layouts/books/list.</span><wbr><span style=3D"font-size: =
medium;">html:132:30": execute of template failed: template: =
books/list.html:132:30: executing "main" at &lt;split .Page.File =
"/"&gt;: error calling split: unable to cast =
page.zeroFile{log:(*helpers.</span><wbr><span style=3D"font-size: =
medium;">DistinctLogger)(0x858326210)} of type page.zeroFile to =
string</span><br><span style=3D"font-size: medium;">Total in 38487 =
ms</span><br><span style=3D"font-size: medium;">*** Error code =
255</span><br><br><span style=3D"font-size: =
medium;">Stop.</span><br><span style=3D"font-size: medium;">make: =
stopped in /usr/home/stonegaze/freebsd-</span><wbr><span =
style=3D"font-size: =
medium;">doc/documentation</span></div></body></html>=

--Apple-Mail=_54C13C3B-99AE-4EE2-A579-7CBA3D82450B--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C36C3C6E-F79D-4E58-99C9-2BB89D6F6906>