[Bug 248688] devel/rubygem-activesupport4 portmaster fails with failed patch

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 16 13:30:43 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248688

            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 at FreeBSD.org
          Reporter: gessel at blackrosetech.com
             Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
          Assignee: sunpoet at FreeBSD.org

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

Patch file /usr/ports/devel/rubygem-activesupport4/files/patch-gemspec 
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 = 4

     if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
-      s.add_runtime_dependency(%q<i18n>.freeze, ["~> 0.7"])
+      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", ">= 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 = 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", ">= 0.3.4"])




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

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


More information about the freebsd-ports-bugs mailing list