>>> Building on sparc64-2b under lang/wabt
	BDEPENDS = [devel/cmake/core;lang/gcc/8,-libs;devel/ninja;archivers/xz;lang/gcc/8,-c++;lang/gcc/8;lang/python/3]
	DIST = [lang/wabt:wabt-1.0.36.tar.xz]
	FULLPKGNAME = wabt-1.0.36
	RDEPENDS = [lang/gcc/8,-libs]
(Junk lock obtained for sparc64-2b at 1743980226.47)
>>> Running depends in lang/wabt at 1743980226.59
   last junk was in wayland/wlroots
/usr/sbin/pkg_add -aI -Drepair xz-5.6.4p0
was: /usr/sbin/pkg_add -aI -Drepair cmake-core-3.31.6 g++-8.4.0p26 gcc-8.4.0p26 gcc-libs-8.4.0p26 ninja-1.11.1p0v0 python-3.12.9 xz-5.6.4p0
/usr/sbin/pkg_add -aI -Drepair xz-5.6.4p0
>>> Running show-prepare-results in lang/wabt at 1743980236.78
===> lang/wabt
===> Building from scratch wabt-1.0.36
===> wabt-1.0.36 depends on: cmake-core-* -> cmake-core-3.31.6
===> wabt-1.0.36 depends on: ninja-* -> ninja-1.11.1p0v0
===> wabt-1.0.36 depends on: python->=3.12,<3.13 -> python-3.12.9
===> wabt-1.0.36 depends on: gcc->=8,<9 -> gcc-8.4.0p26
===> wabt-1.0.36 depends on: g++->=8,<9 -> g++-8.4.0p26
===> wabt-1.0.36 depends on: xz->=5.4.0 -> xz-5.6.4p0
===> wabt-1.0.36 depends on: gcc-libs->=8,<9 -> gcc-libs-8.4.0p26
===>  Verifying specs:  estdc++>=19 pthread c crypto m
===>  found estdc++.19.0 pthread.27.1 c.100.3 crypto.56.0 m.10.1
cmake-core-3.31.6
g++-8.4.0p26
gcc-8.4.0p26
gcc-libs-8.4.0p26
ninja-1.11.1p0v0
python-3.12.9
xz-5.6.4p0
(Junk lock released for sparc64-2b at 1743980249.20)
distfiles size=7090804
>>> Running patch in lang/wabt at 1743980249.33
===> lang/wabt
===>  Checking files for wabt-1.0.36
`/usr/ports/distfiles/wabt-1.0.36.tar.xz' is up to date.
>> (SHA256) all files: OK
===>  Extracting for wabt-1.0.36
===>  Patching for wabt-1.0.36
===>   Applying OpenBSD patch patch-src_tools_wasm-decompile_cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: src/tools/wasm-decompile.cc
|--- src/tools/wasm-decompile.cc.orig
|+++ src/tools/wasm-decompile.cc
--------------------------
Patching file src/tools/wasm-decompile.cc using Plan A...
Hunk #1 succeeded at 19.
Hunk #2 succeeded at 73.
done
===>   Applying OpenBSD patch patch-src_tools_wasm-interp_cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: src/tools/wasm-interp.cc
|--- src/tools/wasm-interp.cc.orig
|+++ src/tools/wasm-interp.cc
--------------------------
Patching file src/tools/wasm-interp.cc using Plan A...
Hunk #1 succeeded at 22.
Hunk #2 succeeded at 450.
done
===>   Applying OpenBSD patch patch-src_tools_wasm-objdump_cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: src/tools/wasm-objdump.cc
|--- src/tools/wasm-objdump.cc.orig
|+++ src/tools/wasm-objdump.cc
--------------------------
Patching file src/tools/wasm-objdump.cc using Plan A...
Hunk #1 succeeded at 18.
Hunk #2 succeeded at 124.
done
===>   Applying OpenBSD patch patch-src_tools_wasm-stats_cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: src/tools/wasm-stats.cc
|--- src/tools/wasm-stats.cc.orig
|+++ src/tools/wasm-stats.cc
--------------------------
Patching file src/tools/wasm-stats.cc using Plan A...
Hunk #1 succeeded at 23.
Hunk #2 succeeded at 146.
done
===>   Applying OpenBSD patch patch-src_tools_wasm-strip_cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: src/tools/wasm-strip.cc
|--- src/tools/wasm-strip.cc.orig
|+++ src/tools/wasm-strip.cc
--------------------------
Patching file src/tools/wasm-strip.cc using Plan A...
Hunk #1 succeeded at 15.
Hunk #2 succeeded at 129.
done
===>   Applying OpenBSD patch patch-src_tools_wasm-validate_cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: src/tools/wasm-validate.cc
|--- src/tools/wasm-validate.cc.orig
|+++ src/tools/wasm-validate.cc
--------------------------
Patching file src/tools/wasm-validate.cc using Plan A...
Hunk #1 succeeded at 19.
Hunk #2 succeeded at 74.
done
===>   Applying OpenBSD patch patch-src_tools_wasm2c_cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: src/tools/wasm2c.cc
|--- src/tools/wasm2c.cc.orig
|+++ src/tools/wasm2c.cc
--------------------------
Patching file src/tools/wasm2c.cc using Plan A...
Hunk #1 succeeded at 19.
Hunk #2 succeeded at 196.
done
===>   Applying OpenBSD patch patch-src_tools_wasm2wat_cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: src/tools/wasm2wat.cc
|--- src/tools/wasm2wat.cc.orig
|+++ src/tools/wasm2wat.cc
--------------------------
Patching file src/tools/wasm2wat.cc using Plan A...
Hunk #1 succeeded at 19.
Hunk #2 succeeded at 108.
done
===>   Applying OpenBSD patch patch-src_tools_wast2json_cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: src/tools/wast2json.cc
|--- src/tools/wast2json.cc.orig
|+++ src/tools/wast2json.cc
--------------------------
Patching file src/tools/wast2json.cc using Plan A...
Hunk #1 succeeded at 21.
Hunk #2 succeeded at 105.
done
===>   Applying OpenBSD patch patch-src_tools_wat-desugar_cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: src/tools/wat-desugar.cc
|--- src/tools/wat-desugar.cc.orig
|+++ src/tools/wat-desugar.cc
--------------------------
Patching file src/tools/wat-desugar.cc using Plan A...
Hunk #1 succeeded at 20.
Hunk #2 succeeded at 88.
done
===>   Applying OpenBSD patch patch-src_tools_wat2wasm_cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: src/tools/wat2wasm.cc
|--- src/tools/wat2wasm.cc.orig
|+++ src/tools/wat2wasm.cc
--------------------------
Patching file src/tools/wat2wasm.cc using Plan A...
Hunk #1 succeeded at 21.
Hunk #2 succeeded at 133.
done
===>  Compiler link: gcc -> /usr/local/bin/egcc
===>  Compiler link: cc -> /usr/local/bin/egcc
===>  Compiler link: c++ -> /usr/local/bin/eg++
===>  Compiler link: g++ -> /usr/local/bin/eg++
>>> Running configure in lang/wabt at 1743980262.38
===> lang/wabt
===>  Generating configure for wabt-1.0.36
===>  Configuring for wabt-1.0.36
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/obj/ports/wabt-1.0.36/bin/cc - 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/obj/ports/wabt-1.0.36/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for alloca.h
-- Looking for alloca.h - not found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for setjmp.h
-- Looking for setjmp.h - found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Found OpenSSL: /usr/lib/libcrypto.so.56.0 (found version "2.0.0")
-- Looking for openssl/sha.h
-- Looking for openssl/sha.h - found
-- Using OpenSSL libcrypto for SHA-256
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Check size of size_t
-- Check size of size_t - done
-- Looking for __i386__
-- Looking for __i386__ - not found
-- Looking for __SSE2_MATH__
-- Looking for __SSE2_MATH__ - not found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Found Python3: /usr/local/bin/python3.12 (found suitable version "3.12.9", minimum required is "3.5") found components: Interpreter
-- Configuring done (50.3s)
-- Generating done (2.2s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_ASM_COMPILER_AR
    CMAKE_ASM_COMPILER_RANLIB
    CMAKE_Fortran_COMPILER_AR
    CMAKE_Fortran_COMPILER_RANLIB
    CMAKE_OBJCXX_COMPILER_AR
    CMAKE_OBJCXX_COMPILER_RANLIB
    CMAKE_OBJC_COMPILER_AR
    CMAKE_OBJC_COMPILER_RANLIB
    PYTHON_EXECUTABLE
    PYTHON_INCLUDE_DIR
    PYTHON_LIBRARY_DIRS
    Python3_INCLUDE_DIR
    Python3_LIBRARY_DIRS
    Python_EXECUTABLE
    Python_INCLUDE_DIR
    Python_LIBRARY_DIRS


-- Build files have been written to: /usr/obj/ports/wabt-1.0.36/build-sparc64
>>> Running build in lang/wabt at 1743980317.19
===> lang/wabt
===>  Building for wabt-1.0.36
Change Dir: '/usr/obj/ports/wabt-1.0.36/build-sparc64'

Run Build Command(s): /usr/local/bin/ninja -v -j 1
[1/199] /usr/obj/ports/wabt-1.0.36/bin/cc -DWABT_BIG_ENDIAN=1 -D__STDC_FORMAT_MACROS=1 -D__STDC_LIMIT_MACROS=1 -I/usr/obj/ports/wabt-1.0.36/wabt-1.0.36/third_party/gtest/googletest -I/usr/obj/ports/wabt-1.0.36/wabt-1.0.36/third_party/gtest/googletest/include -O2 -pipe -DNDEBUG   -Wall -Wextra -Wno-unused-parameter -Wpointer-arith -Wuninitialized -Wimplicit-fallthrough -Wno-clobbered -MD -MT CMakeFiles/wasm-rt-impl.dir/wasm2c/wasm-rt-impl.c.o -MF CMakeFiles/wasm-rt-impl.dir/wasm2c/wasm-rt-impl.c.o.d -o CMakeFiles/wasm-rt-impl.dir/wasm2c/wasm-rt-impl.c.o -c /usr/obj/ports/wabt-1.0.36/wabt-1.0.36/wasm2c/wasm-rt-impl.c
FAILED: CMakeFiles/wasm-rt-impl.dir/wasm2c/wasm-rt-impl.c.o 
/usr/obj/ports/wabt-1.0.36/bin/cc -DWABT_BIG_ENDIAN=1 -D__STDC_FORMAT_MACROS=1 -D__STDC_LIMIT_MACROS=1 -I/usr/obj/ports/wabt-1.0.36/wabt-1.0.36/third_party/gtest/googletest -I/usr/obj/ports/wabt-1.0.36/wabt-1.0.36/third_party/gtest/googletest/include -O2 -pipe -DNDEBUG   -Wall -Wextra -Wno-unused-parameter -Wpointer-arith -Wuninitialized -Wimplicit-fallthrough -Wno-clobbered -MD -MT CMakeFiles/wasm-rt-impl.dir/wasm2c/wasm-rt-impl.c.o -MF CMakeFiles/wasm-rt-impl.dir/wasm2c/wasm-rt-impl.c.o.d -o CMakeFiles/wasm-rt-impl.dir/wasm2c/wasm-rt-impl.c.o -c /usr/obj/ports/wabt-1.0.36/wabt-1.0.36/wasm2c/wasm-rt-impl.c
In file included from /usr/obj/ports/wabt-1.0.36/wabt-1.0.36/wasm2c/wasm-rt-impl.h:20,
                 from /usr/obj/ports/wabt-1.0.36/wabt-1.0.36/wasm2c/wasm-rt-impl.c:17:
/usr/obj/ports/wabt-1.0.36/wabt-1.0.36/wasm2c/wasm-rt.h:75:10: fatal error: threads.h: No such file or directory
 #include <threads.h>
          ^~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.

*** Error 1 in lang/wabt (/usr/ports/devel/cmake/cmake.port.mk:50 'do-build': @cd /usr/obj/ports/wabt-1.0.36/build-sparc64 && exec /usr/bin/...)
*** Error 2 in lang/wabt (/usr/ports/infrastructure/mk/bsd.port.mk:3065 '/usr/obj/ports/wabt-1.0.36/build-sparc64/.build_done': @cd /usr/por...)
*** Error 2 in lang/wabt (/usr/ports/infrastructure/mk/bsd.port.mk:2712 'build': @lock=wabt-1.0.36;  export _LOCKS_HELD=" wabt-1.0.36";   /u...)
===> Exiting lang/wabt with an error
*** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo};  : ${target:=build};  for i in ; do  eval...)
>>> Ended at 1743980319.51
max_stuck=0.00/depends=10.22/show-prepare-results=12.50/patch=13.08/configure=54.75/build=2.46
Error: job failed with 512 on sparc64-2b at 1743980319