Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Aug 2020 13:30:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 248688] devel/rubygem-activesupport4  portmaster fails with failed patch
Message-ID:  <bug-248688-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 248688
           Summary: devel/rubygem-activesupport4  portmaster fails with
                    failed patch
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: gessel@blackrosetech.com
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

=3D=3D=3D>   rubygem-activesupport4-4.2.11.3 depends on file: /usr/local/bi=
n/ruby26 -
found
=3D=3D=3D>  Applying FreeBSD patches for rubygem-activesupport4-4.2.11.3 fr=
om
/usr/ports/devel/rubygem-activesupport4/files
1 out of 1 hunks failed--saving rejects to activesupport.gemspec.rej
=3D=3D=3D>  FAILED Applying FreeBSD patch-gemspec
=3D=3D=3D> FAILED to apply cleanly FreeBSD patch(es)  patch-gemspec

Patch file /usr/ports/devel/rubygem-activesupport4/files/patch-gemspec=20
reads:

--- activesupport.gemspec.orig  2018-02-14 14:06:12 UTC
+++ activesupport.gemspec
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
     s.specification_version =3D 4

     if Gem::Version.new(Gem::VERSION) >=3D Gem::Version.new('1.2.0') then
-      s.add_runtime_dependency(%q<i18n>.freeze, ["~> 0.7"])
+      s.add_runtime_dependency(%q<i18n>.freeze, [">=3D 0.7"])
       s.add_runtime_dependency(%q<tzinfo>.freeze, ["~> 1.1"])
       s.add_runtime_dependency(%q<minitest>.freeze, ["~> 5.1"])
       s.add_runtime_dependency(%q<thread_safe>.freeze, ["~> 0.3", ">=3D 0.=
3.4"])



But the target file
/var/ports/usr/ports/devel/rubygem-activesupport4/work/activesupport-4.2.11=
.3/activesupport.gemspec.orig

reads:

@@ -23,8
    s.specification_version =3D 4
  end

  if s.respond_to? :add_runtime_dependency then
    s.add_runtime_dependency(%q<i18n>.freeze, ["~> 0.7"])
    s.add_runtime_dependency(%q<tzinfo>.freeze, ["~> 1.1"])
    s.add_runtime_dependency(%q<minitest>.freeze, ["~> 5.1"])
    s.add_runtime_dependency(%q<thread_safe>.freeze, ["~> 0.3", ">=3D 0.3.4=
"])




manually patching the file and deleting
/usr/ports/devel/rubygem-activesupport4/files/patch-gemspec is a temporary =
work
around.

--=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-248688-7788>