Commit graph

33 commits

Author SHA1 Message Date
Leo Famulari
fcbb8461a4
gnu: Add go@1.10.
Building Go 1.10 with the Go 1.4 bootstrap, Thread Sanitizer from GCC 5
finds a data race during the the test suite of Go 1.10. With GCC 6, the
race doesn't seem to be present.

.##### ../misc/cgo/testsanitizers
--- FAIL: TestShared (0.03s)
    --- FAIL: TestShared/tsan_shared (2.54s)
        cshared_test.go:71: `/tmp/guix-build-go-1.10.drv-0/TestShared367937240/tsan_shared` exited with exit status 66
                ==================
                WARNING: ThreadSanitizer: data race (pid=28778)
                  Write of size 8 at 0x7ffff5495c30 by thread T1:
                    #0 pthread_attr_getstacksize <null> (tsan_shared+0x00000041be82)
                    #1 x_cgo_init <null> (libtsan_shared.so+0x00000008aeaf)
                    #2 runtime.rt0_go /tmp/guix-build-go-1.10.drv-0/go/src/runtime/asm_amd64.s:199 (libtsan_shared.so+0x000000081586)

                  Previous write of size 8 at 0x7ffff5495c30 by main thread:
                    #0 <null> <null> (0x000000000001)

                  Location is stack of thread T1.

                  Thread T1 (tid=28786, running) created by main thread at:
                    #0 pthread_create <null> (tsan_shared+0x00000040c794)
                    #1 _cgo_try_pthread_create <null> (libtsan_shared.so+0x00000008ad70)
                    #2 x_cgo_sys_thread_create <null> (libtsan_shared.so+0x00000008ab12)
                    #3 _rt0_amd64_lib /tmp/guix-build-go-1.10.drv-0/go/src/runtime/asm_amd64.s:56 (libtsan_shared.so+0x0000000813b6)

                SUMMARY: ThreadSanitizer: data race ??:0 __interceptor_pthread_attr_getstacksize

* gnu/packages/golang.scm (go-1.10): New variable.
(go-1.4)[native-inputs]: Use gcc:lib version 6.
2018-02-26 17:34:14 -05:00
Leo Famulari
95a396f4e1
gnu: go: Update to 1.9.4 [fixes CVE-2018-6574].
* gnu/packages/golang.scm (go-1.9): Update to 1.9.4.
2018-02-12 15:31:16 -05:00
Christopher Baines
da6f9d41c1
gnu: Add go-github.com-jtolds-gls.
* gnu/packages/golang.scm (go-github.com-jtolds-gls): New variable.
2018-02-01 20:21:25 +00:00
Christopher Baines
210c6d959d
gnu: Add go-gopkg.in-tomb.v2.
* gnu/packages/golang.scm (go-gopkg.in-tomb.v2): New variable.
2018-01-30 07:41:30 +00:00
Christopher Baines
60a8cbc4b7
gnu: Add go-github.com-jessevdk-go-flags.
* gnu/packages/golang.scm (go-github.com-jessevdk-go-flags): New variable.
2018-01-30 07:41:29 +00:00
Leo Famulari
f3a13a21e5
gnu: go: Update to 1.9.3.
* gnu/packages/golang.scm (go-1.9): Update to 1.9.3.
2018-01-23 16:01:13 -05:00
Tobias Geerinckx-Rice
247064c3d1
gnu: go: Improve description.
* gnu/packages/golang.scm (go-1.4)[description]: Edit for clarity.
2018-01-21 22:35:58 +01:00
Tobias Geerinckx-Rice
e11a70176d
gnu: go@1.9: Drop left-over work-around.
* gnu/packages/golang.scm (go-1.9)[arguments]: Remove substitution for
fixed bug from the ‘prebuild’ phase.
2018-01-21 22:35:58 +01:00
Leo Famulari
12f496ba56
gnu: Add go-github-com-davidjpeacock-cli.
* gnu/packages/golang.scm (go-github-com-davidjpeacock-cli): New variable.
2017-12-31 12:36:08 -05:00
Leo Famulari
11b12655f0
gnu: Add go-github-com-aki237-nscjar.
* gnu/packages/golang.scm (go-github-com-aki237-nscjar): New variable.
2017-12-31 12:36:07 -05:00
Leo Famulari
d3878e88f3
gnu: Add go-github-com-alsm-ioprogress.
* gnu/packages/golang.scm (go-github-com-alsm-ioprogress): New variable.
2017-12-31 12:36:07 -05:00
Leo Famulari
0cbcab7254
gnu: go: Update to 1.9.2.
* gnu/packages/golang.scm (go-1.9): Update to 1.9.2.
2017-10-26 12:14:33 -04:00
Efraim Flashner
dda785f660
gnu: go@1.4: Limit supported systems.
* gnu/packages/golang.scm (go@1.4)[supported-systems]: New field,
Limit supported systems to x86_64-linux, i686-linux and armhf-linux.
(go@1.9)[supported-systems]: New field.
2017-10-25 19:07:10 +03:00
Leo Famulari
488d380c82
gnu: go: update to 1.9.1 [security fixes].
See the release announcement and bug reports for more details about the
security issues fixed in this release:

