What if we provided `%{ruby_vendorlibdir}/rbconfig.rb`, which would fix
the `CXX` as well as the rhbz#1284684? WDYT?
Vít
Dne 20. 11. 20 v 1:59 Pavel Valena napsal(a):
----- Original Message -----
> From: "Vít Ondruch" <vondruch(a)redhat.com>
> To: ruby-sig(a)lists.fedoraproject.org
> Sent: Thursday, November 19, 2020 6:12:01 PM
> Subject: Re: Ruby 3.0
>
> @Pavel, could you please try to add `%{set_build_flags}` call prior
> calling the `%gem_install`? That sets the `CXX` env variable. Does it help?
Sure, -
https://copr.fedorainfracloud.org/coprs/build/1775666
https://copr.fedorainfracloud.org/coprs/build/1775665
I'm afraid it didn't help. I've also tried setting CXX explicitly, and/or
adding this:
+sed -i "1i RbConfig::MAKEFILE_CONFIG['CXX'] = 'g++'" \
+ ext/extconf.rb
But it fails all the same. Here's another try, using CONFIG['CXX'] =
'g++':
https://copr.fedorainfracloud.org/coprs/build/1775762
Pavel
>
> Vít
>
>
>
>> So CONFIG["CXX"] is not yet set ( in /usr/lib64/ruby/rbconfig.rb on
>> x86_64) (see:
>>
https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraprojec...
>>
>> ) and still rubygem-eventmachine fails to find CXX compiler, while
>> rawhide ruby-libs rpm has CONFIG["CXX"] value.
>>
>> Regards,
>> Mamoru
_______________________________________________
ruby-sig mailing list -- ruby-sig(a)lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-leave(a)lists.fedoraproject.org
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/ruby-sig@lists.fedoraprojec...