[package - 140amd64-default][security/pcsc-tools] Failed for pcsc-tools-1.7.1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 16 May 2024 16:25:38 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     arved@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy12/data/140amd64-default/07badf98bbd0/logs/pcsc-tools-1.7.1.log
Build URL:      https://pkg-status.freebsd.org/beefy12/build.html?mastername=140amd64-default&build=07badf98bbd0
Log:

=>> Building security/pcsc-tools
build started at Thu May 16 16:25:30 UTC 2024
port directory: /usr/ports/security/pcsc-tools
package name: pcsc-tools-1.7.1
building for: FreeBSD 140amd64-default-job-07 14.0-RELEASE-p6 FreeBSD 14.0-RELEASE-p6 amd64
maintained by: arved@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 500 May  4 01:01 /usr/ports/security/pcsc-tools/Makefile
Ports top last git commit: 07badf98bb
Ports top unclean checkout: no
Port dir last git commit: 4d057425d1
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500018
Jail OSVERSION: 1400097
Job Id: 07

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400097
UNAME_v=FreeBSD 14.0-RELEASE-p6
UNAME_r=14.0-RELEASE-p6
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-30-g79e3edcd
MASTERMNT=/usr/local/poudriere/data/.m/140amd64-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/140amd64-default/07/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=140amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/140amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-30-g79e3edcd
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
arved@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/security/pcsc-tools/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/pcsc-tools/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/security/pcsc-tools/work/.cache  HOME=/wrkdirs/usr/ports/security/pcsc-tools/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/pcsc-tools/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/pcsc-tools/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/pcsc-tools/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/pcsc-tools/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/security/pcsc-tools/work/.cache  HOME=/wrkdirs/usr/ports/security/pcsc-tools/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/pcsc-tools/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/pcsc-tools/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_D
ATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/pcsc-tools"  EXAMPLESDIR="share/examples/pcsc-tools"  DATADIR="share/pcsc-tools"  WWWDIR="www/pcsc-tools"  ETCDIR="etc/pcsc-tools"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/pcsc-tools DOCSDIR=/usr/local/share/doc/pcsc-tools EXAMPLESDIR=/usr/local/share/examples/pcsc-tools  WWWDIR=/usr/local/www/pcsc-tools ETCDIR=/usr/local/etc/pcsc-tools
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  8192
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   pcsc-tools-1.7.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.2.pkg
[140amd64-default-job-07] Installing pkg-1.21.2...
[140amd64-default-job-07] Extracting pkg-1.21.2: .......... done
===>   pcsc-tools-1.7.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of pcsc-tools-1.7.1
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by pcsc-tools-1.7.1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by pcsc-tools-1.7.1 for building
=> SHA256 Checksum OK for pcsc-tools-1.7.1.tar.bz2.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by pcsc-tools-1.7.1 for building
===>  Extracting for pcsc-tools-1.7.1
=> SHA256 Checksum OK for pcsc-tools-1.7.1.tar.bz2.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for pcsc-tools-1.7.1
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   pcsc-tools-1.7.1 depends on package: gmake>=4.4.1 - not found
===>   Installing existing package /packages/All/gmake-4.4.1.pkg
[140amd64-default-job-07] Installing gmake-4.4.1...
[140amd64-default-job-07] `-- Installing gettext-runtime-0.22.5...
[140amd64-default-job-07] |   `-- Installing indexinfo-0.3.1...
[140amd64-default-job-07] |   `-- Extracting indexinfo-0.3.1: .... done
[140amd64-default-job-07] `-- Extracting gettext-runtime-0.22.5: .......... done
[140amd64-default-job-07] Extracting gmake-4.4.1: .......... done
===>   pcsc-tools-1.7.1 depends on package: gmake>=4.4.1 - found
===>   Returning to build of pcsc-tools-1.7.1
===>   pcsc-tools-1.7.1 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-2.2.0,1.pkg
[140amd64-default-job-07] Installing pkgconf-2.2.0,1...
[140amd64-default-job-07] Extracting pkgconf-2.2.0,1: .......... done
===>   pcsc-tools-1.7.1 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of pcsc-tools-1.7.1
===>   pcsc-tools-1.7.1 depends on executable: msgfmt - not found
===>   Installing existing package /packages/All/gettext-tools-0.22.5.pkg
[140amd64-default-job-07] Installing gettext-tools-0.22.5...
[140amd64-default-job-07] `-- Installing libtextstyle-0.22.5...
[140amd64-default-job-07] `-- Extracting libtextstyle-0.22.5: .......... done
[140amd64-default-job-07] Extracting gettext-tools-0.22.5: .......... done
===>   pcsc-tools-1.7.1 depends on executable: msgfmt - found
===>   Returning to build of pcsc-tools-1.7.1
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
<snip>
[140amd64-default-job-07] `-- Installing polkit-124_3...
[140amd64-default-job-07] |   `-- Installing dbus-1.14.10_5,1...
[140amd64-default-job-07] |   | `-- Installing expat-2.6.2...
[140amd64-default-job-07] |   | `-- Extracting expat-2.6.2: .......... done
[140amd64-default-job-07] |   | `-- Installing libICE-1.1.1,1...
[140amd64-default-job-07] |   | `-- Extracting libICE-1.1.1,1: .......... done
[140amd64-default-job-07] |   | `-- Installing libSM-1.2.3_1,1...
[140amd64-default-job-07] |   | `-- Extracting libSM-1.2.3_1,1: .......... done
[140amd64-default-job-07] |   | `-- Installing libX11-1.8.9,1...
[140amd64-default-job-07] |   |   `-- Installing libxcb-1.17.0...
[140amd64-default-job-07] |   |   | `-- Installing libXau-1.0.9_1...
[140amd64-default-job-07] |   |   | `-- Extracting libXau-1.0.9_1: .......... done
[140amd64-default-job-07] |   |   | `-- Installing libXdmcp-1.1.5...
[140amd64-default-job-07] |   |   |   `-- Installing xorgproto-2023.2...
[140amd64-default-job-07] |   |   |   `-- Extracting xorgproto-2023.2: .......... done
[140amd64-default-job-07] |   |   | `-- Extracting libXdmcp-1.1.5: ......... done
[140amd64-default-job-07] |   |   `-- Extracting libxcb-1.17.0: .......... done
[140amd64-default-job-07] |   | `-- Extracting libX11-1.8.9,1: .......... done
===> Creating groups
Creating group 'messagebus' with gid '556'
===> Creating users
Creating user 'messagebus' with uid '556'
[140amd64-default-job-07] |   `-- Extracting dbus-1.14.10_5,1: ......... done
[140amd64-default-job-07] |   `-- Installing duktape-lib-2.7.0...
[140amd64-default-job-07] |   `-- Extracting duktape-lib-2.7.0: ......... done
[140amd64-default-job-07] |   `-- Installing glib-2.80.2,2...
[140amd64-default-job-07] |   | `-- Installing libffi-3.4.6...
[140amd64-default-job-07] |   | `-- Extracting libffi-3.4.6: .......... done
[140amd64-default-job-07] |   | `-- Installing libiconv-1.17_1...
[140amd64-default-job-07] |   | `-- Extracting libiconv-1.17_1: .......... done
[140amd64-default-job-07] |   | `-- Installing pcre2-10.43...
[140amd64-default-job-07] |   | `-- Extracting pcre2-10.43: .......... done
[140amd64-default-job-07] |   | `-- Installing py39-packaging-24.0...
[140amd64-default-job-07] |   |   `-- Installing python39-3.9.19...
[140amd64-default-job-07] |   |   | `-- Installing mpdecimal-4.0.0...
[140amd64-default-job-07] |   |   | `-- Extracting mpdecimal-4.0.0: .......... done
[140amd64-default-job-07] |   |   | `-- Installing readline-8.2.10...
[140amd64-default-job-07] |   |   | `-- Extracting readline-8.2.10: .......... done
[140amd64-default-job-07] |   |   `-- Extracting python39-3.9.19: .......... done
[140amd64-default-job-07] |   | `-- Extracting py39-packaging-24.0: .......... done
[140amd64-default-job-07] |   `-- Extracting glib-2.80.2,2: .......... done
===> Creating groups
Creating group 'polkitd' with gid '565'
===> Creating users
Creating user 'polkitd' with uid '565'
[140amd64-default-job-07] `-- Extracting polkit-124_3: ......... done
[140amd64-default-job-07] Extracting pcsc-lite-2.2.1,2: .......... done
==> Running trigger: gio-modules.ucl
Generating GIO modules cache
==> Running trigger: glib-schemas.ucl
Compiling glib schemas
No schema files found: doing nothing.
=====
Message from duktape-lib-2.7.0:

