=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. => Checksum SHA1 OK for zig-0.5.0.tar.xz => Checksum RMD160 OK for zig-0.5.0.tar.xz => Checksum SHA512 OK for zig-0.5.0.tar.xz ===> Installing dependencies for zig-0.5.0 ========================================================================== The following variables will affect the build process of this package, zig-0.5.0. Their current value is shown below: * TERMINFO_DEFAULT = terminfo Based on these variables, the following variables have been set: * TERMINFO_TYPE = terminfo You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency cmake>=2.8.1nb1: found cmake-3.17.0 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency clang>=9.0.1: found clang-9.0.1nb1 => Full dependency llvm>=9.0.1: found llvm-9.0.1 ===> Overriding tools for zig-0.5.0 ===> Extracting for zig-0.5.0 ===> Patching for zig-0.5.0 => Applying pkgsrc patches for zig-0.5.0 => Verifying /data/pkgsrc/lang/zig/patches/patch-CMakeLists.txt => Applying pkgsrc patch /data/pkgsrc/lang/zig/patches/patch-CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CMakeLists.txt,v 1.3 2020/03/25 22:27:20 nia Exp $ | |Use DESTDIR... | |--- CMakeLists.txt.orig 2020-03-25 21:48:11.605064006 +0000 |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 612. done => Verifying /data/pkgsrc/lang/zig/patches/patch-lib_std_c.zig => Applying pkgsrc patch /data/pkgsrc/lang/zig/patches/patch-lib_std_c.zig Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_std_c.zig,v 1.1 2020/03/25 22:27:20 nia Exp $ | |--- lib/std/c.zig.orig 2019-09-30 15:40:00.000000000 +0000 |+++ lib/std/c.zig -------------------------- Patching file lib/std/c.zig using Plan A... Hunk #1 succeeded at 134. done => Verifying /data/pkgsrc/lang/zig/patches/patch-lib_std_c_netbsd.zig => Applying pkgsrc patch /data/pkgsrc/lang/zig/patches/patch-lib_std_c_netbsd.zig Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_std_c_netbsd.zig,v 1.1 2020/03/25 22:27:20 nia Exp $ | |NetBSD fixes. Based on: |https://github.com/ziglang/zig/pull/4793 | |--- lib/std/c/netbsd.zig.orig 2019-09-30 15:40:00.000000000 +0000 |+++ lib/std/c/netbsd.zig -------------------------- Patching file lib/std/c/netbsd.zig using Plan A... Hunk #1 succeeded at 1. done => Verifying /data/pkgsrc/lang/zig/patches/patch-lib_std_fs.zig => Applying pkgsrc patch /data/pkgsrc/lang/zig/patches/patch-lib_std_fs.zig Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_std_fs.zig,v 1.1 2020/03/25 22:27:20 nia Exp $ | |NetBSD fixes. Based on: |https://github.com/ziglang/zig/pull/4793 | |--- lib/std/fs.zig.orig 2019-09-30 15:40:00.000000000 +0000 |+++ lib/std/fs.zig -------------------------- Patching file lib/std/fs.zig using Plan A... Hunk #1 succeeded at 726. done => Verifying /data/pkgsrc/lang/zig/patches/patch-lib_std_fs_file.zig => Applying pkgsrc patch /data/pkgsrc/lang/zig/patches/patch-lib_std_fs_file.zig Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_std_fs_file.zig,v 1.1 2020/03/25 22:27:20 nia Exp $ | |Portability. | |--- lib/std/fs/file.zig.orig 2019-09-30 15:40:00.000000000 +0000 |+++ lib/std/fs/file.zig -------------------------- Patching file lib/std/fs/file.zig using Plan A... Hunk #1 succeeded at 41. Hunk #2 succeeded at 83. Hunk #3 succeeded at 119. done => Verifying /data/pkgsrc/lang/zig/patches/patch-lib_std_os.zig => Applying pkgsrc patch /data/pkgsrc/lang/zig/patches/patch-lib_std_os.zig Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_std_os.zig,v 1.1 2020/03/25 22:27:20 nia Exp $ | |NetBSD fixes. Based on: |https://github.com/ziglang/zig/pull/4793 | |--- lib/std/os.zig.orig 2019-09-30 15:40:00.000000000 +0000 |+++ lib/std/os.zig -------------------------- Patching file lib/std/os.zig using Plan A... Hunk #1 succeeded at 1841. Hunk #2 succeeded at 2564. Hunk #3 succeeded at 2581. Hunk #4 succeeded at 2661. done => Verifying /data/pkgsrc/lang/zig/patches/patch-lib_std_os_bits_netbsd.zig => Applying pkgsrc patch /data/pkgsrc/lang/zig/patches/patch-lib_std_os_bits_netbsd.zig Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_std_os_bits_netbsd.zig,v 1.1 2020/03/25 22:27:20 nia Exp $ | |NetBSD fixes. Based on: |https://github.com/ziglang/zig/pull/4793 | |--- lib/std/os/bits/netbsd.zig.orig 2019-09-30 15:40:00.000000000 +0000 |+++ lib/std/os/bits/netbsd.zig -------------------------- Patching file lib/std/os/bits/netbsd.zig using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 18. Hunk #3 succeeded at 25. Hunk #4 succeeded at 130. Hunk #5 succeeded at 139. Hunk #6 succeeded at 181. Hunk #7 succeeded at 347. Hunk #8 succeeded at 426. Hunk #9 succeeded at 445. Hunk #10 succeeded at 930. done => Verifying /data/pkgsrc/lang/zig/patches/patch-lib_std_thread.zig => Applying pkgsrc patch /data/pkgsrc/lang/zig/patches/patch-lib_std_thread.zig Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_std_thread.zig,v 1.1 2020/03/25 22:27:20 nia Exp $ | |NetBSD fixes. Based on: |https://github.com/ziglang/zig/pull/4793 | |--- lib/std/thread.zig.orig 2019-09-30 15:40:00.000000000 +0000 |+++ lib/std/thread.zig -------------------------- Patching file lib/std/thread.zig using Plan A... Hunk #1 succeeded at 255. Hunk #2 succeeded at 273. Hunk #3 succeeded at 302. done => Verifying /data/pkgsrc/lang/zig/patches/patch-src_link.cpp => Applying pkgsrc patch /data/pkgsrc/lang/zig/patches/patch-src_link.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_link.cpp,v 1.3 2020/03/25 22:27:20 nia Exp $ | |NetBSD fixes. Based on: |https://github.com/ziglang/zig/pull/4793 | |--- src/link.cpp.orig 2019-09-30 15:40:00.000000000 +0000 |+++ src/link.cpp -------------------------- Patching file src/link.cpp using Plan A... Hunk #1 succeeded at 1805. done ===> Creating toolchain wrappers for zig-0.5.0 ===> Configuring for zig-0.5.0 => Fixing CMAKE_MODULE_PATH in CMakeLists.txt => Checking for portability problems in extracted files -- The C compiler identification is Clang 10.0.10 -- The CXX compiler identification is Clang 10.0.10 -- Check for working C compiler: /data/scratch/lang/zig/work/.cwrapper/bin/clang -- Check for working C compiler: /data/scratch/lang/zig/work/.cwrapper/bin/clang - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /data/scratch/lang/zig/work/.cwrapper/bin/clang++ -- Check for working CXX compiler: /data/scratch/lang/zig/work/.cwrapper/bin/clang++ - works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done Configuring zig version 0.5.0 CMake Warning (dev) at /usr/pkg/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (LLVM) does not match the name of the calling package (llvm). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/Findllvm.cmake:123 (find_package_handle_standard_args) CMakeLists.txt:60 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found LLVM: -lLLVM-9 CMake Warning (dev) at /usr/pkg/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (CLANG) does not match the name of the calling package (clang). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/Findclang.cmake:89 (find_package_handle_standard_args) CMakeLists.txt:61 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found CLANG: /usr/pkg/lib/libclangFrontendTool.a;/usr/pkg/lib/libclangCodeGen.a;/usr/pkg/lib/libclangFrontend.a;/usr/pkg/lib/libclangDriver.a;/usr/pkg/lib/libclangSerialization.a;/usr/pkg/lib/libclangSema.a;/usr/pkg/lib/libclangAnalysis.a;/usr/pkg/lib/libclangASTMatchers.a;/usr/pkg/lib/libclangAST.a;/usr/pkg/lib/libclangParse.a;/usr/pkg/lib/libclangSema.a;/usr/pkg/lib/libclangBasic.a;/usr/pkg/lib/libclangEdit.a;/usr/pkg/lib/libclangLex.a;/usr/pkg/lib/libclangRewriteFrontend.a;/usr/pkg/lib/libclangRewrite.a;/usr/pkg/lib/libclangCrossTU.a;/usr/pkg/lib/libclangIndex.a -- Looking for pthread.h -- Looking for pthread.h - found -- 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 -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_MANDIR -- Build files have been written to: /data/scratch/lang/zig/work/zig-0.5.0 => Rewrite cmake Dependencies files