#210 maven 3.6 in CBS build root is affected by https://bugzilla.redhat.com/show_bug.cgi?id=1897375 and block apache-sshd build
Closed: Fixed 3 years ago by arrfab. Opened 3 years ago by sbonazzo.

Initially reported as https://bugs.centos.org/view.php?id=18036

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?


Metadata Update from @arrfab:
- Issue tagged with: cbs, low-gain, medium-trouble, need-more-info

3 years ago

can you point to specific build ID on cbs so that we can have a look ?
Thanks :)

Last build showing the issue is Task is https://cbs.centos.org/koji/taskinfo?taskID=1923029 , it was a scratch build

As discussed in irc, may probably work as well if we can have virt8s- tags as the fix for maven should be already in Stream. Can you please setup virt8s- tags as for virt8-* ?

Well, there are already there ?
https://cbs.centos.org/koji/search?match=glob&type=tag&terms=virt8s*

So do you want to try a build against virt8s and see if that build with the fix that landed in stream ?

Metadata Update from @arrfab:
- Issue assigned to arrfab

3 years ago

As proposed through irc discussion and as virt8s tags are already created, a test will be done there first

It seems you built it successfully through virt8s-ovirt-candidate and then tagged it into virt8-ovirt-candidate ?
If that works for you , do you think we can close this ticket ?

Metadata Update from @arrfab:
- Issue priority set to: Waiting on Reporter (was: Needs Review)

3 years ago

Yes, going through virt8s worked, I'm ok with closing the ticket.

Thanks for the feedback, closing

Metadata Update from @arrfab:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata
Boards 1
CBS Status: Backlog