Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484454 - distutils-r1 eclass should depend on >=sys-apps/coreutils-8.5
Summary: distutils-r1 eclass should depend on >=sys-apps/coreutils-8.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-10 08:50 UTC by Johann Schmitz (ercpe) (RETIRED)
Modified: 2013-09-18 08:49 UTC (History)
0 users

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


Attachments
build.log (build.log,49.51 KB, text/plain)
2013-09-10 08:50 UTC, Johann Schmitz (ercpe) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johann Schmitz (ercpe) (RETIRED) gentoo-dev 2013-09-10 08:50:07 UTC
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
Comment 1 Johann Schmitz (ercpe) (RETIRED) gentoo-dev 2013-09-10 08:50:30 UTC
Created attachment 358402 [details]
build.log
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-09-10 09:10:46 UTC
I've added it to multibuild.eclass since that's where the function is declared. It shouldn't really hurt other multibuild users.
Comment 3 Bruno 2013-09-18 06:35:50 UTC
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!
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2013-09-18 08:14:35 UTC
Michał, your opinion?
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-09-18 08:49:59 UTC
Sorry, my bad. I have no idea why I did RDEPEND.