GNU bug report logs - #50418
[PATCH core-updates-frozen 0/2] gnu: ocl-icd: Fix build.

Previous Next

Package: guix-patches;

Reported by: Sarah Morgensen <iskarian <at> mgsn.dev>

Date: Mon, 6 Sep 2021 02:47:01 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <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 50418 in the body.
You can then email your comments to 50418 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#50418; Package guix-patches. (Mon, 06 Sep 2021 02:47:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sarah Morgensen <iskarian <at> mgsn.dev>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 06 Sep 2021 02:47:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sarah Morgensen <iskarian <at> mgsn.dev>
To: guix-patches <at> gnu.org
Subject: [PATCH core-updates-frozen 0/2] gnu: ocl-icd: Fix build.
Date: Sun,  5 Sep 2021 19:46:38 -0700
This fixes the build by updating one minor patch version to 2.2.13.  (There
is a 2.3.1 available if that's preferable.)  The package seems to have
permanently moved to Github, so this updates the location as well.

I was able to build this and its dependent darktable on x86_64.

Sarah Morgensen (2):
  gnu: ocl-icd: Update project location.
  gnu: ocl-icd: Update to 2.2.13.

 gnu/packages/opencl.scm | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)


base-commit: c5bb7b5d97b341c625c269b21e4958d61e7f40c9
-- 
2.32.0





Information forwarded to guix-patches <at> gnu.org:
bug#50418; Package guix-patches. (Mon, 06 Sep 2021 02:50:01 GMT) Full text and rfc822 format available.

Message #8 received at 50418 <at> debbugs.gnu.org (full text, mbox):

From: Sarah Morgensen <iskarian <at> mgsn.dev>
To: 50418 <at> debbugs.gnu.org
Subject: [PATCH core-updates-frozen 1/2] gnu: ocl-icd: Update project location.
Date: Sun,  5 Sep 2021 19:49:08 -0700
The project seems to have permanently moved to Github, with no
distribution tarballs available, so update it.

* gnu/packages/opencl.scm (ocl-icd)[origin]: Retrieve source from Github
checkout instead of distribution tarballs.
[native-inputs]: Add 'autoconf', 'automake', and 'libtool'.
---
 gnu/packages/opencl.scm | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/opencl.scm b/gnu/packages/opencl.scm
index e95d19db47..4c9c440b3d 100644
--- a/gnu/packages/opencl.scm
+++ b/gnu/packages/opencl.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2018 Fis Trivial <ybbs.daans <at> hotmail.com>
 ;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me <at> tobias.gr>
+;;; Copyright © 2021 Sarah Morgensen <iskarian <at> mgsn.dev>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -131,19 +132,22 @@
     (name "ocl-icd")
     (version "2.2.12")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://forge.imag.fr/frs/download.php/836/ocl-icd-"
