Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Dec 2016 13:08:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 215178] sysutils/rubygem-fluentd: Requires string-scrub gem on FreeBSD 11.0-RELEASE (ruby2.2) when it is only needed for ruby version prior to 2.0
Message-ID:  <bug-215178-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215178

            Bug ID: 215178
           Summary: sysutils/rubygem-fluentd: Requires string-scrub gem on
                    FreeBSD 11.0-RELEASE (ruby2.2) when it is only needed
                    for ruby version prior to 2.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kuriyama@FreeBSD.org
          Reporter: yanis+freebsd@guenane.org
          Assignee: kuriyama@FreeBSD.org
             Flags: maintainer-feedback?(kuriyama@FreeBSD.org)

The port sysutils/rubygem-fluentd does not work out of the box. It has a ha=
rd
dependency on string-scrub[1], that cannot be installed on FreeBSD 11.0-REL=
EASE
due to the version of ruby installed.

FreeBSD 11.0-RELEASE runs ruby 2.2, while string-scrub was only used for OS
that runs ruby version prior to 2.1.

Installation process:

> #> pkg install rubygem-fluentd
> #> gem install tzinfo-data
> #> fluentd --version
> /usr/local/lib/ruby/site_ruby/2.2/rubygems/dependency.rb:308:in `to_specs=
': Could not find 'string-scrub' (>=3D 0.0.3) among 15 total gem(s) (Gem::M=
issingSpecError)
> Checked in 'GEM_PATH=3D/root/.gem/ruby/2.2:/usr/local/lib/ruby/gems/2.2',=
 execute `gem env` for more information
>        from /usr/local/lib/ruby/site_ruby/2.2/rubygems/specification.rb:1=
439:in `block in activate_dependencies'
>        from /usr/local/lib/ruby/site_ruby/2.2/rubygems/specification.rb:1=
428:in `each'
>        from /usr/local/lib/ruby/site_ruby/2.2/rubygems/specification.rb:1=
428:in `activate_dependencies'
>        from /usr/local/lib/ruby/site_ruby/2.2/rubygems/specification.rb:1=
410:in `activate'
>        from /usr/local/lib/ruby/site_ruby/2.2/rubygems.rb:279:in `block i=
n activate_bin_path'
>        from /usr/local/lib/ruby/site_ruby/2.2/rubygems.rb:279:in `synchro=
nize'
>        from /usr/local/lib/ruby/site_ruby/2.2/rubygems.rb:279:in `activat=
e_bin_path'
>        from /usr/local/bin/fluent-gem:22:in `<main>'

If I edit the rubygem-fluentd gemspec file
(/usr/local/lib/ruby/gems/2.2/specifications/fluentd-0.12.14.gemspec) and
remove the reference to string-scrub

> #> fluentd --version
> #> fluentd 0.12.14

[1] https://rubygems.org/gems/string-scrub

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215178-13>