Created attachment 649116 [details] build.log Happens with 1.9.0 and 9999 versions: x86_64-pc-linux-gnu-gcc -DAC_BUILT -mxop -DJOHN_XOP -c -m64 -march=native -mtune=native -O2 -pipe -DARCH_LITTLE_ENDIAN=1 -DJOHN_SYSTEMWIDE -DJOHN_SYSTEMWIDE_EXEC='"/usr/bin"' -DJOHN_SYSTEMWIDE_HOME='"/etc/john"' -Wall -Wno-stringop-truncation -Wno-format-overflow -Wno-format-truncation -fno-omit-frame-pointer --param allow-store-data-races=0 -Wno-deprecated-declarations -Wformat-extra-args -Wunused-but-set-variable -std=gnu89 -Wdate-time -D_POSIX_SOURCE -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -fopenmp -pthread -DCL_SILENCE_DEPRECATION -DHAVE_OPENCL -pthread -funroll-loops opencl_common.c -o opencl_common.o opencl_common.c: In function ‘get_pci_info’: opencl_common.c:529:3: error: unknown type name ‘cl_device_topology_amd’ 529 | cl_device_topology_amd topo; | ^~~~~~~~~~~~~~~~~~~~~~ opencl_common.c:535:29: error: request for member ‘pcie’ in something not a structure or union 535 | hardware_info->bus = topo.pcie.bus & 0xff; | ^ opencl_common.c:536:32: error: request for member ‘pcie’ in something not a structure or union 536 | hardware_info->device = topo.pcie.device & 0xff; | ^ opencl_common.c:537:34: error: request for member ‘pcie’ in something not a structure or union 537 | hardware_info->function = topo.pcie.function & 0xff; | ^ make[1]: *** [Makefile:1866: opencl_common.o] Error 1
Created attachment 652704 [details, diff] Build fix CL_DEVICE_TOPOLOGY_AMD is defined in cl_ext.h but the typedef cl_device_topology_amd is not.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdd8982b5fde70da005cb979a78519b01297d578 commit cdd8982b5fde70da005cb979a78519b01297d578 Author: Hank Leininger <hlein@korelogic.com> AuthorDate: 2020-11-21 02:47:28 +0000 Commit: Rick Farina <zerochaos@gentoo.org> CommitDate: 2021-03-09 21:43:32 +0000 app-crypt/johntheripper-jumbo: fixes and cleanups Fixed opencl compilation issue, installation of .pl helpers, a broken documentation symlink, and removed ~amd64-linux KEYWORD because its dependencies lack it, to keep `repoman full` happy. Signed-off-by: Hank Leininger <hlein@korelogic.com> Closes: https://bugs.gentoo.org/732456 Closes: https://bugs.gentoo.org/713462 CLoses: https://bugs.gentoo.org/726432 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Rick Farina <zerochaos@gentoo.org> .../johntheripper-jumbo-1.9.0-opencl-fix.patch | 12 ++ .../johntheripper-jumbo-1.9.0-r1.ebuild | 133 +++++++++++++++++++++ 2 files changed, 145 insertions(+)
fixed via https://github.com/gentoo/gentoo/pull/18344 from Hank Leininger