[package - 131arm64-default][devel/rubygem-ruby-filemagic] Failed for rubygem-ruby-filemagic-0.7.3 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 06 Sep 2022 07:30:33 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:        http://ampere3.nyi.freebsd.org/data/131arm64-default/cfc19930a459/logs/rubygem-ruby-filemagic-0.7.3.log
Build URL:      http://ampere3.nyi.freebsd.org/build.html?mastername=131arm64-default&build=cfc19930a459
Log:

=>> Building devel/rubygem-ruby-filemagic
build started at Tue Sep  6 07:30:26 UTC 2022
port directory: /usr/ports/devel/rubygem-ruby-filemagic
package name: rubygem-ruby-filemagic-0.7.3
building for: FreeBSD 131arm64-default-job-08 13.1-RELEASE-p2 FreeBSD 13.1-RELEASE-p2 arm64
maintained by: ruby@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400063
Jail OSVERSION: 1301000
Job Id: 08

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1301000
UNAME_v=FreeBSD 13.1-RELEASE-p2
UNAME_r=13.1-RELEASE-p2
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-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/131arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/131arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=131arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/131arm64-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---
---End OPTIONS List---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/rubygem-ruby-filemagic/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/rubygem-ruby-filemagic/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/rubygem-ruby-filemagic/work/.cache  HOME=/wrkdirs/usr/ports/devel/rubygem-ruby-filemagic/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/rubygem-ruby-filemagic/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/rubygem-ruby-filemagic/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/rubygem-ruby-filemagic/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/rubygem-ruby-filemagic/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/rubygem-ruby-filemagic/work/.cache  HOME=/wrkdirs/usr/ports/devel/rubygem-ruby-filemagic/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/rubygem-ruby-filemagic/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/rubygem-ruby-filemagic/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 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  "  MANPREFIX="/usr/local" BSD_INSTALL_PROG
 RAM="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--
RUBY_LIBDIR="lib/ruby/3.0" RUBY_ARCHLIBDIR="lib/ruby/3.0/aarch64-freebsd13" RUBY_SITELIBDIR="lib/ruby/site_ruby/3.0" RUBY_SITEARCHLIBDIR="lib/ruby/site_ruby/3.0/aarch64-freebsd13" RUBY_VENDORLIBDIR="lib/ruby/vendor_ruby/3.0" RUBY_VENDORARCHLIBDIR="lib/ruby/vendor_ruby/3.0/aarch64-freebsd13" RUBY_MODDOCDIR="share/doc/ruby30/ruby-filemagic" RUBY_MODEXAMPLESDIR="share/examples/ruby30/ruby-filemagic" 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.4"  RUBY_VER="3.0"  RUBY_SHLIBVER="30"  RUBY_ARCH="aarch64-freebsd13"  RUBY_SUFFIX="30"  RUBY_DEFAULT_SUFFIX="30" PORTVERSION="0.7.3"  REV=""  GEMS_BASE_DIR="lib/ruby/gems/3.0"  GEMS_DIR="lib/ruby/gems/3.0/gems"  DOC_DIR="lib/ruby/gems/3.0/doc"  CACHE_DIR="lib/ruby/gems/3.0/cache"  SPEC_DIR="lib/ruby/gems/3.0/specifications"  EXT_DIR="lib/ruby/gems/3.0/extensions"  PLUGINS_DIR="lib/ruby/gems/3.0/plugins"  GEM_NAME="ruby-filemagic-0.7.3
 "  GEM_LIB_DIR="lib/ruby/gems/3.0/gems/ruby-filemagic-0.7.3"  GEM_DOC_DIR="lib/ruby/gems/3.0/doc/ruby-filemagic-0.7.3"  GEM_SPEC="lib/ruby/gems/3.0/specifications/ruby-filemagic-0.7.3.gemspec"  GEM_CACHE="lib/ruby/gems/3.0/cache/ruby-filemagic-0.7.3.gem"  EXTRACT_SUFX=".gem" OSREL=13.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ruby-filemagic"  EXAMPLESDIR="share/examples/ruby-filemagic"  DATADIR="share/ruby-filemagic"  WWWDIR="www/ruby-filemagic"  ETCDIR="etc/ruby-filemagic"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/ruby-filemagic DOCSDIR=/usr/local/share/doc/ruby-filemagic EXAMPLESDIR=/usr/local/share/examples/ruby-filemagic  WWWDIR=/usr/local/www/ruby-filemagic ETCDIR=/usr/local/etc/ruby-filemagic
