[package - main-amd64-default][lang/ruby30] Failed for ruby30-3.0.6_1,1 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 09 Sep 2023 01:57:25 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:     ruby@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/peb032111a352_s9c80d66ec1/logs/ruby30-3.0.6_1,1.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=peb032111a352_s9c80d66ec1
Log:

=>> Building lang/ruby30
build started at Sat Sep  9 01:57:12 UTC 2023
port directory: /usr/ports/lang/ruby30
package name: ruby30-3.0.6_1,1
building for: FreeBSD main-amd64-default-job-11 15.0-CURRENT FreeBSD 15.0-CURRENT 1500000 amd64
maintained by: ruby@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1500000
Jail OSVERSION: 1500000
Job Id: 11

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500000
UNAME_v=FreeBSD 15.0-CURRENT 1500000
UNAME_r=15.0-CURRENT
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
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
===> The following configuration options are available for ruby30-3.0.6_1,1:
     CAPIDOCS=off: Build and install C API documents
     DEBUG=off: Build with debugging support
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     GMP=off: Use GMP to accelerate Bignum operations
     OPENSSL=on: SSL/TLS support via OpenSSL
     RDOC=on: Build and install Rdoc indexes
====> Which line editing lib to use: you have to select exactly one of them
     LIBEDIT=on: Use libedit
     READLINE=off: Use libreadline
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ruby@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-rubyhdrdir="/usr/local/include/ruby-3.0/"  --with-rubylibprefix="/usr/local/lib/ruby"  --docdir="/usr/local/share/doc/ruby30"  --with-soname=ruby30 --program-prefix="" --program-suffix="30"  --disable-rpath  --enable-pthread  --enable-shared  --enable-install-static-library  --with-ruby-version=minor  --with-sitedir="/usr/local/lib/ruby/site_ruby"  --with-vendordir="/usr/local/lib/ruby/vendor_ruby" --disable-install-capi --without-gmp --enable-libedit --with-libedit-dir=/usr/local --enable-install-rdoc --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
debugflags= XDG_DATA_HOME=/wrkdirs/usr/ports/lang/ruby30/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/ruby30/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/ruby30/work/.cache  HOME=/wrkdirs/usr/ports/lang/ruby30/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/ruby30/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/ruby30/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh DEFAULT_AUTOCONF=2.71 CMAKE_PREFIX_PATH="/usr/local" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/lang/ruby30/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/ruby30/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/ruby30/work/.cache  HOME=/wrkdirs/usr/ports/lang/ruby30/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/ruby30/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/ruby30/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 DEFAULT_AUTOCONF=2.71 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS="  -fstack-protector-strong " LIBS="-lpthread -L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local
/include -fno-strict-aliasing  -isystem /usr/local/include "  MANPREFIX="/usr/local" 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--
PORTDOCS="" PORTEXAMPLES="" CAPIDOCS="@comment " NO_CAPIDOCS="" DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " GMP="@comment " NO_GMP="" LIBEDIT="" NO_LIBEDIT="@comment " OPENSSL="" NO_OPENSSL="@comment " RDOC="" NO_RDOC="@comment " READLINE="@comment " NO_READLINE="" RUBY_LIBDIR="lib/ruby/3.0" RUBY_ARCHLIBDIR="lib/ruby/3.0/amd64-freebsd15" RUBY_SITELIBDIR="lib/ruby/site_ruby/3.0" RUBY_SITEARCHLIBDIR="lib/ruby/site_ruby/3.0/amd64-freebsd15" RUBY_VENDORLIBDIR="lib/ruby/vendor_ruby/3.0" RUBY_VENDORARCHLIBDIR="lib/ruby/vendor_ruby/3.0/amd64-freebsd15" RUBY_MODDOCDIR="share/doc/ruby30/ruby" RUBY_MODEXAMPLESDIR="share/examples/ruby30/ruby" RUBY_DOCDIR="share/doc/ruby30" RUBY_EXAMPLESDIR="share/examples/ruby30" RUBY_RIDIR="share/ri/3.0/system" RUBY_SITERIDIR="share/ri/3.0/site"  RUBY_VERSION="3.0.6"  RUBY_VER="3.0"  RUBY_SHLIBVER="30"  RUBY_ARCH="amd64-freebsd15"  RUBY_SUFFIX="30"  RUBY_DEFAULT_SUFFIX="31" IF_DEFAULT="@comment " OSREL
=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ruby"  EXAMPLESDIR="share/examples/ruby"  DATADIR="share/ruby"  WWWDIR="www/ruby"  ETCDIR="etc/ruby"
--End PLIST_SUB--

