Emerging dev-libs/qjson-0.6.3 with the doc use flag set fails at install time with the following message: !!! dohtml: /var/tmp/portage/dev-libs/qjson-0.6.3/work/qjson/doc/html/* does not exist * ERROR: dev-libs/qjson-0.6.3 failed: * dohtml failed * * Call stack: * ebuild.sh, line 54: Called src_install * environment, line 2940: Called cmake-utils_src_install * environment, line 739: Called _execute_optionaly 'src_install' * environment, line 204: Called enable_cmake-utils_src_install * environment, line 1156: Called base_src_install * environment, line 415: Called base_src_install_docs * environment, line 433: Called die * The specific snippet of code: * dohtml -r "${x}" || die "dohtml failed"; * * QA Notice: file does not exist: * * dohtml: /var/tmp/portage/dev-libs/qjson-0.6.3/work/qjson/doc/html/* does not exist The issue is a misplaced asterisk on line 37 in the ebuild file. Changing HTML_DOCS=( "${S}/doc/html/*" ) to HTML_DOCS=( "${S}/doc/html/" ) fixes the problem. Reproducible: Always Steps to Reproduce: 1. emerge =dev-libs/qjson-0.6.3 2. 3.
That, or just quote the ${S}, the asterisk doesn't work inside quotes.
Just a small update: I see that the same problem applies to the other versions also, not just 0.6.3
Fixed in cvs, thanks for reporting. BTW, strange, as it worked pretty well when installed using ebuild instead of emerge.