=> 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 opensc-0.20.0.tar.gz => Checksum RMD160 OK for opensc-0.20.0.tar.gz => Checksum SHA512 OK for opensc-0.20.0.tar.gz ===> Installing dependencies for opensc-0.20.0 ========================================================================== The supported build options for opensc are: openct pcsc-lite The currently selected options are: pcsc-lite You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.opensc (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, opensc-0.20.0. Their current value is shown below: * READLINE_DEFAULT = editline * SSLBASE = /usr * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /etc/openssl/private Based on these variables, the following variables have been set: * READLINE_TYPE = editline * TERMCAP_TYPE = termcap 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 automake>=1.15: found automake-1.16.2 => Tool dependency autoconf>=2.60: found autoconf-2.69nb9 => Tool dependency gmake>=3.81: found gmake-4.2.1nb1 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency docbook-xsl-[0-9]*: found docbook-xsl-1.79.2nb3 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency pcsc-lite>=1.8.3: found pcsc-lite-1.8.24nb1 => Full dependency libxslt>=1.1.28nb2: found libxslt-1.1.34nb1 ===> Overriding tools for opensc-0.20.0 ===> Extracting for opensc-0.20.0 ===> Patching for opensc-0.20.0 => Applying pkgsrc patches for opensc-0.20.0 => Verifying /data/pkgsrc/security/opensc/patches/patch-aa => Applying pkgsrc patch /data/pkgsrc/security/opensc/patches/patch-aa Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-aa,v 1.7 2018/10/13 10:54:05 mlelstv Exp $ | |Disable installation of config file, because pkgsrc installs config |files as examples. | |--- etc/Makefile.am.orig 2018-09-13 11:47:21.000000000 +0000 |+++ etc/Makefile.am -------------------------- Patching file etc/Makefile.am using Plan A... Hunk #1 succeeded at 30. done => Verifying /data/pkgsrc/security/opensc/patches/patch-ab => Applying pkgsrc patch /data/pkgsrc/security/opensc/patches/patch-ab Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ab,v 1.6 2018/10/13 10:54:05 mlelstv Exp $ | |This patch was added 2009-09-10 by hasso@, with comment: | More userfriendly default configuration. | |--- etc/opensc.conf.example.in.orig 2018-09-13 11:47:21.000000000 +0000 |+++ etc/opensc.conf.example.in -------------------------- Patching file etc/opensc.conf.example.in using Plan A... Hunk #1 succeeded at 912 (offset 14 lines). done => Verifying /data/pkgsrc/security/opensc/patches/patch-configure.ac => Applying pkgsrc patch /data/pkgsrc/security/opensc/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.3 2016/08/04 13:08:25 mef Exp $ | |This hunk has been in pkgsrc for a long time; it needs a comment! | |--- configure.ac.orig 2016-06-04 08:22:08.000000000 +0900 |+++ configure.ac 2016-08-04 21:50:22.000000000 +0900 -------------------------- Patching file configure.ac using Plan A... Hunk #1 succeeded at 440 (offset 56 lines). done => Verifying /data/pkgsrc/security/opensc/patches/patch-doc_tools_Makefile.am => Applying pkgsrc patch /data/pkgsrc/security/opensc/patches/patch-doc_tools_Makefile.am Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-doc_tools_Makefile.am,v 1.2 2018/10/13 10:54:05 mlelstv Exp $ | |These files are interpreted as config files by the pkgsrc framework, |and there's no agreed-upon place to put them. For now, just skip |installing them. Not reported upstream. | |--- doc/tools/Makefile.am.orig 2018-09-13 11:47:21.000000000 +0000 |+++ doc/tools/Makefile.am -------------------------- Patching file doc/tools/Makefile.am using Plan A... Hunk #1 succeeded at 11 (offset -3 lines). done => Verifying /data/pkgsrc/security/opensc/patches/patch-src_common_compat__getopt.h => Applying pkgsrc patch /data/pkgsrc/security/opensc/patches/patch-src_common_compat__getopt.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_common_compat__getopt.h,v 1.3 2015/09/07 19:59:42 gdt Exp $ | |NetBSD has getopt_long but not getopt_long_only. Replacing |getopt_long causes a type conflict with the built-in implementation. |The replacement is unnecesssary because getopt_long_only is not |actually used. | |Reported upstream: |http://article.gmane.org/gmane.comp.encryption.opensc.user/5931 | |The following is the original mail archive URL, but it currently |yields a '404 not found' error: |https://www.opensc-project.org/pipermail/opensc-devel/2012-November/018668.html | |--- src/common/compat_getopt.h.orig 2015-05-16 20:30:24.000000000 +0000 |+++ src/common/compat_getopt.h -------------------------- Patching file src/common/compat_getopt.h using Plan A... Hunk #1 failed at 30. Hunk #2 succeeded at 39 (offset -4 lines). Hunk #3 failed at 81. 2 out of 3 hunks failed--saving rejects to src/common/compat_getopt.h.rej done Patch /data/pkgsrc/security/opensc/patches/patch-src_common_compat__getopt.h failed => Verifying /data/pkgsrc/security/opensc/patches/patch-src_common_compat__getopt__main.c => Applying pkgsrc patch /data/pkgsrc/security/opensc/patches/patch-src_common_compat__getopt__main.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_common_compat__getopt__main.c,v 1.3 2015/09/07 19:59:42 gdt Exp $ | |See comment in patch-src_common_compat__getopt.h. In addition, a |kludge is added here to get the test file to build, pending a new |release from upstream with the issue properly addressed. | |--- src/common/compat_getopt_main.c.orig 2015-05-16 20:30:24.000000000 +0000 |+++ src/common/compat_getopt_main.c -------------------------- Patching file src/common/compat_getopt_main.c using Plan A... Hunk #1 succeeded at 173. done => Verifying /data/pkgsrc/security/opensc/patches/patch-src_libopensc_log.c => Applying pkgsrc patch /data/pkgsrc/security/opensc/patches/patch-src_libopensc_log.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_libopensc_log.c,v 1.5 2020/04/16 12:37:51 manu Exp $ | |Build without pthread | |--- src/libopensc/log.c.orig 2019-12-29 12:42:06.000000000 +0000 |+++ src/libopensc/log.c 2020-04-15 13:00:39.853594605 +0000 -------------------------- Patching file src/libopensc/log.c using Plan A... Hunk #1 succeeded at 112. done ERROR: Patching failed due to modified or broken patch file(s): ERROR: /data/pkgsrc/security/opensc/patches/patch-src_common_compat__getopt.h ERROR: ========================================================================== ERROR: ERROR: Some of the selected build options and/or local patches may be incompatible. ERROR: Please try building with fewer options or patches. ERROR: ERROR: ========================================================================== *** Error code 1 Stop. make[1]: stopped in /data/pkgsrc/security/opensc *** Error code 1 Stop. make: stopped in /data/pkgsrc/security/opensc