--SUB_LIST--
CAPIDOCS="@comment " NO_CAPIDOCS="" DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " GMP="@comment " NO_GMP="" LIBEDIT="" NO_LIBEDIT="@comment " OPENSSL="" NO_OPENSSL="@comment " RDOC="" NO_RDOC="@comment " READLINE="@comment " NO_READLINE="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/ruby DOCSDIR=/usr/local/share/doc/ruby EXAMPLESDIR=/usr/local/share/examples/ruby  WWWDIR=/usr/local/www/ruby ETCDIR=/usr/local/etc/ruby
--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
#### /usr/local/etc/poudriere.d/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 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=15.0-CURRENT
OSREL=15.0
OSVERSION=1500000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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)  1024
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   >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Please migrate to newer versions. Ruby 3.0 will reach its EoL on March 30, 2024.

It is scheduled to be removed on or after 2024-03-30.

===>  License BSD2CLAUSE RUBY accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   ruby30-3.0.6_1,1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.6.pkg
[main-amd64-default-job-11] Installing pkg-1.20.6...
[main-amd64-default-job-11] Extracting pkg-1.20.6: .......... done
===>   ruby30-3.0.6_1,1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of ruby30-3.0.6_1,1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Please migrate to newer versions. Ruby 3.0 will reach its EoL on March 30, 2024.

It is scheduled to be removed on or after 2024-03-30.

===>  License BSD2CLAUSE RUBY accepted by the user
===> Fetching all distfiles required by ruby30-3.0.6_1,1 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Please migrate to newer versions. Ruby 3.0 will reach its EoL on March 30, 2024.
<snip>
===========================================================================
=======================<phase: extract        >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Please migrate to newer versions. Ruby 3.0 will reach its EoL on March 30, 2024.

It is scheduled to be removed on or after 2024-03-30.

