[pkg-golang-devel] Bug#824421: golang: FTBFS using gccgo

James Cowgill jcowgill at debian.org
Sun May 15 18:36:07 UTC 2016


Source: golang
Version: 2:1.6.1-2
Severity: normal

Hi,

golang contains this build-dependency line indicating that it can be
built with gccgo:
 golang-go (>= 2:1.4.2-2~) | gccgo-5,

However when I try to use gccgo, the build fails with:

 debian/rules build-arch
dh --parallel  build-arch
   dh_testdir -a -O--parallel
   dh_update_autotools_config -a -O--parallel
   dh_auto_configure -a -O--parallel
   debian/rules override_dh_auto_build-arch
make[1]: Entering directory '/tmp/golang/golang-1.6.1'
[ -f VERSION ] || echo "debian snapshot +$(dpkg-parsechangelog -SVersion)" > VERSION
export GOROOT_BOOTSTRAP=$(env -i go env GOROOT) \
	&& cd src \
	&& /tmp/golang/golang-1.6.1/debian/helpers/goenv.sh \
		bash ./make.bash --no-banner
env: ‘go’: No such file or directory
##### Building Go bootstrap tool.
cmd/dist
ERROR: Cannot find /go1.4/bin/go.
Set $GOROOT_BOOTSTRAP to a working Go tree >= Go 1.4.
debian/rules:74: recipe for target 'override_dh_auto_build-arch' failed
make[1]: *** [override_dh_auto_build-arch] Error 1
make[1]: Leaving directory '/tmp/golang/golang-1.6.1'
debian/rules:18: recipe for target 'build-arch' failed
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

Thanks,
James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-golang-devel/attachments/20160515/250dfdc2/attachment.sig>


More information about the pkg-golang-devel mailing list