https://bugzilla.redhat.com/show_bug.cgi?id=1676319
Bug ID: 1676319 Summary: jgit: missing javapackage-tools dependency (for /bin/build-classpath) Product: Fedora Version: rawhide Status: NEW Component: eclipse-jgit Assignee: mat.booth@redhat.com Reporter: tmz@pobox.com QA Contact: extras-qa@fedoraproject.org CC: akurtako@redhat.com, andjrobins@gmail.com, eclipse-sig@lists.fedoraproject.org, jerboaa@gmail.com, mat.booth@redhat.com, rgrunber@redhat.com Target Milestone: --- Classification: Fedora
Installing jgit on a rawhide system without the '*modular*' repositories installed results in a broken jgit. This does require the most recent changes in koji. I ran into it while building git, which requires jgit to run some compatibility tests.
The result is:
$ jgit -h /usr/bin/jgit: line 63: build-classpath: command not found Error: Could not find or load main class org.eclipse.jgit.pgm.Main
I filed a PR as well, but wanted to open a ticket in case others run into this. I'm not sure if there's more fallout from the changes which have caused javapackage-tools to not be pulled in by jgit. I think this is due to a large number of java packages moving to modules, so there might be a better place to fix things.
Though since the jgit wrapper script requires build-classpath it seems reasonable to have a hard requirement on javapackages-tools rather than relying on indirect deps.