===>  License BSD2CLAUSE RUBY accepted by the user
===> Fetching all distfiles required by ruby30-3.0.6_1,1 for building
===>  Extracting for ruby30-3.0.6_1,1
=> SHA256 Checksum OK for ruby/ruby-3.0.6.tar.xz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for ruby30-3.0.6_1,1
===>  Applying FreeBSD patches for ruby30-3.0.6_1,1 from /usr/ports/lang/ruby30/files
===========================================================================
=======================<phase: build-depends  >============================
===>   ruby30-3.0.6_1,1 depends on package: libffi>=0 - not found
===>   Installing existing package /packages/All/libffi-3.4.4.pkg
[main-amd64-default-job-11] Installing libffi-3.4.4...
[main-amd64-default-job-11] `-- Installing indexinfo-0.3.1...
[main-amd64-default-job-11] `-- Extracting indexinfo-0.3.1: .... done
[main-amd64-default-job-11] Extracting libffi-3.4.4: .......... done
===>   ruby30-3.0.6_1,1 depends on package: libffi>=0 - found
===>   Returning to build of ruby30-3.0.6_1,1
===>   ruby30-3.0.6_1,1 depends on package: autoconf>=2.71 - not found
===>   Installing existing package /packages/All/autoconf-2.71.pkg
[main-amd64-default-job-11] Installing autoconf-2.71...
[main-amd64-default-job-11] `-- Installing autoconf-switch-20220527...
[main-amd64-default-job-11] `-- Extracting autoconf-switch-20220527: .......... done
[main-amd64-default-job-11] `-- Installing m4-1.4.19,1...
[main-amd64-default-job-11] |   `-- Installing gettext-runtime-0.22_1...
[main-amd64-default-job-11] |   `-- Extracting gettext-runtime-0.22_1: .......... done
[main-amd64-default-job-11] `-- Extracting m4-1.4.19,1: .......... done
[main-amd64-default-job-11] `-- Installing perl5-5.34.1_3...
[main-amd64-default-job-11] `-- Extracting perl5-5.34.1_3: .......... done
[main-amd64-default-job-11] Extracting autoconf-2.71: .......... done
===>   ruby30-3.0.6_1,1 depends on package: autoconf>=2.71 - found
===>   Returning to build of ruby30-3.0.6_1,1
===>   ruby30-3.0.6_1,1 depends on package: automake>=1.16.5 - not found
===>   Installing existing package /packages/All/automake-1.16.5.pkg
[main-amd64-default-job-11] Installing automake-1.16.5...
[main-amd64-default-job-11] Extracting automake-1.16.5: .......... done
===>   ruby30-3.0.6_1,1 depends on package: automake>=1.16.5 - found
===>   Returning to build of ruby30-3.0.6_1,1
===========================================================================
=======================<phase: lib-depends    >============================
===>   ruby30-3.0.6_1,1 depends on shared library: libyaml.so - not found
===>   Installing existing package /packages/All/libyaml-0.2.5.pkg
[main-amd64-default-job-11] Installing libyaml-0.2.5...
[main-amd64-default-job-11] Extracting libyaml-0.2.5: ......... done
===>   ruby30-3.0.6_1,1 depends on shared library: libyaml.so - found (/usr/local/lib/libyaml.so)
===>   Returning to build of ruby30-3.0.6_1,1
===>   ruby30-3.0.6_1,1 depends on shared library: libedit.so.0 - not found
===>   Installing existing package /packages/All/libedit-3.1.20221030,1.pkg
[main-amd64-default-job-11] Installing libedit-3.1.20221030,1...
[main-amd64-default-job-11] Extracting libedit-3.1.20221030,1: .......... done
===>   ruby30-3.0.6_1,1 depends on shared library: libedit.so.0 - found (/usr/local/lib/libedit.so.0)
===>   Returning to build of ruby30-3.0.6_1,1
===>   ruby30-3.0.6_1,1 depends on shared library: libunwind.so - not found
===>   Installing existing package /packages/All/libunwind-20211201_2.pkg
[main-amd64-default-job-11] Installing libunwind-20211201_2...
[main-amd64-default-job-11] Extracting libunwind-20211201_2: .......... done
===>   ruby30-3.0.6_1,1 depends on shared library: libunwind.so - found (/usr/local/lib/libunwind.so)
===>   Returning to build of ruby30-3.0.6_1,1
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for ruby30-3.0.6_1,1
configure.ac:4207: warning: AC_C_BIGENDIAN should be used with AC_CONFIG_HEADERS
configure: loading site script /usr/ports/Templates/config.site
checking for ruby... false
checking build system type... amd64-portbld-freebsd15
checking host system type... amd64-portbld-freebsd15
checking target system type... amd64-portbld-freebsd15
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 c++ accepts -g... yes
checking for c++ option to enable C++11 features... none needed
checking for gcc... cc
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 how to run the C preprocessor... cpp
checking for ranlib... ranlib
checking for gar... no
checking for ar... ar
checking for gas... no
checking for as... no
checking for gld... no
checking for ld... ld
checking for gnm... no
checking for nm... nm
checking for gobjcopy... no
checking for objcopy... objcopy
checking for gobjdump... no
checking for objdump... objdump
checking for gstrip... no
checking for strip... strip
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 for vfork.h... (cached) no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking if thread-local storage is supported... yes
checking whether the linker is GNU ld... no
checking whether cpp accepts -o... yes
checking for cc... /usr/bin/cc
checking for ar flags... rcD
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a race-free mkdir -p... (cached) /bin/mkdir -p
checking for dtrace... dtrace
checking for dot... no
checking for doxygen... no
checking for pkg-config... no
checking whether it is Android... no
checking for cd using physical directory... cd -P
checking whether CFLAGS is valid... yes
checking whether LDFLAGS is valid... yes
checking whether -Wl,-R. is accepted as LDFLAGS... yes
checking whether -Wl,-rpath,. is accepted as LDFLAGS... yes
checking whether -fdeclspec is accepted as CFLAGS... yes
checking whether -fdeclspec is accepted as CXXFLAGS... yes
checking whether -Wdeprecated-declarations is accepted as CFLAGS... yes
checking whether -Wdivision-by-zero is accepted as CFLAGS... yes
checking whether -Wduplicated-cond is accepted as CFLAGS... no
checking whether -Wimplicit-function-declaration is accepted as CFLAGS... yes
checking whether -Wimplicit-int is accepted as CFLAGS... yes
checking whether -Wmisleading-indentation is accepted as CFLAGS... yes
checking whether -Wpointer-arith is accepted as CFLAGS... yes
checking whether -Wshorten-64-to-32 is accepted as CFLAGS... yes
checking whether -Wwrite-strings is accepted as CFLAGS... yes
checking whether -Wimplicit-fallthrough=0 is accepted as CFLAGS... no
checking whether -Wmissing-noreturn is accepted as CFLAGS... yes
checking whether -Wno-cast-function-type is accepted as CFLAGS... yes
checking whether -Wno-constant-logical-operand is accepted as CFLAGS... yes
checking whether -Wno-long-long is accepted as CFLAGS... yes
checking whether -Wno-missing-field-initializers is accepted as CFLAGS... yes
checking whether -Wno-overlength-strings is accepted as CFLAGS... yes
checking whether -Wno-packed-bitfield-compat is accepted as CFLAGS... no
checking whether -Wno-parentheses-equality is accepted as CFLAGS... yes
checking whether -Wno-self-assign is accepted as CFLAGS... yes
checking whether -Wno-tautological-compare is accepted as CFLAGS... yes
checking whether -Wno-unused-parameter is accepted as CFLAGS... yes
checking whether -Wno-unused-value is accepted as CFLAGS... yes
checking whether -Wsuggest-attribute=format is accepted as CFLAGS... no
checking whether -Wsuggest-attribute=noreturn is accepted as CFLAGS... no
checking whether -Wunused-variable is accepted as CFLAGS... yes
checking whether -diag-disable=175,188,1684,2259,2312 is accepted as CFLAGS... no
checking whether -Wextra-tokens is accepted as CFLAGS... yes
checking whether -Wall -Wextra is accepted as CFLAGS... yes
checking whether -Qunused-arguments is accepted as CFLAGS... yes
checking whether -O3 -D_FORTIFY_SOURCE=2 is accepted as CFLAGS... yes
checking whether -fstack-protector-strong is accepted as CFLAGS... yes
checking whether -fstack-protector-strong is accepted as LDFLAGS... yes
checking whether -Wl,--compress-debug-sections=zlib is accepted as LDFLAGS... yes
checking whether -std=gnu99 is accepted as CFLAGS... yes
checking whether -fno-strict-overflow is accepted as CFLAGS... yes
checking whether -fvisibility=hidden is accepted as CFLAGS... yes
checking whether -fno-fast-math is accepted as CFLAGS... yes
checking whether -fexcess-precision=standard is accepted as CFLAGS... yes
checking whether -fp-model precise is accepted as CFLAGS... no
checking whether compiler has statement and declarations in expressions... yes
checking whether pthread should be enabled by default... yes
checking whether CXXFLAGS is valid... yes
checking for crypt in -lcrypt... (cached) yes
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking for shutdown in -lsocket... no
sed: No error: 0
checking for dirent.h that defines DIR... eval: ${+...}: Bad substitution
===>  Script "configure" failed unexpectedly.
Please report the problem to ruby@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/lang/ruby30/work/ruby-3.0.6/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/lang/ruby30