=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. => Checksum SHA1 OK for nhc98src-1.22.tar.gz => Checksum RMD160 OK for nhc98src-1.22.tar.gz => Checksum SHA512 OK for nhc98src-1.22.tar.gz ===> Installing dependencies for nhc98-1.22nb2 ========================================================================== The following variables will affect the build process of this package, nhc98-1.22nb2. Their current value is shown below: * CURSES_DEFAULT = curses * READLINE_DEFAULT = editline Based on these variables, the following variables have been set: * CURSES_TYPE = curses * READLINE_TYPE = editline * 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 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 ===> 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 nhc98-1.22nb2 ===> Extracting for nhc98-1.22nb2 ===> Patching for nhc98-1.22nb2 => Applying pkgsrc patches for nhc98-1.22nb2 => Verifying /opt/pkgsrc/lang/nhc98/patches/patch-Makefile.inc => Applying pkgsrc patch /opt/pkgsrc/lang/nhc98/patches/patch-Makefile.inc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Makefile.inc,v 1.1 2013/10/25 04:09:14 dholland Exp $ | |Allow setting -m32 or not from the pkgsrc makefile. | |--- Makefile.inc~ 2010-07-09 12:40:18.000000000 +0000 |+++ Makefile.inc -------------------------- Patching file Makefile.inc using Plan A... Hunk #1 succeeded at 1. done => Verifying /opt/pkgsrc/lang/nhc98/patches/patch-aa => Applying pkgsrc patch /opt/pkgsrc/lang/nhc98/patches/patch-aa Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-aa,v 1.9 2013/10/25 06:25:18 dholland Exp $ | |- always set the compiler to "gcc" for pkgsrc |- honor pkgsrc LDFLAGS | |--- configure.orig 2010-07-09 12:41:23.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 65. Hunk #2 succeeded at 482. Hunk #3 succeeded at 508. done => Verifying /opt/pkgsrc/lang/nhc98/patches/patch-ab => Applying pkgsrc patch /opt/pkgsrc/lang/nhc98/patches/patch-ab Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ab,v 1.4 2015/12/29 23:34:52 dholland Exp $ | |Fix include order. | |--- src/prelude/BinArray/cLowUnboxedArray.c.orig 2005-06-04 18:13:50.000000000 +0000 |+++ src/prelude/BinArray/cLowUnboxedArray.c 2005-06-04 18:14:03.000000000 +0000 -------------------------- Patching file src/prelude/BinArray/cLowUnboxedArray.c using Plan A... Hunk #1 succeeded at 1. done => Verifying /opt/pkgsrc/lang/nhc98/patches/patch-script_confhc => Applying pkgsrc patch /opt/pkgsrc/lang/nhc98/patches/patch-script_confhc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-script_confhc,v 1.1 2015/10/05 06:33:46 dholland Exp $ | |Fix gcc version detection so it doesn't object to what NetBSD gcc |prints, which is: "gcc (nb1 20140527) 4.8.3". | |--- script/confhc~ 2008-10-28 12:00:56.000000000 +0000 |+++ script/confhc -------------------------- Patching file script/confhc using Plan A... Hunk #1 succeeded at 53. done ===> Creating toolchain wrappers for nhc98-1.22nb2 ===> Configuring for nhc98-1.22nb2 => Checking for portability problems in extracted files Configuring for nhc98... [ v1.22 (2010-07-09) ] -------- Looking for already-installed Haskell compilers: script/confhc: line 24: /opt/work/lang/nhc98/work/nhc98-1.22/script/echo: No such file or directory script/confhc: line 24: /opt/work/lang/nhc98/work/nhc98-1.22/script/echo: No such file or directory script/confhc: line 24: /opt/work/lang/nhc98/work/nhc98-1.22/script/echo: No such file or directory script/confhc: line 24: /opt/work/lang/nhc98/work/nhc98-1.22/script/echo: No such file or directory script/confhc: line 24: /opt/work/lang/nhc98/work/nhc98-1.22/script/echo: No such file or directory script/confhc: line 24: /opt/work/lang/nhc98/work/nhc98-1.22/script/echo: No such file or directory script/confhc: line 24: /opt/work/lang/nhc98/work/nhc98-1.22/script/echo: No such file or directory script/confhc: line 24: /opt/work/lang/nhc98/work/nhc98-1.22/script/echo: No such file or directory script/confhc: line 24: /opt/work/lang/nhc98/work/nhc98-1.22/script/echo: No such file or directory script/confhc: line 24: /opt/work/lang/nhc98/work/nhc98-1.22/script/echo: No such file or directory script/confhc: line 24: /opt/work/lang/nhc98/work/nhc98-1.22/script/echo: No such file or directory script/confhc: line 24: /opt/work/lang/nhc98/work/nhc98-1.22/script/echo: No such file or directory script/confhc: line 24: /opt/work/lang/nhc98/work/nhc98-1.22/script/echo: No such file or directory script/confhc: line 24: /opt/work/lang/nhc98/work/nhc98-1.22/script/echo: No such file or directory script/confhc: line 24: /opt/work/lang/nhc98/work/nhc98-1.22/script/echo: No such file or directory script/confhc: line 24: /opt/work/lang/nhc98/work/nhc98-1.22/script/echo: No such file or directory script/confhc: line 24: /opt/work/lang/nhc98/work/nhc98-1.22/script/echo: No such file or directory -------- Configuration report for nhc98. (You can re-run configure to change settings before proceeding.) You wish (eventually) to install the following components in these locations: (Installation directories are not created/checked at this stage.) Final install root: /opt/pkg nhc98 binaries/libs: /opt/pkg/lib/nhc98/arm-Darwin-20.3.0 hmake binaries: /opt/pkg/lib/hmake/arm-Darwin-20.3.0 Interfaces/includes: /opt/pkg/include/nhc98 Scripts: /opt/pkg/bin Man pages: /opt/pkg/man/man1 Html documents: /opt/pkg/share/doc/nhc98 Now we check/create your build directories: Config directory: targets/arm-Darwin-20.3.0 Build directory root: /opt/work/lang/nhc98/work/nhc98-1.22/targets (exists) Object files build in: /opt/work/lang/nhc98/work/nhc98-1.22/targets/arm-Darwin-20.3.0 (exists) Executables and libs: /opt/work/lang/nhc98/work/nhc98-1.22/lib/arm-Darwin-20.3.0 (created) Toolchain: host compiler: gcc host strip: strip cabal-parse: /opt/work/lang/nhc98/work/nhc98-1.22/script/cabal-parse You are going to build nhc98 with: gcc backend compiler option: -m32 backend linker option: -m32 nhc98comp uses RTS delimiters? yes This machine's endian-ness is: endian.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main() { ^ endian.c:8:5: warning: implicit declaration of function 'puts' is invalid in C99 [-Wimplicit-function-declaration] puts("-DLOW_BYTE_FIRST"); ^ endian.c:10:5: warning: implicit declaration of function 'puts' is invalid in C99 [-Wimplicit-function-declaration] puts("-DHIGH_BYTE_FIRST"); ^ 3 warnings generated. ld: unknown/unsupported architecture name for: -arch armv4t clang: error: linker command failed with exit code 1 (use -v to see invocation) ./configure[582]: ./endian: inaccessible or not found (detected) Executables need .exe suffix? no (detected) Found /usr/bin/true not /bin/true Testing for the curses library: -ltermcap -lcurses (detected) Testing for the readline library: no (detected) Reading /usr/include/errno.h: script/config-errno.c:594:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main () { ^ 1 warning generated. script/errnogen.c:4:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main() { ^ 1 warning generated. updated DErrNo.hs Testing for FunnelWeb: no (detected) Default heap for compiled programs is: 100000 words (cached) Adding Makefile config script to /opt/work/lang/nhc98/work/nhc98-1.22/lib/arm-Darwin-20.3.0... ./configure[990]: cat: targets/arm-Darwin-20.3.0/ghcsym: No such file or directory Adding build scripts to /opt/work/lang/nhc98/work/nhc98-1.22/script... nhc98 hmake hmake-config hi greencard nhc98-pkg hsc2hs cpphs Creating src/runtime/nhc98heap.c ... Configuring src/compiler98/Building.hs ... Updating targets/arm-Darwin-20.3.0/hmake3.config... Saving current configuration in targets/arm-Darwin-20.3.0/config.cache Done.