Created attachment 232949 [details] Patch file cd /wrkdirs/usr/ports/www/h2o/work/h2o-2.2.6/deps/mruby && MRUBY_TOOLCHAIN=clang MRUBY_CONFIG=/wrkdirs/usr/ports/www/h2o/work/h2o-2.2.6/misc/mruby_config.rb RUBY_BUILD_DIR=/wrkdirs/usr/ports/www/h2o/work/.build/mruby ruby minirake (in /wrkdirs/usr/ports/www/h2o/work/h2o-2.2.6/deps/mruby) PKG-CONFIG onigmo PKG-CONFIG oniguruma rake aborted! wrong number of arguments (given 2, expected 1) Rakefile:40:in `<top (required)>' *** Error code 1 Stop.
Maintainer timeout. Take.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3599bedde4d4b228ece36c67ff78974e37347f43 commit 3599bedde4d4b228ece36c67ff78974e37347f43 Author: Yasuhiro Kimura <yasu@FreeBSD.org> AuthorDate: 2022-04-04 14:58:46 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2022-04-20 06:56:56 +0000 www/h2o: Mark BROKEN with Ruby 3.x when MRUBY option is enabled cd /wrkdirs/usr/ports/www/h2o/work/h2o-2.2.6/deps/mruby && MRUBY_TOOLCHAIN=clang MRUBY_CONFIG=/wrkdirs/usr/ports/www/h2o/work/h2o-2.2.6/misc/mruby_config.rb MRUBY_BUILD_DIR=/wrkdirs/usr/ports/www/h2o/work/.build/mruby ruby minirake (in /wrkdirs/usr/ports/www/h2o/work/h2o-2.2.6/deps/mruby) PKG-CONFIG onigmo PKG-CONFIG oniguruma rake aborted! wrong number of arguments (given 2, expected 1) Rakefile:40:in `<top (required)>' *** Error code 1 Stop. PR: 263053 Approved by: maintainer timeout www/h2o/Makefile | 7 +++++++ 1 file changed, 7 insertions(+)
Created attachment 233419 [details] fix build with ruby3 Fix build with ruby 3. I saw https://github.com/h2o/h2o/issues/2789 and adapted it for our port. With the attached patch I can build www/h2o and dns/dnsdist which depends on h2o, again.
Ask for maintainer's feedback about attachment 233419 [details].
LGTM, thanks Yasuhiro!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8272d84a122f4169c06d794415d598a8b965b43e commit 8272d84a122f4169c06d794415d598a8b965b43e Author: Florian Smeets <flo@FreeBSD.org> AuthorDate: 2022-04-23 14:32:45 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2022-04-27 07:32:14 +0000 www/h2o: Fix build with Ruby 3.x when MRUBY option is enabled Reference: https://github.com/h2o/h2o/issues/2789 PR: 263053 Approved by: maintainer www/h2o/Makefile | 7 --- www/h2o/files/patch-deps_mruby_Rakefile (new) | 63 +++++++++++++++++++++++++++ 2 files changed, 63 insertions(+), 7 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=eba7baa6aed1ae7b727d66abc51fb77bdd81b963 commit eba7baa6aed1ae7b727d66abc51fb77bdd81b963 Author: Florian Smeets <flo@FreeBSD.org> AuthorDate: 2022-04-27 18:22:58 +0000 Commit: Florian Smeets <flo@FreeBSD.org> CommitDate: 2022-04-27 18:22:58 +0000 www/h2o-devel: Fix build with Ruby 3.x when MRUBY option is enabled Apply a simillar patch as in 8272d84a122f for www/h2o. Reference: https://github.com/h2o/h2o/issues/2789 PR: 263053 www/h2o-devel/files/patch-deps_mruby_Rakefile (new) | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)