-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Description
What version of Go are you using (go version
)?
go version go1.7.1 linux/amd64
What operating system and processor architecture are you using (go env
)?
$ go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH=""
GORACE=""
GOROOT="/gnu/store/wwg44gpwxrrjj7f37gq9h1dz0775pz63-go-1.7.1"
GOTOOLDIR="/gnu/store/wwg44gpwxrrjj7f37gq9h1dz0775pz63-go-1.7.1/pkg/tool/linux_amd64"
CC="/gnu/store/frrj3bfbmg5vrd0flh9cf8j64h7cr2v4-gcc-4.9.3/bin/gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build436313756=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
What did you do?
I'm trying to build Go 1.7.1 or 1.7.3 using GNU Guix on x86_64.
In Guix, we have a working package of Go 1.7.1 deployed on our master branch [0]. On our core-updates branch, where we update the core packages in our distribution, I tried to build 1.7.1 and 1.7.3.
We bootstrap Go 1.7 with Go 1.4.3.
What did you expect to see?
A successful test suite, excluding tests that are known to fail [1] in the Guix build environment [2].
What did you see instead?
This test failure, when building both 1.7.1 and 1.7.3:
--- FAIL: TestServeContent (0.00s)
fs_test.go:907: test "with_last_modified": last-modified = "", want "Thu, 01 Jan 1970 00:00:00 GMT"
fs_test.go:901: test "not_modified_modtime": status = 200; want 304
fs_test.go:904: test "not_modified_modtime": content-type = "text/css; charset=utf-8", want ""
fs_test.go:901: test "not_modified_modtime_with_contenttype": status = 200; want 304
fs_test.go:904: test "not_modified_modtime_with_contenttype": content-type = "text/css", want ""
FAIL
FAIL net/http 9.909s
I don't know how to interpret this failure. What do you think? Does this test failure indicate a serious issue, or should we skip the test?
[2] There is some information about the environment in our manual, starting at "On GNU/Linux, by default, the chroot environment [...]". Please let me know if I can provide more information about the Guix chroot environment.
https://www.gnu.org/software/guix/manual/html_node/Build-Environment-Setup.html