git: 70af43e37635 - main - sysutils/puppet6: Mark BROKEN with Ruby 3.x

From: Romain Tartière <romain_at_FreeBSD.org>
Date: Fri, 18 Mar 2022 23:33:34 UTC
The branch main has been updated by romain:

URL: https://cgit.FreeBSD.org/ports/commit/?id=70af43e376356f9443662b992818fd70aba95f7e

commit 70af43e376356f9443662b992818fd70aba95f7e
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2022-03-13 04:08:03 +0000
Commit:     Romain Tartière <romain@FreeBSD.org>
CommitDate: 2022-03-18 23:32:59 +0000

    sysutils/puppet6: Mark BROKEN with Ruby 3.x
    
    =======================<phase: stage          >============================
    ===>  Staging for puppet6-6.26.0
    ===>   Generating temporary packing list
    ===> Creating groups.
    ===> Creating users
    /usr/local/lib/ruby/3.0/fileutils.rb:206:in `mkdir_p': wrong number of arguments (given 2, expected 1) (ArgumentError)
            from /wrkdirs/usr/ports/sysutils/puppet6/work/puppet-6.26.0/install.rb:80:in `block in do_libs'
            from /wrkdirs/usr/ports/sysutils/puppet6/work/puppet-6.26.0/install.rb:76:in `each'
            from /wrkdirs/usr/ports/sysutils/puppet6/work/puppet-6.26.0/install.rb:76:in `do_libs'
            from /wrkdirs/usr/ports/sysutils/puppet6/work/puppet-6.26.0/install.rb:496:in `block in <main>'
            from /usr/local/lib/ruby/3.0/fileutils.rb:139:in `chdir'
            from /usr/local/lib/ruby/3.0/fileutils.rb:139:in `cd'
            from /wrkdirs/usr/ports/sysutils/puppet6/work/puppet-6.26.0/install.rb:475:in `<main>'
    install -c -p -m 755 /tmp/puppet-binfile20220305-50220-k1a6ye /wrkdirs/usr/ports/sysutils/puppet6/work/stage/usr/local/bin/puppet
    *** Error code 1
    
    Stop.
    make: stopped in /usr/ports/sysutils/puppet6
    
    PR:             262518
    With hat:       puppet
---
 sysutils/puppet6/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sysutils/puppet6/Makefile b/sysutils/puppet6/Makefile
index a41227f848a6..504193511c6a 100644
--- a/sysutils/puppet6/Makefile
+++ b/sysutils/puppet6/Makefile
@@ -9,6 +9,9 @@ COMMENT=	Configuration management framework written in Ruby
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BROKEN_RUBY30=	yes
+BROKEN_RUBY31=	yes
+
 # rubygem-ruby-augeas add again see PR252339, it breaks the installation for some users
 # puppet7 does not have it anymore, so users can do a migration to next major version
 # without breaking their setup