On Tue, 22 Jun 2021 at 12:30, Jiri Vanek <jva...@redhat.com> wrote:
>
> Hello!
>
> I have an ordinery package, which builds as is for epel7,and all fedoras, but 
> not for epel8:
>
> Package openjdk-asmtools builds fine in fedora, epel7 and rhel8,  but not in 
> epel8:
> CentOS-8 - Extras                               4.3 kB/s | 1.5 kB     00:00
> Extra Packages for Enterprise Linux 8 - x86_64   75 kB/s | 4.7 kB     00:00
> Error:
>   Problem 1: conflicting requests
>    - package maven-compiler-plugin-3.7.0-2.module_el8.0.0+30+832da3a1.noarch 
> is filtered out by modular filtering
>   Problem 2: conflicting requests
>    - package maven-jar-plugin-3.1.0-1.module_el8.0.0+30+832da3a1.noarch is 
> filtered out by modular filtering
>   Problem 3: conflicting requests
>    - package maven-local-5.3.0-2.module_el8.0.0+30+832da3a1.noarch is 
> filtered out by modular filtering
>
>
>
> web search is failing me. Is there some magical  spec switch which is 
> enbaling... modules? or something?
>

Welcome to RHEL-8 modularity and the joy it brings anyone trying to
port software to 8. The problem is not with EPEL but with the way
various modules in 8 interact. I that the issue is that one of the
'java' modules conflicts with the maven and won't allow it to be
installed when it is. In order to deal with this you have to edit a
/etc/mock for your software with

config_opts['module_enable'] = ['maven']
config_opts['module_install'] = ['maven']

in the appropriate place and it will build locally. Or you can try to
do a scratch build in koji to see if the de-modularization script
allows it.

-- 
Stephen J Smoogen.
I've seen things you people wouldn't believe. Flame wars in
sci.astro.orion. I have seen SPAM filters overload because of Godwin's
Law. All those moments will be lost in time... like posts on  BBS...
time to reboot.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@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/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to