devel/git build failed at devel/ruby-gems

From: KIRIYAMA Kazuhiko <>
Date: Wed, 21 Jun 2023 11:23:05 UTC
Hi, list

devel/git build failed at devel/ruby-gems:

      ports included in the Ports Collection. Please type 'make deinstall'
      to deinstall the port if this is a concern.

      For more information, and contact details about the security
      status of this software, see the following webpage:
===>   rubygem-asciidoctor-2.0.20 depends on file: /usr/local/bin/ruby33 - found
===>   Returning to build of rubygem-asciidoctor-2.0.20
===>   rubygem-asciidoctor-2.0.20 depends on file: /usr/local/bin/gem - not found
===>  License MIT RUBY accepted by the user
===>   gems-3.0.8 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by gems-3.0.8 for building
===>  Extracting for gems-3.0.8
=> SHA256 Checksum OK for ruby/rubygems-3.0.8.tgz.
===>  Patching for gems-3.0.8
===>  Configuring for gems-3.0.8
===>  Staging for gems-3.0.8
===>   Generating temporary packing list
/bin/mkdir -p /var/ports/work/var/ports/msrvkx/devel/ruby-gems/work/stage/usr/local/lib/ruby/gems/
cd /var/ports/work/var/ports/msrvkx/devel/ruby-gems/work/rubygems-3.0.8/ && /usr/bin/env DONT_USE_BUNDLER_FOR_GEMDEPS=true GEM_HOME=/var/ports/work/var/ports/msrvkx/devel/ruby-gems/work/stage/usr/local/lib/ruby/gems/  setup.rb --destdir=/var/ports/work/var/ports/msrvkx/devel/ruby-gems/work/stage --no-regenerate-binstubs
env: setup.rb: No such file or directory
*** Error code 127

make[2]: stopped in /var/ports/msrvkx/devel/ruby-gems
*** Error code 1

make[1]: stopped in /var/ports/msrvkx/textproc/rubygem-asciidoctor
*** Error code 1

make: stopped in /usr/ports/devel/git

Is there any suggetions?

My build environments are:

root@msrvkx:~ # uname -a
FreeBSD msrvkx 14.0-CURRENT FreeBSD 14.0-CURRENT #0 n263415-9d6ae1e3c26a-dirty: Sat Jun 17 05:50:51 JST 2023     root@msrvkx:/usr/obj/usr/src/amd64.amd64/sys/XIJ amd64
root@msrvkx:~ # cat /etc/make.conf
PORTSDIR=               /var/ports/msrvkx
INDEXDIR=               /var/ports/msrvkx
WRKDIRPREFIX=           /var/ports/work
PACKAGES=               /var/ports/packages
DISTDIR=                /var/ports/distfiles
BATCH=                  yes
DEFAULT_VERSIONS=       perl5=5.36 ruby=3.3
COMPILER_TYPE=          clang
root@msrvkx:~ # df -h
Filesystem                                                                     Size    Used   Avail Capacity  Mounted on
/dev/vtbd0p2                                                                    59G    9.4G     45G    17%    /
devfs                                                                          1.0K      0B    1.0K     0%    /dev
linprocfs                                                                      8.0K      0B    8.0K     0%    /compat/linux/proc
tmpfs                                                                          3.2G    4.0K    3.2G     0%    /compat/linux/dev/shm
linsysfs                                                                       8.0K      0B    8.0K     0%    /compat/linux/sys
devfs                                                                          1.0K      0B    1.0K     0%    /compat/linux/dev
fdescfs                                                                        1.0K      0B    1.0K     0%    /compat/linux/dev/fd
vm.tfc:/.dake                                                                   11T    1.1T    9.8T    10%    /.dake
vm.tfc:/ds/src/freebsd/current/14.0/9d6ae1e3c26a.xij                           9.9T     77G    9.8T     1%    /usr/src
vm.tfc:/ds/obj/freebsd/current/14.0/9d6ae1e3c26a.xij                            10T    407G    9.8T     4%    /usr/obj
vm.tfc:/ds/ports/freebsd/d830ac4c7cfd                                          9.9T    129G    9.8T     1%    /usr/ports
vm.tfc:/ds/distfiles                                                           9.9T     63G    9.8T     1%    /var/ports/distfiles
vm.tfc:/ds/packages/freebsd/amd64/amd64/14.0C/9d6ae1e3c26a.xij/d830ac4c7cfd    9.9T    128G    9.8T     1%    /var/ports/packages
root@msrvkx:~ # 

root@vm:~ # git -C /ds/ports/freebsd/d830ac4c7cfd rev-parse --verify --short HEAD
root@vm:~ # 

Kazuhiko Kiriyama <>