--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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: aarch64-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: aarch64-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--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_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: aarch64-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=13.1-RELEASE-p2
OSREL=13.1
OSVERSION=1301000
PYTHONBASE=/usr/local
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)  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)  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   >============================
===>  License BSD2CLAUSE RUBY accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   rubygem-ruby-filemagic-0.7.3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.4.pkg
[131arm64-default-job-08] Installing pkg-1.18.4...
[131arm64-default-job-08] Extracting pkg-1.18.4: .......... done
===>   rubygem-ruby-filemagic-0.7.3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of rubygem-ruby-filemagic-0.7.3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD2CLAUSE RUBY accepted by the user
===> Fetching all distfiles required by rubygem-ruby-filemagic-0.7.3 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD2CLAUSE RUBY accepted by the user
===> Fetching all distfiles required by rubygem-ruby-filemagic-0.7.3 for building
=> SHA256 Checksum OK for rubygem/ruby-filemagic-0.7.3.gem.
===========================================================================
=======================<phase: extract-depends>============================
===>   rubygem-ruby-filemagic-0.7.3 depends on file: /usr/local/bin/ruby30 - not found
===>   Installing existing package /packages/All/ruby-3.0.4_2,1.pkg
[131arm64-default-job-08] Installing ruby-3.0.4_2,1...
[131arm64-default-job-08] `-- Installing libedit-3.1.20210910,1...
[131arm64-default-job-08] `-- Extracting libedit-3.1.20210910,1: .......... done
[131arm64-default-job-08] `-- Installing libffi-3.4.2...
[131arm64-default-job-08] |   `-- Installing indexinfo-0.3.1...
[131arm64-default-job-08] |   `-- Extracting indexinfo-0.3.1: .... done
[131arm64-default-job-08] `-- Extracting libffi-3.4.2: .......... done
[131arm64-default-job-08] `-- Installing libunwind-20211201_1...
[131arm64-default-job-08] `-- Extracting libunwind-20211201_1: .......... done
[131arm64-default-job-08] `-- Installing libyaml-0.2.5...
[131arm64-default-job-08] `-- Extracting libyaml-0.2.5: ......... done
[131arm64-default-job-08] Extracting ruby-3.0.4_2,1: .......... done
=====
Message from ruby-3.0.4_2,1:

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

	devel/ruby-gems:		gem - RubyGems package manager
	devel/rubygem-erb:		erb - Templating system for Ruby
	devel/rubygem-irb:		irb - Interactive Ruby
	devel/rubygem-minitest:		minitest - Complete suite of testing facilities
	devel/rubygem-power_assert:	power_assert - Power Assert for Ruby
	devel/rubygem-rake:		rake - Ruby Make
	devel/rubygem-rbs:		rbs - Language for type signatures for Ruby and standard library definitions
	devel/rubygem-rdoc:		rdoc - Ruby Documentation System
	devel/rubygem-test-unit:	test-unit - Unit testing framework for Ruby
	devel/rubygem-typeprof:		typeprof - Type analysis tool for Ruby code
	sysutils/rubygem-bundler:	bundler - Tool that manages gem dependencies for ruby applications
	textproc/rubygem-rexml:		rexml - XML toolkit for Ruby
	www/rubygem-rss:		rss - Family of libraries that support various formats of XML "feeds"

And some of the standard libraries are provided as separate ports
since they require extra dependencies:

	databases/rubygem-dbm:	DBM module
	databases/rubygem-gdbm:	GDBM module

