[package - main-arm64-default][devel/libclc] Failed for libclc-llvm15-15.0.7 in build

<[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <6a1367db.8e6.70e586aa__16637.1206798189$1779656684$gmane$org@ampere2.nyi.freebsd.org>
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     [email protected]
Log URL:        https://pkg-status.freebsd.org/ampere2/data/main-arm64-default/p111447bfcc9e_s762e451b318/logs/libclc-llvm15-15.0.7.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=p111447bfcc9e_s762e451b318
Log:

=>> Building devel/libclc
build started at Sun May 24 21:03:59 UTC 2026
port directory: /usr/ports/devel/libclc
package name: libclc-llvm15-15.0.7
building for: FreeBSD main-arm64-default-job-10 16.0-CURRENT FreeBSD 16.0-CURRENT 1600018 arm64
maintained by: [email protected]
Makefile datestamp: -rw-r--r--  1 root wheel 1802 May 19 01:05 /usr/ports/devel/libclc/Makefile
Ports top last git commit: 111447bfcc9eff98d457a131bc236529d5a84c77
Ports top unclean checkout: no
Port dir last git commit: 383a0a83417f04563c2027ad87db17e9e2a6ebfe
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.8
Host OSVERSION: 1600018
Jail OSVERSION: 1600018
Job Id: 10

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1600018
UNAME_v=FreeBSD 16.0-CURRENT 1600018
UNAME_r=16.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.8
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-arm64-default/10/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.8
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=llvm15
MAKE_ARGS= FLAVOR=llvm15
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
[email protected]
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.11" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/libclc/work-llvm15  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/libclc/work-llvm15  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/libclc/work-llvm15/.cache  HOME=/wrkdirs/usr/ports/devel/libclc/work-llvm15 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/libclc/work-llvm15/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/libclc/work-llvm15/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
NINJA_STATUS="[%p %s/%t] " XDG_DATA_HOME=/wrkdirs/usr/ports/devel/libclc/work-llvm15  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/libclc/work-llvm15  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/libclc/work-llvm15/.cache  HOME=/wrkdirs/usr/ports/devel/libclc/work-llvm15 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/libclc/work-llvm15/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/libclc/work-llvm15/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/devel/libclc/work-llvm15/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/usr/local/llvm15/bin/clang" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-
 strict-aliasing "  CPP="/usr/local/llvm15/bin/clang-cpp" CPPFLAGS=""  LDFLAGS=" " LIBS=""  CXX="/usr/local/llvm15/bin/clang++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-alias
ing   " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
CMAKE_BUILD_TYPE="release" PYTHON_INCLUDEDIR=include/python3.11  PYTHON_LIBDIR=lib/python3.11  PYTHON_PLATFORM=freebsd16  PYTHON_SITELIBDIR=lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_BASESUFFIX=311  PYTHON_TAG=.cpython-311  PYTHON_SOABI=.cpython-311  PYTHON_VER=3.11  PYTHON_BASEVER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" LLVM_GE15="" LLVM_LT15="@comment " LLVM_GE16="@comment " LLVM_LT16="" LLVM_GE17="@comment " LLVM_LT17="" LLVM_GE18="@comment " LLVM_LT18="" LLVM_GE19="@comment " LLVM_LT19="" LLVM_GE20="@comment " LLVM_LT20="" LLVM_GE21="@comment " LLVM_LT21="" LLVM_GE22="@comment " LLVM_LT22="" LLVM_VERSION=llvm15 OSREL=16.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/libclc"  EXAMPLESDIR="share/examples/libclc
 "  DATADIR="share/libclc"  WWWDIR="www/libclc"  ETCDIR="etc/libclc"
--End PLIST_SUB--

--SUB_LIST--
PYTHON_INCLUDEDIR=/usr/local/include/python3.11  PYTHON_LIBDIR=/usr/local/lib/python3.11  PYTHON_PLATFORM=freebsd16  PYTHON_SITELIBDIR=/usr/local/lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_BASESUFFIX=311  PYTHON_TAG=.cpython-311  PYTHON_SOABI=.cpython-311  PYTHON_VER=3.11  PYTHON_BASEVER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/libclc DOCSDIR=/usr/local/share/doc/libclc EXAMPLESDIR=/usr/local/share/examples/libclc  WWWDIR=/usr/local/www/libclc ETCDIR=/usr/local/etc/libclc
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  1048576
stack size              (kbytes, -s)  1048576
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  8192
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
pipebuf                         (-y)  unlimited
virtual machines                (-V)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License LLVM accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   libclc-llvm15-15.0.7 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.7.5.pkg
[main-arm64-default-job-10] Installing pkg-2.7.5...
[main-arm64-default-job-10] Extracting pkg-2.7.5: .......... done
===>   libclc-llvm15-15.0.7 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of libclc-llvm15-15.0.7
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License LLVM accepted by the user
===> Fetching all distfiles required by libclc-llvm15-15.0.7 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License LLVM accepted by the user
===> Fetching all distfiles required by libclc-llvm15-15.0.7 for building
=> SHA256 Checksum OK for libclc-15.0.7.src.tar.xz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License LLVM accepted by the user
===> Fetching all distfiles required by libclc-llvm15-15.0.7 for building
===>  Extracting for libclc-llvm15-15.0.7
=> SHA256 Checksum OK for libclc-15.0.7.src.tar.xz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for libclc-llvm15-15.0.7
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   libclc-llvm15-15.0.7 depends on package: spirv-llvm-translator-llvm15>0 - not found
===>   Installing existing package /packages/All/spirv-llvm-translator-llvm15-15.0.23.pkg
[main-arm64-default-job-10] Installing spirv-llvm-translator-llvm15-15.0.23...
[main-arm64-default-job-10] `-- Installing llvm15-15.0.7_11...
[main-arm64-default-job-10] |   `-- Installing libedit-3.1.20251016_1,1...
[main-arm64-default-job-10] |   `-- Extracting libedit-3.1.20251016_1,1: .......... done
[main-arm64-default-job-10] |   `-- Installing lua53-5.3.6_1...
[main-arm64-default-job-10] |   `-- Extracting lua53-5.3.6_1: .......... done
[main-arm64-default-job-10] |   `-- Installing perl5-5.42.2...
[main-arm64-default-job-10] |   `-- Extracting perl5-5.42.2: .......... done
[main-arm64-default-job-10] |   `-- Installing python311-3.11.15_2...
[main-arm64-default-job-10] |   | `-- Installing gettext-runtime-1.0_1...
[main-arm64-default-job-10] |   |   `-- Installing indexinfo-0.3.1_1...
[main-arm64-default-job-10] |   |   `-- Extracting indexinfo-0.3.1_1: .... done
[main-arm64-default-job-10] |   | `-- Extracting gettext-runtime-1.0_1: .......... done
[main-arm64-default-job-10] |   | `-- Installing libffi-3.5.1...
[main-arm64-default-job-10] |   | `-- Extracting libffi-3.5.1: .......... done
[main-arm64-default-job-10] |   | `-- Installing mpdecimal-4.0.1...
[main-arm64-default-job-10] |   | `-- Extracting mpdecimal-4.0.1: .......... done
[main-arm64-default-job-10] |   | `-- Installing readline-8.3.3...
[main-arm64-default-job-10] |   | `-- Extracting readline-8.3.3: .......... done
[main-arm64-default-job-10] |   `-- Extracting python311-3.11.15_2: .......... done
[main-arm64-default-job-10] |   `-- Installing zstd-1.5.7_1...
[main-arm64-default-job-10] |   `-- Extracting zstd-1.5.7_1: .......... done
[main-arm64-default-job-10] `-- Extracting llvm15-15.0.7_11: .......... done
<snip>
	DEVICE: cayman ( aruba )
BUILDING spirv-mesa3d-
	DEVICE: none (  )
BUILDING spirv64-mesa3d-
	DEVICE: none (  )
-- Configuring done (2.6s)
-- Generating done (1.3s)
CMake Warning:
  Manually-specified variables were not used by the project:

    BOOST_PYTHON_SUFFIX
    CMAKE_COLOR_MAKEFILE
    CMAKE_C_COMPILER
    CMAKE_C_FLAGS
    CMAKE_C_FLAGS_DEBUG
    CMAKE_C_FLAGS_RELEASE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_SHARED_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    FETCHCONTENT_FULLY_DISCONNECTED
    LLVM_DIR
    Python_ADDITIONAL_VERSIONS
    Python_EXECUTABLE
    THREADS_HAVE_PTHREAD_ARG


-- Build files have been written to: /wrkdirs/usr/ports/devel/libclc/work-llvm15/.build
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for libclc-llvm15-15.0.7
[  0% 2/2871] cd /wrkdirs/usr/ports/devel/libclc/work-llvm15/.build && /usr/local/bin/python3.11 /wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/generic/lib/gen_convert.py > convert.cl
[  0% 4/2871] /usr/local/llvm15/bin/clang -E -P  -DCLC_AMDGCN -D__CLC_INTERNAL -I/wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/generic/include -cl-no-stdinc -target amdgcn-- -mcpu=tahiti -fno-builtin -nostdlib -x cl /wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/generic/lib/subnormal_use_default.ll -o CMakeFiles/builtins.link.tahiti-amdgcn--.dir/generic/lib/subnormal_use_default.bc.temp && /usr/local/llvm15/bin/llvm-as -o CMakeFiles/builtins.link.tahiti-amdgcn--.dir/generic/lib/subnormal_use_default.bc CMakeFiles/builtins.link.tahiti-amdgcn--.dir/generic/lib/subnormal_use_default.bc.temp
[  0% 5/2871] /usr/local/llvm15/bin/clang -E -P  -DCLC_AMDGCN -D__CLC_INTERNAL -I/wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/generic/include -cl-no-stdinc -target amdgcn-- -mcpu=tahiti -fno-builtin -nostdlib -I /wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/amdgcn/lib/cl_khr_int64_extended_atomics -x cl /wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/amdgcn/lib/cl_khr_int64_extended_atomics/minmax_helpers.ll -o CMakeFiles/builtins.link.tahiti-amdgcn--.dir/amdgcn/lib/cl_khr_int64_extended_atomics/minmax_helpers.bc.temp && /usr/local/llvm15/bin/llvm-as -o CMakeFiles/builtins.link.tahiti-amdgcn--.dir/amdgcn/lib/cl_khr_int64_extended_atomics/minmax_helpers.bc CMakeFiles/builtins.link.tahiti-amdgcn--.dir/amdgcn/lib/cl_khr_int64_extended_atomics/min
 max_helpers.bc.temp
[  0% 6/2871] /usr/local/llvm15/bin/clang -DCLC_AMDGCN -D__CLC_INTERNAL -I/wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/generic/include -cl-no-stdinc -target amdgcn-- -mcpu=tahiti -fno-builtin -nostdlib -I /wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/amdgcn/lib/integer -o CMakeFiles/builtins.link.tahiti-amdgcn--.dir/amdgcn/lib/integer/popcount.bc -c /wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/amdgcn/lib/integer/popcount.cl -emit-llvm
[  0% 7/2871] /usr/local/llvm15/bin/clang -DCLC_AMDGCN -D__CLC_INTERNAL -I/wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/generic/include -cl-no-stdinc -target amdgcn-- -mcpu=tahiti -fno-builtin -nostdlib -I /wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/amdgcn/lib/math -o CMakeFiles/builtins.link.tahiti-amdgcn--.dir/amdgcn/lib/math/fmax.bc -c /wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/amdgcn/lib/math/fmax.cl -emit-llvm
[  0% 8/2871] /usr/local/llvm15/bin/clang++ -DHAVE_LLVM=0x1500  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing    -DNDEBUG -I/usr/local/llvm15/include -std=c++14 -fno-exceptions -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-rtti -MD -MT CMakeFiles/prepare_builtins.dir/utils/prepare-builtins.cpp.o -MF CMakeFiles/prepare_builtins.dir/utils/prepare-builtins.cpp.o.d -o CMakeFiles/prepare_builtins.dir/utils/prepare-builtins.cpp.o -c /wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/utils/prepare-builtins.cpp
FAILED: [code=1] CMakeFiles/prepare_builtins.dir/utils/prepare-builtins.cpp.o 
/usr/local/llvm15/bin/clang++ -DHAVE_LLVM=0x1500  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing    -DNDEBUG -I/usr/local/llvm15/include -std=c++14 -fno-exceptions -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-rtti -MD -MT CMakeFiles/prepare_builtins.dir/utils/prepare-builtins.cpp.o -MF CMakeFiles/prepare_builtins.dir/utils/prepare-builtins.cpp.o.d -o CMakeFiles/prepare_builtins.dir/utils/prepare-builtins.cpp.o -c /wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/utils/prepare-builtins.cpp
In file included from /wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/utils/prepare-builtins.cpp:2:
In file included from /usr/local/llvm15/include/llvm/Bitcode/BitcodeReader.h:16:
In file included from /usr/local/llvm15/include/llvm/ADT/ArrayRef.h:12:
In file included from /usr/local/llvm15/include/llvm/ADT/Hashing.h:49:
In file included from /usr/local/llvm15/include/llvm/Support/SwapByteOrder.h:17:
In file included from /usr/include/c++/v1/cstddef:56:
In file included from /usr/include/c++/v1/__cstddef/byte.h:15:
In file included from /usr/include/c++/v1/__type_traits/is_integral.h:14:
/usr/include/c++/v1/__type_traits/remove_cv.h:22:32: error: unknown type name '__remove_cv'; did you mean 'remove_cv'?
  using type _LIBCPP_NODEBUG = __remove_cv(_Tp);
                               ^
/usr/include/c++/v1/__type_traits/remove_cv.h:21:35: note: 'remove_cv' declared here
struct _LIBCPP_NO_SPECIALIZATIONS remove_cv {
                                  ^
/usr/include/c++/v1/__type_traits/remove_cv.h:30:39: error: unknown type name '__remove_cv'
using __remove_cv_t _LIBCPP_NODEBUG = __remove_cv(_Tp);
                                      ^
/usr/include/c++/v1/__type_traits/remove_cv.h:35:21: error: no template named '__remove_cv_t'; did you mean 'remove_cv'?
using remove_cv_t = __remove_cv_t<_Tp>;
                    ^
/usr/include/c++/v1/__type_traits/remove_cv.h:21:35: note: 'remove_cv' declared here
struct _LIBCPP_NO_SPECIALIZATIONS remove_cv {
                                  ^
In file included from /wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/utils/prepare-builtins.cpp:2:
In file included from /usr/local/llvm15/include/llvm/Bitcode/BitcodeReader.h:16:
In file included from /usr/local/llvm15/include/llvm/ADT/ArrayRef.h:12:
In file included from /usr/local/llvm15/include/llvm/ADT/Hashing.h:49:
In file included from /usr/local/llvm15/include/llvm/Support/SwapByteOrder.h:19:
In file included from /usr/include/c++/v1/type_traits:466:
In file included from /usr/include/c++/v1/__type_traits/add_pointer.h:14:
/usr/include/c++/v1/__type_traits/is_void.h:22:69: error: unknown type name '__remove_cv'
struct _LIBCPP_NO_SPECIALIZATIONS is_void : _BoolConstant<__is_same(__remove_cv(_Tp), void)> {};
                                                                    ^
In file included from /wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/utils/prepare-builtins.cpp:2:
In file included from /usr/local/llvm15/include/llvm/Bitcode/BitcodeReader.h:16:
In file included from /usr/local/llvm15/include/llvm/ADT/ArrayRef.h:12:
In file included from /usr/local/llvm15/include/llvm/ADT/Hashing.h:49:
In file included from /usr/local/llvm15/include/llvm/Support/SwapByteOrder.h:19:
In file included from /usr/include/c++/v1/type_traits:471:
In file included from /usr/include/c++/v1/__type_traits/common_type.h:14:
/usr/include/c++/v1/__type_traits/decay.h:40:32: error: no template named '__remove_cv_t'; did you mean 'remove_cv_t'?
  using type _LIBCPP_NODEBUG = __remove_cv_t<_Up>;
                               ^
/usr/include/c++/v1/__type_traits/remove_cv.h:35:1: note: 'remove_cv_t' declared here
using remove_cv_t = __remove_cv_t<_Tp>;
^
In file included from /wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/utils/prepare-builtins.cpp:2:
In file included from /usr/local/llvm15/include/llvm/Bitcode/BitcodeReader.h:16:
In file included from /usr/local/llvm15/include/llvm/ADT/ArrayRef.h:12:
In file included from /usr/local/llvm15/include/llvm/ADT/Hashing.h:49:
In file included from /usr/local/llvm15/include/llvm/Support/SwapByteOrder.h:19:
In file included from /usr/include/c++/v1/type_traits:471:
In file included from /usr/include/c++/v1/__type_traits/common_type.h:14:
/usr/include/c++/v1/__type_traits/decay.h:49:97: error: use of undeclared identifier '__remove_cv_t'
                      __conditional_t<is_function<_Up>::value, typename add_pointer<_Up>::type, __remove_cv_t<_Up> > >;
                                                                                                ^
In file included from /wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/utils/prepare-builtins.cpp:2:
In file included from /usr/local/llvm15/include/llvm/Bitcode/BitcodeReader.h:16:
In file included from /usr/local/llvm15/include/llvm/ADT/ArrayRef.h:12:
In file included from /usr/local/llvm15/include/llvm/ADT/Hashing.h:49:
In file included from /usr/local/llvm15/include/llvm/Support/SwapByteOrder.h:19:
In file included from /usr/include/c++/v1/type_traits:471:
In file included from /usr/include/c++/v1/__type_traits/common_type.h:16:
/usr/include/c++/v1/__type_traits/remove_cvref.h:30:42: error: unknown type name '__remove_cvref'
using __remove_cvref_t _LIBCPP_NODEBUG = __remove_cvref(_Tp);
                                         ^
In file included from /wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/utils/prepare-builtins.cpp:2:
In file included from /usr/local/llvm15/include/llvm/Bitcode/BitcodeReader.h:16:
In file included from /usr/local/llvm15/include/llvm/ADT/ArrayRef.h:12:
In file included from /usr/local/llvm15/include/llvm/ADT/Hashing.h:49:
In file included from /usr/local/llvm15/include/llvm/Support/SwapByteOrder.h:19:
In file included from /usr/include/c++/v1/type_traits:479:
In file included from /usr/include/c++/v1/__type_traits/is_arithmetic.h:14:
/usr/include/c++/v1/__type_traits/is_floating_point.h:30:82: error: use of undeclared identifier '__remove_cv_t'
struct _LIBCPP_NO_SPECIALIZATIONS is_floating_point : __libcpp_is_floating_point<__remove_cv_t<_Tp> > {};
                                                                                 ^
In file included from /wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/utils/prepare-builtins.cpp:2:
In file included from /usr/local/llvm15/include/llvm/Bitcode/BitcodeReader.h:16:
In file included from /usr/local/llvm15/include/llvm/ADT/ArrayRef.h:12:
In file included from /usr/local/llvm15/include/llvm/ADT/Hashing.h:49:
In file included from /usr/local/llvm15/include/llvm/Support/SwapByteOrder.h:19:
In file included from /usr/include/c++/v1/type_traits:484:
In file included from /usr/include/c++/v1/__type_traits/is_compound.h:14:
In file included from /usr/include/c++/v1/__type_traits/is_fundamental.h:14:
/usr/include/c++/v1/__type_traits/is_null_pointer.h:23:51: error: unknown type name '__remove_cv'
inline const bool __is_null_pointer_v = __is_same(__remove_cv(_Tp), nullptr_t);
                                                  ^
In file included from /wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/utils/prepare-builtins.cpp:2:
In file included from /usr/local/llvm15/include/llvm/Bitcode/BitcodeReader.h:16:
In file included from /usr/local/llvm15/include/llvm/ADT/ArrayRef.h:12:
In file included from /usr/local/llvm15/include/llvm/ADT/Hashing.h:49:
In file included from /usr/local/llvm15/include/llvm/Support/SwapByteOrder.h:19:
In file included from /usr/include/c++/v1/type_traits:518:
/usr/include/c++/v1/__type_traits/make_signed.h:68:65: error: use of undeclared identifier '__remove_cv_t'
using __make_signed_t = __copy_cv_t<_Tp, typename __make_signed<__remove_cv_t<_Tp> >::type>;
                                                                ^
/usr/include/c++/v1/__type_traits/make_signed.h:74:32: error: no template named '__make_signed_t'; did you mean '__make_signed'?
  using type _LIBCPP_NODEBUG = __make_signed_t<_Tp>;
                               ^
/usr/include/c++/v1/__type_traits/make_signed.h:44:8: note: '__make_signed' declared here
struct __make_signed{};
       ^
/usr/include/c++/v1/__type_traits/make_signed.h:79:23: error: no template named '__make_signed_t'; did you mean '__make_signed'?
using make_signed_t = __make_signed_t<_Tp>;
                      ^
/usr/include/c++/v1/__type_traits/make_signed.h:44:8: note: '__make_signed' declared here
struct __make_signed{};
       ^
In file included from /wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/utils/prepare-builtins.cpp:2:
In file included from /usr/local/llvm15/include/llvm/Bitcode/BitcodeReader.h:16:
In file included from /usr/local/llvm15/include/llvm/ADT/ArrayRef.h:12:
In file included from /usr/local/llvm15/include/llvm/ADT/Hashing.h:49:
In file included from /usr/local/llvm15/include/llvm/Support/SwapByteOrder.h:19:
In file included from /usr/include/c++/v1/type_traits:519:
/usr/include/c++/v1/__type_traits/make_unsigned.h:70:69: error: use of undeclared identifier '__remove_cv_t'
using __make_unsigned_t = __copy_cv_t<_Tp, typename __make_unsigned<__remove_cv_t<_Tp> >::type>;
                                                                    ^
/usr/include/c++/v1/__type_traits/make_unsigned.h:76:32: error: no template named '__make_unsigned_t'; did you mean '__make_unsigned'?
  using type _LIBCPP_NODEBUG = __make_unsigned_t<_Tp>;
                               ^
/usr/include/c++/v1/__type_traits/make_unsigned.h:46:8: note: '__make_unsigned' declared here
struct __make_unsigned{};
       ^
/usr/include/c++/v1/__type_traits/make_unsigned.h:81:25: error: no template named '__make_unsigned_t'; did you mean '__make_unsigned'?
using make_unsigned_t = __make_unsigned_t<_Tp>;
                        ^
/usr/include/c++/v1/__type_traits/make_unsigned.h:46:8: note: '__make_unsigned' declared here
struct __make_unsigned{};
       ^
/usr/include/c++/v1/__type_traits/make_unsigned.h:85:41: error: no template named '__make_unsigned_t'
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR __make_unsigned_t<_Tp> __to_unsigned_like(_Tp __x) _NOEXCEPT {
                                        ^
/usr/include/c++/v1/__type_traits/make_unsigned.h:86:22: error: no template named '__make_unsigned_t'
  return static_cast<__make_unsigned_t<_Tp> >(__x);
                     ^
/usr/include/c++/v1/__type_traits/make_unsigned.h:90:84: error: use of undeclared identifier '__make_unsigned_t'
using __copy_unsigned_t _LIBCPP_NODEBUG = __conditional_t<is_unsigned<_Tp>::value, __make_unsigned_t<_Up>, _Up>;
                                                                                   ^
In file included from /wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/utils/prepare-builtins.cpp:2:
In file included from /usr/local/llvm15/include/llvm/Bitcode/BitcodeReader.h:16:
In file included from /usr/local/llvm15/include/llvm/ADT/ArrayRef.h:12:
In file included from /usr/local/llvm15/include/llvm/ADT/Hashing.h:49:
In file included from /usr/local/llvm15/include/llvm/Support/SwapByteOrder.h:19:
In file included from /usr/include/c++/v1/type_traits:528:
In file included from /usr/include/c++/v1/__type_traits/result_of.h:13:
In file included from /usr/include/c++/v1/__type_traits/invoke.h:21:
/usr/include/c++/v1/__type_traits/is_reference_wrapper.h:28:61: error: use of undeclared identifier '__remove_cv_t'
struct __is_reference_wrapper : __is_reference_wrapper_impl<__remove_cv_t<_Tp> > {};
                                                            ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[  0% 8/2871] /usr/local/llvm15/bin/clang -DCLC_AMDGCN -D__CLC_INTERNAL -I/wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/generic/include -cl-no-stdinc -target amdgcn-- -mcpu=tahiti -fno-builtin -nostdlib -I /wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/amdgcn/lib/math -o CMakeFiles/builtins.link.tahiti-amdgcn--.dir/amdgcn/lib/math/fmin.bc -c /wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/amdgcn/lib/math/fmin.cl -emit-llvm
[  0% 8/2871] /usr/local/llvm15/bin/clang -DCLC_AMDGCN -D__CLC_INTERNAL -I/wrkdirs/usr/ports/devel/libclc/work-llvm15/libclc-15.0.7.src/generic/include -cl-no-stdinc -target amdgcn-- -mcpu=tahiti -fno-builtin -nostdlib -o CMakeFiles/builtins.link.tahiti-amdgcn--.dir/convert.bc -c /wrkdirs/usr/ports/devel/libclc/work-llvm15/.build/convert.cl -emit-llvm
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped making "build" in /usr/ports/devel/libclc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.