https://groups.google.com/forum/m/#!topic/golang-nuts/sHfMg4gZNps
https://golang.org/issue/22125
https://golang.org/issue/22134

* gnu/packages/golang.scm (go-1.9): Update to 1.9.1.
2017-10-04 19:08:09 -04:00
Marius Bakke
72e2815d18
Merge branch 'core-updates' 2017-08-26 15:15:49 +02:00
Leo Famulari
35131babc1
gnu: go: Update to 1.9.
* gnu/packages/golang.scm (go-1.8): Replace with ...
(go-1.9): ... new variable.
[arguments]: Adjust the pre-build phase accordingly.
2017-08-25 12:28:58 -04:00
Alex Vong
eaca9ff07e
gnu: go@1.8: Fix test failure.
* gnu/packages/golang.scm (go-1.8)[arguments]: Escape braces in test data in
'prebuild' phase.

Signed-off-by: Leo Famulari <leo@famulari.name>
2017-07-15 16:13:56 -04:00
Leo Famulari
1c797d4bfb
gnu: go@1.8: Update to 1.8.3 [fixes CVE-2017-8932].
* gnu/packages/golang.scm (go-1.8): Update to 1.8.3.
2017-05-31 11:54:57 -04:00
Sergei Trofimovich
1d698a8ba6
gnu: go-1.4: Add missing '#:modules' imports.
Fixes <https://bugs.gnu.org/26840>.

* gnu/packages/golang.scm (go-1.4): Add missing '#:modules' imports.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2017-05-09 17:52:39 +02:00
Petter
c04ef86e81
gnu: go: Update to 1.8.1.
* gnu/packages/golang.scm (go-1.7): Replace with ...
(go-1.8): New variable.
[arguments]: Update substitutions in 'prebuild' phase.
(go): Update to go-1.8.
2017-04-17 14:16:26 -04:00
Leo Famulari
f826c8c7ee
gnu: go@1.4, go@1.7: Skip test that fails with tzdata-2017a.
* gnu/packages/golang.scm (go-1.4, go-1.7)[arguments]: Disable the test
TestParseInLocation in 'prebuild' phase.
2017-03-21 01:30:39 -04:00
Leo Famulari
173995453c
gnu: go: Update to 1.7.5.
* gnu/packages/golang.scm (go-1.7): Update to 1.7.5.
[arguments]: Re-enable test 'TestLoadFixed'.
2017-02-16 22:10:11 -05:00
Efraim Flashner
8a610eb605
gnu: Fix header in (gnu packages golang).
* gnu/packages/golang.scm: Replace header line declaring this file as
part of GNU Guix.
2016-12-04 08:50:30 +02:00
Leo Famulari
cb8edaac35
gnu: go-1.7: Update to 1.7.4 [security fixes].
* gnu/packages/golang.scm (go-1.7): Update to 1.7.4.
2016-12-02 03:52:06 -05:00
Mark H Weaver
ca0635b4ba
Merge branch 'master' into core-updates 2016-10-23 14:16:39 -04:00
Leo Famulari
f08add0c5a
gnu: go-1.7: Skip test that fails due to time zone name change.
* gnu/packages/golang.scm (go-1.7)[arguments]: Skip test "TestLoadFixed" in
'prebuild' phase.
2016-10-21 19:13:01 -04:00
Leo Famulari
4b0bac4b3e
gnu: go-1.4: Skip test that fails due to time zone name change.
* gnu/packages/golang.scm (go-1.4)[arguments]: Skip test "TestLoadFixed" in
'prebuild' phase.
2016-10-21 19:13:01 -04:00
Leo Famulari
04a95a4fd6
gnu: go-1.4: Disable cgo.
* gnu/packages/golang.scm (go-1.4)[arguments]: Set "CGO_ENABLED=0" while
building.
(go-1.7)[arguments]: Keep "CGO_ENABLED=1".
2016-10-21 19:13:01 -04:00
Leo Famulari
57147c5d34
gnu: go-1.7: Update to 1.7.3.
* gnu/packages/golang.scm (go-1.7): Update to 1.7.3.
2016-10-21 19:03:21 -04:00
Leo Famulari
5f4d09b52c
gnu: go-1.7: Update to 1.7.1.
* gnu/packages/golang.scm (go-1.7): Update to 1.7.1.
2016-09-11 01:23:34 -04:00
Petter
a61696216c
gnu: go: Update to 1.7.
* gnu/packages/golang.scm (go-1.6): Update to 1.7, with corresponding
  minor changes to prebuild phase, and rename variable to...
  (go-1.7): ...this new variable.
  (go): Inherit from new "go-1.7".

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-09-06 22:09:09 +03:00
Matthew Jordan
ec91bcb500
gnu: Add Go 1.6.
* gnu/packages/golang.scm (go-1.6): New variable.

Co-authored-by: Efraim Flashner <efraim@flashner.co.il>
Co-authored-by: Andy Wingo <wingo@igalia.com>
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-08-01 01:11:57 +02:00
Matthew Jordan
7a2941a83e
gnu: Add Go 1.4.
* gnu/local.mk: Modified file.
* gnu/packages/golang.scm: New file.

Co-authored-by: Efraim Flashner <efraim@flashner.co.il>
Co-authored-by: Andy Wingo <wingo@igalia.com>
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-06-27 14:09:10 +02:00