Summary: | dev-libs/suikyo tries to install missing documentation | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | CJK Team <cjk> |
Status: | RESOLVED FIXED | ||
Severity: | QA | CC: | ruby, sebasu216 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build log
diff of suikyo ebuild |
Description
Diego Elio Pettenò (RETIRED)
![]() Created attachment 220023 [details]
Build log
This might be solved by changing erubydoc in ruby.eclass. This function doesn't check for the existence of certain directories. A suggestion: *** /usr/portage/eclass/ruby.eclass 2009-10-03 10:36:09.000000000 +0200 --- /usr/local/portage/eclass/ruby.eclass 2010-03-02 23:35:56.520737638 +0100 *************** *** 183,190 **** [ -n "${rdfiles}" ] && doins ${rdfiles} rmdir "${D}"${rdbase} 2>/dev/null || true if [ -d doc -o -d docs ] ; then ! dohtml -x html -r {doc,docs}/* ! dohtml -r {doc,docs}/html/* else dohtml -r * fi --- 183,192 ---- [ -n "${rdfiles}" ] && doins ${rdfiles} rmdir "${D}"${rdbase} 2>/dev/null || true if [ -d doc -o -d docs ] ; then ! [ -d doc ] && dohtml -x html -r doc/* ! [ -d docs ] && dohtml -x html -r docs/* ! [ -d doc/html ] && dohtml -r doc/html* ! [ -d docs/html ] && dohtml -r docs/html/* else dohtml -r * fi ruby.eclass is going to be deprecated soon, so it would be useful to see if this issue can be solved by converting the ebuild to use ruby-ng instead. Created attachment 222157 [details, diff]
diff of suikyo ebuild
For the time being a little change in the ebuild can resolve the issue.
Attached is a diff.
thanks for the patch. In this case, its better to use dodoc simple way. http://devmanual.gentoo.org/ebuild-writing/functions/src_install/index.html in cvs now. |