Date: Mon, 21 Mar 2022 10:10:47 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 262697] mail/rubygem-mail patch does not apply on quarterly 2022Q1 Message-ID: <bug-262697-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262697 Bug ID: 262697 Summary: mail/rubygem-mail patch does not apply on quarterly 2022Q1 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ruby@FreeBSD.org Reporter: 000.fbsd@quip.cz Assignee: ruby@FreeBSD.org Flags: maintainer-feedback?(ruby@FreeBSD.org) Created attachment 232599 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D232599&action= =3Dedit Fixed patch-mail.gemspec for quarterly 2022Q1 Current version of rubygem-mail contains files/patch-mail.gemspec which does not apply on quarterly ports tree. I tried to update my repo in poudriere but it failed with the following err= or: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase= : patch >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D env: NO_DEPENDS=3Dyes USER=3Dnobody UID=3D65534 GID=3D65534 =3D=3D=3D> Patching for rubygem-mail-2.7.1_1,2 =3D=3D=3D> Applying FreeBSD patches for rubygem-mail-2.7.1_1,2 from /usr/ports/mail/rubygem-mail/files 1 out of 2 hunks failed--saving rejects to mail.gemspec.rej =3D=3D=3D> FAILED Applying FreeBSD patch-mail.gemspec =3D=3D=3D> FAILED to apply cleanly FreeBSD patch(es) patch-mail.gemspec *** Error code 1 Stop. make: stopped in /usr/ports/mail/rubygem-mail =3D>> Cleaning up wrkdir =3D=3D=3D> Cleaning for rubygem-mail-2.7.1_1,2 build of mail/rubygem-mail | rubygem-mail-2.7.1_1,2 ended at Sun Mar 20 17:39:04 CET 2022 build time: 00:00:21 !!! build failure encountered !!! patch-mail.gemspec seems to me like patch for a different version of mail.gemspec because there is a different block of code: patch from ports has this: @@ -24,6 +24,7 @@ Gem::Specification.new do |s| end if s.respond_to? :add_runtime_dependency then + s.add_runtime_dependency(%q<net-smtp>.freeze, [">=3D 0"]) s.add_runtime_dependency(%q<mini_mime>.freeze, [">=3D 0.1.1"]) s.add_development_dependency(%q<bundler>.freeze, [">=3D 1.0.3"]) s.add_development_dependency(%q<rake>.freeze, ["> 0.8.7"]) @@ -31,6 +32,7 @@ Gem::Specification.new do |s| s.add_development_dependency(%q<rdoc>.freeze, [">=3D 0"]) s.add_development_dependency(%q<rufo>.freeze, [">=3D 0"]) else + s.add_dependency(%q<net-smtp>.freeze, [">=3D 0"]) s.add_dependency(%q<mini_mime>.freeze, [">=3D 0.1.1"]) s.add_dependency(%q<bundler>.freeze, [">=3D 1.0.3"]) s.add_dependency(%q<rake>.freeze, ["> 0.8.7"]) But the file mail.gemspec has this: if s.respond_to? :specification_version then s.specification_version =3D 4 if Gem::Version.new(Gem::VERSION) >=3D Gem::Version.new('1.2.0') then s.add_runtime_dependency(%q<mini_mime>.freeze, [">=3D 0.1.1"]) s.add_development_dependency(%q<bundler>.freeze, [">=3D 1.0.3"]) s.add_development_dependency(%q<rake>.freeze, ["> 0.8.7"]) s.add_development_dependency(%q<rspec>.freeze, ["~> 3.0"]) s.add_development_dependency(%q<rdoc>.freeze, [">=3D 0"]) s.add_development_dependency(%q<rufo>.freeze, [">=3D 0"]) else s.add_dependency(%q<mini_mime>.freeze, [">=3D 0.1.1"]) s.add_dependency(%q<bundler>.freeze, [">=3D 1.0.3"]) s.add_dependency(%q<rake>.freeze, ["> 0.8.7"]) s.add_dependency(%q<rspec>.freeze, ["~> 3.0"]) s.add_dependency(%q<rdoc>.freeze, [">=3D 0"]) s.add_dependency(%q<rufo>.freeze, [">=3D 0"]) end else s.add_dependency(%q<mini_mime>.freeze, [">=3D 0.1.1"]) s.add_dependency(%q<bundler>.freeze, [">=3D 1.0.3"]) s.add_dependency(%q<rake>.freeze, ["> 0.8.7"]) s.add_dependency(%q<rspec>.freeze, ["~> 3.0"]) s.add_dependency(%q<rdoc>.freeze, [">=3D 0"]) s.add_dependency(%q<rufo>.freeze, [">=3D 0"]) end end Attached is my quick fix to build it. I hope it is correct but I am not ruby developer. --=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-262697-7788>