[ 
https://issues.apache.org/jira/browse/HDDS-5189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HDDS-5189:
---------------------------------
    Labels: pull-request-available  (was: )

> PSA: hugo 0.83.0 / 0.83.1 broke 
> hadoop-hdds/docs/dev-support/bin/generate-site.sh
> ---------------------------------------------------------------------------------
>
>                 Key: HDDS-5189
>                 URL: https://issues.apache.org/jira/browse/HDDS-5189
>             Project: Apache Ozone
>          Issue Type: Task
>          Components: build
>    Affects Versions: 1.2.0
>            Reporter: Siyao Meng
>            Assignee: Marton Elek
>            Priority: Major
>              Labels: pull-request-available
>
> After upgrading my hugo to 0.83.1, a maven build would fail at 
> hadoop-hdds-docs for me.
> {code}
> [INFO] --- exec-maven-plugin:1.3.1:exec (default) @ hadoop-hdds-docs ---
> Error: Error building site: 
> ".../hadoop-hdds/docs/content/interface/ReconApi.md:1:1": [BUG] goldmark: 
> runtime error: slice bounds out of range [3503:3501]: create an issue on 
> GitHub attaching the file in: 
> /var/folders/yp/sxzthlnd45vdwcwvdldf_12r0000gp/T/hugo_bugs/goldmark_267fdfa526d051bdccb7cf9a98e0772d.txt
> Start building sites …
> goroutine 60 [running]:
> runtime/debug.Stack(0x5f70c80, 0x6b7c280, 0xc00117c310)
>       runtime/debug/stack.go:24 +0x9f
> github.com/gohugoio/hugo/markup/goldmark.(*goldmarkConverter).Convert.func1(0xc000a2e6c0,
>  0xc000d25500, 0x2b24, 0x3038, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
> {code}
> ReconApi.md itself hasn't changed since Nov 2020, it's also unlikely that 
> other markdowns have caused this. This issue can be simply repro'ed with:
> {code}
> ./hadoop-hdds/docs/dev-support/bin/generate-site.sh
> {code}
> on hugo 0.83.0 or 0.83.1.
> After reverting hugo to 0.82.1 (homebrew build), the problem goes away for me.
> {code}
> $ hugo version
> hugo v0.82.1+extended darwin/amd64 BuildDate=unknown
> {code}
> PSA: Do not upgrade hugo to 0.83.0 or 0.83.1 if you want to compile 
> hadoop-hdds-docs, it is still broken right now.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to