=> Bootstrap dependency digest>=20010302: found digest-20190127 => Checksum SHA1 OK for rpm-4.13.0.1.tar.bz2 => Checksum RMD160 OK for rpm-4.13.0.1.tar.bz2 => Checksum SHA512 OK for rpm-4.13.0.1.tar.bz2 ===> Installing dependencies for rpm-4.13.0.1nb6 ========================================================================== The following variables will affect the build process of this package, rpm-4.13.0.1nb6. Their current value is shown below: * BDB185_DEFAULT = db1 * BDB_DEFAULT = db4 * SSLBASE = /usr * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /etc/openssl/private Based on these variables, the following variables have been set: * BDBBASE (defined, but empty) * BDB_LIBS = -ldb4 * BDB_TYPE = db4 You may want to abort the process now with CTRL-C and change the value of variables in the first group 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 autoconf>=2.50: found autoconf-2.71 => Tool dependency gmake>=3.82nb1: found gmake-4.2.1nb1 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.7.3 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency bash-[0-9]*: found bash-5.1.4 => Full dependency perl>=5.0: found perl-5.32.1 => Full dependency db4>=4.8.30: found db4-4.8.30nb1 => Full dependency nss>=3.43nb2: found nss-3.62 => Full dependency nspr>=4.9.3.2: found nspr-4.29 => Full dependency popt>=1.16nb1: found popt-1.18 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for rpm-4.13.0.1nb6 ===> Extracting for rpm-4.13.0.1nb6 ===> Patching for rpm-4.13.0.1nb6 => Applying pkgsrc patches for rpm-4.13.0.1nb6 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/misc/rpm/patches/patch-build_rpmfc.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/misc/rpm/patches/patch-build_rpmfc.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-build_rpmfc.c,v 1.2 2015/03/15 05:34:56 ryoon Exp $ | |* basemname(3) requires libgen.h on NetBSD. | |--- build/rpmfc.c.orig 2014-08-26 09:49:39.000000000 +0000 |+++ build/rpmfc.c -------------------------- Patching file build/rpmfc.c using Plan A... Hunk #1 succeeded at 7. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/misc/rpm/patches/patch-configure.ac => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/misc/rpm/patches/patch-configure.ac Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure.ac,v 1.4 2017/04/23 08:18:15 adam Exp $ | |Avoid -fstack-protector, it is not portable. |Redefine MYPATH to avoid build directory references. |Detect dirfd() and setprogname() functions. | |--- configure.ac.orig 2016-11-02 08:42:29.000000000 +0000 |+++ configure.ac -------------------------- Patching file configure.ac using Plan A... Hunk #1 succeeded at 37. Hunk #2 succeeded at 84. Hunk #3 succeeded at 562 (offset 15 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/misc/rpm/patches/patch-installplatform => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/misc/rpm/patches/patch-installplatform Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-installplatform,v 1.1 2017/04/23 08:18:15 adam Exp $ | |Keep macros in one place across platforms. | |--- installplatform.orig 2017-04-23 06:48:59.000000000 +0000 |+++ installplatform -------------------------- Patching file installplatform using Plan A... Hunk #1 succeeded at 194. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/misc/rpm/patches/patch-lib_backend_db3.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/misc/rpm/patches/patch-lib_backend_db3.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_backend_db3.c,v 1.3 2017/04/23 08:18:15 adam Exp $ | |Add missing include. | |--- lib/backend/db3.c.orig 2017-02-16 09:40:09.000000000 +0000 |+++ lib/backend/db3.c -------------------------- Patching file lib/backend/db3.c using Plan A... Hunk #1 succeeded at 7. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/misc/rpm/patches/patch-lib_header.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/misc/rpm/patches/patch-lib_header.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_header.c,v 1.3 2017/04/23 08:18:15 adam Exp $ | |* Detect htonll in configure script. | |--- lib/header.c.orig 2014-06-30 08:47:13.000000000 +0000 |+++ lib/header.c -------------------------- Patching file lib/header.c using Plan A... Hunk #1 succeeded at 108. Hunk #2 succeeded at 120. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/misc/rpm/patches/patch-lib_rpmrc.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/misc/rpm/patches/patch-lib_rpmrc.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_rpmrc.c,v 1.2 2017/04/23 08:18:15 adam Exp $ | |For macros use a path with _arch. |Preprocessor portability fix. | |--- lib/rpmrc.c.orig 2017-02-16 09:40:09.000000000 +0000 |+++ lib/rpmrc.c -------------------------- Patching file lib/rpmrc.c using Plan A... Hunk #1 succeeded at 466. Hunk #2 succeeded at 1028. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/misc/rpm/patches/patch-misc_fnmatch.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/misc/rpm/patches/patch-misc_fnmatch.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-misc_fnmatch.c,v 1.3 2017/04/23 08:18:15 adam Exp $ | |Add missing include. | |--- misc/fnmatch.c.orig 2014-06-30 08:47:14.000000000 +0000 |+++ misc/fnmatch.c -------------------------- Patching file misc/fnmatch.c using Plan A... Hunk #1 succeeded at 17. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/misc/rpm/patches/patch-misc_fts.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/misc/rpm/patches/patch-misc_fts.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-misc_fts.c,v 1.3 2017/04/23 08:18:15 adam Exp $ | |* Detect dirfd(3) and setprogname(3) in configure script. | |--- misc/fts.c.orig 2016-11-30 07:03:00.000000000 +0000 |+++ misc/fts.c -------------------------- Patching file misc/fts.c using Plan A... Hunk #1 succeeded at 32. Hunk #2 succeeded at 59. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/misc/rpm/patches/patch-rpmio_rpmfileutil.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/misc/rpm/patches/patch-rpmio_rpmfileutil.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-rpmio_rpmfileutil.c,v 1.1 2014/07/28 15:11:00 jperkin Exp $ | |SunOS libelf.h defines its own "_" macro which overrides the NLS one that |was already set by system.h, so reload system.h to get it back. | |--- rpmio/rpmfileutil.c.orig 2013-06-10 15:55:10.000000000 +0000 |+++ rpmio/rpmfileutil.c -------------------------- Patching file rpmio/rpmfileutil.c using Plan A... Hunk #1 succeeded at 13. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/misc/rpm/patches/patch-system.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/misc/rpm/patches/patch-system.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-system.h,v 1.2 2013/09/20 17:26:14 ryoon Exp $ | |* Detect setprogname(3) in configure script. | |--- system.h.orig 2013-01-30 15:33:12.000000000 +0000 |+++ system.h -------------------------- Patching file system.h using Plan A... Hunk #1 succeeded at 87 (offset -25 lines). done ===> Creating toolchain wrappers for rpm-4.13.0.1nb6 ===> Configuring for rpm-4.13.0.1nb6 => Fixing __progname declarations to include 'extern'. cd /tmp/misc/rpm/work/rpm-4.13.0.1 && autoconf aclocal.m4:17: warning: this file was generated for autoconf 2.69. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'. configure.ac:28: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:28: You should run autoupdate. m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from... configure.ac:28: the top level configure.ac:32: warning: The macro `AC_PROG_CC_C99' is obsolete. configure.ac:32: You should run autoupdate. ./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from... configure.ac:32: the top level configure.ac:77: warning: The macro `AM_PROG_LIBTOOL' is obsolete. configure.ac:77: You should run autoupdate. m4/libtool.m4:100: AM_PROG_LIBTOOL is expanded from... configure.ac:77: the top level configure.ac:414: warning: AM_PROG_MKDIR_P: this macro is deprecated, and will soon be removed. configure.ac:414: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead, configure.ac:414: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:1022: AM_PROG_MKDIR_P is expanded from... m4/po.m4:23: AM_PO_SUBDIRS is expanded from... m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from... configure.ac:414: the top level configure.ac:414: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:414: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/gettext.m4:367: gt_INTL_MACOSX is expanded from... m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from... configure.ac:414: the top level configure.ac:414: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:414: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from... configure.ac:414: the top level configure.ac:414: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:414: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/iconv.m4:20: AM_ICONV_LINK is expanded from... m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from... configure.ac:414: the top level configure.ac:415: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:415: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/iconv.m4:20: AM_ICONV_LINK is expanded from... m4/iconv.m4:75: AM_ICONV is expanded from... configure.ac:415: the top level configure.ac:415: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:415: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... m4/iconv.m4:75: AM_ICONV is expanded from... configure.ac:415: the top level configure.ac:418: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:418: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:418: the top level => 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 bash interpreter in installplatform scripts/brp-python-bytecompile scripts/check-prereqs scripts/check-rpaths-worker scripts/find-debuginfo.sh scripts/fontconfig.prov scripts/mono-find-provides scripts/mono-find-requires scripts/pkgconfigdeps.sh scripts/pythondeps.sh scripts/rpmdb_loadcvt. => Replacing Perl interpreter in scripts/perl.prov scripts/perl.req. => Adding run-time search paths to pkg-config files. => Fixing locale directory references. => Checking for portability problems in extracted files checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g wheel checking whether build environment is sane... yes checking for a race-free mkdir -p... ./install-sh -c -d checking for gawk... /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for x86_64--netbsd-gcc... gcc 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking pkg-config is at least version 0.9.0... yes checking whether the compiler supports GNU C++... no checking whether c++ accepts -g... no checking for c++ option to enable C++11 features... none needed checking dependency style of c++... none checking for gawk... (cached) /usr/bin/awk checking for x86_64--netbsd-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64--netbsd checking host system type... x86_64--netbsd checking how to print strings... printf 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 gcc... /tmp/misc/rpm/work/.cwrapper/bin/ld checking if the linker (/tmp/misc/rpm/work/.cwrapper/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 the maximum length of command line arguments... (cached) 262144 checking how to convert x86_64--netbsd file names to x86_64--netbsd format... func_convert_file_noop checking how to convert x86_64--netbsd file names to toolchain format... func_convert_file_noop checking for /tmp/misc/rpm/work/.cwrapper/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-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64--netbsd-ar... no checking for ar... ar checking for archiver @FILE support... @ 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 gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64--netbsd-mt... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/tmp/misc/rpm/work/.cwrapper/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... no checking how to run the C++ preprocessor... cpp checking whether the c++ linker (/tmp/misc/rpm/work/.cwrapper/bin/ld) supports shared libraries... PKGSRC-WARNING: Something is trying to run the c++ compiler, PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile. yes libtool.m4: error: problem compiling CXX test program checking for c++ option to produce PIC... -DPIC checking if c++ PIC flag -DPIC works... no checking if c++ static flag works... no checking if c++ supports -c -o file.o... rm: conftest*: No such file or directory no checking if c++ supports -c -o file.o... (cached) no checking whether the c++ linker (/tmp/misc/rpm/work/.cwrapper/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... PKGSRC-WARNING: Something is trying to run the c++ compiler, PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile. NetBSD ld.elf_so checking how to hardcode library paths into programs... unsupported checking for bison... no checking for byacc... no checking supported compiler flags... -fno-strict-aliasing -Wempty-body checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking POSIX chmod... yes checking for x86_64--netbsd-ar... ar checking for 7zip... no checking for 7za... no checking for 7z... no checking for bzip2... /usr/bin/bzip2 checking for cat... /bin/cat checking for chgrp... /bin/chgrp checking for chmod... /bin/chmod checking for chown... /sbin/chown checking for cp... /bin/cp checking for cpio... /bin/cpio checking for curl... /usr/bin/curl checking for file... /usr/bin/file checking for gpg... /usr/bin/gpg checking for grep... /usr/bin/grep checking for gzip... /usr/bin/gzip checking for unzip... /usr/bin/unzip checking for id... /usr/bin/id checking for install... /usr/bin/install checking for lrzip... /usr/bin/lrzip checking for lzip... /usr/bin/lzip checking for xz... /usr/bin/xz checking for make... /usr/bin/make checking for mkdir... /bin/mkdir checking for mv... /bin/mv checking for patch... /usr/bin/patch checking for restorecon... /sbin/restorecon checking old version of patch... patch later then 2.2 found checking for perl... /usr/bin/perl checking for pgp... /usr/bin/pgp checking for python... /usr/bin/python checking for rm... /bin/rm checking for rsh... /usr/bin/rsh checking for sed... /usr/bin/sed checking for semodule... /usr/bin/semodule checking for ssh... /usr/bin/ssh checking for tar... /bin/tar checking for ld... /usr/bin/ld checking for nm... /usr/bin/nm checking for objcopy... /usr/bin/objcopy checking for objdump... /usr/bin/objdump checking for strip... /usr/bin/strip checking for git... /usr/bin/git checking for hg... /usr/bin/hg checking for bzr... /usr/bin/bzr checking for quilt... /usr/bin/quilt checking for fakechroot... no checking for zlib.h... yes checking for gzread in -lz... yes checking for gzseek in -lz... yes checking for bzlib.h... yes checking for BZ2_bzread in -lbz2... yes checking for lzma.h... yes checking for lzma_easy_encoder in -llzma... yes checking for gethostname... yes checking for pthread.h... yes checking for pthread_mutex_trylock in -lpthread... yes checking for library containing dlopen... none required checking for libelf.h... yes checking for gelf.h... yes checking for gelf_getvernaux in -lelf... no checking for dwarf.h... yes checking for nspr.h... yes checking for nss.h... no configure: error: missing required NSPR / NSS header *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/misc/rpm WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile. *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/misc/rpm