[package - main-i386-default][security/pcsc-tools] Failed for pcsc-tools-1.7.1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 11 May 2024 11:48:06 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/beefy17/data/main-i386-default/pfbd796535d84_sa2409f17377/logs/pcsc-tools-1.7.1.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=pfbd796535d84_sa2409f17377
Log:

=>> Building security/pcsc-tools
build started at Sat May 11 11:47:59 UTC 2024
port directory: /usr/ports/security/pcsc-tools
package name: pcsc-tools-1.7.1
building for: FreeBSD main-i386-default-job-09 15.0-CURRENT FreeBSD 15.0-CURRENT 1500018 i386
maintained by: arved@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 500 May  2 01:01 /usr/ports/security/pcsc-tools/Makefile
Ports top last git commit: fbd796535d8
Ports top unclean checkout: no
Port dir last git commit: 4d057425d16
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500018
Jail OSVERSION: 1500018
Job Id: 09

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1500018
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=15.0-CURRENT
LOCALBASE=/usr/local
UNAME_v=FreeBSD 15.0-CURRENT 1500018
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-30-g79e3edcd
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-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/main-i386-default/09/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-i386-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=15.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---
# 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
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
####  ####
# 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)  524288
stack size              (kbytes, -s)  65536
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
[main-i386-default-job-09] Installing pkg-1.21.2...
[main-i386-default-job-09] 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
[main-i386-default-job-09] Installing gmake-4.4.1...
[main-i386-default-job-09] `-- Installing gettext-runtime-0.22.5...
[main-i386-default-job-09] |   `-- Installing indexinfo-0.3.1...
[main-i386-default-job-09] |   `-- Extracting indexinfo-0.3.1: .... done
[main-i386-default-job-09] `-- Extracting gettext-runtime-0.22.5: .......... done
[main-i386-default-job-09] 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
[main-i386-default-job-09] Installing pkgconf-2.2.0,1...
[main-i386-default-job-09] Extracting pkgconf-2.2.0,1: .......... done
===>   pcsc-tools-1.7.1 depends on package: pkgconf>=1.3.0_1 - found
<snip>
[main-i386-default-job-09] |   | `-- Extracting libICE-1.1.1,1: .......... done
[main-i386-default-job-09] |   | `-- Installing libSM-1.2.3_1,1...
[main-i386-default-job-09] |   | `-- Extracting libSM-1.2.3_1,1: .......... done
[main-i386-default-job-09] |   | `-- Installing libX11-1.8.9,1...
[main-i386-default-job-09] |   |   `-- Installing libxcb-1.17.0...
[main-i386-default-job-09] |   |   | `-- Installing libXau-1.0.9_1...
[main-i386-default-job-09] |   |   | `-- Extracting libXau-1.0.9_1: .......... done
[main-i386-default-job-09] |   |   | `-- Installing libXdmcp-1.1.5...
[main-i386-default-job-09] |   |   |   `-- Installing xorgproto-2023.2...
[main-i386-default-job-09] |   |   |   `-- Extracting xorgproto-2023.2: .......... done
[main-i386-default-job-09] |   |   | `-- Extracting libXdmcp-1.1.5: ......... done
[main-i386-default-job-09] |   |   `-- Extracting libxcb-1.17.0: .......... done
[main-i386-default-job-09] |   | `-- Extracting libX11-1.8.9,1: .......... done
===> Creating groups
Creating group 'messagebus' with gid '556'
===> Creating users
Creating user 'messagebus' with uid '556'
[main-i386-default-job-09] |   `-- Extracting dbus-1.14.10_5,1: ......... done
[main-i386-default-job-09] |   `-- Installing duktape-lib-2.7.0...
[main-i386-default-job-09] |   `-- Extracting duktape-lib-2.7.0: ......... done
[main-i386-default-job-09] |   `-- Installing glib-2.80.2,2...
[main-i386-default-job-09] |   | `-- Installing libffi-3.4.6...
[main-i386-default-job-09] |   | `-- Extracting libffi-3.4.6: .......... done
[main-i386-default-job-09] |   | `-- Installing libiconv-1.17_1...
[main-i386-default-job-09] |   | `-- Extracting libiconv-1.17_1: .......... done
[main-i386-default-job-09] |   | `-- Installing pcre2-10.43...
[main-i386-default-job-09] |   | `-- Extracting pcre2-10.43: .......... done
[main-i386-default-job-09] |   | `-- Installing py39-packaging-24.0...
[main-i386-default-job-09] |   |   `-- Installing python39-3.9.18_2...
[main-i386-default-job-09] |   |   | `-- Installing mpdecimal-4.0.0...
[main-i386-default-job-09] |   |   | `-- Extracting mpdecimal-4.0.0: .......... done
[main-i386-default-job-09] |   |   | `-- Installing readline-8.2.10...
[main-i386-default-job-09] |   |   | `-- Extracting readline-8.2.10: .......... done
[main-i386-default-job-09] |   |   `-- Extracting python39-3.9.18_2: .......... done
[main-i386-default-job-09] |   | `-- Extracting py39-packaging-24.0: .......... done
[main-i386-default-job-09] |   `-- Extracting glib-2.80.2,2: .......... done
===> Creating groups
Creating group 'polkitd' with gid '565'
===> Creating users
Creating user 'polkitd' with uid '565'
[main-i386-default-job-09] `-- Extracting polkit-124_3: ......... done
[main-i386-default-job-09] 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.18_2:

--
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... i386-portbld-freebsd15.0
checking host system type... i386-portbld-freebsd15.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
ru.po: 74 translated messages, 1 untranslated message.
fr.po: 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
pcsc_scan.c:436:37: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat]
  436 |                 printf("%sFAPDU n°: %ld\n", cpl, count);
      |                                     ~~~          ^~~~~
      |                                     %zu
1 warning generated.
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