[Pkg-golang-devel] Bug#780355: Build empty golang-go and golang-src packages on architectures without golang support and depend on gccgo instead

Matthias Klose doko at debian.org
Thu Mar 12 15:02:21 UTC 2015


Package: src:golang
Version: 2:1.3.3-1

gccgo, starting with GCC 5 now ships the go tool, which allows building of most
packages in the archive.  Instead of hard-coding any package to build-depend on
gccgo on architectures where golang is unsupported, I built empty golang-go and
golang-src packages which depend on gccgo instead.  Most packages build, some
fail in the testsuite, and some seem to have issues introduced with the
packaging side (like golang-go.tools).  golang itself doesn't seem to be
prepared for new architecture support very well, but it looks good at least on
ppc64el, (probably ppc64 too), and arm64.  powerpc seems a bit incomplete. Can't
say anything about sparc and mips.

The patch for golang can be found at

http://launchpadlibrarian.net/199880185/golang_2%3A1.3.3-1ubuntu3_2%3A1.3.3-1ubuntu4.diff.gz

It doesn't have to be in golang, such packages could be built from a separate
source as well.



More information about the pkg-golang-devel mailing list