Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 May 2021 23:16:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 255804] Website build failed on linux
Message-ID:  <bug-255804-9@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255804

            Bug ID: 255804
           Summary: Website build failed on linux
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Website
          Assignee: doc@FreeBSD.org
          Reporter: ygy@freebsd.org

Not a high priority, but since we are using hugo/asciidoc which should be
platform-independent, the build should work on other UNIX-like systems with
relevant dependencies satisfied. However, I tried a website build on Ubuntu=
 and
got the following:

vagrant@ubuntu-hirsute:~/freebsd-doc/website$ BIND=3D0.0.0.0 bmake run-local
/usr/bin/env hugo server -D --bind=3D0.0.0.0 --baseURL=3D"http://localhost:=
1313"
Start building sites =E2=80=A6
ERROR 2021/05/11 23:01:50 render of "page" failed: execute of template fail=
ed:
template: _default/single.html:5:9: executing "main" at <partial "sidenav.h=
tml"
(dict "sidenavType" .Params.sidenav "data" .Site.Data "language"
$.Site.Language.Lang)>: error calling partial:
"/home/vagrant/freebsd-doc/website/themes/beastie/layouts/partials/sidenav.=
html:64:59":
execute of template failed: template: partials/sidenav.html:64:59: executing
"partials/sidenav.html" at <index .data.releases "u-rel130-announce">: error
calling index: index of untyped nil
ERROR 2021/05/11 23:01:50 render of "page" failed: execute of template fail=
ed:
template: _default/single.html:5:9: executing "main" at <partial "sidenav.h=
tml"
(dict "sidenavType" .Params.sidenav "data" .Site.Data "language"
$.Site.Language.Lang)>: error calling partial:
"/home/vagrant/freebsd-doc/website/themes/beastie/layouts/partials/sidenav.=
html:64:59":
execute of template failed: template: partials/sidenav.html:64:59: executing
"partials/sidenav.html" at <index .data.releases "u-rel130-announce">: error
calling index: index of untyped nil
ERROR 2021/05/11 23:01:50 render of "page" failed: execute of template fail=
ed:
template: _default/single.html:5:9: executing "main" at <partial "sidenav.h=
tml"
(dict "sidenavType" .Params.sidenav "data" .Site.Data "language"
$.Site.Language.Lang)>: error calling partial:
"/home/vagrant/freebsd-doc/website/themes/beastie/layouts/partials/sidenav.=
html:64:59":
execute of template failed: template: partials/sidenav.html:64:59: executing
"partials/sidenav.html" at <index .data.releases "u-rel130-announce">: error
calling index: index of untyped nil
ERROR 2021/05/11 23:01:50 render of "page" failed: execute of template fail=
ed:
template: _default/single.html:5:9: executing "main" at <partial "sidenav.h=
tml"
(dict "sidenavType" .Params.sidenav "data" .Site.Data "language"
$.Site.Language.Lang)>: error calling partial:
"/home/vagrant/freebsd-doc/website/themes/beastie/layouts/partials/sidenav.=
html:64:59":
execute of template failed: template: partials/sidenav.html:64:59: executing
"partials/sidenav.html" at <index .data.releases "u-rel130-announce">: error
calling index: index of untyped nil
ERROR 2021/05/11 23:01:50 render of "page" failed: execute of template fail=
ed:
template: _default/single.html:5:9: executing "main" at <partial "sidenav.h=
tml"
(dict "sidenavType" .Params.sidenav "data" .Site.Data "language"
$.Site.Language.Lang)>: error calling partial:
"/home/vagrant/freebsd-doc/website/themes/beastie/layouts/partials/sidenav.=
html:64:59":
execute of template failed: template: partials/sidenav.html:64:59: executing
"partials/sidenav.html" at <index .data.releases "u-rel130-announce">: error
calling index: index of untyped nil
Built in 10506 ms
Error: Error building site: failed to render pages: render of "home" failed:
"/home/vagrant/freebsd-doc/website/themes/beastie/layouts/index.html:51:27":
execute of template failed: template: index.html:51:27: executing "main" at
<index $.Site.Data.releases "u-rel130-announce">: error calling index: inde=
x of
untyped nil
*** Error code 255

Stop.
bmake: stopped in /home/vagrant/freebsd-doc/website

System info:

vagrant@ubuntu-hirsute:~/freebsd-doc/website$ hugo version
hugo v0.82.0+extended linux/amd64 BuildDate=3Dunknown
vagrant@ubuntu-hirsute:~/freebsd-doc/website$ asciidoctor --version
Asciidoctor 2.0.12 [https://asciidoctor.org]
Runtime Environment (ruby 2.7.2p137 (2020-10-01 revision 5445e04352)
[x86_64-linux-gnu]) (lc:UTF-8 fs:UTF-8 in:UTF-8 ex:UTF-8)
vagrant@ubuntu-hirsute:~/freebsd-doc/website$ uname -a
Linux ubuntu-hirsute 5.11.0-17-generic #18-Ubuntu SMP Thu May 6 20:10:11 UTC
2021 x86_64 x86_64 x86_64 GNU/Linux

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255804-9>