=> 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 simulavr-1.0.0.tar.gz
=> Checksum RMD160 OK for simulavr-1.0.0.tar.gz
=> Checksum SHA512 OK for simulavr-1.0.0.tar.gz
===> Installing dependencies for simulavr-1.0.0nb5
==========================================================================
The following variables will affect the build process of this package,
simulavr-1.0.0nb5.  Their current value is shown below:

        * CURSES_DEFAULT = curses
        * PYTHON_VERSION_DEFAULT = 37

Based on these variables, the following variables have been set:

        * CURSES_TYPE = curses
        * PYPACKAGE = python37

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 libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2
=> Tool dependency gmake>=3.81: found gmake-4.2.1nb1
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency doxygen-[0-9]*: found doxygen-1.8.16nb4
=> Build dependency avr-libc-[0-9]*: found avr-libc-2.0.0nb2
=> Build dependency swig>=1.3.31<2.0: found swig-1.3.38nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency avr-binutils>=2.23: found avr-binutils-2.30
=> Full dependency avr-gcc>=4.8.3: found avr-gcc-4.8.3nb5
=> Full dependency python37>=3.7.0: found python37-3.7.7
=> Full dependency tcl>=8.6.1nb1: found tcl-8.6.10nb1
===> Overriding tools for simulavr-1.0.0nb5
===> Extracting for simulavr-1.0.0nb5
===> Patching for simulavr-1.0.0nb5
=> Applying pkgsrc patches for simulavr-1.0.0nb5
=> Verifying /data/pkgsrc/emulators/simulavr/patches/patch-configure
=> Applying pkgsrc patch /data/pkgsrc/emulators/simulavr/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.2 2014/08/29 04:40:06 mef Exp $
|
|=> Checking for portability problems in extracted files
|ERROR: [check-portability.awk] => Found test ... == ...:
|
|--- configure.orig	2013-07-06 17:58:39.000000000 +0900
|+++ configure	2013-07-06 18:00:22.000000000 +0900
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 15283.
Hunk #2 succeeded at 16684.
done
=> Verifying /data/pkgsrc/emulators/simulavr/patches/patch-doc_simulavr_texinfo
=> Applying pkgsrc patch /data/pkgsrc/emulators/simulavr/patches/patch-doc_simulavr_texinfo
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-doc_simulavr_texinfo,v 1.4 2016/03/08 07:42:49 dsainty Exp $
|
|Add directory entry information. Without this, ${PREFIX}/info/dir
|won't be updated by install-info. Typical error message will be:
|  ----
|% install-info --dir-file=/usr/pkg/info/dir ./work/simulavr-1.0.0/doc/simulavr.info
|install-info: warning: no info dir entry in `./work/simulavr-1.0.0/doc/simulavr.info'
|  ----
|
|Remove @hfill - not supported by gtexinfo 5+
|
|--- doc/simulavr.texinfo.orig	2012-02-13 00:26:38.000000000 +0900
|+++ doc/simulavr.texinfo	2013-08-14 14:04:34.000000000 +0900
--------------------------
Patching file doc/simulavr.texinfo using Plan A...
Hunk #1 succeeded at 36.
Hunk #2 succeeded at 49.
done
=> Verifying /data/pkgsrc/emulators/simulavr/patches/patch-examples_atmel_key_StdDefs_c
=> Applying pkgsrc patch /data/pkgsrc/emulators/simulavr/patches/patch-examples_atmel_key_StdDefs_c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-examples_atmel_key_StdDefs_c,v 1.1 2014/08/29 04:40:06 mef Exp $
|
|StdDefs.c: In function 'putstr':
|StdDefs.c:120:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
|    for (j = 0; j <= strlen(s); j++)
|    ^
|In file included from StdDefs.c:10:0:
|/usr/pkg/avr/include/string.h:133:15: note: expected 'const char *' but argument is of type 'CHARU *'
| extern size_t strlen(const char *) __ATTR_PURE__;
|
|--- /export/WRKOBJDIR/wip/simulavr/work/simulavr-1.0.0/examples/atmel_key/StdDefs.c	2014-06-20 23:24:10.000000000 +0900
|+++ ./examples/atmel_key/StdDefs.c	2014-06-20 12:31:14.000000000 +0900
--------------------------
Patching file ./examples/atmel_key/StdDefs.c using Plan A...
Hunk #1 succeeded at 55.
Hunk #2 succeeded at 115.
done
=> Verifying /data/pkgsrc/emulators/simulavr/patches/patch-examples_atmel_key_scancodes.h
=> Applying pkgsrc patch /data/pkgsrc/emulators/simulavr/patches/patch-examples_atmel_key_scancodes.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-examples_atmel_key_scancodes.h,v 1.2 2014/08/29 04:40:06 mef Exp $
|
|In file included from kb.c:14:0:
|scancodes.h:19:1: warning: missing braces around initializer
|scancodes.h:19:1: warning: (near initialization for 'unshifted[0]')
|scancodes.h:90:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'shifted'
|
|--- work/simulavr-1.0.0/examples/atmel_key/scancodes.h	2012-02-13 00:26:38.000000000 +0900
|+++ examples/atmel_key/scancodes.h	2013-08-08 09:25:31.000000000 +0900
--------------------------
Patching file examples/atmel_key/scancodes.h using Plan A...
Hunk #1 succeeded at 15.
done
=> Verifying /data/pkgsrc/emulators/simulavr/patches/patch-regress_timertest_timer_16bit.c
=> Applying pkgsrc patch /data/pkgsrc/emulators/simulavr/patches/patch-regress_timertest_timer_16bit.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-regress_timertest_timer_16bit.c,v 1.2 2014/08/29 04:40:06 mef Exp $
|
|error: attempt to use poisoned "VARNAME"
|
|--- work/simulavr-1.0.0/regress/timertest/timer_16bit.c	2012-02-13 00:26:38.000000000 +0900
|+++ regress/timertest/timer_16bit.c	2013-08-08 09:25:31.000000000 +0900
--------------------------
Patching file regress/timertest/timer_16bit.c using Plan A...
Hunk #1 succeeded at 4.
done
=> Verifying /data/pkgsrc/emulators/simulavr/patches/patch-src_Makefile.in
=> Applying pkgsrc patch /data/pkgsrc/emulators/simulavr/patches/patch-src_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Makefile.in,v 1.2 2014/08/29 04:40:06 mef Exp $
|
|/usr/pkg/bin/swig -c++ -python -Ipython -o pysim ...
|...
|pysimulavr_wrap.cpp:146:20: fatal error: Python.h: No such file or directory
|
|--- src/Makefile.in.orig	2013-07-07 10:12:33.000000000 +0900
|+++ src/Makefile.in	2013-07-07 10:31:40.000000000 +0900
--------------------------
Patching file src/Makefile.in using Plan A...
Hunk #1 succeeded at 395.
done
=> Verifying /data/pkgsrc/emulators/simulavr/patches/patch-src_systemclock_cpp
=> Applying pkgsrc patch /data/pkgsrc/emulators/simulavr/patches/patch-src_systemclock_cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_systemclock_cpp,v 1.1 2014/08/29 04:40:06 mef Exp $
|
|clang flags as resize unresolved reference,
|backport from git repository (as of 2013-09-15).
|
|--- simulavr-1.0.0/src/systemclock.cpp	2012-02-13 00:26:38.000000000 +0900
|+++ src/systemclock.cpp	2013-09-13 09:41:15.000000000 +0900
--------------------------
Patching file src/systemclock.cpp using Plan A...
Hunk #1 succeeded at 2.
Hunk #2 succeeded at 28.
Hunk #3 succeeded at 36.
Hunk #4 succeeded at 126.
Hunk #5 succeeded at 148.
Hunk #6 succeeded at 161.
Hunk #7 succeeded at 175.
Hunk #8 succeeded at 205.
Hunk #9 succeeded at 222.
Hunk #10 succeeded at 263.
done
=> Verifying /data/pkgsrc/emulators/simulavr/patches/patch-src_systemclock_h
=> Applying pkgsrc patch /data/pkgsrc/emulators/simulavr/patches/patch-src_systemclock_h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_systemclock_h,v 1.1 2014/08/29 04:40:06 mef Exp $
|
|clang flags as resize unresolved reference,
|backport from git repository (as of 2013-09-15).
|
|--- simulavr-1.0.0/src/systemclock.h	2012-02-13 00:26:38.000000000 +0900
|+++ src/systemclock.h	2013-09-13 09:41:15.000000000 +0900
--------------------------
Patching file src/systemclock.h using Plan A...
Hunk #1 succeeded at 2.
Hunk #2 succeeded at 29.
Hunk #3 succeeded at 87.
done
=> Verifying /data/pkgsrc/emulators/simulavr/patches/patch-src_traceval_cpp
=> Applying pkgsrc patch /data/pkgsrc/emulators/simulavr/patches/patch-src_traceval_cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_traceval_cpp,v 1.1 2014/08/29 04:40:06 mef Exp $
|
|clang flags as resize unresolved reference,
|backport from git repository (as of 2013-09-15).
|
|--- simulavr-1.0.0/src/traceval.cpp	2012-02-13 00:26:38.000000000 +0900
|+++ src/traceval.cpp	2013-09-13 09:41:15.000000000 +0900
--------------------------
Patching file src/traceval.cpp using Plan A...
Hunk #1 succeeded at 28.
Hunk #2 succeeded at 37.
Hunk #3 succeeded at 112.
Hunk #4 succeeded at 146.
Hunk #5 succeeded at 382.
Hunk #6 succeeded at 743.
done
=> Verifying /data/pkgsrc/emulators/simulavr/patches/patch-src_traceval_h
=> Applying pkgsrc patch /data/pkgsrc/emulators/simulavr/patches/patch-src_traceval_h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_traceval_h,v 1.1 2014/08/29 04:40:06 mef Exp $
|
|clang flags as resize unresolved reference,
|backport from git repository (as of 2013-09-15).
|
|--- simulavr-1.0.0/src/traceval.h	2012-02-13 00:26:38.000000000 +0900
|+++ src/traceval.h	2013-09-13 09:41:15.000000000 +0900
--------------------------
Patching file src/traceval.h using Plan A...
Hunk #1 succeeded at 106.
Hunk #2 succeeded at 178.
Hunk #3 succeeded at 195.
Hunk #4 succeeded at 211.
Hunk #5 succeeded at 468.
Hunk #6 succeeded at 526.
done
===> Creating toolchain wrappers for simulavr-1.0.0nb5
===> Configuring for simulavr-1.0.0nb5
=> Convert poisoned SIG_OUTPUT_COMPARE2 to TIMER2_COMP_vect
=> Convert poisoned SIG_INTERRUPT0 to INT0_vect
=> Fix include path finding Python.h
=> Convert poisoned SIG_UART0_RECV to USART0_RX_vect
=> 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
=> Fixing locale directory references.
=> Checking for portability problems in extracted files
configure: WARNING: unrecognized options: --disable-tests
checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether build system is MSYS/MingW... uname: unknown option -- o
usage: uname [-amnprsv]
no
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking for style of include used by make... GNU
checking for x86_64--netbsd-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 dependency style of clang... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64--netbsd-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for x86_64--netbsd-ar... no
checking for ar... ar
checking for x86_64--netbsd-strip... no
checking for strip... strip
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang object... ok
checking how to run the C preprocessor... clang -E
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 for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fPIC -DPIC
checking if clang PIC flag -fPIC -DPIC works... yes
checking if clang static flag -static works... yes
checking if clang supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking dependency style of clang++... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether clang++ accepts -g... (cached) yes
checking dependency style of clang++... (cached) gcc3
checking how to run the C++ preprocessor... clang++ -E
checking for ld used by clang++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes
checking for clang++ option to produce PIC... -fPIC -DPIC
checking if clang++ PIC flag -fPIC -DPIC works... yes
checking if clang++ static flag -static works... yes
checking if clang++ supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if clang++ supports -c -o file.o... (cached) yes
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking for swig... /usr/pkg/bin/swig
checking for SWIG version... 1.3.38
configure: SWIG executable is '/usr/pkg/bin/swig'
configure: SWIG library directory is '/usr/pkg/share/swig/1.3'
checking Tcl desired... yes
tclConfig.sh directory = /usr/lib
checking for /usr/lib/tclConfig.sh... no
configure: WARNING: tclConfig.sh not found .. guessing
checking tcl.h usability... yes
checking tcl.h presence... yes
checking for tcl.h... yes
checking for tcl.h... (cached) yes
checking for wish... /usr/pkg/bin/wish
checking for tclsh... /data/scratch/emulators/simulavr/work/.buildlink/bin/tclsh
checking whether /usr/pkg/bin/python3.7 version >= 2.4.0... yes
checking for python version... 3.7
checking for python platform... netbsd9
checking for python script directory... ${prefix}/lib/python3.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python3.7/site-packages
checking for time... yes
checking for avr-as... avr-as
checking for avr-ld... avr-ld
checking for avr-gcc... avr-gcc
checking for avr-g++... avr-g++
checking for avr-nm... avr-nm
checking for nm... nm
with_bfd = /usr/pkg/avr
with_libiberty = /usr/pkg/lib/gcc/avr
checking bfd search- /usr/pkg/avr/x86_64--netbsd/avr in "include" and "lib"... no
checking bfd search- /usr/pkg/avr/avr in "include" and "lib"... no
checking bfd search- /usr/pkg/avr in "" and ""... no
checking bfd search- /usr/pkg/avr in "bfd" and "bfd"... no
checking bfd search- /usr/pkg/avr in "include" and "lib64"... no
checking bfd search- /usr/pkg/avr in "include" and "lib"... yes
checking libiberty search- /usr/pkg/lib/gcc/avr/x86_64--netbsd/avr in "lib"... no
checking libiberty search- /usr/pkg/lib/gcc/avr/avr in "lib"... no
checking libiberty search- /usr/pkg/lib/gcc/avr in ""... yes
checking XML part description files in src/fab/atmel-xml/... test: x=: unexpected operator
available
checking vpi_user.h usability... no
checking vpi_user.h presence... no
checking for vpi_user.h... no
checking iverilog/vpi_user.h usability... no
checking iverilog/vpi_user.h presence... no
checking for iverilog/vpi_user.h... no
checking for gtkwave... no
checking for iverilog... no
checking for vvp... no
checking for tex... no
configure: creating ./config.status
config.status: creating regress/regress.py
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/hwtimer/Makefile
config.status: creating src/cmd/Makefile
config.status: creating src/ui/Makefile
config.status: creating src/python/Makefile
config.status: creating src/setup.py
config.status: creating doc/Makefile
config.status: creating doc/conf.py
config.status: creating doc/web/Makefile
config.status: creating doc/web/conf.py
config.status: creating doc/config.texi
config.status: creating regress/Makefile
config.status: creating regress/modules/Makefile
config.status: creating regress/test_opcodes/Makefile
config.status: creating regress/avrtest/Makefile
config.status: creating regress/timertest/Makefile
config.status: creating regress/extinttest/Makefile
config.status: creating examples/verilog/Makefile
config.status: creating examples/Makefile
config.status: creating examples/anacomp/Makefile
config.status: creating examples/atmega48/Makefile
config.status: creating examples/atmega128_timer/Makefile
config.status: creating examples/atmel_key/Makefile
config.status: creating examples/feedback/Makefile
config.status: creating examples/simple_ex1/Makefile
config.status: creating examples/spi/Makefile
config.status: creating examples/stdiodemo/Makefile
config.status: creating examples/python/Makefile
config.status: creating examples/gui.tcl
config.status: WARNING:  'examples/gui.tcl.in' seems to ignore the --datarootdir setting
config.status: creating examples/simulavr.tcl
config.status: creating examples/feedback/simfeedback.tcl
config.status: creating examples/stdiodemo/checkdebug.tcl
config.status: creating examples/spi/check.tcl
config.status: creating examples/atmega48/check.tcl
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
configure: WARNING: unrecognized options: --disable-tests

Summary:
build system = 
AVR_GCC=avr-gcc
AVR_LIBBFD_INC=/usr/pkg/avr/include
AVR_LIBBFD_LIB=/usr/pkg/avr/lib/libbfd.a
AVR_LIBIBERTY_LIB=/usr/pkg/lib/gcc/avr//libiberty.a
PYTHON=/usr/pkg/bin/python3.7
TCL_WISH=/usr/pkg/bin/wish
tcl has package Itcl? yes
build verilog modul avr.vpi = no
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
=> set MAKEINFO path (to avoid work-directory references included)