No doc in IUSE, yet used in DEPEND/RDEPEND and in src_install. Affects tons of gnustep ebuilds. If this is supposed to be a per-ebuild use flag (as per eclass comment), there need to be some way to turn it on/off on a per-ebuild basis. Like: IUSE="debug profile verbose" if [[ ${GNUSTEP_DOC} == "yes" ]]; then IUSE="${IUSE} doc" fi or, it the reversed behaviour is preferable, then IUSE="debug profile verbose" if [[ ${GNUSTEP_DOC} != "no" ]]; then IUSE="${IUSE} doc" fi and set GNUSTEP_DOC="yes/no" in ebuilds.
Created attachment 88905 [details] A list of affected ebuilds
Thanks Jakub. Your solution, however, is not going to solve the real problem. The gnustep-funcs eclass by default calls a doc target which checks if the doc USE-flag has been set or not. For every GNUstep ebuild that has not doc in it's IUSE this warning of yours will appear. Instead of your fix, I decided just to add "doc" to the default IUSE, and so install GNUstep docs when they are available, if "doc" is set.