Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318187 - java-utils-2.eclass: make ejavac test that -d <dir> exists
Summary: java-utils-2.eclass: make ejavac test that -d <dir> exists
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-02 18:24 UTC by Petteri Räty (RETIRED)
Modified: 2015-10-27 21:20 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 Petteri Räty (RETIRED) gentoo-dev 2010-05-02 18:24:51 UTC
>>> Compiling source in /var/tmp/portage/dev-java/jsr223-1.0-r1/work ...
 * Using javac for compilation
javac: directory not found: build
Usage: javac <options> <source files>
use -help for a list of possible options
 * ERROR: dev-java/jsr223-1.0-r1 failed:

ecj automatically creates the directory to let's check it exists in the eclass to automatically spot this.
Comment 1 Patrice Clement (RETIRED) gentoo-dev 2015-10-27 18:44:14 UTC
Dealt with in the following commit: 

https://github.com/monsieurp/gentoo/commit/c0861a45e481b810ef882916dbbc84245264d1a0

I'll leave this bug open until the PR is merged.
Comment 2 James Le Cuirot gentoo-dev 2015-10-27 21:20:39 UTC
After some discussion, we've decided not to do this. ejavac is supposed to be a thin wrapper around javac and javac is expected to fail in this situation. ejavac is most often used in java-pkg-simple where the directory is already created for you anyway.