-                    version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/OCL-dev/ocl-icd")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1x2dr8p4dkfds56r38av360i3nv1y3326jmshxvjngaf6mlg6rbn"))
+                "075pj99nanl75hyv93wys9ba3x7lhcdj0awdcd8bss6mdxqxj5mc"))
               (modules '((guix build utils)))
               (snippet
                '(delete-file-recursively "khronos-headers"))))
     (native-inputs
-     `(("opencl-headers" ,opencl-headers)
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("libtool" ,libtool)
+       ("opencl-headers" ,opencl-headers)
        ("ruby" ,ruby)))
     (inputs
      `(("libgcrypt" ,libgcrypt)))
@@ -155,7 +159,7 @@
             (variable "OPENCL_VENDOR_PATH")
             (files '("etc/OpenCL/vendors")))))
     (search-paths native-search-paths)
-    (home-page "https://forge.imag.fr/projects/ocl-icd/")
+    (home-page "https://github.com/OCL-dev/ocl-icd/")
     (synopsis "OpenCL loader for Installable Client Drivers (ICDs)")
     (description
      "OpenCL implementations are provided as ICDs (Installable Client
-- 
2.32.0





Information forwarded to guix-patches <at> gnu.org:
bug#50418; Package guix-patches. (Mon, 06 Sep 2021 02:50:02 GMT) Full text and rfc822 format available.

Message #11 received at 50418 <at> debbugs.gnu.org (full text, mbox):

From: Sarah Morgensen <iskarian <at> mgsn.dev>
To: 50418 <at> debbugs.gnu.org
Subject: [PATCH core-updates-frozen 2/2] gnu: ocl-icd: Update to 2.2.13.
Date: Sun,  5 Sep 2021 19:49:09 -0700
Fix building with GCC 10 by updating to 2.2.13.

* gnu/packages/opencl.scm (ocl-icd): Update to 2.2.13.
---
 gnu/packages/opencl.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/opencl.scm b/gnu/packages/opencl.scm
index 4c9c440b3d..9b64780941 100644
--- a/gnu/packages/opencl.scm
+++ b/gnu/packages/opencl.scm
@@ -130,7 +130,7 @@
 (define-public ocl-icd
   (package
     (name "ocl-icd")
-    (version "2.2.12")
+    (version "2.2.13")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -139,7 +139,7 @@
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "075pj99nanl75hyv93wys9ba3x7lhcdj0awdcd8bss6mdxqxj5mc"))
+                "1cpys998467fdi0khdr1cj8qaawhrw0xn6z48b1jsq52c7hgd682"))
               (modules '((guix build utils)))
               (snippet
                '(delete-file-recursively "khronos-headers"))))
-- 
2.32.0





Information forwarded to guix-patches <at> gnu.org:
bug#50418; Package guix-patches. (Mon, 06 Sep 2021 05:58:01 GMT) Full text and rfc822 format available.

Message #14 received at 50418 <at> debbugs.gnu.org (full text, mbox):

From: Lars-Dominik Braun <lars <at> 6xq.net>
To: Sarah Morgensen <iskarian <at> mgsn.dev>
Cc: 50418 <at> debbugs.gnu.org
Subject: Re: [bug#50418] [PATCH core-updates-frozen 0/2] gnu: ocl-icd: Fix
 build.
Date: Mon, 6 Sep 2021 07:57:24 +0200
Hi Sarah,

> This fixes the build by updating one minor patch version to 2.2.13.  (There
> is a 2.3.1 available if that's preferable.)  The package seems to have
> permanently moved to Github, so this updates the location as well.
note that I replaced this package on master with commit
4d1157fca7627c11672df0cd80fae4f4d27e2185 by the Khronos Group’s loader,
which seemed the only maintained one. I didn’t know the project had
moved to GitHub.

Cheers,
Lars





Information forwarded to guix-patches <at> gnu.org:
bug#50418; Package guix-patches. (Mon, 06 Sep 2021 17:21:01 GMT) Full text and rfc822 format available.

Message #17 received at 50418 <at> debbugs.gnu.org (full text, mbox):

From: Sarah Morgensen <iskarian <at> mgsn.dev>
To: Lars-Dominik Braun <lars <at> 6xq.net>
Cc: 50418 <at> debbugs.gnu.org
Subject: Re: [bug#50418] [PATCH core-updates-frozen 0/2] gnu: ocl-icd: Fix
 build.
Date: Mon, 06 Sep 2021 10:20:34 -0700
Hello,

Lars-Dominik Braun <lars <at> 6xq.net> writes:

> Hi Sarah,
>
>> This fixes the build by updating one minor patch version to 2.2.13.  (There
>> is a 2.3.1 available if that's preferable.)  The package seems to have
>> permanently moved to Github, so this updates the location as well.
> note that I replaced this package on master with commit
> 4d1157fca7627c11672df0cd80fae4f4d27e2185 by the Khronos Group’s loader,
> which seemed the only maintained one. I didn’t know the project had
> moved to GitHub.

Thanks for letting me know.

Is the Khronos Group one better, such that there's no reason to keeping
ocl-icd?  (The README for ocl-icd states "[t]his package aims at
creating an Open Source alternative to vendor specific OpenCL ICD
loaders."  Is the Khronos Group one similarly not vendor-specific?)

If so, would you consider replacing ocl-icd with it in
core-updates-frozen, since it and its dependents are currently broken?

--
Sarah




Information forwarded to guix-patches <at> gnu.org:
bug#50418; Package guix-patches. (Wed, 08 Sep 2021 15:02:01 GMT) Full text and rfc822 format available.

Message #20 received at 50418 <at> debbugs.gnu.org (full text, mbox):

From: Lars-Dominik Braun <lars <at> 6xq.net>
To: Sarah Morgensen <iskarian <at> mgsn.dev>
Cc: 50418 <at> debbugs.gnu.org
Subject: Re: [bug#50418] [PATCH core-updates-frozen 0/2] gnu: ocl-icd: Fix
 build.
Date: Wed, 8 Sep 2021 17:01:25 +0200
Hi Sarah,

> Is the Khronos Group one better, such that there's no reason to keeping
> ocl-icd?  (The README for ocl-icd states "[t]his package aims at
> creating an Open Source alternative to vendor specific OpenCL ICD
> loaders."  Is the Khronos Group one similarly not vendor-specific?)
I’m not really sure which one is “better”, but the Khronos-loader
is vendor-independent like ocl-icd, so there’s no real reason to
keep two imho.

> If so, would you consider replacing ocl-icd with it in
> core-updates-frozen, since it and its dependents are currently broken?
Ludovic actually merged master into core-updates-frozen yesterday, so
this issue should be resolved. Unfortunately the CI is going to take
some time to catch up, so we don’t know yet whether that was successful.

Cheers,
Lars





Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Tue, 12 Oct 2021 18:38:02 GMT) Full text and rfc822 format available.

Notification sent to Sarah Morgensen <iskarian <at> mgsn.dev>:
bug acknowledged by developer. (Tue, 12 Oct 2021 18:38:02 GMT) Full text and rfc822 format available.

Message #25 received at 50418-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Lars-Dominik Braun <lars <at> 6xq.net>
Cc: Sarah Morgensen <iskarian <at> mgsn.dev>, 50418-done <at> debbugs.gnu.org
Subject: Re: bug#50418: [PATCH core-updates-frozen 0/2] gnu: ocl-icd: Fix
 build.
Date: Tue, 12 Oct 2021 14:37:44 -0400
Hi,

Lars-Dominik Braun <lars <at> 6xq.net> writes:

> Hi Sarah,
>
>> Is the Khronos Group one better, such that there's no reason to keeping
>> ocl-icd?  (The README for ocl-icd states "[t]his package aims at
>> creating an Open Source alternative to vendor specific OpenCL ICD
>> loaders."  Is the Khronos Group one similarly not vendor-specific?)
> I’m not really sure which one is “better”, but the Khronos-loader
> is vendor-independent like ocl-icd, so there’s no real reason to
> keep two imho.
>
>> If so, would you consider replacing ocl-icd with it in
>> core-updates-frozen, since it and its dependents are currently broken?
> Ludovic actually merged master into core-updates-frozen yesterday, so
> this issue should be resolved. Unfortunately the CI is going to take
> some time to catch up, so we don’t know yet whether that was successful.
>
> Cheers,
> Lars

Since we already have opencl-icd-loader deprecating ocl-icd in the
frozen branch (see commit 4d1157fca7), let's drop this change for now.

Thank you,

Closing.

Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 10 Nov 2021 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 168 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.