Created attachment 220104 [details]
Building in poudriere with DEFAULT_VERSIONS+=ruby=3.0:
===> Building package for ruby30-gems-3.0.8
pkg-static: Unable to access file /wrkdirs/usr/ports/devel/ruby-gems/work/stage/usr/local/lib/ruby/gems/3.0/build_info/:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/devel/ruby-gems/work/stage/usr/local/lib/ruby/gems/3.0/extensions/:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/devel/ruby-gems/work/stage/usr/local/lib/ruby/gems/3.0/cache/:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/devel/ruby-gems/work/stage/usr/local/lib/ruby/gems/3.0/gems/:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/devel/ruby-gems/work/stage/usr/local/lib/ruby/gems/3.0/specifications/:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/devel/ruby-gems/work/stage/usr/local/lib/ruby/gems/3.0/doc/:No such file or directory
*** Error code 1
Manually creating the directories like in the attached patch helps.
Created attachment 220107 [details]
argh forgot build_info
Build and package info is available at https://gitlab.com/swills/freebsd-ports/pipelines/229800352
I reproduced the original issue.
This was opened two months ago, and it is preventing any gem installation under ruby30.
I'm going to commit this patch, as this problem should not have sat this long.
A commit references this bug:
Date: Mon Jan 25 19:22:56 UTC 2021
New revision: 562604
devel/ruby-gems: Fix packaging in ruby30
This was preventing any gems from being installed under ruby30.
Submitted by: Greg V
I've committed the patch to head. If all is good it will need an MFH, though there's no rush for that.
If this commit was premature, please update the PR with what it's waiting on, accept my apologies and let me know and I will revert.