[package - 140releng-armv7-default][lang/opensycl] Failed for opensycl-0.9.4 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 11 Sep 2024 01:01:33 UTC
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:     yuri@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere3/data/140releng-armv7-default/1b6eada811a7/logs/opensycl-0.9.4.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=140releng-armv7-default&build=1b6eada811a7
Log:

=>> Building lang/opensycl
build started at Wed Sep 11 01:00:21 UTC 2024
port directory: /usr/ports/lang/opensycl
package name: opensycl-0.9.4
building for: FreeBSD 140releng-armv7-default-job-12 14.0-RELEASE-p9 FreeBSD 14.0-RELEASE-p9 1400097 arm
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1379 Aug 29 01:05 /usr/ports/lang/opensycl/Makefile
Ports top last git commit: 1b6eada811a
Ports top unclean checkout: no
Port dir last git commit: 7fa88acfabc
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500019
Jail OSVERSION: 1400097
Job Id: 12

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400097
UNAME_v=FreeBSD 14.0-RELEASE-p9 1400097
UNAME_r=14.0-RELEASE-p9
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.2
MASTERMNT=/usr/local/poudriere/data/.m/140releng-armv7-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/140releng-armv7-default/12/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=140releng-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/140releng-armv7-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

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

--MAINTAINER--
yuri@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.11" XDG_DATA_HOME=/wrkdirs/usr/ports/lang/opensycl/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/opensycl/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/opensycl/work/.cache  HOME=/wrkdirs/usr/ports/lang/opensycl/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/opensycl/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/opensycl/work/.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/lang/opensycl/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/opensycl/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/opensycl/work/.cache  HOME=/wrkdirs/usr/ports/lang/opensycl/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/opensycl/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/opensycl/work/.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 ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" DESTDIR=/wrkdirs/usr/port
s/lang/opensycl/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc13" CFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -fno-strict-aliasing "  CPP="cpp13" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 " LIBS=""  CXX="g++13" CXXFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc13 " 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=freebsd14  PYTHON_SITELIBDIR=lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/opensycl"  EXAMPLESDIR="share/examples/opensycl"  DATADIR="share/opensycl"  WWWDIR="www/opensycl"  ETCDIR="etc/opensycl"
--End PLIST_SUB--

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

---Begin make.conf---
# 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
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)  524288
stack size              (kbytes, -s)  65536
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
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD2CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   opensycl-0.9.4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[140releng-armv7-default-job-12] Installing pkg-1.21.3...
[140releng-armv7-default-job-12] Extracting pkg-1.21.3: .......... done
===>   opensycl-0.9.4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of opensycl-0.9.4
===========================================================================
=======================<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 BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by opensycl-0.9.4 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by opensycl-0.9.4 for building
=> SHA256 Checksum OK for OpenSYCL-OpenSYCL-v0.9.4_GH0.tar.gz.
===========================================================================
=======================<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 BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by opensycl-0.9.4 for building
===>  Extracting for opensycl-0.9.4
=> SHA256 Checksum OK for OpenSYCL-OpenSYCL-v0.9.4_GH0.tar.gz.
===========================================================================
=======================<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 opensycl-0.9.4
===>  Applying FreeBSD patches for opensycl-0.9.4 from /usr/ports/lang/opensycl/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   opensycl-0.9.4 depends on package: boost-libs>0 - not found
===>   Installing existing package /packages/All/boost-libs-1.84.0.pkg
[140releng-armv7-default-job-12] Installing boost-libs-1.84.0...
[140releng-armv7-default-job-12] `-- Installing icu-74.2_1,1...
[140releng-armv7-default-job-12] `-- Extracting icu-74.2_1,1: .......... done
[140releng-armv7-default-job-12] Extracting boost-libs-1.84.0: .......... done
=====
Message from boost-libs-1.84.0:

--
You have built the Boost library with thread support.

Don't forget to add -pthread to your linker options when
linking your code.
===>   opensycl-0.9.4 depends on package: boost-libs>0 - found
===>   Returning to build of opensycl-0.9.4
===>   opensycl-0.9.4 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.30.2.pkg
[140releng-armv7-default-job-12] Installing cmake-core-3.30.2...
<snip>
[140releng-armv7-default-job-12] Extracting gcc13-13.2.0_4: .......... done
=====
Message from gcc13-13.2.0_4:

