Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 566988

Summary: sys-devel/gettext disabling java use flag does not disable java ./configure argument
Product: Gentoo Linux Reporter: Joe M <joe9mail>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description Joe M 2015-11-27 14:44:59 UTC
When the java use flag is not set, the gettext configure still checks for javac executable.

When the use flag is -java, it should probably do ./configure --disable-java --disable-native-java 

Reproducible: Always
Comment 1 Joe M 2015-11-27 14:52:24 UTC
Created attachment 418016 [details]
build log
Comment 2 Joe M 2015-11-27 15:00:20 UTC
with -java, the current configuration does ./configure --disable-java. It does not have --disable-native-java though
Comment 3 SpanKY gentoo-dev 2015-12-01 14:56:20 UTC
i don't know what you're trying to report here.  the ebuild correctly passes --enable-java/--disable-java based on USE=java.  the --xxx-native-java flag is irrelevant -- it is used only when --disable-java is not used.

passing --enable-java --enable-native-java is redundant, as is --disable-java --disable-native-java, and --disable-java --enable-native-java does nothing.  the only combo that matters is --enable-java --disable-native-java, but that's to disable bytecode, and we don't care about that case currently.