On 4/23/20 12:11 PM, Mátyás Selmeci wrote:
On 4/22/20 3:53 PM, Mátyás Selmeci wrote:
> On 4/22/20 1:20 PM, pcreech(a)redhat.com wrote:
>> On Wed, 2020-04-22 at 12:57 -0500, Mátyás Selmeci wrote:
>>> On 4/22/20 12:46 PM, Tom Stellard wrote:
>>>> On 04/22/2020 10:42 AM, Mátyás Selmeci wrote:
>>>>> Hi,
>>>>>
>>>>> I've been trying to do EL8 builds on our Koji instance
>>>>> (
koji.opensciencegrid.org) but installing software into the
>>>>> buildroot fails with error messages like
>>>>>
>>>>> No available modular metadata for modular package 'subversion-
>>>>> 1.10.2-1.module_el8.0.0+45+75bba4f4.x86_64', it cannot be
>>>>> installed on the system
>>>>>
>>>>
>>>> I think you need to add enable this option in the yum repo config:
>>>>
>>>> module_hotfixes=1
>>>>
>>>> -Tom
>>>>
>>> How do I do that? I thought koji generated those. Is it something
>>> like
>>>
>>> koji edit-tag dist-el8-build --extra=module_hotfixes=1
>>
>> koji edit-tag {build tag} --extra=mock.yum.module_hotfixes=1
>>
>
> This works when I generate a mock config by hand via
> `koji mock-config`, but the change is not present in the mock
> configs that get created on the build host.
>
> -Mat
>
Ah, looks like it got fixed in 1.18.0.
-Mat
I ended up backporting that commit to our 1.17.0 build and then making
this change, and it fixed my issue. (Our testing hub is currently
unavailable so I can't just upgrade yet, but hopefully I will soon.)
Now I have a separate problem: I can't install some build dependencies
because they appear to be modular. I'm seeing errors from yum-builddep
like
DEBUG util.py:596: Problem 22: conflicting requests
DEBUG util.py:596: - package libtool-ltdl-devel-2.4.6-25.el8.i686 requires automake =
1.16.1, but none of the providers can be installed
DEBUG util.py:596: - package libtool-ltdl-devel-2.4.6-25.el8.x86_64 requires automake =
1.16.1, but none of the providers can be installed
DEBUG util.py:596: - package automake-1.16.1-6.el8.noarch requires perl(Thread::Queue),
but none of the providers can be installed
DEBUG util.py:596: - nothing provides perl(:MODULE_COMPAT_5.24.4) needed by
perl-Thread-Queue-3.13-2.module_el8.1.0+229+cd132df8.noarch
DEBUG util.py:598: (try to add '--skip-broken' to skip uninstallable packages)
(full task is here if it helps:
https://koji.opensciencegrid.org/koji/taskinfo?taskID=313860 )
Looks like the dependency it wants is perl 5.24. I looked at the
external repository (CentOS-AppStream) and there is a modular perl-5.24
RPM and a non-modular perl-5.26 RPM. Is one shadowing the other?
I added --nobest to the yum-builddep invocation but it didn't help.
How can I get around this?
Thanks,
-Mat