Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122361 - Version bump to dev-java/jmp-0.49 and remove accidental jdk5 dependency
Summary: Version bump to dev-java/jmp-0.49 and remove accidental jdk5 dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Java team
URL: http://www.khelekore.org/pipermail/jm...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-10 05:46 UTC by Andrew Cowie
Modified: 2007-02-10 13:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Apply suggested workaround to remove jdk5 dependency (remove-jdk5-dependency_jmp-0.49.patch,506 bytes, patch)
2006-02-10 05:48 UTC, Andrew Cowie
Details | Diff
Ebuild which a) bumps to 0.49 and b) incorporates above patch and recompiles shipped binary code. (jmp-0.49.ebuild,1.21 KB, text/plain)
2006-02-10 05:49 UTC, Andrew Cowie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cowie 2006-02-10 05:46:29 UTC
Attached ebuild for dev-java/jmp-0.49  It's would be a straight copy of jmp-0.48.ebuild except for one problem. In reponse to http://www.khelekore.org/pipermail/jmp-user/2006-January/000341.html users were pointed at the workaround listed in the URL field.

Attached is a patch which carries out this fix. [Note it doesn't remove any actual functionality - it was just the beginning of a new feature that mistakenly required a jdk5 feature]

Patching alone, however, wasn't sufficient. It turns out jmp distributes with some bytecode already compiled that you have to *rebuild* if you patch the stuff in java/jmp/ . So also attached is a new ebuild, dev-java/jmp-0.49 that a) epatches the above patch and b) adds the necessary prerequisite make call.

The prerequisite rebuild also c) adds a build dependency on dev-util/cproto which I also added to DEPEND.... except

It turns out that the cproto that Gentoo ships is ancient, and when our cproto runs care of the last step in java/Makefile.bc, the resultant .h file breaks the main build. Workaround for *that* is to d) only build the .c target, and then copy said target up to the top level directory. THAT means you could skip the cproto dependency, though I've filed bug #122354 about that problem.

AfC
Comment 1 Andrew Cowie 2006-02-10 05:48:06 UTC
Created attachment 79424 [details, diff]
Apply suggested workaround to remove jdk5 dependency
Comment 2 Andrew Cowie 2006-02-10 05:49:05 UTC
Created attachment 79425 [details]
Ebuild which a) bumps to 0.49 and b) incorporates above patch and recompiles shipped binary code.
Comment 3 Andrew Cowie 2006-02-22 04:17:41 UTC
Upstream has released 0.50 to fix this build problem.

AfC
Comment 4 Gianluca Parmiggiani 2006-06-13 03:07:44 UTC
0.51 in upstream too
Comment 5 Gianluca Parmiggiani 2006-10-16 03:56:53 UTC
can it be included in portage?
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2007-01-16 18:41:49 UTC
(In reply to comment #5)
> can it be included in portage?
> 

Sorry about there being no response from devs. Can't download it atm but will certainly add it at some point if I get it downloaded.
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2007-02-10 13:54:41 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > can it be included in portage?
> > 
> 
> Sorry about there being no response from devs. Can't download it atm but will
> certainly add it at some point if I get it downloaded.
> 

Received instructions from the upstream maintainer on howto donwload the releases and was able to commit a version bump. Please note that 0.51 does not work with 1.6 or 1.7.