--
===>   NOTICE:

The duktape-lib port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing
=====
Message from python39-3.9.19:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py39-gdbm       databases/py-gdbm@py39
py39-sqlite3    databases/py-sqlite3@py39
py39-tkinter    x11-toolkits/py-tkinter@py39
=====
Message from pcsc-lite-2.2.1,2:

--
PC/SC-Lite has been installed.

You need to install a driver for your smartcard reader e.g.,
- devel/libccid

For cardreaders connected to the serial port: After installing the driver,
please update the pcscd configuration file:
/usr/local/etc/reader.conf

For USB cardreaders add the following lines to /etc/devd.conf to enable
hotplugging:

attach 100 {
        device-name "ugen[0-9]+";
        action "/usr/local/sbin/pcscd -H";
};

detach 100 {
        device-name "ugen[0-9]+";
        action "/usr/local/sbin/pcscd -H";
};
===>   pcsc-tools-1.7.1 depends on shared library: libpcsclite.so - found (/usr/local/lib/libpcsclite.so)
===>   Returning to build of pcsc-tools-1.7.1
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for pcsc-tools-1.7.1
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether gmake sets $(MAKE)... yes
checking whether gmake supports nested variables... yes
checking whether gmake supports nested variables... (cached) yes
checking build system type... amd64-portbld-freebsd14.0
checking host system type... amd64-portbld-freebsd14.0
checking for gcc... cc
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 cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking whether cc understands -c and -o together... yes
checking whether gmake supports the include directive... yes (GNU style)
checking dependency style of cc... gcc3
checking for msgfmt... yes
checking pkg-config is at least version 0.9.0... yes
checking for libpcsclite... yes
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for winscard.h... yes
checking for SCardEstablishContext... yes
checking for unistd.h... (cached) yes
checking for time.h... (cached) yes
checking for string.h... (cached) yes
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/mkdev.h... no
checking for sys/sysmacros.h... no

