[Bug 258108] [exp-run] devel/ruby-gems: Update to 3.2.30 (Fixes for Ruby 3.0)

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 07 Dec 2021 18:17:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258108

--- Comment #46 from Thibault Jouan <tj+freebsd_ports@a13.fr> ---
(In reply to Dan Langille from comment #44)
> sudo poudriere testport -i -p dvl -j 130R -z REDACTED devel/ruby-gems
[…]
> cd /wrkdirs/usr/ports/devel/ruby-gems/work/rubygems-3.2.30/ && /usr/bin/env GEM_HOME=/wrkdirs/usr/ports/devel/ruby-gems/work/stage/usr/local/lib/ruby/gems/2.7 /usr/local/bin/ruby27 setup.rb --destdir=/wrkdirs/usr/ports/devel/ruby-gems/work/stage  --no-regenerate-binstubs  --no-regenerate-plugins  --format-executable
> ERROR:  While executing gem ... (Errno::ENOENT)
>     No such file or directory @ dir_chdir - bundler/lib
> *** Error code 1

  This is new to me. I'm surprised because I didn't change anything in
the patch for `devel/ruby-gems', and multiple previous patch passed
the exp-run for this port.

  I did my patch on d624c6c0fba3880074ca8fd7455bef3aa7a8298a in port
tree (not so old). I use FreeBSD 12.2 RELEASE, and have
`DEFAULT_VERSIONS= ruby=2.7' too.

  "No such file or directory @ dir_chdir - bundler/lib": that this
directory does not exist is expected (`post-extract' target in the
Makefile), the code triggering this is not.

  Thank you for the very fast test and report, unfortunately I will
need more time to look into it.

-- 
You are receiving this mail because:
You are the assignee for the bug.