[package - 142i386-default][misc/getopt] Failed for getopt-2.41.1 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 06 Sep 2025 01:08:16 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:     sunpoet@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy21/data/142i386-default/118fb2971704/logs/getopt-2.41.1.log
Build URL:      https://pkg-status.freebsd.org/beefy21/build.html?mastername=142i386-default&build=118fb2971704
Log:

=>> Building misc/getopt
build started at Sat Sep  6 01:07:50 UTC 2025
port directory: /usr/ports/misc/getopt
package name: getopt-2.41.1
building for: FreeBSD 142i386-default-job-04 14.2-RELEASE-p5 FreeBSD 14.2-RELEASE-p5 i386
maintained by: sunpoet@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 752 Sep  4 01:01 /usr/ports/misc/getopt/Makefile
Ports top last git commit: 118fb29717
Ports top unclean checkout: no
Port dir last git commit: 3e41c1690e
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.3
Host OSVERSION: 1500052
Jail OSVERSION: 1402000
Job Id: 04

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1402000
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=14.2-RELEASE-p5
LOCALBASE=/usr/local
UNAME_v=FreeBSD 14.2-RELEASE-p5
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.3
MASTERMNT=/usr/local/poudriere/data/.m/142i386-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/142i386-default/04/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=142i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/142i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.3
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---
===> The following configuration options are available for getopt-2.41.1:
     EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
sunpoet@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--disable-asciidoc  --disable-all-programs  --disable-gtk-doc  --disable-nls  --disable-makeinstall-chown  --disable-makeinstall-setuid  --with-pkgconfigdir=/usr/local/libdata/pkgconfig --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=/usr/local/bin/gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/misc/getopt/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/getopt/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/getopt/work/.cache  HOME=/wrkdirs/usr/ports/misc/getopt/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/getopt/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/getopt/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/misc/getopt/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/getopt/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/getopt/work/.cache  HOME=/wrkdirs/usr/ports/misc/getopt/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/getopt/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/getopt/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=" " 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_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTEXAMPLES="" EXAMPLES="" NO_EXAMPLES="@comment " OSREL=14.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/getopt"  EXAMPLESDIR="share/examples/getopt"  DATADIR="share/getopt"  WWWDIR="www/getopt"  ETCDIR="etc/getopt"
--End PLIST_SUB--

--SUB_LIST--
 EXAMPLES="" NO_EXAMPLES="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/getopt DOCSDIR=/usr/local/share/doc/getopt EXAMPLESDIR=/usr/local/share/examples/getopt  WWWDIR=/usr/local/www/getopt ETCDIR=/usr/local/etc/getopt
