Bug 262518 - sysutils/puppet6: Mark BROKEN with Ruby 3.x
Summary: sysutils/puppet6: Mark BROKEN with Ruby 3.x
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: FreeBSD Puppet Team
URL:
Keywords:
Depends on:
Blocks: 262350
  Show dependency treegraph
 
Reported: 2022-03-13 04:11 UTC by Yasuhiro Kimura
Modified: 2022-03-18 23:36 UTC (History)
1 user (show)

See Also:
romain: maintainer-feedback+


Attachments
Patch file (1.88 KB, patch)
2022-03-13 04:11 UTC, Yasuhiro Kimura
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 2022-03-13 04:11:21 UTC
Created attachment 232419 [details]
Patch file

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
Comment 1 Romain Tartière freebsd_committer freebsd_triage 2022-03-17 01:03:52 UTC
LGTM, there is no plan to make Puppet 6 compatible with Ruby 3.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-03-18 23:34:40 UTC
A commit in branch main references this bug:

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(+)