Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168475 - dev-java/shared-objects-1.4-r1 ebuild should inherit java-ant-2
Summary: dev-java/shared-objects-1.4-r1 ebuild should inherit java-ant-2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-26 17:06 UTC by Mike Smith
Modified: 2007-02-26 21:59 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Smith 2007-02-26 17:06:18 UTC
The shared-objects-1.4-r1 ebuild uses generation 2 java build system, but does not inherit java-ant-2.  As a result, the sources are built to target the system VM, not necessarily the minimum VM.  Inheriting java-ant-2 will cause compile time edits to the build file to add target attributes to the javac tasks, fixing the problem.

This problem causes aterm-java to have build problems.

Reproducible: Always

Steps to Reproduce:
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2007-02-26 21:57:22 UTC
Ebuild fixed. Thanks for reporting.
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2007-02-26 21:59:06 UTC
As a side not if you add JAVA_PKG_STRICT=1 to your make.conf it will make Portage die if it's installing a jar file that has bytecode compiled to too high version. We did not turn this on by default yet because we don't want to make stuff suddenly start dying for users.