--
To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc13

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
===>   opensycl-0.9.4 depends on executable: gcc13 - found
===>   Returning to build of opensycl-0.9.4
===>   opensycl-0.9.4 depends on file: /usr/local/bin/as - found
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for opensycl-0.9.4
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/lang/opensycl/work/.build
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/local/bin/gcc13 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/bin/g++13 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at CMakeLists.txt:35 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Boost: /usr/local/include (found version "1.84.0") found components: context fiber
CMake Warning (dev) at CMakeLists.txt:42 (find_package):
  Policy CMP0146 is not set: The FindCUDA module is removed.  Run "cmake
  --help-policy CMP0146" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could not find HIP cmake integration, falling back to finding hipcc
-- Could not find ROCm installation by looking for hipcc. ROCm support unavailable.
-- Found ZLIB: /usr/lib/libz.so (found version "1.3")
-- Found zstd: /usr/local/lib/libzstd.so
-- Building hipSYCL against LLVM configured from /usr/local/llvm15/lib/cmake/llvm
-- Selecting clang: /usr/local/llvm15/bin/clang++
-- Using clang include directory: /usr/local/llvm15/lib/clang/15.0.7/include/..
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for C++ include filesystem
-- Looking for C++ include filesystem - found
-- Performing Test CXX_FILESYSTEM_NO_LINK_NEEDED
-- Performing Test CXX_FILESYSTEM_NO_LINK_NEEDED - Success
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Configuring done (10.6s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COLOR_MAKEFILE
    CMAKE_C_FLAGS_RELEASE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    FETCHCONTENT_FULLY_DISCONNECTED
    Python3_EXECUTABLE
    Python_ADDITIONAL_VERSIONS
    Python_EXECUTABLE


-- Build files have been written to: /wrkdirs/usr/ports/lang/opensycl/work/.build
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for opensycl-0.9.4
[  1% 3/56] /usr/local/bin/g++13 -DHIPSYCL_COMPILER_COMPONENT -DHIPSYCL_DEBUG_LEVEL=2 -DHIPSYCL_WITH_ACCELERATED_CPU -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS="64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" -DhipSYCL_clang_EXPORTS -I/wrkdirs/usr/ports/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler/../../include -I/usr/local/llvm15/include -I/wrkdirs/usr/ports/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler -I/wrkdirs/usr/ports/lang/opensycl/work/.build/include -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc13 -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc13  -DNDEBUG -std=c++17 -fPIC -fno-exceptions -MD -MT src/compiler/CMakeFiles/hipSYCL_clang.dir/GlobalsPruningPass.cpp.o -MF src/compiler/CMakeFiles/hipSYCL_clang.dir/GlobalsPruningPass.cpp.o.d -o src/compiler/CMakeFiles/hipSYCL_clang.dir/GlobalsPruningPass.cpp.o -c /wrk
dirs/usr/ports/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler/GlobalsPruningPass.cpp
FAILED: src/compiler/CMakeFiles/hipSYCL_clang.dir/GlobalsPruningPass.cpp.o 
/usr/local/bin/g++13 -DHIPSYCL_COMPILER_COMPONENT -DHIPSYCL_DEBUG_LEVEL=2 -DHIPSYCL_WITH_ACCELERATED_CPU -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS="64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" -DhipSYCL_clang_EXPORTS -I/wrkdirs/usr/ports/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler/../../include -I/usr/local/llvm15/include -I/wrkdirs/usr/ports/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler -I/wrkdirs/usr/ports/lang/opensycl/work/.build/include -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc13 -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc13  -DNDEBUG -std=c++17 -fPIC -fno-exceptions -MD -MT src/compiler/CMakeFiles/hipSYCL_clang.dir/GlobalsPruningPass.cpp.o -MF src/compiler/CMakeFiles/hipSYCL_clang.dir/GlobalsPruningPass.cpp.o.d -o src/compiler/CMakeFiles/hipSYCL_clang.dir/GlobalsPruningPass.cpp.o -c /wrkdirs/usr/por
ts/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler/GlobalsPruningPass.cpp
In file included from /usr/local/llvm15/include/llvm/ADT/StringMapEntry.h:20,
                 from /usr/local/llvm15/include/llvm/ADT/StringMap.h:17,
                 from /usr/local/llvm15/include/llvm/IR/InstrTypes.h:23,
                 from /usr/local/llvm15/include/llvm/Analysis/CallGraph.h:48,
                 from /wrkdirs/usr/ports/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler/../../include/hipSYCL/compiler/GlobalsPruningPass.hpp:31,
                 from /wrkdirs/usr/ports/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler/GlobalsPruningPass.cpp:1:
/usr/local/llvm15/include/llvm/ADT/StringRef.h: In static member function 'static constexpr size_t llvm::StringRef::strLen(const char*)':
/usr/local/llvm15/include/llvm/ADT/StringRef.h:83:19: warning: 'template<class _CharT> struct std::__1::char_traits' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Wdeprecated-declarations]
   83 |       return std::char_traits<char>::length(Str);
      |                   ^~~~~~~~~~~
