[package - main-arm64-default][graphics/rubygem-rmagick] Failed for rubygem-rmagick-6.2.0 in stage

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 27 Apr 2026 02:18:47 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/ampere2/data/main-arm64-default/pa52afc55257c_s0f7b8f79f67/logs/rubygem-rmagick-6.2.0.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=pa52afc55257c_s0f7b8f79f67
Log:

=>> Building graphics/rubygem-rmagick
build started at Mon Apr 27 02:17:20 UTC 2026
port directory: /usr/ports/graphics/rubygem-rmagick
package name: rubygem-rmagick-6.2.0
building for: FreeBSD main-arm64-default-job-05 16.0-CURRENT FreeBSD 16.0-CURRENT 1600016 arm64
maintained by: ruby@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 570 Apr  9 01:04 /usr/ports/graphics/rubygem-rmagick/Makefile
Ports top last git commit: a52afc55257c2d515a13442799dad99265315d16
Ports top unclean checkout: no
Port dir last git commit: 0f0adbcaace1793d13bc773c077bfcd8ae4bf18a
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.7-4-g0d2ab439
Host OSVERSION: 1600014
Jail OSVERSION: 1600016
Job Id: 05




!!! Jail is newer than host. (Jail: 1600016, Host: 1600014) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1600016
UNAME_v=FreeBSD 16.0-CURRENT 1600016
UNAME_r=16.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
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.7-4-g0d2ab439
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-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-arm64-default/05/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.7-4-g0d2ab439
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 rubygem-rmagick-6.2.0:
     X11=on: X11 (graphics) support
===> Use 'make config' to modify these settings
---End OPTIONS List---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/rubygem-rmagick/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/rubygem-rmagick/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/rubygem-rmagick/work/.cache  HOME=/wrkdirs/usr/ports/graphics/rubygem-rmagick/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/rubygem-rmagick/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/rubygem-rmagick/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/rubygem-rmagick/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/rubygem-rmagick/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/rubygem-rmagick/work/.cache  HOME=/wrkdirs/usr/ports/graphics/rubygem-rmagick/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/rubygem-rmagick/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/rubygem-rmagick/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_INS
TALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
 RUBY_LIBDIR="lib/ruby/3.4" RUBY_ARCHLIBDIR="lib/ruby/3.4/aarch64-freebsd16" RUBY_SITELIBDIR="lib/ruby/site_ruby/3.4" RUBY_SITEARCHLIBDIR="lib/ruby/site_ruby/3.4/aarch64-freebsd16" RUBY_VENDORLIBDIR="lib/ruby/vendor_ruby/3.4" RUBY_VENDORARCHLIBDIR="lib/ruby/vendor_ruby/3.4/aarch64-freebsd16" RUBY_MODDOCDIR="share/doc/ruby34/rmagick" RUBY_MODEXAMPLESDIR="share/examples/ruby34/rmagick" RUBY_DOCDIR="share/doc/ruby34" RUBY_EXAMPLESDIR="share/examples/ruby34" RUBY_RIDIR="share/ri/3.4/system" RUBY_SITERIDIR="share/ri/3.4/site"  RUBY_VERSION="3.4.9"  RUBY_VER="3.4"  RUBY_SHLIBVER="34"  RUBY_ARCH="aarch64-freebsd16"  RUBY_SUFFIX="34"  RUBY_DEFAULT_SUFFIX="34" PORTVERSION="6.2.0"  REV=""  GEMS_BASE_DIR="lib/ruby/gems/3.4"  GEMS_DIR="lib/ruby/gems/3.4/gems"  DOC_DIR="lib/ruby/gems/3.4/doc"  CACHE_DIR="lib/ruby/gems/3.4/cache"  SPEC_DIR="lib/ruby/gems/3.4/specifications"  EXT_DIR="lib/ruby/gems/3.4/extensions"  PLUGINS_DIR="lib/ruby/gems/3.4/plugins"  GEM_NAME="rmagick-6.2.0"  GEM_LIB_
