Bug 1676319 - jgit: missing javapackage-tools dependency (for /bin/build-classpath)
Summary: jgit: missing javapackage-tools dependency (for /bin/build-classpath)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse-jgit
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mat Booth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1676296
TreeView+ depends on / blocked
 
Reported: 2019-02-12 01:01 UTC by Todd Zullinger
Modified: 2019-02-12 13:20 UTC (History)
6 users (show)

Fixed In Version: eclipse-jgit-5.2.0-5.fc30
Clone Of:
Environment:
Last Closed: 2019-02-12 13:20:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Todd Zullinger 2019-02-12 01:01:04 UTC
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.

Comment 1 Todd Zullinger 2019-02-12 01:03:32 UTC
Oh, the PR I filed is: https://src.fedoraproject.org/rpms/eclipse-jgit/pull-request/1 (which will need an updated commit message before merging, if the fix is agreeable).

Comment 2 Mat Booth 2019-02-12 13:20:28 UTC
Thanks, I merged and started a build: https://koji.fedoraproject.org/koji/taskinfo?taskID=32762737


Note You need to log in before you can comment on or make changes to this bug.