This port builds with Ruby 2.4, but with 2.5 it throws error: ===> Generating temporary packing list (cd /var/ports/devel/rubygem-fugit/work/fugit-1.1.1; /usr/bin/env RB_USER_INSTALL=yes LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 /usr/local/bin/gem25 install -l --no-update-sources --install-dir /var/ports/devel/rubygem-fugit/work/stage/usr/local/lib/ruby/gems/2.5 --ignore-dependencies --bindir=/var/ports/devel/rubygem-fugit/work/stage/usr/local/bin --rdoc --ri fugit-1.1.1.gem -- --build-args ) Successfully installed fugit-1.1.1 Parsing documentation for fugit-1.1.1 Installing ri documentation for fugit-1.1.1 Installing darkfish documentation for fugit-1.1.1 ERROR: While executing gem ... (RDoc::Error) error generating Fugit/Cron/Parser.html: no implicit conversion of nil into String (TypeError) *** Error code 1 Stop. make[1]: stopped in /var/ports/devel/rubygem-fugit *** Error code 1 Running make again works: ===> Generating temporary packing list (cd /var/ports/devel/rubygem-fugit/work/fugit-1.1.1; /usr/bin/env RB_USER_INSTALL=yes LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 /usr/local/bin/gem25 install -l --no-update-sources --install-dir /var/ports/devel/rubygem-fugit/work/stage/usr/local/lib/ruby/gems/2.5 --ignore-dependencies --bindir=/var/ports/devel/rubygem-fugit/work/stage/usr/local/bin --rdoc --ri fugit-1.1.1.gem -- --build-args ) Successfully installed fugit-1.1.1 Parsing documentation for fugit-1.1.1 Done installing documentation for fugit after 1 seconds 1 gem installed /bin/rm -f -r /var/ports/devel/rubygem-fugit/work/stage/usr/local/lib/ruby/gems/2.5/build_info/ /usr/bin/find /var/ports/devel/rubygem-fugit/work/stage/usr/local/lib/ruby/gems/2.5 -type f -name '*.so' -exec /usr/bin/strip {} + /usr/bin/find /var/ports/devel/rubygem-fugit/work/stage/usr/local/lib/ruby/gems/2.5 -type f \( -name mkmf.log -or -name gem_make.out \) -delete /bin/rm -f -r /var/ports/devel/rubygem-fugit/work/stage/usr/local/lib/ruby/gems/2.5/gems/fugit-1.1.1/ext /var/ports/devel/rubygem-fugit/work/stage/usr/local/lib/ruby/gems/2.5/cache 2> /dev/null || true /bin/rmdir /var/ports/devel/rubygem-fugit/work/stage/usr/local/lib/ruby/gems/2.5/extensions 2> /dev/null || true ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) But that is not possible with Poudriere.
Ruby 2.5 uses rdoc 6. I'll turn off rdoc generation to avoid this problem.
A commit references this bug: Author: sunpoet Date: Sat Jul 28 13:17:52 UTC 2018 New revision: 475569 URL: https://svnweb.freebsd.org/changeset/ports/475569 Log: Disable rdoc generation PR: 228350 Reported by: Piotr Kubaj <pkubaj@anongoth.pl> Changes: head/devel/rubygem-fugit/Makefile
Committed. Thanks!