DIR="lib/ruby/gems/3.4/gems/rmagick-6.2.0"  GEM_DOC_DIR="lib/ruby/gems/3.4/doc/rmagick-6.2.0"  GEM_SPEC="lib/ruby/gems/3.4/specifications/rmagick-6.2.0.gemspec"  GEM_CACHE="lib/ruby/gems/3.4/cache/rmagick-6.2.0.gem"  EXTRACT_SUFX=".gem" OSREL=16.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/rmagick"  EXAMPLESDIR="share/examples/rmagick"  DATADIR="share/rmagick"  WWWDIR="www/rmagick"  ETCDIR="etc/rmagick"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/rmagick DOCSDIR=/usr/local/share/doc/rmagick EXAMPLESDIR=/usr/local/share/examples/rmagick  WWWDIR=/usr/local/www/rmagick ETCDIR=/usr/local/etc/rmagick
--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)  1048576
stack size              (kbytes, -s)  1048576
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 MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   rubygem-rmagick-6.2.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.7.4.pkg
[main-arm64-default-job-05] Installing pkg-2.7.4...
[main-arm64-default-job-05] Extracting pkg-2.7.4: .......... done
===>   rubygem-rmagick-6.2.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of rubygem-rmagick-6.2.0
===========================================================================
=======================<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 MIT accepted by the user
===> Fetching all distfiles required by rubygem-rmagick-6.2.0 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: FETCH_REGET=0 NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
===> Fetching all distfiles required by rubygem-rmagick-6.2.0 for building
=> SHA256 Checksum OK for rubygem/rmagick-6.2.0.gem.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   rubygem-rmagick-6.2.0 depends on file: /usr/local/bin/ruby34 - not found
===>   Installing existing package /packages/All/ruby-3.4.9,1.pkg
[main-arm64-default-job-05] Installing ruby-3.4.9,1...
[main-arm64-default-job-05] `-- Installing libffi-3.5.1...
[main-arm64-default-job-05] |   `-- Installing indexinfo-0.3.1_1...
[main-arm64-default-job-05] |   `-- Extracting indexinfo-0.3.1_1: .... done
[main-arm64-default-job-05] `-- Extracting libffi-3.5.1: .......... done
[main-arm64-default-job-05] `-- Installing libunwind-20250904...
[main-arm64-default-job-05] `-- Extracting libunwind-20250904: .......... done
[main-arm64-default-job-05] `-- Installing libyaml-0.2.5...
[main-arm64-default-job-05] `-- Extracting libyaml-0.2.5: ......... done
[main-arm64-default-job-05] Extracting ruby-3.4.9,1: .......... done
=====
Message from ruby-3.4.9,1:

--
Some of the standard commands and libraries are provided as separate
ports for ease of upgrading:

	converters/rubygem-base64:		base64 - Encode and decode binary data using a Base64 representation
	devel/ruby-gems:			gem - RubyGems package manager
	devel/rubygem-csv:			csv - Interface to CSV files and data
	devel/rubygem-debug:			debug - Debugging functionality for Ruby
	devel/rubygem-drb:			drb - Distributed object system for Ruby
	devel/rubygem-erb:			erb - Templating system for Ruby
	devel/rubygem-getoptlong:		getoptlong -GetoptLong for Ruby
	devel/rubygem-irb:			irb - Interactive Ruby
	devel/rubygem-minitest:			minitest - Complete suite of testing facilities
	devel/rubygem-mutex_m:			mutex_m - Mixin to extend objects to be handled like a Mutex
	devel/rubygem-observer:			observer - Implementation of the Observer object-oriented design pattern
<snip>
For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
=====
Message from freetype2-2.14.3:

--
The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as
the default, emulating a modern version of ClearType. This change inevitably
leads to different rendering results, and you might change port's options to
adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment
variable).

The environment variable "FREETYPE_PROPERTIES" can be used to control the
driver properties. Example:

FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
	cff:no-stem-darkening=1 \
	autofitter:warping=1

This allows to select, say, the subpixel hinting mode at runtime for a given
application.

If LONG_PCF_NAMES port's option was enabled, the PCF family names may include
the foundry and information whether they contain wide characters. For example,
"Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at
run time with using pcf:no-long-family-names property, if needed. Example:

FREETYPE_PROPERTIES=pcf:no-long-family-names=1

How to recreate fontconfig cache with using such environment variable,
if needed:
# env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv

The controllable properties are listed in the section "Controlling FreeType
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed).
=====
Message from ghostscript10-10.07.0:

--
This package installs a script named dvipdf that depends on dvips.  If you
want to use this script you need to install print/tex-dvipsk.
=====
Message from gsfonts-8.11_8:

--
===>   NOTICE:

The gsfonts 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 libjxl-0.11.2:

--
Additional packages recommended for new users:
- imlib2-jxl (e.g., feh, scrot)
- kf5-kimageformats (e.g., nomacs, flameshot, skanlite)
- gimp-jxl-plugin
=====
Message from wayland-1.24.0_2:

--
Wayland requires XDG_RUNTIME_DIR to be defined to a path that will
contain "wayland-%d" unix(4) sockets. This is usually handled by
consolekit2 (via ck-launch-session) or pam_xdg (via login).
=====
Message from libinotify-20240724_3:

--
You might want to consider increasing the kern.maxfiles tunable if you plan
to use this library for applications that need to monitor activity of a lot
of files.
=====
Message from libxkbcommon-1.13.1:

--
If arrow keys don't work under X11 switch to legacy rules e.g.,

For sh/bash/ksh/zsh run and (optionally) add into ~/.profile:
  export XKB_DEFAULT_RULES=xorg

For csh/tcsh run and (optionally) add into ~/.login:
  setenv XKB_DEFAULT_RULES xorg
=====
Message from liblqr-1-0.4.2:

