Hi Milan, Unfortunately that patch is not yet completed. We are missing a couple dependencies that are in the process of rebuilding from Fedora RPMs. It might take a while because the whole thing is quite tedious - after resolving one batch of dependencies, new missing ones might be found.
Personally, I downgraded xmvn 4.0.0 to xmvn 3.x. This should trigger all necessary changes if I remember correctly. Artur On Wed, Jan 5, 2022 at 11:08 AM Milan Zamazal <mzama...@redhat.com> wrote: > Hi, > > I've been having trouble to build Engine rpm's locally on up-to-date > Stream 8 since about mid December, most likely due to javapackages-local > update to 6.0.0-1.4.el8s. Engine compiles fine but building the rpm's > fails on missing %add_maven_depmap rpm spec macro. There is a patch for > Stream 9: https://gerrit.ovirt.org/c/ovirt-engine/+/116811. But when I > rebase on it, I get the following error: > > [INFO maven.req] input: > ['/root/rpmbuild/BUILDROOT/ovirt-engine-4.5.0-0.2.master.20220104124402.el8.x86_64/usr/share/maven-metadata/ovirt-engine-base.xml'] > Traceback (most recent call last): > File "/usr/lib/rpm/maven.req", line 393, in <module> > builder = TagBuilder() > File "/usr/lib/rpm/maven.req", line 71, in __init__ > self.print_requires(metadata) > File "/usr/lib/rpm/maven.req", line 200, in print_requires > self._handle_unknown_deps(unknown_deps) > File "/usr/lib/rpm/maven.req", line 258, in _handle_unknown_deps > raise Exception(unknown_msg) > Exception: Following dependencies were not resolved and requires cannot > be generated. Either remove the dependencies from pom.xml or add proper > packages to BuildRequires: > commons-beanutils:commons-beanutils:1.9.4 required by > org.ovirt.engine.core:utils > commons-lang:commons-lang:2.6 required by org.ovirt.engine.core:aaa > org.infinispan:infinispan-core:9.4.18.Final required by > org.ovirt.engine.core:utils > commons-collections:commons-collections:3.2.2 required by > org.ovirt.engine.core:bll > org.jboss.modules:jboss-modules:1.1.1.GA required by > org.ovirt.engine.core:common > org.hibernate.validator:hibernate-validator:6.0.18.Final required by > org.ovirt.engine.core:common > > This happens with both maven 3.5 and 3.6. Any idea what's wrong and how > to fix it on Stream 8? > > Thanks, > Milan > _______________________________________________ > Devel mailing list -- devel@ovirt.org > To unsubscribe send an email to devel-le...@ovirt.org > Privacy Statement: https://www.ovirt.org/privacy-policy.html > oVirt Code of Conduct: > https://www.ovirt.org/community/about/community-guidelines/ > List Archives: > https://lists.ovirt.org/archives/list/devel@ovirt.org/message/SAYMI6VGTEMI5CVS6KWUUQVIGM6Z4RID/ > -- Artur Socha Senior Software Engineer, RHV Red Hat
_______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-le...@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/C7Q4URKYRSWOT7X7VXONB235WVDNXCKM/