Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346823 - dev-java/commons-math-2.1: does not compile any sources on merge
Summary: dev-java/commons-math-2.1: does not compile any sources on merge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 346599
  Show dependency tree
 
Reported: 2010-11-26 08:56 UTC by Hendrik Iben
Modified: 2010-11-26 20:31 UTC (History)
0 users

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


Attachments
this patch adds the needed 'compile' dependency to the 'jar' target (commons-math-2.1-r1-buildfixes.patch,770 bytes, patch)
2010-11-26 08:57 UTC, Hendrik Iben
Details | Diff
slightly modified ebuild to use the new patch (commons-math-2.1-r1.ebuild,1.02 KB, text/plain)
2010-11-26 08:58 UTC, Hendrik Iben
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hendrik Iben 2010-11-26 08:56:10 UTC
The commons-math-2.1-buildfixes.patch removes the 'test' dependency from
the 'jar' target but does not add a dependency to 'compile'. Thus no sources
are compile into the jar resulting an an almost empty archive.

I attach a simple fix that just adds a dependency to 'compile' (works for me)

Reproducible: Always

Steps to Reproduce:
emerge "=dev-java/commons-math-2.1"

Actual Results:  
unzip -l unzip -l /usr/share/commons-math-2/lib/commons-math.jar
will show that the file only contains meta-data.


Expected Results:  
jar should contain the compiled classes.

see bug #342775 (introduces commons-math-2.1-buildfixes.patch)
Comment 1 Hendrik Iben 2010-11-26 08:57:46 UTC
Created attachment 255465 [details, diff]
this patch adds the needed 'compile' dependency to the 'jar' target
Comment 2 Hendrik Iben 2010-11-26 08:58:13 UTC
Created attachment 255467 [details]
slightly modified ebuild to use the new patch
Comment 3 Serkan Kaba (RETIRED) gentoo-dev 2010-11-26 20:31:56 UTC
Revbumped and fixed. Must have missed it when running tests.