When an ebuild declares DOCS globally, default multilib_src_install tries to install them from the wrong directory. As a result, build process fails. As a work-around, I may install docs manually in src_install() / multilib_src_install_all(), but that ain't really friendly.
you can use DOCS=( "${S}"/README.txt ) otherwise I'd do something like this: multilib-minimal_src_install() { [...] else DOCS="" default_src_install fi [...] <copy paste of EAPI-doc install like autotools-utils does> }
(In reply to comment #1) > you can use > > DOCS=( "${S}"/README.txt ) Ok, but not nice as most other eclasses support it without ${S}. > > otherwise I'd do something like this: > multilib-minimal_src_install() { > [...] > else > DOCS="" default_src_install > fi > [...] > > <copy paste of EAPI-doc install like autotools-utils does> > } Can you please add that hack to multilib-minimal.eclass?
Maybe inline 'emake DESTDIR=${D} install' instead? That should be less hackish, with the same net result.
I tested all consumers and it seems to work. Yell at me, if not. + 04 May 2013; Julian Ospald <hasufell@gentoo.org> multilib-minimal.eclass: + improve handling of DOCS variable wrt #468092