Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 324163 - Emerging dev-libs/qjson with the doc use flag set fails on dohtml in the install phase
Summary: Emerging dev-libs/qjson with the doc use flag set fails on dohtml in the inst...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Dominik Kapusta (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-15 18:05 UTC by Staffan Palmroos
Modified: 2010-06-16 15:46 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Staffan Palmroos 2010-06-15 18:05:19 UTC
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.
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-06-15 18:11:23 UTC
That, or just quote the ${S}, the asterisk doesn't work inside quotes.

Comment 2 Staffan Palmroos 2010-06-15 18:14:20 UTC
Just a small update: I see that the same problem applies to the other versions also, not just 0.6.3
Comment 3 Dominik Kapusta (RETIRED) gentoo-dev 2010-06-16 15:46:38 UTC
Fixed in cvs, thanks for reporting.

BTW, strange, as it worked pretty well when installed using ebuild instead of emerge.