--
NOTE: In order to compile examples for liblqr, you will
also need pngwriter port (/usr/ports/graphics/pngwriter).
Examples are located in /usr/local/share/examples/liblqr-1
=====
Message from libraqm-0.10.3:

--
===>   NOTICE:

The libraqm 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
===>   rubygem-rmagick-6.2.0 depends on shared library: libMagick++-7.so - found (/usr/local/lib/libMagick++-7.so)
===>   Returning to build of rubygem-rmagick-6.2.0
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for rubygem-rmagick-6.2.0
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for rubygem-rmagick-6.2.0
  Successfully built RubyGem
  Name: rmagick
  Version: 6.2.0
  File: rmagick-6.2.0.gem
===========================================================================
=======================<phase: run-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   rubygem-rmagick-6.2.0 depends on package: rubygem-observer>=0.1<1 - not found
===>   Installing existing package /packages/All/rubygem-observer-0.1.2.pkg
[main-arm64-default-job-05] Installing rubygem-observer-0.1.2...
[main-arm64-default-job-05] Extracting rubygem-observer-0.1.2: .......... done
===>   rubygem-rmagick-6.2.0 depends on package: rubygem-observer>=0.1<1 - found
===>   Returning to build of rubygem-rmagick-6.2.0
===>   rubygem-rmagick-6.2.0 depends on package: rubygem-pkg-config>=1.4<2 - not found
===>   Installing existing package /packages/All/rubygem-pkg-config-1.6.5.pkg
[main-arm64-default-job-05] Installing rubygem-pkg-config-1.6.5...
[main-arm64-default-job-05] Extracting rubygem-pkg-config-1.6.5: .......... done
===>   rubygem-rmagick-6.2.0 depends on package: rubygem-pkg-config>=1.4<2 - found
===>   Returning to build of rubygem-rmagick-6.2.0
===>   rubygem-rmagick-6.2.0 depends on file: /usr/local/bin/ruby34 - found
===>   rubygem-rmagick-6.2.0 depends on file: /usr/local/bin/gem - found
===========================================================================
=======================<phase: stage          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Staging for rubygem-rmagick-6.2.0
===>   Generating temporary packing list
(cd /wrkdirs/usr/ports/graphics/rubygem-rmagick/work/rmagick-6.2.0; /usr/bin/env -i HOME=/wrkdirs/usr/ports/graphics/rubygem-rmagick/work  MACHINE_ARCH=aarch64  PWD="${PWD}"  GIT_CEILING_DIRECTORIES=/wrkdirs/usr/ports/graphics/rubygem-rmagick/work  __MAKE_CONF=/nonexistent OSVERSION=1600016 PATH=/wrkdirs/usr/ports/graphics/rubygem-rmagick/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin TMPDIR=/tmp UNAME_r=16.0-CURRENT UNAME_v=FreeBSD\ 16.0-CURRENT\ 1600016 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 RB_USER_INSTALL=yes LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 /usr/local/bin/gem install -l --no-update-sources --install-dir /wrkdirs/usr/ports/graphics/rubygem-rmagick/work/stage/usr/local/lib/ruby/gems/3.4 --ignore-dependencies --bindir=/wrkdirs/usr/ports/graphics/rubygem-rmagick/work/stage/usr/local/bin --no-document rmagick-6.2.0.gem -- )
Building native extensions. This could take a while...
ERROR:  Error installing rmagick-6.2.0.gem:
	ERROR: Failed to build gem native extension.

    current directory: /wrkdirs/usr/ports/graphics/rubygem-rmagick/work/stage/usr/local/lib/ruby/gems/3.4/gems/rmagick-6.2.0/ext/RMagick
/usr/local/bin/ruby34 extconf.rb
checking for brew... no
checking for pacman... no


ERROR: Can't install RMagick 6.2.0.
Can't find the ImageMagick library or one of the dependent libraries.
Check the mkmf.log file for more detailed information.


*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
	--with-opt-dir
	--without-opt-dir
	--with-opt-include=${opt-dir}/include
	--without-opt-include
	--with-opt-lib=${opt-dir}/lib
	--without-opt-lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/usr/local/bin/$(RUBY_BASE_NAME)34
	--with-pkg-config
	--without-pkg-config
	--with-pkg-config-path
	--without-pkg-config-path
	--with-override-variables
	--without-override-variables

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /wrkdirs/usr/ports/graphics/rubygem-rmagick/work/stage/usr/local/lib/ruby/gems/3.4/extensions/aarch64-freebsd-16/3.4/rmagick-6.2.0/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /wrkdirs/usr/ports/graphics/rubygem-rmagick/work/stage/usr/local/lib/ruby/gems/3.4/gems/rmagick-6.2.0 for inspection.
Results logged to /wrkdirs/usr/ports/graphics/rubygem-rmagick/work/stage/usr/local/lib/ruby/gems/3.4/extensions/aarch64-freebsd-16/3.4/rmagick-6.2.0/gem_make.out
*** Error code 1

Stop.
make: stopped making "stage" in /usr/ports/graphics/rubygem-rmagick