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)
Created attachment 255465 [details, diff] this patch adds the needed 'compile' dependency to the 'jar' target
Created attachment 255467 [details] slightly modified ebuild to use the new patch
Revbumped and fixed. Must have missed it when running tests.