In file included from /usr/include/c++/v1/iosfwd:99,
                 from /usr/include/c++/v1/utility:278,
                 from /usr/local/llvm15/include/llvm/Support/type_traits.h:18,
                 from /usr/local/llvm15/include/llvm/ADT/Hashing.h:50,
                 from /usr/local/llvm15/include/llvm/ADT/ArrayRef.h:12,
                 from /usr/local/llvm15/include/llvm/IR/InstrTypes.h:18:
/usr/include/c++/v1/__fwd/string.h:22:29: note: declared here
   22 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^~~~~~~~~~~
In file included from /usr/include/c++/v1/__algorithm/adjacent_find.h:14,
                 from /usr/include/c++/v1/algorithm:1713,
                 from /usr/local/llvm15/include/llvm/ADT/Hashing.h:51:
/usr/include/c++/v1/__algorithm/iterator_operations.h: In instantiation of 'static constexpr std::__1::__remove_cvref_t<_Tp> std::__1::_IterOps<std::__1::_ClassicAlgPolicy>::prev(_Iter&&, typename std::__1::iterator_traits<__remove_cvref(_Tp)>::difference_type) [with _Iter = char*&]':
/usr/include/c++/v1/__algorithm/iterator_operations.h:161:27: error: use of built-in trait '__remove_cvref(_Tp)' in function signature; use library traits instead
  161 |   __remove_cvref_t<_Iter> prev(_Iter&& __iter,
      |                           ^~~~
/usr/include/c++/v1/__algorithm/iterator_operations.h: In instantiation of 'static constexpr std::__1::__remove_cvref_t<_Tp> std::__1::_IterOps<std::__1::_ClassicAlgPolicy>::next(_Iter&&, typename std::__1::iterator_traits<__remove_cvref(_Tp)>::difference_type) [with _Iter = char*&]':
/usr/include/c++/v1/__algorithm/iterator_operations.h:153:27: error: use of built-in trait '__remove_cvref(_Tp)' in function signature; use library traits instead
  153 |   __remove_cvref_t<_Iter> next(_Iter&& __it,
      |                           ^~~~
[  3% 3/56] /usr/local/bin/g++13 -DHIPSYCL_COMPILER_COMPONENT -DHIPSYCL_DEBUG_LEVEL=2 -DHIPSYCL_WITH_ACCELERATED_CPU -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS="64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" -DhipSYCL_clang_EXPORTS -I/wrkdirs/usr/ports/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler/../../include -I/usr/local/llvm15/include -I/wrkdirs/usr/ports/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler -I/wrkdirs/usr/ports/lang/opensycl/work/.build/include -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc13 -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc13  -DNDEBUG -std=c++17 -fPIC -fno-exceptions -MD -MT src/compiler/CMakeFiles/hipSYCL_clang.dir/cbs/LoopSplitterInlining.cpp.o -MF src/compiler/CMakeFiles/hipSYCL_clang.dir/cbs/LoopSplitterInlining.cpp.o.d -o src/compiler/CMakeFiles/hipSYCL_clang.dir/cbs/LoopSplitterInli
ning.cpp.o -c /wrkdirs/usr/ports/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler/cbs/LoopSplitterInlining.cpp
FAILED: src/compiler/CMakeFiles/hipSYCL_clang.dir/cbs/LoopSplitterInlining.cpp.o 
/usr/local/bin/g++13 -DHIPSYCL_COMPILER_COMPONENT -DHIPSYCL_DEBUG_LEVEL=2 -DHIPSYCL_WITH_ACCELERATED_CPU -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS="64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" -DhipSYCL_clang_EXPORTS -I/wrkdirs/usr/ports/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler/../../include -I/usr/local/llvm15/include -I/wrkdirs/usr/ports/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler -I/wrkdirs/usr/ports/lang/opensycl/work/.build/include -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc13 -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc13  -DNDEBUG -std=c++17 -fPIC -fno-exceptions -MD -MT src/compiler/CMakeFiles/hipSYCL_clang.dir/cbs/LoopSplitterInlining.cpp.o -MF src/compiler/CMakeFiles/hipSYCL_clang.dir/cbs/LoopSplitterInlining.cpp.o.d -o src/compiler/CMakeFiles/hipSYCL_clang.dir/cbs/LoopSplitterInlining.cpp.o -
c /wrkdirs/usr/ports/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler/cbs/LoopSplitterInlining.cpp
In file included from /usr/local/llvm15/include/llvm/PassSupport.h:27,
                 from /usr/local/llvm15/include/llvm/Pass.h:348,
                 from /usr/local/llvm15/include/llvm/IR/LegacyPassManagers.h:20,
                 from /usr/local/llvm15/include/llvm/Analysis/LoopPass.h:17,
                 from /wrkdirs/usr/ports/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler/../../include/hipSYCL/compiler/cbs/LoopSplitterInlining.hpp:32,
                 from /wrkdirs/usr/ports/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler/cbs/LoopSplitterInlining.cpp:29:
/usr/local/llvm15/include/llvm/ADT/StringRef.h: In static member function 'static constexpr size_t llvm::StringRef::strLen(const char*)':
/usr/local/llvm15/include/llvm/ADT/StringRef.h:83:19: warning: 'template<class _CharT> struct std::__1::char_traits' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Wdeprecated-declarations]
   83 |       return std::char_traits<char>::length(Str);
      |                   ^~~~~~~~~~~
In file included from /usr/include/c++/v1/iosfwd:99,
                 from /usr/include/c++/v1/tuple:1856,
                 from /usr/local/llvm15/include/llvm/ADT/DenseMapInfo.h:20,
                 from /usr/local/llvm15/include/llvm/ADT/DenseMap.h:17,
                 from /usr/local/llvm15/include/llvm/IR/LegacyPassManagers.h:16:
/usr/include/c++/v1/__fwd/string.h:22:29: note: declared here
   22 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^~~~~~~~~~~
In file included from /usr/include/c++/v1/__algorithm/adjacent_find.h:14,
                 from /usr/include/c++/v1/algorithm:1713,
                 from /usr/local/llvm15/include/llvm/ADT/DenseMap.h:25:
/usr/include/c++/v1/__algorithm/iterator_operations.h: In instantiation of 'static constexpr std::__1::__remove_cvref_t<_Tp> std::__1::_IterOps<std::__1::_ClassicAlgPolicy>::prev(_Iter&&, typename std::__1::iterator_traits<__remove_cvref(_Tp)>::difference_type) [with _Iter = char*&]':
/usr/include/c++/v1/__algorithm/iterator_operations.h:161:27: error: use of built-in trait '__remove_cvref(_Tp)' in function signature; use library traits instead
  161 |   __remove_cvref_t<_Iter> prev(_Iter&& __iter,
      |                           ^~~~
/usr/include/c++/v1/__algorithm/iterator_operations.h: In instantiation of 'static constexpr std::__1::__remove_cvref_t<_Tp> std::__1::_IterOps<std::__1::_ClassicAlgPolicy>::next(_Iter&&, typename std::__1::iterator_traits<__remove_cvref(_Tp)>::difference_type) [with _Iter = char*&]':
/usr/include/c++/v1/__algorithm/iterator_operations.h:153:27: error: use of built-in trait '__remove_cvref(_Tp)' in function signature; use library traits instead
  153 |   __remove_cvref_t<_Iter> next(_Iter&& __it,
      |                           ^~~~
[  5% 3/56] /usr/local/bin/g++13 -DHIPSYCL_COMPILER_COMPONENT -DHIPSYCL_DEBUG_LEVEL=2 -DHIPSYCL_WITH_ACCELERATED_CPU -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS="64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" -DhipSYCL_clang_EXPORTS -I/wrkdirs/usr/ports/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler/../../include -I/usr/local/llvm15/include -I/wrkdirs/usr/ports/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler -I/wrkdirs/usr/ports/lang/opensycl/work/.build/include -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc13 -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc13  -DNDEBUG -std=c++17 -fPIC -fno-exceptions -MD -MT src/compiler/CMakeFiles/hipSYCL_clang.dir/HipsyclClangPlugin.cpp.o -MF src/compiler/CMakeFiles/hipSYCL_clang.dir/HipsyclClangPlugin.cpp.o.d -o src/compiler/CMakeFiles/hipSYCL_clang.dir/HipsyclClangPlugin.cpp.o -c /wrk
dirs/usr/ports/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler/HipsyclClangPlugin.cpp
FAILED: src/compiler/CMakeFiles/hipSYCL_clang.dir/HipsyclClangPlugin.cpp.o 
/usr/local/bin/g++13 -DHIPSYCL_COMPILER_COMPONENT -DHIPSYCL_DEBUG_LEVEL=2 -DHIPSYCL_WITH_ACCELERATED_CPU -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS="64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" -DhipSYCL_clang_EXPORTS -I/wrkdirs/usr/ports/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler/../../include -I/usr/local/llvm15/include -I/wrkdirs/usr/ports/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler -I/wrkdirs/usr/ports/lang/opensycl/work/.build/include -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc13 -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc13  -DNDEBUG -std=c++17 -fPIC -fno-exceptions -MD -MT src/compiler/CMakeFiles/hipSYCL_clang.dir/HipsyclClangPlugin.cpp.o -MF src/compiler/CMakeFiles/hipSYCL_clang.dir/HipsyclClangPlugin.cpp.o.d -o src/compiler/CMakeFiles/hipSYCL_clang.dir/HipsyclClangPlugin.cpp.o -c /wrkdirs/usr/por
ts/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler/HipsyclClangPlugin.cpp
In file included from /usr/local/llvm15/include/clang/Basic/DiagnosticIDs.h:19,
                 from /usr/local/llvm15/include/clang/Basic/Diagnostic.h:17,
                 from /usr/local/llvm15/include/clang/AST/NestedNameSpecifier.h:18,
                 from /usr/local/llvm15/include/clang/AST/Type.h:21,
                 from /usr/local/llvm15/include/clang/AST/CanonicalType.h:17,
                 from /usr/local/llvm15/include/clang/AST/ASTContext.h:19,
                 from /wrkdirs/usr/ports/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler/../../include/hipSYCL/compiler/Frontend.hpp:38,
                 from /wrkdirs/usr/ports/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler/../../include/hipSYCL/compiler/FrontendPlugin.hpp:31,
                 from /wrkdirs/usr/ports/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler/HipsyclClangPlugin.cpp:29:
/usr/local/llvm15/include/llvm/ADT/StringRef.h: In static member function 'static constexpr size_t llvm::StringRef::strLen(const char*)':
/usr/local/llvm15/include/llvm/ADT/StringRef.h:83:19: warning: 'template<class _CharT> struct std::__1::char_traits' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Wdeprecated-declarations]
   83 |       return std::char_traits<char>::length(Str);
      |                   ^~~~~~~~~~~
In file included from /usr/include/c++/v1/iosfwd:99,
                 from /usr/include/c++/v1/bit:86,
                 from /usr/include/c++/v1/__algorithm/sort.h:30,
                 from /usr/include/c++/v1/__algorithm/nth_element.h:15,
                 from /usr/include/c++/v1/algorithm:1771,
                 from /wrkdirs/usr/ports/lang/opensycl/work/OpenSYCL-0.9.4/src/compiler/../../include/hipSYCL/compiler/Frontend.hpp:31:
/usr/include/c++/v1/__fwd/string.h:22:29: note: declared here
   22 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^~~~~~~~~~~
In file included from /usr/include/c++/v1/__algorithm/adjacent_find.h:14,
                 from /usr/include/c++/v1/algorithm:1713:
/usr/include/c++/v1/__algorithm/iterator_operations.h: In instantiation of 'static constexpr std::__1::__remove_cvref_t<_Tp> std::__1::_IterOps<std::__1::_ClassicAlgPolicy>::prev(_Iter&&, typename std::__1::iterator_traits<__remove_cvref(_Tp)>::difference_type) [with _Iter = char*&]':
/usr/include/c++/v1/__algorithm/iterator_operations.h:161:27: error: use of built-in trait '__remove_cvref(_Tp)' in function signature; use library traits instead
  161 |   __remove_cvref_t<_Iter> prev(_Iter&& __iter,
      |                           ^~~~
/usr/include/c++/v1/__algorithm/iterator_operations.h: In instantiation of 'static constexpr std::__1::__remove_cvref_t<_Tp> std::__1::_IterOps<std::__1::_ClassicAlgPolicy>::next(_Iter&&, typename std::__1::iterator_traits<__remove_cvref(_Tp)>::difference_type) [with _Iter = char*&]':
/usr/include/c++/v1/__algorithm/iterator_operations.h:153:27: error: use of built-in trait '__remove_cvref(_Tp)' in function signature; use library traits instead
  153 |   __remove_cvref_t<_Iter> next(_Iter&& __it,
      |                           ^~~~
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 in /usr/ports/lang/opensycl