GNU bug report logs -
#72014
[PATCH] gnu: go-github-com-ipfs-go-ipfs-cmdkit-files: Build on more systems.
Previous Next
Reported by: Efraim Flashner <efraim <at> flashner.co.il>
Date: Tue, 9 Jul 2024 16:07:02 UTC
Severity: normal
Tags: patch
Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72014 in the body.
You can then email your comments to 72014 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#72014
; Package
guix-patches
.
(Tue, 09 Jul 2024 16:07:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 09 Jul 2024 16:07:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* 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 <at> 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#72014
; Package
guix-patches
.
(Thu, 11 Jul 2024 18:35:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 72014 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#72014
; Package
guix-patches
.
(Thu, 11 Jul 2024 18:54:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 72014 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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 <at> 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
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Sharlatan Hellseher <sharlatanus <at> gmail.com>
:
You have taken responsibility.
(Thu, 18 Jul 2024 22:16:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
bug acknowledged by developer.
(Thu, 18 Jul 2024 22:16:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 72014-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Pushed as 1aa8dfaeec3c6e4e587aadf7440246f7c5c04b9f to master.
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 16 Aug 2024 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 80 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.