Summary: | =dev-lang/ruby-2* with ~sys-devel/autoconf-2.70: ./configure: 4102: Syntax error: "fi" unexpected (expecting "then") | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Component: | Current packages | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | slyfox |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/ruby/ruby/commit/fcc88da5eb162043adcba552646677d2ab5adf55.patch | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 732648 | ||
Attachments: |
config.log
0001-configure.ac-fix-for-upcoming-autoconf-2.70.patch ruby-2.7.2-autoconf-2.70.patch |
Description
Lars Wendler (Polynomial-C) (RETIRED)
2021-01-11 21:06:24 UTC
Created attachment 682477 [details]
config.log
Upstream https://github.com/ruby/ruby/commit/fcc88da5eb162043adcba552646677d2ab5adf55.patch should fix it. That patch won't apply to ruby-2. I've tried to backport it but I had no success. Created attachment 682489 [details, diff]
0001-configure.ac-fix-for-upcoming-autoconf-2.70.patch
I'm using 0001-configure.ac-fix-for-upcoming-autoconf-2.70.patch (I think it's an unmodified version) against ruby-2.5.8 and 2.6.6-r2.
2.7.2 fails to apply. I'll have a look.
Created attachment 682492 [details, diff]
ruby-2.7.2-autoconf-2.70.patch
ruby-2.7.2-autoconf-2.70.patch works for me.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af0c1600e964e55054e7e5f42fb20316a5b0f8be commit af0c1600e964e55054e7e5f42fb20316a5b0f8be Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2021-01-15 09:09:02 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2021-01-15 09:10:04 +0000 dev-lang/ruby: make compatible with autoconf 2.70 Closes: https://bugs.gentoo.org/765010 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org> dev-lang/ruby/files/2.5/002-autoconf-2.70.patch | 65 +++++++++++++++++++++++++ dev-lang/ruby/files/2.6/002-autoconf-2.70.patch | 65 +++++++++++++++++++++++++ dev-lang/ruby/files/2.7/002-autoconf-2.70.patch | 26 ++++++++++ dev-lang/ruby/ruby-2.5.8-r1.ebuild | 2 +- dev-lang/ruby/ruby-2.6.6-r2.ebuild | 2 +- dev-lang/ruby/ruby-2.7.2.ebuild | 2 +- 6 files changed, 159 insertions(+), 3 deletions(-) |