Install them as occasion demands.
===>   rubygem-ruby-filemagic-0.7.3 depends on file: /usr/local/bin/ruby30 - found
===>   Returning to build of rubygem-ruby-filemagic-0.7.3
===>   rubygem-ruby-filemagic-0.7.3 depends on file: /usr/local/bin/gem - not found
===>   Installing existing package /packages/All/ruby30-gems-3.3.21.pkg
[131arm64-default-job-08] Installing ruby30-gems-3.3.21...
[131arm64-default-job-08] `-- Installing ca_root_nss-3.81...
[131arm64-default-job-08] `-- Extracting ca_root_nss-3.81: .......... done
[131arm64-default-job-08] Extracting ruby30-gems-3.3.21: .......... done
=====
Message from ca_root_nss-3.81:

--
FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.


This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem
===>   rubygem-ruby-filemagic-0.7.3 depends on file: /usr/local/bin/gem - found
===>   Returning to build of rubygem-ruby-filemagic-0.7.3
===========================================================================
=======================<phase: extract        >============================
===>  License BSD2CLAUSE RUBY accepted by the user
===> Fetching all distfiles required by rubygem-ruby-filemagic-0.7.3 for building
===>  Extracting for rubygem-ruby-filemagic-0.7.3
=> SHA256 Checksum OK for rubygem/ruby-filemagic-0.7.3.gem.
WARNING:  ruby-filemagic-0.7.3 ships with a dangling symlink named test/pylink pointing to missing test/pyfile file. Ignoring
Unpacked gem: '/wrkdirs/usr/ports/devel/rubygem-ruby-filemagic/work/ruby-filemagic-0.7.3'
===========================================================================
=======================<phase: patch-depends  >============================
===>   rubygem-ruby-filemagic-0.7.3 depends on file: /usr/local/bin/ruby30 - found
===========================================================================
=======================<phase: patch          >============================
===>  Patching for rubygem-ruby-filemagic-0.7.3
===========================================================================
=======================<phase: build-depends  >============================
===>   rubygem-ruby-filemagic-0.7.3 depends on file: /usr/local/bin/ruby30 - found
===>   rubygem-ruby-filemagic-0.7.3 depends on file: /usr/local/bin/gem - found
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for rubygem-ruby-filemagic-0.7.3
===========================================================================
=======================<phase: build          >============================
===>  Building for rubygem-ruby-filemagic-0.7.3
ERROR:  While executing gem ... (Errno::ENOENT)
    No such file or directory @ rb_file_s_lstat - test/pylink
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/package.rb:260:in `lstat'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/package.rb:260:in `block in add_files'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/package.rb:259:in `each'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/package.rb:259:in `add_files'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/package.rb:247:in `block (3 levels) in add_contents'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/package/tar_writer.rb:78:in `new'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/package.rb:246:in `block (2 levels) in add_contents'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/package.rb:483:in `gzip_to'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/package.rb:245:in `block in add_contents'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/package/tar_writer.rb:173:in `block in add_file_signed'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/package/tar_writer.rb:151:in `block (2 levels) in add_file_digest'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/package/digest_io.rb:36:in `wrap'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/package/tar_writer.rb:150:in `block in add_file_digest'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/package/tar_writer.rb:106:in `add_file'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/package/tar_writer.rb:149:in `add_file_digest'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/package/tar_writer.rb:172:in `add_file_signed'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/package.rb:244:in `add_contents'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/package.rb:309:in `block (2 levels) in build'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/package/tar_writer.rb:78:in `new'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/package.rb:307:in `block in build'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/package/file_source.rb:25:in `open'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/package/file_source.rb:25:in `with_write_io'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/package.rb:306:in `build'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/package.rb:136:in `build'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/commands/build_command.rb:99:in `build_package'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/commands/build_command.rb:89:in `build_gem'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/commands/build_command.rb:69:in `execute'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/command.rb:323:in `invoke_with_build_args'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/command_manager.rb:185:in `process_args'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/command_manager.rb:149:in `run'
	/usr/local/lib/ruby/site_ruby/3.0/rubygems/gem_runner.rb:51:in `run'
	/usr/local/bin/gem:13:in `<main>'
===> 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/devel/rubygem-ruby-filemagic