On Wed, 26 Jan 2022 at 16:23, Vít Ondruch <vondruch(a)redhat.com> wrote:
Dne 26. 01. 22 v 15:48 Iñaki Ucar napsal(a):
> On Wed, 26 Jan 2022 at 15:46, Iñaki Ucar <iucar(a)fedoraproject.org> wrote:
>> More issues with this change:
>>
https://bugzilla.redhat.com/show_bug.cgi?id=2046246
>>
>> Packages such as R (octave and others, I suppose, as well) save the
>> build flags because they are needed to build package extensions. With
>> this change, a path that only exists during the parent package build
>> stage is injected, and basically extensions are broken. I consider
>> this a bug in rpm-config-macros. If later-non-valid flags are required
> I meant redhat-rpm-config, apologies.
This is basically
https://bugzilla.redhat.com/show_bug.cgi?id=2043092.
Ouch, what a mess...
I'd suggest to build R and similar with:
~~~
%undefine _package_note_file
~~~
as a quick workaround and find better solution later. E.g. there is this
proposal for Ruby:
https://bugzilla.redhat.com/show_bug.cgi?id=1284684#c14
I see that the use of %{extension_*flags} is suggested. Are these safe
to use in EPEL?
--
Iñaki Úcar