=> Bootstrap dependency digest>=20010302: found digest-20190127 => Checksum SHA1 OK for erlang-22.2.8.tar.gz => Checksum RMD160 OK for erlang-22.2.8.tar.gz => Checksum SHA512 OK for erlang-22.2.8.tar.gz ===> Installing dependencies for erlang-22.2.8nb1 ========================================================================== The supported build options for erlang are: dtrace erlang-hipe iodbc java unixodbc You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.erlang (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, erlang-22.2.8nb1. Their current value is shown below: * CURSES_DEFAULT = curses * SSLBASE (defined) * SSLCERTS = /opt/pkg/etc/openssl/certs * SSLDIR = /opt/pkg/etc/openssl * SSLKEYS = /opt/pkg/etc/openssl/private Based on these variables, the following variables have been set: * CURSES_TYPE = curses * TERMCAP_TYPE = curses You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/opt/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency autoconf>=2.50: found autoconf-2.69nb10 => Tool dependency gmake>=3.81: found gmake-4.2.1nb1 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency perl>=5.8.0: found perl-5.32.0nb1 => Full dependency openssl>=1.1.1dnb2: found openssl-1.1.1h ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for erlang-22.2.8nb1 ===> Extracting for erlang-22.2.8nb1 ===> Patching for erlang-22.2.8nb1 => Applying pkgsrc patches for erlang-22.2.8nb1 => Verifying /opt/pkgsrc/lang/erlang/patches/patch-ab => Applying pkgsrc patch /opt/pkgsrc/lang/erlang/patches/patch-ab Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ab,v 1.6 2013/06/08 06:48:24 asau Exp $ | |Build all .java files. | |--- make/otp.mk.in.orig 2013-02-25 19:21:31.000000000 +0000 |+++ make/otp.mk.in -------------------------- Patching file make/otp.mk.in using Plan A... Hunk #1 succeeded at 202 (offset 23 lines). done => Verifying /opt/pkgsrc/lang/erlang/patches/patch-ay => Applying pkgsrc patch /opt/pkgsrc/lang/erlang/patches/patch-ay Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ay,v 1.2 2015/04/28 14:34:20 fhajny Exp $ | |Pass in proper LDFLAGS. Fixes build with iodbc. | |--- lib/odbc/c_src/Makefile.in.orig 2010-02-19 20:07:30.000000000 +0200 |+++ lib/odbc/c_src/Makefile.in 2010-06-21 23:28:49.000000000 +0300 -------------------------- Patching file lib/odbc/c_src/Makefile.in using Plan A... Hunk #1 succeeded at 82 (offset 1 line). done => Verifying /opt/pkgsrc/lang/erlang/patches/patch-erts_aclocal.m4 => Applying pkgsrc patch /opt/pkgsrc/lang/erlang/patches/patch-erts_aclocal.m4 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-erts_aclocal.m4,v 1.1 2019/08/08 11:42:23 jperkin Exp $ | |SunOS needs -shared via the GCC driver, not -G. | |--- erts/aclocal.m4.orig 2019-07-10 16:05:15.000000000 +0000 |+++ erts/aclocal.m4 -------------------------- Patching file erts/aclocal.m4 using Plan A... Hunk #1 succeeded at 2982 (offset -1 lines). done => Verifying /opt/pkgsrc/lang/erlang/patches/patch-erts_emulator_drivers_common_inet__drv.c => Applying pkgsrc patch /opt/pkgsrc/lang/erlang/patches/patch-erts_emulator_drivers_common_inet__drv.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-erts_emulator_drivers_common_inet__drv.c,v 1.4 2018/11/09 17:16:01 nia Exp $ | |Unbreak build due to differences in the NetBSD SCTP implementation. | |--- erts/emulator/drivers/common/inet_drv.c.orig 2018-09-24 10:32:43.000000000 +0100 |+++ erts/emulator/drivers/common/inet_drv.c 2018-11-09 09:34:01.671317341 +0000 -------------------------- Patching file erts/emulator/drivers/common/inet_drv.c using Plan A... Hunk #1 succeeded at 1207 (offset 25 lines). done => Verifying /opt/pkgsrc/lang/erlang/patches/patch-erts_emulator_nifs_common_prim__net__nif.c => Applying pkgsrc patch /opt/pkgsrc/lang/erlang/patches/patch-erts_emulator_nifs_common_prim__net__nif.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-erts_emulator_nifs_common_prim__net__nif.c,v 1.1 2019/11/18 20:46:02 nia Exp $ | |Using bool as a variable name isn't a good idea since it conflicts with |the keyword. For now, just undefine the keyword. | |--- erts/emulator/nifs/common/prim_net_nif.c.orig 2019-11-08 11:19:37.000000000 +0000 |+++ erts/emulator/nifs/common/prim_net_nif.c -------------------------- Patching file erts/emulator/nifs/common/prim_net_nif.c using Plan A... Hunk #1 succeeded at 213 (offset 4 lines). done => Verifying /opt/pkgsrc/lang/erlang/patches/patch-erts_emulator_sys_unix_sys__uds.c => Applying pkgsrc patch /opt/pkgsrc/lang/erlang/patches/patch-erts_emulator_sys_unix_sys__uds.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-erts_emulator_sys_unix_sys__uds.c,v 1.1 2018/07/03 11:01:21 fhajny Exp $ | |Fix SunOS/C99. | |--- erts/emulator/sys/unix/sys_uds.c.orig 2018-06-19 07:07:55.000000000 +0000 |+++ erts/emulator/sys/unix/sys_uds.c -------------------------- Patching file erts/emulator/sys/unix/sys_uds.c using Plan A... Hunk #1 succeeded at 23. done => Verifying /opt/pkgsrc/lang/erlang/patches/patch-erts_etc_unix_run__erl.c => Applying pkgsrc patch /opt/pkgsrc/lang/erlang/patches/patch-erts_etc_unix_run__erl.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-erts_etc_unix_run__erl.c,v 1.2 2019/01/03 22:58:36 nia Exp $ | |Fix SunOS/C99. | |--- erts/etc/unix/run_erl.c.orig 2018-12-10 20:11:00.000000000 +0000 |+++ erts/etc/unix/run_erl.c -------------------------- Patching file erts/etc/unix/run_erl.c using Plan A... Hunk #1 succeeded at 41. done => Verifying /opt/pkgsrc/lang/erlang/patches/patch-erts_lib__src_common_erl__printf.c => Applying pkgsrc patch /opt/pkgsrc/lang/erlang/patches/patch-erts_lib__src_common_erl__printf.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-erts_lib__src_common_erl__printf.c,v 1.4 2019/08/01 11:43:00 nia Exp $ | |Set _XOPEN_SOURCE correctly on SunOS. | |--- erts/lib_src/common/erl_printf.c.orig 2019-07-10 16:05:15.000000000 +0000 |+++ erts/lib_src/common/erl_printf.c -------------------------- Patching file erts/lib_src/common/erl_printf.c using Plan A... Hunk #1 succeeded at 32. done => Verifying /opt/pkgsrc/lang/erlang/patches/patch-lib_crypto_c__src_Makefile.in => Applying pkgsrc patch /opt/pkgsrc/lang/erlang/patches/patch-lib_crypto_c__src_Makefile.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_crypto_c__src_Makefile.in,v 1.1 2017/10/04 16:20:51 jperkin Exp $ | |Compile via CC wrapper to ensure correct flags. | |--- lib/crypto/c_src/Makefile.in.orig 2017-06-20 18:56:09.000000000 +0000 |+++ lib/crypto/c_src/Makefile.in -------------------------- Patching file lib/crypto/c_src/Makefile.in using Plan A... Hunk #1 succeeded at 189 (offset 33 lines). done => Verifying /opt/pkgsrc/lang/erlang/patches/patch-lib_tools_c__src_Makefile.in => Applying pkgsrc patch /opt/pkgsrc/lang/erlang/patches/patch-lib_tools_c__src_Makefile.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_tools_c__src_Makefile.in,v 1.1 2020/03/17 16:02:23 nia Exp $ | |Portability. | |--- lib/tools/c_src/Makefile.in.orig 2020-02-17 08:47:07.000000000 +0000 |+++ lib/tools/c_src/Makefile.in -------------------------- Patching file lib/tools/c_src/Makefile.in using Plan A... Hunk #1 succeeded at 222. done => Verifying /opt/pkgsrc/lang/erlang/patches/patch-make_output.mk.in => Applying pkgsrc patch /opt/pkgsrc/lang/erlang/patches/patch-make_output.mk.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-make_output.mk.in,v 1.1 2016/07/07 15:07:36 jperkin Exp $ | |Use CC for linking. | |--- make/output.mk.in.orig 2015-12-17 20:11:20.000000000 +0000 |+++ make/output.mk.in -------------------------- Patching file make/output.mk.in using Plan A... Hunk #1 succeeded at 97. done ===> Creating toolchain wrappers for erlang-22.2.8nb1 ===> Configuring for erlang-22.2.8nb1 => Fixing target name. cd /opt/work/lang/erlang/work/otp-OTP-22.2.8 && ./otp_build autoconf === running autoconf in lib/common_test === running autoconf in lib/crypto === running autoconf in lib/erl_interface === running autoheader in lib/erl_interface === running autoconf in lib/megaco === running autoconf in lib/odbc === running autoconf in lib/snmp === running autoconf in lib/wx === running autoconf in lib/common_test/test_server === running autoconf in make === running autoconf in erts === running autoheader in erts === creating ./configure => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version => Replacing escript interpreter in lib/diameter/bin/diameterc lib/erl_docgen/priv/bin/codeline_preprocessing.escript lib/erl_docgen/priv/bin/xml_from_edoc.escript lib/reltool/examples/display_args lib/reltool/examples/mnesia_core_dump_viewer lib/snmp/src/compile/snmpc.src. => Checking for portability problems in extracted files === Running configure in /opt/work/lang/erlang/work/otp-OTP-22.2.8/erts === ./configure '--with-ssl=/opt/pkg' '--enable-threads' '--enable-kernel-poll' '--without-javac' '--disable-hipe' '--without-odbc' '--without-dynamic-trace' '--prefix=/opt/pkg' '--mandir=/opt/pkg/man' '--enable-option-checking=yes' CFLAGS='-O2 -I/opt/pkg/include' LDFLAGS='-L/opt/pkg/lib -L/usr/lib' --disable-option-checking --cache-file=/dev/null --srcdir="/opt/work/lang/erlang/work/otp-OTP-22.2.8/erts" checking build system type... arm-apple-darwin20.1.0 checking host system type... arm-apple-darwin20.1.0 checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking for library containing strerror... none required checking OTP release... 22 checking OTP version... 22.2.8 checking for gcc... (cached) clang checking whether we are using the GNU C compiler... (cached) yes checking whether clang accepts -g... (cached) yes checking for clang option to accept ISO C89... (cached) none needed checking for mixed cygwin or msys and native VC++ environment... no checking for mixed cygwin and native MinGW environment... no checking if we mix cygwin with any native compiler... no checking if we mix msys with another native compiler... no checking for getconf... getconf checking for large file support CFLAGS... failed configure: WARNING: Check for large file support flags failed; getconf failed checking if we can add -Werror=return-type to WERRORFLAGS (via CFLAGS)... yes checking if we can add -Werror=implicit to WERRORFLAGS (via CFLAGS)... yes checking if we can add -Werror=undef to WERRORFLAGS (via CFLAGS)... yes checking CFLAGS for -O switch... yes checking whether clang accepts -fprofile-generate -Werror...... yes checking whether clang accepts -fprofile-use -Werror...... no checking whether clang accepts -fprofile-use -fprofile-correction -Werror...... no checking whether clang accepts -fprofile-instr-generate -Werror...... yes checking for llvm-profdata... no checking for xcrun... xcrun checking for xcrun llvm-profdata... yes checking whether clang accepts -fprofile-instr-use=default.profdata -Werror... no checking whether to do PGO of erts... no checking how to run the C preprocessor... clang -E checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking size of void *... 8 checking target hardware architecture... noarch checking whether compilation mode forces ARCH adjustment... no: ARCH is noarch checking if VM has to be linked with Carbon framework... yes checking for mkdir... /bin/mkdir -p checking for cp... /bin/cp checking if we are building a sharing-preserving emulator... no checking how to run the C preprocessor... clang -E checking for ranlib... ranlib checking for bison... bison -y checking for perl5... /opt/pkg/bin/perl checking whether ln -s works... yes checking for ar... ar checking for xsltproc... xsltproc checking for fop... no configure: WARNING: No 'fop' command found: going to generate placeholder PDF files checking for xmllint... xmllint checking for a BSD-compatible install... /usr/bin/install -c -o sjmulder -g staff checking how to create a directory including parents... /usr/bin/install -c -o sjmulder -g staff -d checking for extra flags needed to export symbols... -Wl,-export-dynamic checking for sin in -lm... no checking for dlopen in -ldl... no checking for main in -linet... no checking for openpty in -lutil... no checking for native win32 threads... no checking for pthread_create in -lpthread... no checking for pthread_create in -lc_r... no checking for pthread_create... no checking if the '-pthread' switch can be used... no checking for kstat_open in -lkstat... no checking for clock_gettime in -lrt... no checking for clock_gettime(CLOCK_MONOTONIC_RAW, _)... no checking for clock_gettime() with custom monotonic clock type... no checking for clock_get_attributes... no checking for gethrtime... no checking for mach clock_get_time() with monotonic clock type... yes checking whether default stack size should be modified... no checking size of void *... (cached) 8 checking size of int... 0 checking size of long... 0 checking size of long long... 0 checking size of __int64... 0 checking size of __int128_t... 0 checking whether byte ordering is bigendian... no checking whether double word ordering is middle-endian... yes configure: error: cannot build emulator since no thread library was found ERROR: /opt/work/lang/erlang/work/otp-OTP-22.2.8/erts/configure failed! ./configure[347]: kill: -86820: No such process *** Error code 1 Stop. bmake[1]: stopped in /opt/pkgsrc/lang/erlang WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile. *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/lang/erlang ./configure[347]: can't create ./configure.result.failed: No such file or directory