[pkg-go] Bug#878771: golang-github-spf13-cobra FTBFS on mips: error: redefinition of 'AF_ALG'

Adrian Bunk bunk at debian.org
Mon Oct 16 15:26:42 UTC 2017


Source: golang-github-spf13-cobra
Version: 0.0~git20170731.0.b26b538-1
Severity: serious

https://buildd.debian.org/status/fetch.php?pkg=golang-github-spf13-cobra&arch=mips&ver=0.0~git20170731.0.b26b538-2&stamp=1508109561&raw=0

...
src/golang.org/x/sys/unix/zerrors_linux_mips_mipso32.go:15:2: error: redefinition of 'AF_ALG'
  AF_ALG                               = 0x26
  ^
src/golang.org/x/sys/unix/zerrors_linux_mips.go:14:2: note: previous definition of 'AF_ALG' was here
  AF_ALG                               = 0x26
  ^
src/golang.org/x/sys/unix/zerrors_linux_mips_mipso32.go:16:2: error: redefinition of 'AF_APPLETALK'
  AF_APPLETALK                         = 0x5
  ^
src/golang.org/x/sys/unix/zerrors_linux_mips.go:15:2: note: previous definition of 'AF_APPLETALK' was here
  AF_APPLETALK                         = 0x5
  ^
src/golang.org/x/sys/unix/zerrors_linux_mips_mipso32.go:17:2: error: redefinition of 'AF_ASH'
  AF_ASH                               = 0x12
  ^
src/golang.org/x/sys/unix/zerrors_linux_mips.go:16:2: note: previous definition of 'AF_ASH' was here
  AF_ASH                               = 0x12
  ^
src/golang.org/x/sys/unix/zerrors_linux_mips_mipso32.go:18:2: error: redefinition of 'AF_ATMPVC'
  AF_ATMPVC                            = 0x8
  ^
src/golang.org/x/sys/unix/zerrors_linux_mips.go:17:2: note: previous definition of 'AF_ATMPVC' was here
  AF_ATMPVC                            = 0x8
  ^
...



I've reproduced the FTBFS with 0.0~git20170731.0.b26b538-1,
so that's likely triggered by some change elsewhere (gccgo 7?).



More information about the Pkg-go-maintainers mailing list