On Wed, Sep 29, 2021 at 12:42 PM Vít Ondruch <[email protected]> wrote:
>
>
> Dne 28. 09. 21 v 1:51 Mamoru TASAKA napsal(a):
> > Jun Aruga wrote on 2021/09/28 1:54:
> >> Just FYI
> >> It seems the rpms/ruby rawhide started to fail to build from the
> >> following build.
> >>
> >> https://koschei.fedoraproject.org/build/11069282
> >> autoconf: 2.69-37.fc35 => 2.71-1.fc36
> >>
> >> I noticed this when I also saw the build started to fail on the
> >> stream-ruby-2.6 branch too.
> >>
> >
> > I think Vít has already noticed this and contacted the upstream:
> > https://bugzilla.redhat.com/show_bug.cgi?id=1999479
> > https://bugs.ruby-lang.org/issues/18156
>
>
> Right, I hoped for some upstream response, but my plan is to reintroduce
> the `AC_PROG_CC` if there is no response. Hopefully I get back to this
> soon, because we should look into the OpenSSL 3.x compatibility.

It seems the following patch for the ruby.spec works to build
rpms/ruby on rawhide. Now building is in progress in my environment.
But maybe we don't want to add the gcc-c++ dependency?

```
$ git diff
diff --git a/ruby.spec b/ruby.spec
index 414eb19..c5c6edc 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -188,6 +188,7 @@ BuildRequires: procps
 %{?with_hostname:BuildRequires: %{_bindir}/hostname}
 BuildRequires: multilib-rpm-config
 BuildRequires: gcc
+BuildRequires: gcc-c++
 BuildRequires: make
 BuildRequires: zlib-devel

@@ -619,7 +620,7 @@ rm -rf ext/fiddle/libffi*
 cp -a %{SOURCE3} .

 %build
-autoconf
+./autogen.sh

 %configure \
         --with-rubylibprefix='%{ruby_libdir}' \
```

-- 
Jun | He - Him
_______________________________________________
ruby-sig mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to