Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 798294 - dev-java/zstd-jni-1.4.9.1 USE Flag 'doc' not in IUSE
Summary: dev-java/zstd-jni-1.4.9.1 USE Flag 'doc' not in IUSE
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-24 08:30 UTC by aleck
Modified: 2021-06-26 17:21 UTC (History)
3 users (show)

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


Attachments
emerge --info (emerge--info,6.57 KB, text/plain)
2021-06-24 08:31 UTC, aleck
Details
build.log (build.log,49.49 KB, text/plain)
2021-06-24 08:31 UTC, aleck
Details

Note You need to log in before you can comment on or make changes to this bug.
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.