pcsc-tools has been configured with following options:

pcsc_dir:   /usr/local/share/pcsc
ATR parser: ATR_analysis

checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ATR_analysis
config.status: creating ATR_analysis.1p
config.status: creating po/Makefile
config.status: creating gscriptor.desktop
config.status: creating config.h
config.status: executing depfiles commands
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for pcsc-tools-1.7.1
gmake  all-recursive
gmake[1]: Entering directory '/wrkdirs/usr/ports/security/pcsc-tools/work/pcsc-tools-1.7.1'
Making all in po
gmake[2]: Entering directory '/wrkdirs/usr/ports/security/pcsc-tools/work/pcsc-tools-1.7.1/po'
msgfmt --check --statistics --verbose -o ru.gmo ru.po
msgfmt --check --statistics --verbose -o fr.gmo fr.po
fr.po: ru.po: 74 translated messages, 1 untranslated message.
61 translated messages, 14 untranslated messages.
gmake[2]: Leaving directory '/wrkdirs/usr/ports/security/pcsc-tools/work/pcsc-tools-1.7.1/po'
gmake[2]: Entering directory '/wrkdirs/usr/ports/security/pcsc-tools/work/pcsc-tools-1.7.1'
cc -DHAVE_CONFIG_H -I.    -I/usr/local/include/PCSC -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -MT pcsc_scan-pcsc_scan.o -MD -MP -MF .deps/pcsc_scan-pcsc_scan.Tpo -c -o pcsc_scan-pcsc_scan.o `test -f 'pcsc_scan.c' || echo './'`pcsc_scan.c
mv -f .deps/pcsc_scan-pcsc_scan.Tpo .deps/pcsc_scan-pcsc_scan.Po
cc -I/usr/local/include/PCSC -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -fstack-protector-strong  -o pcsc_scan pcsc_scan-pcsc_scan.o -L/usr/local/lib -lpcsclite 
ld: error: undefined symbol: pthread_create
>>> referenced by pcsc_scan.c
>>>               pcsc_scan-pcsc_scan.o:(main)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [Makefile:503: pcsc_scan] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/security/pcsc-tools/work/pcsc-tools-1.7.1'
gmake[1]: *** [Makefile:674: all-recursive] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/pcsc-tools/work/pcsc-tools-1.7.1'
gmake: *** [Makefile:400: all] Error 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/security/pcsc-tools