[pkg-go] Bug#882450: golang-github-alecthomas-chroma: FTBFS w/gccgo: Name undefined

Aaron M. Ucko ucko at debian.org
Thu Nov 23 03:30:14 UTC 2017


Source: golang-github-alecthomas-chroma
Version: 0.1.1+git20171116.9c81d25-1
Severity: important
Justification: fails to build from source

Builds of golang-github-alecthomas-chroma for architectures using
gccgo on which the compiler didn't crash altogether failed with a pile
of errors of the form

  src/github.com/alecthomas/chroma/lexers/c.go:46:21: error: reference to undefined name 'Name'
      {`[a-zA-Z_]\w*`, Name, nil},

as detailed in

https://buildd.debian.org/status/fetch.php?pkg=golang-github-alecthomas-chroma&arch=mips&ver=0.1.1%2Bgit20171116.9c81d25-1&stamp=1511279629&raw=0
https://buildd.debian.org/status/fetch.php?pkg=golang-github-alecthomas-chroma&arch=mips64el&ver=0.1.1%2Bgit20171116.9c81d25-1&stamp=1511288473&raw=0
https://buildd.debian.org/status/fetch.php?pkg=golang-github-alecthomas-chroma&arch=s390x&ver=0.1.1%2Bgit20171116.9c81d25-1&stamp=1511278679&raw=0
https://buildd.debian.org/status/fetch.php?pkg=golang-github-alecthomas-chroma&arch=alpha&ver=0.1.1%2Bgit20171116.9c81d25-1&stamp=1511292496&raw=0
https://buildd.debian.org/status/fetch.php?pkg=golang-github-alecthomas-chroma&arch=powerpc&ver=0.1.1%2Bgit20171116.9c81d25-1&stamp=1511278856&raw=0

I'm not sure offhand why s390x used gccgo, since golang-1.9 does
appear to be available there.

At any rate, could you please take a look?

Thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu



More information about the Pkg-go-maintainers mailing list