Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] ocl-icd fails to build
@ 2022-01-27 23:29 RossComputerGuy
  2022-01-28  0:53 ` [ISSUE] [CLOSED] " q66
  0 siblings, 1 reply; 2+ messages in thread
From: RossComputerGuy @ 2022-01-27 23:29 UTC (permalink / raw)
  To: ml

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

New issue by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/35265

Description:
```
ocl_icd_debug.h:55:84: note: in definition of macro 'debug'
   55 |   fprintf(stderr, "ocl-icd(%s:%i): %s: " fmt "\n", __FILE__, __LINE__, __func__, ##__VA_ARGS__); \
      |                                                                                    ^~~~~~~~~~~
ocl_icd_loader_gen.c:2188:3: note: in expansion of macro 'dump_field'
 2188 |   dump_field(pid, f, clUnknown179);
      |   ^~~~~~~~~~
ocl_icd_debug.h:89:160: error: 'struct _cl_icd_dispatch' has no member named 'clGetExtensionFunctionAddressForPlatform'
   89 |     debug(D_ALWAYS, "%40s=%p [%p/%p]", #name, pid->dispatch->name, f(#name), ((long)(pid->dispatch->clGetExtensionFunctionAddressForPlatform)>10)?pid->dispatch->clGetExtensionFunctionAddressForPlatform(pid, #name):NULL)
      |                                                                                                                                                                ^~
ocl_icd_debug.h:55:84: note: in definition of macro 'debug'
   55 |   fprintf(stderr, "ocl-icd(%s:%i): %s: " fmt "\n", __FILE__, __LINE__, __func__, ##__VA_ARGS__); \
      |                                                                                    ^~~~~~~~~~~
ocl_icd_loader_gen.c:2188:3: note: in expansion of macro 'dump_field'
 2188 |   dump_field(pid, f, clUnknown179);
      |   ^~~~~~~~~~
make[2]: *** [Makefile:819: libOpenCL_la-ocl_icd_loader_gen.lo] Error 1
make[2]: Leaving directory '/builddir/ocl-icd-2.2.12'
make[1]: *** [Makefile:1016: all-recursive] Error 1
make[1]: Leaving directory '/builddir/ocl-icd-2.2.12'
make: *** [Makefile:588: all] Error 2
=> ERROR: ocl-icd-2.2.12_2: do_build: '${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}' exited with 2
=> ERROR:   in do_build() at common/build-style/gnu-configure.sh:15
```
I was playing around with `xbps-src` and while trying to compile `ocl-icd` for ffmpeg, I ran across this issue. The repo cloned is up to date so there should be no issues there.


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

end of thread, other threads:[~2022-01-28  0:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-27 23:29 [ISSUE] ocl-icd fails to build RossComputerGuy
2022-01-28  0:53 ` [ISSUE] [CLOSED] " q66

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).