Summary: | dev-libs/ocl-icd-2.2.14 cannot build against dev-util/opencl-headers-2021.04.29 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Hank Leininger <hlein> |
Component: | Current packages | Assignee: | Patrick Lauer <patrick> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo, ionen, m_gentoobug, peter, tanekliang, zeekec |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/OCL-dev/ocl-icd/commit/aed1832c81c0971ea001e12d41e04df834257f94 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | ocl-icd build failure when opencl-headers-2021.04.29 is installed |
Description
Hank Leininger
2021-05-12 01:52:39 UTC
Created attachment 707229 [details]
ocl-icd build failure when opencl-headers-2021.04.29 is installed
Considering the non-ruby alternative (dev-libs/opencl-icd-loader) needs these header bumps, I hope it won't become a recurring issue. Hank Leininger wrote: "Until sorted out, changing >=dev-util/opencl-headers-2020.12.18 to =dev-util/opencl-headers-2020.12.18 allows ocl-icd-2.2.14 to build again." There's no opencl-headers-2020.12.18 in the tree today, so I changed it to =dev-util/opencl-headers-2020.06.16. Still dev-libs/ocl-icd-2.2.14 would not compile. If want to use stable =opencl-headers-2020.06.16 as a workaround, should use stable =ocl-icd-2.2.12-r3 as well (could set -~amd64 keywords on both) Alternatively, if don't explicitly want ocl-icd, may want replace ocl-icd: emerge -1 opencl-icd-loader (personally think it should be the default for virtual/opencl). CC'ing marecki since been handling the opencl-icd-loader/headers side of things. Not sure what I can bring to this discussion. Khronos Group has been extending both the headers and their official ICD loader to support OpenCL 3, something has indeed changed which is not compatible with old ocl-icd. ocl-icd upstream has already addressed this in Git, see the link. And if ocl-icd versions in the tree require an earlier version of opencl-headers the maintainer of the former should set dependencies accordingly so that the relevant versions of the latter do not accidentally get removed. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33470b53c126038cfb84831516172bd8ff3bbe00 commit 33470b53c126038cfb84831516172bd8ff3bbe00 Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2021-05-29 14:42:10 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2021-05-29 14:43:35 +0000 dev-libs/ocl-icd: Drop old and broken 2.2.14 Closes: https://bugs.gentoo.org/789558 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: James Le Cuirot <chewi@gentoo.org> dev-libs/ocl-icd/Manifest | 1 - dev-libs/ocl-icd/ocl-icd-2.2.14-r1.ebuild | 57 ------------------------------- dev-libs/ocl-icd/ocl-icd-2.2.14.ebuild | 44 ------------------------ 3 files changed, 102 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d19af2426ace8a0bbc48ee64c042ef15a18f29ea commit d19af2426ace8a0bbc48ee64c042ef15a18f29ea Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2021-05-29 14:41:28 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2021-05-29 14:43:32 +0000 dev-libs/ocl-icd: Version bump to 2.3.0 This is compatible with the new OpenCL headers. Closes: https://bugs.gentoo.org/789558 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: James Le Cuirot <chewi@gentoo.org> dev-libs/ocl-icd/Manifest | 1 + .../ocl-icd/files/ocl-icd-2.3.0-new-headers.patch | 94 ++++++++++++++++++++++ dev-libs/ocl-icd/ocl-icd-2.3.0.ebuild | 61 ++++++++++++++ 3 files changed, 156 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58ccd37b4d51a90f951c827b185c6682d165c180 commit 58ccd37b4d51a90f951c827b185c6682d165c180 Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2021-05-29 14:30:40 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2021-05-29 14:43:28 +0000 dev-libs/ocl-icd: Pin opencl-headers on 2.2.12 to compatible version We need to ensure this version isn't removed. Closes: https://bugs.gentoo.org/789558 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: James Le Cuirot <chewi@gentoo.org> .../ocl-icd/{ocl-icd-2.2.12-r3.ebuild => ocl-icd-2.2.12-r4.ebuild} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) |