Source: golang-github-yuin-goldmark-highlighting
Version: 0.0~git20200218.d1af22c-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20211023 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
> 
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package 
> golang-github-yuin-goldmark-highlighting
> dpkg-buildpackage: info: source version 0.0~git20200218.d1af22c-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Anthony Fok <[email protected]>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  debian/rules clean
> dh clean --buildsystem=golang --with golang
>    dh_auto_clean -O--buildsystem=golang
>    dh_autoreconf_clean -O--buildsystem=golang
>    dh_clean -O--buildsystem=golang
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building golang-github-yuin-goldmark-highlighting using 
> existing 
> ./golang-github-yuin-goldmark-highlighting_0.0~git20200218.d1af22c.orig.tar.xz
> dpkg-source: info: building golang-github-yuin-goldmark-highlighting in 
> golang-github-yuin-goldmark-highlighting_0.0~git20200218.d1af22c-1.debian.tar.xz
> dpkg-source: info: building golang-github-yuin-goldmark-highlighting in 
> golang-github-yuin-goldmark-highlighting_0.0~git20200218.d1af22c-1.dsc
>  debian/rules binary
> dh binary --buildsystem=golang --with golang
>    dh_update_autotools_config -O--buildsystem=golang
>    dh_autoreconf -O--buildsystem=golang
>    dh_auto_configure -O--buildsystem=golang
>    dh_auto_build -O--buildsystem=golang
>       cd obj-x86_64-linux-gnu && go install -trimpath -v -p 4 
> github.com/yuin/goldmark-highlighting
> internal/goexperiment
> internal/cpu
> internal/unsafeheader
> internal/abi
> runtime/internal/atomic
> runtime/internal/sys
> internal/race
> internal/bytealg
> runtime/internal/math
> sync/atomic
> unicode
> unicode/utf8
> encoding
> math/bits
> internal/itoa
> math
> unicode/utf16
> runtime
> github.com/danwakefield/fnmatch
> internal/reflectlite
> sync
> internal/testlog
> errors
> sort
> internal/oserror
> io
> strconv
> syscall
> path
> bytes
> strings
> reflect
> html
> regexp/syntax
> bufio
> internal/syscall/unix
> time
> internal/syscall/execenv
> regexp
> internal/poll
> io/fs
> os
> encoding/binary
> internal/fmtsort
> encoding/base64
> path/filepath
> fmt
> net/url
> encoding/json
> github.com/dlclark/regexp2/syntax
> github.com/yuin/goldmark/util
> github.com/dlclark/regexp2
> github.com/alecthomas/chroma
> github.com/alecthomas/chroma/formatters/html
> github.com/alecthomas/chroma/lexers/internal
> github.com/alecthomas/chroma/styles
> github.com/alecthomas/chroma/lexers/a
> github.com/alecthomas/chroma/lexers/b
> github.com/alecthomas/chroma/lexers/p
> github.com/alecthomas/chroma/lexers/j
> github.com/alecthomas/chroma/lexers/e
> github.com/alecthomas/chroma/lexers/d
> github.com/alecthomas/chroma/lexers/f
> github.com/alecthomas/chroma/lexers/c
> github.com/alecthomas/chroma/lexers/i
> github.com/alecthomas/chroma/lexers/k
> github.com/alecthomas/chroma/lexers/l
> github.com/alecthomas/chroma/lexers/n
> github.com/alecthomas/chroma/lexers/o
> github.com/alecthomas/chroma/lexers/q
> github.com/alecthomas/chroma/lexers/r
> github.com/alecthomas/chroma/lexers/t
> github.com/alecthomas/chroma/lexers/h
> github.com/alecthomas/chroma/lexers/v
> github.com/alecthomas/chroma/lexers/w
> github.com/alecthomas/chroma/lexers/x
> github.com/alecthomas/chroma/lexers/circular
> github.com/alecthomas/chroma/lexers/g
> github.com/alecthomas/chroma/lexers/m
> github.com/alecthomas/chroma/lexers/s
> github.com/alecthomas/chroma/lexers/y
> github.com/alecthomas/chroma/lexers/z
> github.com/alecthomas/chroma/lexers
> github.com/yuin/goldmark/text
> github.com/yuin/goldmark/ast
> github.com/yuin/goldmark/renderer
> github.com/yuin/goldmark/parser
> github.com/yuin/goldmark/renderer/html
> github.com/yuin/goldmark
> github.com/yuin/goldmark-highlighting
>    dh_auto_test -O--buildsystem=golang
>       cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 
> github.com/yuin/goldmark-highlighting
> === RUN   TestHighlighting
>     highlighting_test.go:74: failed to render HTML
> /* Background */ .chroma { color: #f8f8f2; background-color: #272822 }
> /* LineNumbers targeted by URL anchor */ .chroma .ln:target { color: #f8f8f2; 
> background-color: #3c3d38 }
> /* LineNumbersTable targeted by URL anchor */ .chroma .lnt:target { color: 
> #f8f8f2; background-color: #3c3d38 }
> /* Error */ .chroma .err { color: #960050; background-color: #1e0010 }
> /* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; 
> border: 0; }
> /* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; 
> border: 0; width: auto; overflow: auto; display: block; }
> /* LineHighlight */ .chroma .hl { display: block; width: 
> 100%;background-color: #3c3d38 }
> /* LineNumbersTable */ .chroma .lnt { margin-right: 0.4em; padding: 0 0.4em 0 
> 0.4em;color: #7f7f7f }
> /* LineNumbers */ .chroma .ln { margin-right: 0.4em; padding: 0 0.4em 0 
> 0.4em;color: #7f7f7f }
> /* Keyword */ .chroma .k { color: #66d9ef }
> /* KeywordConstant */ .chroma .kc { color: #66d9ef }
> /* KeywordDeclaration */ .chroma .kd { color: #66d9ef }
> /* KeywordNamespace */ .chroma .kn { color: #f92672 }
> /* KeywordPseudo */ .chroma .kp { color: #66d9ef }
> /* KeywordReserved */ .chroma .kr { color: #66d9ef }
> /* KeywordType */ .chroma .kt { color: #66d9ef }
> /* NameAttribute */ .chroma .na { color: #a6e22e }
> /* NameClass */ .chroma .nc { color: #a6e22e }
> /* NameConstant */ .chroma .no { color: #66d9ef }
> /* NameDecorator */ .chroma .nd { color: #a6e22e }
> /* NameException */ .chroma .ne { color: #a6e22e }
> /* NameFunction */ .chroma .nf { color: #a6e22e }
> /* NameOther */ .chroma .nx { color: #a6e22e }
> /* NameTag */ .chroma .nt { color: #f92672 }
> /* Literal */ .chroma .l { color: #ae81ff }
> /* LiteralDate */ .chroma .ld { color: #e6db74 }
> /* LiteralString */ .chroma .s { color: #e6db74 }
> /* LiteralStringAffix */ .chroma .sa { color: #e6db74 }
> /* LiteralStringBacktick */ .chroma .sb { color: #e6db74 }
> /* LiteralStringChar */ .chroma .sc { color: #e6db74 }
> /* LiteralStringDelimiter */ .chroma .dl { color: #e6db74 }
> /* LiteralStringDoc */ .chroma .sd { color: #e6db74 }
> /* LiteralStringDouble */ .chroma .s2 { color: #e6db74 }
> /* LiteralStringEscape */ .chroma .se { color: #ae81ff }
> /* LiteralStringHeredoc */ .chroma .sh { color: #e6db74 }
> /* LiteralStringInterpol */ .chroma .si { color: #e6db74 }
> /* LiteralStringOther */ .chroma .sx { color: #e6db74 }
> /* LiteralStringRegex */ .chroma .sr { color: #e6db74 }
> /* LiteralStringSingle */ .chroma .s1 { color: #e6db74 }
> /* LiteralStringSymbol */ .chroma .ss { color: #e6db74 }
> /* LiteralNumber */ .chroma .m { color: #ae81ff }
> /* LiteralNumberBin */ .chroma .mb { color: #ae81ff }
> /* LiteralNumberFloat */ .chroma .mf { color: #ae81ff }
> /* LiteralNumberHex */ .chroma .mh { color: #ae81ff }
> /* LiteralNumberInteger */ .chroma .mi { color: #ae81ff }
> /* LiteralNumberIntegerLong */ .chroma .il { color: #ae81ff }
> /* LiteralNumberOct */ .chroma .mo { color: #ae81ff }
> /* Operator */ .chroma .o { color: #f92672 }
> /* OperatorWord */ .chroma .ow { color: #f92672 }
> /* Comment */ .chroma .c { color: #75715e }
> /* CommentHashbang */ .chroma .ch { color: #75715e }
> /* CommentMultiline */ .chroma .cm { color: #75715e }
> /* CommentSingle */ .chroma .c1 { color: #75715e }
> /* CommentSpecial */ .chroma .cs { color: #75715e }
> /* CommentPreproc */ .chroma .cp { color: #75715e }
> /* CommentPreprocFile */ .chroma .cpf { color: #75715e }
> /* GenericDeleted */ .chroma .gd { color: #f92672 }
> /* GenericEmph */ .chroma .ge { font-style: italic }
> /* GenericInserted */ .chroma .gi { color: #a6e22e }
> /* GenericStrong */ .chroma .gs { font-weight: bold }
> /* GenericSubheading */ .chroma .gu { color: #75715e }
> 
> --- FAIL: TestHighlighting (0.00s)
> === RUN   TestHighlighting2
> --- PASS: TestHighlighting2 (0.00s)
> === RUN   TestHighlighting3
>     highlighting_test.go:202: failed to render HTML
> --- FAIL: TestHighlighting3 (0.00s)
> === RUN   TestHighlightingHlLines
> === RUN   TestHighlightingHlLines/0
> === RUN   TestHighlightingHlLines/1
> === RUN   TestHighlightingHlLines/2
> --- PASS: TestHighlightingHlLines (0.00s)
>     --- PASS: TestHighlightingHlLines/0 (0.00s)
>     --- PASS: TestHighlightingHlLines/1 (0.00s)
>     --- PASS: TestHighlightingHlLines/2 (0.00s)
> === RUN   TestHighlightingLinenos
> === RUN   TestHighlightingLinenos/0
> === RUN   TestHighlightingLinenos/1
> === RUN   TestHighlightingLinenos/2
> === RUN   TestHighlightingLinenos/3
> === RUN   TestHighlightingLinenos/4
> === RUN   TestHighlightingLinenos/5
> === RUN   TestHighlightingLinenos/6
> --- PASS: TestHighlightingLinenos (0.00s)
>     --- PASS: TestHighlightingLinenos/0 (0.00s)
>     --- PASS: TestHighlightingLinenos/1 (0.00s)
>     --- PASS: TestHighlightingLinenos/2 (0.00s)
>     --- PASS: TestHighlightingLinenos/3 (0.00s)
>     --- PASS: TestHighlightingLinenos/4 (0.00s)
>     --- PASS: TestHighlightingLinenos/5 (0.00s)
>     --- PASS: TestHighlightingLinenos/6 (0.00s)
> === RUN   TestHighlightingGuessLanguage
>     highlighting_test.go:334: render mismatch, got
>         <pre tabindex="0" class="chroma"><span class="ln">1</span>LINE        
>         </pre>
> --- FAIL: TestHighlightingGuessLanguage (0.00s)
> === RUN   TestCoalesceNeeded
>     highlighting_test.go:372: render mismatch, got
>         <pre tabindex="0" class="chroma"><span class="ln">1</span><span 
> class="nf">GET</span> <span class="nn">/foo</span> <span 
> class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
>         <span class="ln">2</span><span class="n">Content-Type</span><span 
> class="o">:</span> <span class="l">application/json</span>
>         <span class="ln">3</span><span class="n">User-Agent</span><span 
> class="o">:</span> <span class="l">foo</span>
>         <span class="ln">4</span>
>         <span class="ln">5</span><span class="p">{</span>
>         <span class="ln">6</span>  <span 
> class="nt">&#34;hello&#34;</span><span class="p">:</span> <span 
> class="s2">&#34;world&#34;</span>
>         <span class="ln">7</span><span class="p">}</span>
>         </pre>
> --- FAIL: TestCoalesceNeeded (0.00s)
> FAIL
> FAIL  github.com/yuin/goldmark-highlighting   0.012s
> FAIL
> dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 
> github.com/yuin/goldmark-highlighting returned exit code 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/golang-github-yuin-goldmark-highlighting_0.0~git20200218.d1af22c-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to