Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 506048 - media-libs/oyranos-0.9.4-r1 install fails with USE="doc"
Summary: media-libs/oyranos-0.9.4-r1 install fails with USE="doc"
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-28 10:58 UTC by Sven Eden
Modified: 2014-08-20 07:08 UTC (History)
0 users

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


Attachments
Fix install with USE="doc" (oyranos-0.9.4-r1.ebuild_fix_doc_install.patch,932 bytes, patch)
2014-03-28 11:00 UTC, Sven Eden
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Eden 2014-03-28 10:58:36 UTC
There is a wrong mv in the ebuild leading to:

mv: cannot stat ‘/home/portage/media-libs/oyranos-0.9.4-r1/image//usr/share/doc/oyranos/*’: No such file or directory

I have changed the part in my overlay 'seden' from
----
        if use doc ; then
                mv "${ED}/usr/share/doc/${PN}/*" "${ED}/usr/share/doc/${P}" || die
        fi
        rm -rf "${ED}/usr/share/doc/${PN}" || die
----

to

----
        if use doc ; then
                mv "${D}usr/share/doc/${PN}/html" "${D}usr/share/doc/${PF}" || die
        fi
        rm -rf "${D}usr/share/doc/${PN}" || die
----

And it now installs fine.




Reproducible: Always

Steps to Reproduce:
1. USE="doc" emerge =media-libs/oyranos-0.9.4-r1

Actual Results:  
Install fails with error message.

Expected Results:  
Normal install
Comment 1 Sven Eden 2014-03-28 11:00:27 UTC
Created attachment 373724 [details, diff]
Fix install with USE="doc"

Fix install with USE="doc"
Comment 2 Sven Eden 2014-03-28 11:03:17 UTC
Damn. Pleae ignore the top part about versionator and MY_PV/MY_P, those are, of course, not needed.
Comment 3 Andreas Sturmlechner gentoo-dev 2014-08-20 05:38:02 UTC
I suggest upgrading to oyranos-0.9.5 - such hacks are gone with that version. ;)