Package Details: lib32-khronos-ocl-icd-git 2023.04.17.5.g229410f-1

Git Clone URL: https://aur.archlinux.org/khronos-ocl-icd-git.git (read-only, click to copy)
Package Base: khronos-ocl-icd-git
Description: Khronos Group OpenCL installable client driver (ICD) loader. (GIT Version) (32-bits)
Upstream URL: http://www.khronos.org/registry/cl
Licenses: Apache
Conflicts: lib32-khronos-ocl-icd, lib32-ocl-icd, lib32-opencl-icd-loader
Provides: lib32-lib32-khronos-ocl-icd, lib32-ocl-icd, lib32-opencl-icd-loader, libOpenCL.so
Submitter: sl1pkn07
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 0
Popularity: 0.000000
First Submitted: 2020-03-13 21:39 (UTC)
Last Updated: 2023-09-30 19:06 (UTC)

Required by (47)

Sources (1)

Latest Comments

1 2 Next › Last »

MarsSeed commented on 2023-08-15 12:42 (UTC) (edited on 2023-08-15 12:43 (UTC) by MarsSeed)

Hi,

Please kindly remove opencl-headers-git from makedepends, and put it in depends instead of opencl-headers. I've just found out that the git version of the headers is the one that corresponds properly to the git version of OpenCL-ICD-Loader.

(Details: There's a new typedef, clGetICDLoaderInfoOCLICD_t in Headers that is not yet released in the stable version. And the 'main' branch version of khronos-ocl-icd uses that type. Build fails without that present, and downstream packages might also fail to build if the stable opencl-headers is installed together with this VCS package.)

sl1pkn07 commented on 2023-06-06 15:11 (UTC)

done

MarsSeed commented on 2023-06-06 13:40 (UTC)

Or alternatively please rename the bin32 binary. If you want to leave that in for e.g. testing purposes inside the lib32 package.

MarsSeed commented on 2023-06-06 13:37 (UTC) (edited on 2023-06-06 13:39 (UTC) by MarsSeed)

lib32-khronos-ocl-icd-git conflicts with khronos-ocl-icd (tested with khronos-ocl-icd).

Please kindly remove packaged files from /usr/bin in the lib32 package.

Log upon installing lib32-khronos-ocl-icd-git:

error: failed to commit transaction (conflicting files)
lib32-khronos-ocl-icd-git: /usr/bin/cllayerinfo exists in filesystem (owned by khronos-ocl-icd)
Errors occurred, no packages were upgraded.

Thank you for maintaining this package!

sl1pkn07 commented on 2022-02-17 22:42 (UTC)

try now. greetings

iKevin commented on 2022-02-17 20:53 (UTC)

Hi

I have been receiving the error below for a few weeks now. I was simply waiting for it to resolve itself thru updates but that didn't happen. Any clues as to what is going on? Seems to be complaining about GCC.

[100%] Built target PrintLayer -- The C compiler identification is GNU 11.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc - broken CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:69 (message): The C compiler

"/usr/bin/gcc"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: /home/kellwood/.cache/yay/khronos-ocl-icd-git/src/build32/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make -f Makefile cmTC_6251d/fast && /usr/bin/make  -f CMakeFiles/cmTC_6251d.dir/build.make CMakeFiles/cmTC_6251d.dir/build
make[1]: Entering directory '/home/kellwood/.cache/yay/khronos-ocl-icd-git/src/build32/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_6251d.dir/testCCompiler.c.o
/usr/bin/gcc  -m32   -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection  -o CMakeFiles/cmTC_6251d.dir/testCCompiler.c.o -c /home/kellwood/.cache/yay/khronos-ocl-icd-git/src/build32/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_6251d
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6251d.dir/link.txt --verbose=1
/usr/bin/gcc  -m32 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now  -rdynamic CMakeFiles/cmTC_6251d.dir/testCCompiler.c.o -o cmTC_6251d 
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/bin/ld: cannot find libgcc_s.so.1: No such file or directory
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_6251d.dir/build.make:99: cmTC_6251d] Error 1
make[1]: Leaving directory '/home/kellwood/.cache/yay/khronos-ocl-icd-git/src/build32/CMakeFiles/CMakeTmp'
make: *** [Makefile:127: cmTC_6251d/fast] Error 2

CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:8 (project)

-- Configuring incomplete, errors occurred!

andrfgs commented on 2021-04-15 16:26 (UTC)

Package is completely broken, as is the non git khrono-ocl-icd package.

Seems to be a link error:

/usr/bin/ld: CMakeFiles/icd_loader_test.dir/test_platforms.c.o:(.bss+0x110): multiple definition of `ret_val'; CMakeFiles/icd_loader_test.dir/test_kernel.c.o:(.bss+0x348): first defined here
/usr/bin/ld: CMakeFiles/icd_loader_test.dir/test_program_objects.c.o:(.bss+0x0): multiple definition of `ret_val'; CMakeFiles/icd_loader_test.dir/test_kernel.c.o:(.bss+0x348): first defined here
/usr/bin/ld: CMakeFiles/icd_loader_test.dir/test_sampler_objects.c.o:(.bss+0x0): multiple definition of `ret_val'; CMakeFiles/icd_loader_test.dir/test_kernel.c.o:(.bss+0x348): first defined here
/usr/bin/ld: CMakeFiles/icd_loader_test.dir/test_cl_runtime.c.o:(.bss+0x0): multiple definition of `ret_val'; CMakeFiles/icd_loader_test.dir/test_kernel.c.o:(.bss+0x348): first defined here
/usr/bin/ld: CMakeFiles/icd_loader_test.dir/test_clgl.c.o:(.bss+0x248): multiple definition of `ret_val'; CMakeFiles/icd_loader_test.dir/test_kernel.c.o:(.bss+0x348): first defined here
/usr/bin/ld: CMakeFiles/icd_loader_test.dir/test_image_objects.c.o:(.bss+0x0): multiple definition of `ret_val'; CMakeFiles/icd_loader_test.dir/test_kernel.c.o:(.bss+0x348): first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [test/loader_test/CMakeFiles/icd_loader_test.dir/build.make:275: ../bin/icd_loader_test] Erro 1
make[3]: a sair da pasta "/home/user/.cache/yay/khronos-ocl-icd/src/icd/build"
make[2]: *** [CMakeFiles/Makefile2:230: test/loader_test/CMakeFiles/icd_loader_test.dir/all] Erro 2
make[2]: a sair da pasta "/home/user/.cache/yay/khronos-ocl-icd/src/icd/build"
make[1]: *** [Makefile:101: all] Erro 2
make[1]: a sair da pasta "/home/user/.cache/yay/khronos-ocl-icd/src/icd/build"
make: *** [Makefile:13: do_build] Erro 2

FabioLolix commented on 2020-12-09 17:07 (UTC)

Would be nice follow more packaging guidelines https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git

sl1pkn07 commented on 2020-12-09 14:25 (UTC)

the problem is?

FabioLolix commented on 2020-12-09 08:08 (UTC)

Please remove the 'v' prefix from pkgver() in all of your pkgbuilds