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

Bug 798294

Summary: dev-java/zstd-jni-1.4.9.1 USE Flag 'doc' not in IUSE
Product: Gentoo Linux Reporter: aleck <rickrick>
Component: Current packagesAssignee: Java team <java>
Status: RESOLVED INVALID    
Severity: normal CC: ionen, mscardovi, sam
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log

Description aleck 2021-06-24 08:30:08 UTC
When buildinn the package I get an error.


Reproducible: Always

Steps to Reproduce:
1.emerge -1 dev-java/zstd-jni
Actual Results:  

* ERROR: dev-java/zstd-jni-1.4.9.1::gentoo failed (compile phase):
 *   USE Flag 'doc' not in IUSE for dev-java/zstd-jni-1.4.9.1
 *
 * Call stack:
 *          ebuild.sh, line  127:  Called src_compile
 *        environment, line 3890:  Called java-pkg-simple_src_compile
 *        environment, line 2002:  Called use 'doc'
 *   phase-helpers.sh, line  252:  Called die
 * The specific snippet of code:
 *                              die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"


Expected Results:  
build and install
Comment 1 aleck 2021-06-24 08:31:02 UTC
Created attachment 718686 [details]
emerge --info
Comment 2 aleck 2021-06-24 08:31:52 UTC
Created attachment 718689 [details]
build.log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-26 02:28:06 UTC
... was this somehow broken by the new inherit guards in the eclasses? surely not?
Comment 4 Ionen Wolkens gentoo-dev 2021-06-26 04:55:03 UTC
Is this still happening? I currently cannot see how it might have happened unless you're somehow setting JAVA_PKG_IUSE=doc in your environment (don't set that).

"use doc" being called would imply that "has doc <empty string>" returned true somehow.
Comment 5 aleck 2021-06-26 11:28:38 UTC
Sorry for the false bug, you are right. I had 

JAVA_PKG_IUSE="doc source"

in make make.cnf. After removing this line everything works fine.
Thank you very much for your answer.

best regards

aleck
Comment 6 Ionen Wolkens gentoo-dev 2021-06-26 17:21:47 UTC
No problem, glad could figure it out.