Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175075 - emerge xjavac fails
Summary: emerge xjavac fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-18 11:27 UTC by MATSUYAMA Tomohiro
Modified: 2007-04-18 23:01 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 MATSUYAMA Tomohiro 2007-04-18 11:27:03 UTC
emerge xjavac fails


!!! ERROR: dev-java/xjavac-20041208-r4 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4809:   Called src_compile
  xjavac-20041208-r4.ebuild, line 27:   Called eant 'jar' '-Dclasspath=' '*' 'The' 'ebuild' 'is' 'attempting' 'to' 'use' 'ant-core,' 'without' 'specifying' '--build-only,' 'that' 'is' 'not' 'declared' 'in' 'RDEPEND.' '*' 'Because' 'you' 'have' 'this' 'package' 'installed' 'the' 'package' 'will' '*' 'build' 'without' 'problems,' 'but' 'please' 'report' 'this' 'to' '*' 'http://bugs.gentoo.org' '/usr/share/ant-core/lib/ant-launcher.jar:/usr/share/ant-core/lib/ant.jar:/usr/share/ant-core/lib/ant-bootstrap.jar'
  java-utils-2.eclass, line 1723:   Called die


I fixed dev-java/xjavac-20041208-r4 as below, and emerge worked.

- RDEPEND=">=virtual/jdk-1.4"
+ RDEPEND=">=virtual/jdk-1.4
+     >=dev-java/ant-core-1.4"



Reproducible: Always
Comment 1 MATSUYAMA Tomohiro 2007-04-18 11:40:37 UTC
best solution: add --build-only to eant
Comment 2 Jean-Marc Beaune 2007-04-18 21:58:54 UTC
Hi,

Could give a short explanation on how to add --build-only to eant ?

Many thanks.
Comment 3 Bo Ørsted Andresen (RETIRED) gentoo-dev 2007-04-18 23:01:01 UTC
> Could give a short explanation on how to add --build-only to eant ?

Nah, this is a dupe of bug #174981. --sync and it's already fixed...