all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#72014] [PATCH] gnu: go-github-com-ipfs-go-ipfs-cmdkit-files: Build on more systems.
@ 2024-07-09 16:05 Efraim Flashner
  2024-07-11 18:33 ` Sharlatan Hellseher
  2024-07-18 22:13 ` bug#72014: " Sharlatan Hellseher
  0 siblings, 2 replies; 4+ messages in thread
From: Efraim Flashner @ 2024-07-09 16:05 UTC (permalink / raw)
  To: 72014; +Cc: Efraim Flashner

* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipfs-cmdkit-files)
[arguments]: When building on systems which don't support go-1.16 use
gccgo-11.

Change-Id: I0cf1e3a429603dde3a7dc75f4088c5b5f62ebad4
---
 gnu/packages/ipfs.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index daf68903c2..ab7cfb53ad 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -29,6 +29,7 @@ (define-module (gnu packages ipfs)
   #:use-module (guix git-download)
   #:use-module (guix download)
   #:use-module (guix build-system go)
+  #:use-module (gnu packages gcc)
   #:use-module (gnu packages golang)
   #:use-module (gnu packages golang-build)
   #:use-module (gnu packages golang-check)
@@ -150,7 +151,9 @@ (define-public go-github-com-ipfs-go-ipfs-cmdkit-files
               "0qk6fshgdmhp8dip2ksm13j6nywi41m9mn0czkvmw6b697z85l2r"))))
       (build-system go-build-system)
       (arguments
-       `(#:go ,go-1.16
+       `(#:go ,@(if (supported-package? go-1.16)
+                    `(,go-1.16)
+                    `(,gccgo-11))
          #:unpack-path "github.com/ipfs/go-ipfs-cmdkit"
          #:import-path "github.com/ipfs/go-ipfs-cmdkit/files"))
       (home-page "https://github.com/ipfs/go-ipfs-cmdkit")

base-commit: 395a3a3b003f219beb33ed2539ff0a8a35502b59
-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#72014] [PATCH] gnu: go-github-com-ipfs-go-ipfs-cmdkit-files: Build on more systems.
  2024-07-09 16:05 [bug#72014] [PATCH] gnu: go-github-com-ipfs-go-ipfs-cmdkit-files: Build on more systems Efraim Flashner
@ 2024-07-11 18:33 ` Sharlatan Hellseher
  2024-07-11 18:52   ` Efraim Flashner
  2024-07-18 22:13 ` bug#72014: " Sharlatan Hellseher
  1 sibling, 1 reply; 4+ messages in thread
From: Sharlatan Hellseher @ 2024-07-11 18:33 UTC (permalink / raw)
  To: 72014; +Cc: Efraim Flashner

[-- Attachment #1: Type: text/plain, Size: 403 bytes --]


Hi Efraim,

I'm about to push major update to go-team branch swapping default go to
go-1.18 or even to go-1.21 as 1.17 (02 Aug 2022), 1.18 (01 Feb 2023),
1.19 (06 Sep 2023) and 1.20 (06 Feb 2024) are EOL already
<https://endoflife.date/go>.

I've removed all #:go entries from each package where it's 1.16-1.18.

Will changing default go version solve compiling on wider range of
system?

Thanks,
Oleg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#72014] [PATCH] gnu: go-github-com-ipfs-go-ipfs-cmdkit-files: Build on more systems.
  2024-07-11 18:33 ` Sharlatan Hellseher
@ 2024-07-11 18:52   ` Efraim Flashner
  0 siblings, 0 replies; 4+ messages in thread
From: Efraim Flashner @ 2024-07-11 18:52 UTC (permalink / raw)
  To: Sharlatan Hellseher; +Cc: 72014

[-- Attachment #1: Type: text/plain, Size: 1349 bytes --]

On Thu, Jul 11, 2024 at 07:33:39PM +0100, Sharlatan Hellseher wrote:
> 
> Hi Efraim,
> 
> I'm about to push major update to go-team branch swapping default go to
> go-1.18 or even to go-1.21 as 1.17 (02 Aug 2022), 1.18 (01 Feb 2023),
> 1.19 (06 Sep 2023) and 1.20 (06 Feb 2024) are EOL already
> <https://endoflife.date/go>.

Thank you for working on this!

> I've removed all #:go entries from each package where it's 1.16-1.18.
> 
> Will changing default go version solve compiling on wider range of
> system?

AFAIK the one entry of go-1.16 is the only package we have which fails
to build with go-1.17 or later.

I believe the only Guix supported systems which aren't supported by go
itself are powerpc-linux (32-bit) and i586-gnu. gccgo has been "stuck"
on go-1.18 compatibility for a number of releases, as seen in gcc.scm,
but don't let that discourage you from choosing a newer version of go as
the default.

If this patch is obsoleted by the changes you're making then feel free
to drop it. I didn't actually have a use-case for this package anyway, I
was just trying to make more packages build.


-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#72014: [PATCH] gnu: go-github-com-ipfs-go-ipfs-cmdkit-files: Build on more systems.
  2024-07-09 16:05 [bug#72014] [PATCH] gnu: go-github-com-ipfs-go-ipfs-cmdkit-files: Build on more systems Efraim Flashner
  2024-07-11 18:33 ` Sharlatan Hellseher
@ 2024-07-18 22:13 ` Sharlatan Hellseher
  1 sibling, 0 replies; 4+ messages in thread
From: Sharlatan Hellseher @ 2024-07-18 22:13 UTC (permalink / raw)
  To: 72014-done

[-- Attachment #1: Type: text/plain, Size: 63 bytes --]


Pushed as 1aa8dfaeec3c6e4e587aadf7440246f7c5c04b9f to master.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-18 22:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-09 16:05 [bug#72014] [PATCH] gnu: go-github-com-ipfs-go-ipfs-cmdkit-files: Build on more systems Efraim Flashner
2024-07-11 18:33 ` Sharlatan Hellseher
2024-07-11 18:52   ` Efraim Flashner
2024-07-18 22:13 ` bug#72014: " Sharlatan Hellseher

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.