Emerging distutils-r1 based ebuilds on systems with old coreutils installed (6.10-r2 in this case) failes to install the package in multibuild_merge_root due to an use of cp which isn't correct (see build.log). Updating coreutils solves the problem. I think the eclass should introduce a dependency to sys-apps/coreutils >= 8.5 (which is the smallest, stable version atm), to enforce the update an reduce the build failures on old system. Reproducible: Always
Created attachment 358402 [details] build.log
I've added it to multibuild.eclass since that's where the function is declared. It shouldn't really hurt other multibuild users.
This adds an annoying runtime dependency on coreutils for lots of packages. According to this bug report the issue is build-time, thus dependency should only be build-time as well. Please adjust eclass to DEPEND on coreutils instead of RDEPEND!
Michał, your opinion?
Sorry, my bad. I have no idea why I did RDEPEND.