summaryrefslogtreecommitdiff
path: root/gnu/packages/golang.scm
AgeCommit message (Collapse)Author
2026-03-18gnu: go-1.24: Update to 1.24.13 [security fixes].Sharlatan Hellseher
go1.24.12 (released 2026-01-15) includes security fixes to the go command, and the archive/zip, crypto/tls, and net/url packages, as well as bug fixes to the compiler, the runtime, and the crypto/tls and os packages. See: <https://github.com/golang/go/milestone/419> go1.24.13 (released 2026-02-04) includes security fixes to the go command and the crypto/tls package, as well as bug fixes to the crypto/x509 package. See: <https://github.com/golang/go/milestone/421> Containes fixes for: CVE-2025-68121: Unexpected session resumption in crypto/tls CVE-2025-68119: Unexpected code execution when invoking toolchain in cmd/go CVE-2025-61732: Potential code smuggling via doc comments in cmd/cgo CVE-2025-61731: Arbitrary file write using cgo pkg-config directive in cmd/go CVE-2025-61730: Handshake messages may be processed at the incorrect encryption level in crypto/tls CVE-2025-61728: Excessive CPU consumption when building archive index in archive/zip CVE-2025-61726: Memory exhaustion in query parameter parsing in net/url * gnu/packages/golang.scm (go-1.24): Update to 1.24.13. Change-Id: I80dde282c7026fd7a3cf1161a6e63f0ceca2d51f
2026-03-12gnu: go-1.25: Update to 1.25.8 [security-fixes].Sharlatan Hellseher
go1.25.8 (released 2026-03-05) includes security fixes to the html/template, net/url, and os packages, as well as bug fixes to the go command, the compiler, and the os package. See: <https://github.com/golang/go/compare/go1.25.7...go1.25.8>, <https://www.openwall.com/lists/oss-security/2026/03/06/1> Containes fixes for: CVE-2026-27142: URLs in meta content attribute actions are not escaped in html/template. CVE-2026-25679: Incorrect parsing of IPv6 host literals in net/url. CVE-2026-27139: FileInfo can escape from a Root in os. * gnu/packages/golang.scm (go-1.25): Update to 1.25.8. Change-Id: I01a80a78f20075fe6c05c46f97dfe35f770a99a0
2026-03-12gnu: go-1.26: Update to 1.26.1 [security-fixes].Sharlatan Hellseher
go1.26.1 (released 2026-03-05) includes security fixes to the crypto/x509, html/template, net/url, and os packages, as well as bug fixes to the go command, the go fix command, the compiler, and the os and reflect packages. See: <https://github.com/golang/go/compare/go1.26.0...go1.26.1>, <https://www.openwall.com/lists/oss-security/2026/03/06/1> Containes fixes for: CVE-2026-27137: Incorrect enforcement of email constraints in crypto/x509. CVE-2026-27138: Panic in name constraint checking for malformed certificates in crypto/x509. CVE-2026-27142: URLs in meta content attribute actions are not escaped in html/template. CVE-2026-25679: Incorrect parsing of IPv6 host literals in net/url. CVE-2026-27139: FileInfo can escape from a Root in os. * gnu/packages/golang.scm (go-1.26): Update to 1.26.1. Change-Id: I1c014a334407d9ca927d9e403c8c7e92cad8fe1d
2026-02-15gnu: go-1.26: Update to 1.26.0, the first release.Sharlatan Hellseher
Go 1.26 Release Notes: <https://go.dev/doc/go1.26>. * gnu/packages/golang.scm (go-1.26): Update to 1.26.0. Change-Id: I20f98681a8954848f55ba63e6fd7edb1fba51437
2026-02-15gnu: go-1.26: Update to 1.26rc2.Sharlatan Hellseher
* gnu/packages/golang.scm (go-1.26): Update to 1.26rc2. [native-inputs]: Use go-1.24 for bootstrap. Change-Id: I0c60c4af5091edede6cec865590c3fcd10074f3b
2026-02-15gnu: go-1.25: Update to 1.25.7 [security-fixes].Sharlatan Hellseher
Contains fixes for: CVE-2025-61732: cmd/go: Discrepancy between Go and C/C++ comment parsing allows for C code smuggling. CVE-2025-68121: crypto/tls: Config.Clone copies automatically generated session ticket keys, session resumption does not account for the expiration of full certificate chainn. * gnu/packages/golang.scm (go-1.25): Update to 1.25.7. Change-Id: Id06b038a837beff45af3b6db7ee14a5afd627fb3
2026-02-15gnu: go-1.25: Update to 1.25.6.Sharlatan Hellseher
* gnu/packages/golang.scm (go-1.25): Update to 1.25.6. Change-Id: I1427088bf447796e4dee3b706fed77b71edce2a7
2026-02-15gnu: go-1.24: Update to 1.24.11.Sharlatan Hellseher
* gnu/packages/golang.scm (go-1.24): Update to 1.24.11. Change-Id: Ia56b693579aa8d69936b3f7e3aaa0b96ceca4c83
2026-02-15gnu: go-1.23: Update to 1.23.12.Ethan Blanton
* gnu/packages/golang.scm (go-1.23): Update to 1.23.12 Change-Id: I538aa0f419973c32c53330a0b8a4a29592f3092a Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-04gnu: Add go-1.26.Efraim Flashner
* gnu/packages/golang.scm (go-1.26, go-std-1.26): New variables. Change-Id: I13cc52a2d00e8c12b308e42e214ca25c9bb5b345
2025-12-29gnu: go-1.25: Update to 1.25.5.Efraim Flashner
* gnu/packages/golang.scm (go-1.25): Update to 1.25.5. Change-Id: Ie4c97ff2cedbf6f5a97094ee14a1e140aa27b799
2025-12-15gnu: go-1.21: Disable failing tests on arm architectures.Roman Scherer
* gnu/packages/golang.scm (go-1.21)[arguments]<#:phases>{patch-source}: Add phase disabling tests on arm architectures. Change-Id: I6b07de4d6eee755502f02d6961f1a51066003721 Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-11-10gnu: go-1.24: Skip a test when building for armhf-linux.Efraim Flashner
* gnu/packages/golang.scm (go-1.24)[arguments]: Adjust the 'disable-more-tests phase to skip a test on armhf-linux. Change-Id: If05e4b80669a0f4faf79c7c589d6c99b297c7d92
2025-11-10gnu: go-1.23: Skip a test when building for armhf-linux.Efraim Flashner
* gnu/packages/golang.scm (go-1.23)[arguments]: Adjust the 'disable-more-tests phase to skip a test on armhf-linux. Change-Id: I16eabf352395a7fd064cddf40dabd3f1ac35fe65
2025-10-29gnu: Add go-1.25.Sharlatan Hellseher
* gnu/packages/golang.scm (go-1.25, go-std-1.25): New variables. Change-Id: I7e8b7d98e84c83f7a218e9bc42434214fb125d88 Reviewed-by: Efraim Flashner <efraim@flashner.co.il>
2025-10-21gnu: go-1.23: Fix tests on aarch64-linux.Efraim Flashner
* gnu/packages/golang.scm (go-1.23)[arguments]: Replace the 'disable-more-tests phase. Change-Id: I008d6d73aaeabce5d83fe044473b37902d2d375f
2025-10-21gnu: go-1.20: Build without binutils-gold.Efraim Flashner
* gnu/packages/golang.scm (go-1.20)[native-inputs]: Remove gold. Change-Id: I88d39932063efe53da21c3cc51458d05423a9cae
2025-10-21gnu: go-1.17: Add binutils-gold for armhf-linx and aarch64-linux.Sharlatan Hellseher
Compilation of "plugin.test" fails on aarch64-linux system after binutils-gold was removed form native inputs. This change adds it back conditionally. /gnu/store/pm409aqyb5i21sf9kn8li31p91sfrj38-gcc-14.3.0/bin/gcc -s -Wl,-z,now -Wl,-z,nocopyreloc -fuse-ld=gold -o $WORK/b1499/plugin.test -Wl,-rpath,/gnu/store/4hw376vyz889zgzrr8mkp82c0d4iz391-gcc-14.3.0-lib/lib -rdynamic <...> -O2 -g -ldl -O2 -g -lpthread collect2: fatal error: cannot find ‘ld’ See: <https://bordeaux.guix.gnu.org/build/a702cf61-da67-4900-95d2-b2eabd9b83cf/log>. Change-Id: Ida07cafd632c355dc05cad1ce4ccd0cd6f38a530
2025-10-21gnu: go-1.22: Extend the test timeout on some architectures.Efraim Flashner
* gnu/packages/golang.scm (go-1.22)[arguments]: On some architectures add a phase to extend the test timeout. Change-Id: I7db0d37a616f6515790189451d8d4ce41188ec1c Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-21gnu: Remove go-1.18.Efraim Flashner
* gnu/packages/golang.scm (go-1.18, go-std-1.18): Remove variables. Change-Id: I1f53c24f7898d41700cfd615da4eedc3c03d8c09 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-21gnu: Remove go-1.19.Efraim Flashner
* gnu/packages/golang.scm (go-1.19, go-std-1.19): Remove variables. Change-Id: I41206e4933c0b66e9683c0de14a505632297b642 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-21gnu: go-1.22: Inherit from go-1.20.Efraim Flashner
* gnu/packages/golang.scm (go-1.22)[inherit]: Inherit from go-1.20. [arguments]: Add phases previously inherited from 1.21. Change-Id: Ic8e2f921a9889b5cb270eb43e98fbbddde3e8249 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-21gnu: go-1.20: Inherit from go-1.17.Efraim Flashner
* gnu/packages/golang.scm (go-1.20)[inherit]: Inherit from go-1.17. [arguments]: Add phases previously inherited from go-1.19. [properties]: New field. Change-Id: Iccf53655323d58fff52a9f987cb71ed94b896abb Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-21gnu: Remove go-1.16.Efraim Flashner
* gnu/packages/golang.scm (go-1.16, go-std-1.16): Remove variables. Change-Id: I58f284b341f560cad072279ca75fd1794b5537c6 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-21gnu: go-1.17: Disable tests on armhf-linux.Efraim Flashner
* gnu/packages/golang.scm (go-1.17)[arguments]: Disable tests when building for armhf-linux. Change-Id: I8654c1966daaa19602d876618d5ff9e384b12fc8 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-21gnu: go-1.24: Inherit from go-1.22.Efraim Flashner
* gnu/packages/golang.scm (go-1.24)[arguments]: Replace inherited 'disable-more-tests phase to adjust for changes in the source. [native-inputs]: Rewrite inheriting from go-1.22. [properties]: Add field previously inherited from go-1.23. Change-Id: I4938c7854cba0aa982d7b755c10f255cab81a828 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-21gnu: go-1.22: Build with go-1.20.Efraim Flashner
* gnu/packages/golang.scm (go-1.22)[native-inputs]: Replace go-1.21 with go-1.20. Update the comment. Change-Id: I3785ecb882ba2c5f7ef888df123b44a88fc9665e Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-21gnu: go-1.22: Fix build on some architectures.Efraim Flashner
* gnu/packages/golang.scm (go-1.22)[arguments]: Disable parallel-tests on riscv64-linux and armhf-linux. Add a phase to disable certain tests based on the architecture. (go-1.23)[arguments]: Remove new inherited phase. Change-Id: If4ed3f195c1af504d6ab4b686829fda8c91138d2 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-21gnu: go-1.20: Update to 1.20.14.Efraim Flashner
* gnu/packages/golang.scm (go-1.20): Update to 1.20.14. [arguments]<parallel-tests?>: Disable for riscv64-linux. <tests?>: Disable for riscv64-linux. <phases>: Add a phase to skip certain tests based on the architecture. (go-1.21)[arguments]: Strip the inherited keyword tests. Remove the added phase to skip tests. Change-Id: If7cd498ad56c503b0d602e7ea62399e82ecddb06 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-21gnu: go-1.17: Enable tests on aarch64-linux.Efraim Flashner
* gnu/packages/golang.scm (go-1.17)[arguments]: When building on aarch64-linux don't disable the tests. Change-Id: I9c839a059df772636d8dd129bbb7ddad9e4ecbe9 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-21gnu: go-1.17: Always build with gcc:lib.Efraim Flashner
* gnu/packages/golang.scm (go-1.17)[inputs]: Rewrite to not inherit from go-1.4 and to always use gcc:lib. [arguments]: Add the phase 'patch-gcc:lib unconditionally. (go-1.18)[arguments]: Replace the inherited 'patch-gcc:lib phase on all architectures. Change-Id: I9024db846fef304b76441fe8b816740a60653d0e Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-21gnu: go-1.4: Build with regular gcc.Efraim Flashner
Building with a canonical-package hinders cross-building. * gnu/packages/golang.scm (go-1.4)[inputs]: Replace the canonical-package gcc:lib with gcc:lib. Change-Id: I4f0c8549611461d47cc017314e8eb55815ae549f Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-21gnu: go-1.4: Remove support for aarch64-linux.Efraim Flashner
* gnu/packages/golang.scm (go-1.4)[arguments]: Remove code setting the system to armhf-linux when building for aarch64-linux. [supported-systems]: Remove aarch64-linux. Change-Id: I7ad6da7b8ddba674433c6efd7b2085b733548d5c Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-21gnu: go-1.17: Don't inherit from go-1.16.Efraim Flashner
* gnu/packages/golang.scm (go-1.17)[inherit]: Remove field. [build-system, native-inputs, home-page, synopsis, description, license]: Add previously inherited fields. [inputs]: Rewrite without inheriting from go-1.16. Change-Id: I74e7ca00d0d8f1f79b9e76e10530903a23e3e93b Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-21gnu: go-1.16: Remove unnecessary input.Efraim Flashner
* gnu/packages/golang.scm (go-1.16)[native-inputs]: Remove binutils-gold. Change-Id: I4d603faa1a0de65e045eb6d28ea93794bd75d272 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-11gnu: go: Update to 1.24 for building packages.Maxim Cournoyer
* gnu/packages/golang.scm (go): Update to 1.24. Change-Id: I036d768405d9c757c0a068d977c1633aaa41d8cd Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-06gnu: go-1.23: Add aarch64 micro-architecture compiler support.Efraim Flashner
* gnu/packages/golang.scm (%go-1.23-arm64-micro-architectures): New variable. (go-1.23)[compiler-cpu-architectures]: Add aarch64 micro-architectures. * guix/transformations.scm (tuning-compiler): Update the go optimizer to also support GOARM64. Change-Id: I8825f9857e07c1634ea346d5a16ae9550f340e65
2025-07-18gnu: go-1.21.5: Skip test failing with gcc-14.Janneke Nieuwenhuizen
* gnu/packages/golang.scm (go-1.21)[arguments]: Add "remove-failing-test" phase. Change-Id: Ie12c23c41f82e752cad8b4f7f2689628f05670af
2025-05-28gnu: go-1.24: Update to 1.24.3.Hilton Chain
* gnu/packages/golang.scm (go-1.24): Update to 1.24.3. Change-Id: Ife52e25c121089cf19a42720a6e7a7d5f8f4f9a6
2025-05-28gnu: go-1.23: Update to 1.23.9.Hilton Chain
* gnu/packages/golang.scm (go-1.23): Update to 1.23.9. Change-Id: Ibb358b20f8a47136a4c73aa206f63b9ceb849060
2025-05-26gnu: go-1.24: Update to 1.24.2.Hilton Chain
* gnu/packages/golang.scm (go-1.24): Update to 1.24.2. Change-Id: I4e68c9fb59a14921d0125d0cd0212f0ac4dc9171 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-05-26gnu: go-1.23: Update to 1.23.8.Hilton Chain
* gnu/packages/golang.scm (go-1.23): Update to 1.23.8. Change-Id: Ib146fb5cbd20ed0a003fa31cc56169c8e54881b2 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-05-26gnu: Add go-1.24.Sharlatan Hellseher
* gnu/packages/golang.scm (go-1.24, go-std-1.24): New variables. Change-Id: I3f96ae0574a5a0c1b36b291fd23e28f348cd4683
2025-05-26gnu: go-1.23: Update to 1.23.6.Sharlatan Hellseher
* gnu/packages/golang.scm (go-1.23): Update to 1.23.6. Change-Id: Icca7f35d4f20fe93169a68406f20e8ffaa9e38d1
2025-05-26gnu: go-1.22: Update to 1.22.12.Sharlatan Hellseher
* gnu/packages/golang.scm (go-1.22): Update to 1.22.12. Change-Id: I86db365c09bf912339f9d8676048c5660f2e5a70
2025-05-26gnu: packages/golang: Remove unused modules.Sharlatan Hellseher
* gnu/packages/golang.scm: Remove unused gnu/packages modules: fonts, gnupg, golang-build, golang-check, golang-compression, golang-crypto, golang-web, golang-xyz, lua, mail, mp3, password-utils, pulseaudio, ruby, terminals, textutils, tls, and web. Remove duplicated (guix gexp). Change-Id: I87a91c603e0b7d8f419d39b41674e01282fa3c6e
2025-05-26gnu: go-github-com-aarzilli-golua: Move to music.Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aarzilli-golua): Move from here ... * gnu/packages/music.scm: ... to here. Change-Id: Ice6875f1b845df5361dd7a7166723a93c558cc20
2025-05-26gnu: go-gitlab-com-ambrevar-golua-unicode: Move to music.Sharlatan Hellseher
* gnu/packages/golang.scm (go-gitlab-com-ambrevar-golua-unicode): Move from here ... * gnu/packages/music.scm: ... to here. Change-Id: Ie0278f63597ff6a6ddc0b7b8e60e79b74a114a2e
2025-05-26gnu: go-github-com-stevedonovan-luar: Move to music.Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-stevedonovan-luar): Move from here ... * gnu/packages/music.scm: ... to here. Change-Id: I22182fc66196e907f87081cb39405f81f8edb84f
2025-05-26gnu: go-github-com-wtolson-go-taglib: Move to music.Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-wtolson-go-taglib): Move from here ... * gnu/packages/music.scm: ... to here. Change-Id: I2b5234ac631cb11c663fdebc4173b707a3faace0