--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
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
DISABLE_MAKE_JOBS=poudriere
---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
pipebuf                         (-y)  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
===>   getopt-2.41.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.2.2.pkg
[142i386-default-job-04] Installing pkg-2.2.2...
[142i386-default-job-04] Extracting pkg-2.2.2: .......... done
===>   getopt-2.41.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of getopt-2.41.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 getopt-2.41.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 getopt-2.41.1 for building
=> SHA256 Checksum OK for util-linux-2.41.1.tar.xz.
===========================================================================
=======================<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 getopt-2.41.1 for building
===>  Extracting for getopt-2.41.1
=> SHA256 Checksum OK for util-linux-2.41.1.tar.xz.
===========================================================================
=======================<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 getopt-2.41.1
===>  Applying FreeBSD patches for getopt-2.41.1 from /usr/ports/misc/getopt/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   getopt-2.41.1 depends on package: gmake>=4.4.1 - not found
===>   Installing existing package /packages/All/gmake-4.4.1.pkg
[142i386-default-job-04] Installing gmake-4.4.1...
[142i386-default-job-04] `-- Installing gettext-runtime-0.23.1...
[142i386-default-job-04] |   `-- Installing indexinfo-0.3.1_1...
[142i386-default-job-04] |   `-- Extracting indexinfo-0.3.1_1: .... done
[142i386-default-job-04] `-- Extracting gettext-runtime-0.23.1: .......... done
[142i386-default-job-04] Extracting gmake-4.4.1: .......... done
===>   getopt-2.41.1 depends on package: gmake>=4.4.1 - found
===>   Returning to build of getopt-2.41.1
===>   getopt-2.41.1 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-2.4.3,1.pkg
[142i386-default-job-04] Installing pkgconf-2.4.3,1...
[142i386-default-job-04] Extracting pkgconf-2.4.3,1: .......... done
===>   getopt-2.41.1 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of getopt-2.41.1
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for getopt-2.41.1
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/misc/getopt/work/util-linux-2.41.1/config/config.rpath
configure: loading site script /usr/ports/Templates/config.site
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 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 wchar.h... (cached) yes
checking for minix/config.h... (cached) no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
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 /usr/local/bin/gmake sets $(MAKE)... yes
checking whether /usr/local/bin/gmake supports the include directive... yes (GNU style)
checking whether /usr/local/bin/gmake supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking dependency style of cc... gcc3
checking whether /usr/local/bin/gmake supports nested variables... (cached) yes
checking for ar... ar
checking the archiver (ar) interface... ar
configure:   --runstatedir defaults to /run
checking for gcc... (cached) cc
checking whether the compiler supports GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to enable C11 features... (cached) none needed
checking whether cc understands -c and -o together... (cached) yes
checking for bison... no
checking for byacc... byacc
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for flex... /usr/bin/flex
checking for bison... no
checking build system type... i386-portbld-freebsd14.2
checking host system type... i386-portbld-freebsd14.2
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking how to run the C preprocessor... cpp
checking whether compiler handles -fno-common... yes
checking whether compiler handles -Wall... yes
checking whether compiler handles -Wextra... yes
checking whether compiler handles -Waddress-of-packed-member... yes
checking whether compiler handles -Wdiscarded-qualifiers... no
checking whether compiler handles -Wembedded-directive... yes
checking whether compiler handles -Wextra-semi... yes
checking whether compiler handles -Wformat-security... yes
checking whether compiler handles -Wimplicit-function-declaration... yes
checking whether compiler handles -Wmissing-declarations... yes
checking whether compiler handles -Wmissing-parameter-type... no
checking whether compiler handles -Wmissing-prototypes... yes
checking whether compiler handles -Wnested-externs... yes
checking whether compiler handles -Wno-missing-field-initializers... yes
checking whether compiler handles -Wold-style-definition... yes
checking whether compiler handles -Wpointer-arith... yes
checking whether compiler handles -Wredundant-decls... yes
checking whether compiler handles -Wsign-compare... yes
checking whether compiler handles -Wstrict-prototypes... yes
checking whether compiler handles -Wtype-limits... yes
checking whether compiler handles -Wuninitialized... yes
checking whether compiler handles -Wunused-but-set-parameter... yes
checking whether compiler handles -Wunused-but-set-variable... yes
checking whether compiler handles -Wunused-parameter... yes
checking whether compiler handles -Wunused-result... yes
checking whether compiler handles -Wunused-variable... yes
checking whether compiler handles -Wvla... yes
checking whether compiler handles -Walloca... yes
checking whether compiler handles -Werror=sequence-point... yes
checking whether compiler handles -Wno-clobbered... no
checking whether compiler handles -Wno-cast-function-type... yes
checking whether the compiler supports GNU C++... yes
checking whether c++ accepts -g... yes
checking for c++ option to enable C++11 features... none needed
checking dependency style of c++... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /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... (cached) /usr/bin/fgrep
checking for ld used by cc... /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
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 524288
checking how to convert i386-portbld-freebsd14.2 file names to i386-portbld-freebsd14.2 format... func_convert_file_noop
checking how to convert i386-portbld-freebsd14.2 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from cc 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 mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd14.2 ld.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 how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd14.2 ld.so
checking how to hardcode library paths into programs... immediate
checking linker version script flag... --version-script
checking if version scripts can use complex wildcards... yes
checking pkg-config is at least version 0.9.0... yes
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... no
checking for xsltproc... no
checking for cc option to enable large file support... none needed
checking for cc option for timestamps after 2038... support not detected
checking whether to enable assertions... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for cc options needed to detect all undeclared functions... -fno-builtin
checking for struct tm.tm_zone... yes
checking for cc option for timestamps after 2038... (cached) support not detected
configure: error: in '/wrkdirs/usr/ports/misc/getopt/work/util-linux-2.41.1':
configure: error: could not enable timestamps after mid-January 2038.
This package recommends support for these later
timestamps. However, to proceed with signed 32-bit
time_t even though it will fail then, configure with
'--disable-year2038'.
See 'config.log' for more details
===>  Script "configure" failed unexpectedly.
Please report the problem to sunpoet@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/misc/getopt/work/util-linux-2.41.1/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /usr/ports/misc/getopt