Hi, anyone?

Il giorno mer 27 gen 2021 alle ore 14:20 Sandro Bonazzola <sbonazzo@redhat.com> ha scritto:
Submitted also as CentOS Bug on https://bugs.centos.org/view.php?id=18036

Il giorno mar 26 gen 2021 alle ore 12:44 Sandro Bonazzola <sbonazzo@redhat.com> ha scritto:
Hi,
I'm seeing the following error:
Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true -Dworkspace.root.dir=/builddir/build/BUILD/apache-sshd-2.6.0 package org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep
['xmvn', '--batch-mode', '--offline', '-Dmaven.test.skip=true', '-Dworkspace.root.dir=/builddir/build/BUILD/apache-sshd-2.6.0', 'package', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep']
/usr/share/maven/bin/mvn: line 36: /etc/java/maven.conf: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.QeIPBF (%build)
    Bad exit status from /var/tmp/rpm-tmp.QeIPBF (%build)
RPM build errors:
which is a known bug of maven 3.6 shipped in RHEL 8.3 (https://bugzilla.redhat.com/show_bug.cgi?id=1897375)

There's a build in koji (https://koji.mbox.centos.org/koji/taskinfo?taskID=207396)  which should have the fix for this issue.
Can we get that build in CBS build root?
If not, can we get maven:3.5 module enabled instead of maven:3.6?

thanks,
--

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV

Red Hat EMEA

sbonazzo@redhat.com   

Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours.




--


--