Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 467260 - dev-python/setuptools with <sys-apps/coreutils-7.1 fails on `cp -n'
Summary: dev-python/setuptools with <sys-apps/coreutils-7.1 fails on `cp -n'
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-25 19:29 UTC by Jaroslav Rakhmatoullin
Modified: 2013-04-26 15:46 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Rakhmatoullin 2013-04-25 19:29:12 UTC
At some version between coreutils 6.12 and 8.16, the option -n was introduced to cp. The ebuild uses it and fails because it's not present in the old version. While not strictly an issue since that coreutils version is no longer in the tree, I think one should be able to rely on fully functional binaries that are 4-5 years old when running a system upgrade. At any rate, the ebuild must explicitly require a version of coreutils that is more recent than the last version where -n was not an option. Otherwise, we get annoying hiccups in the emerge process that are fully avoidable.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-04-26 15:46:57 UTC
NEWS:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

* Noteworthy changes in release 7.1 (2009-02-21) [stable]

** New features
[...]
  cp and mv accept a new option, --no-clobber (-n): silently refrain
  from overwriting any existing destination file
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

sys-apps/coreutils-7.1 went stable in April 2009, the previous stable being sys-apps/coreutils-6.12 which indeed went stable in April 2008.

IIRC we have a policy of supporting upgrades from a system state that was current 1 (one) year ago. I am sure you understand setting version dependencies for changes introduced over half a decade ago would explode the portage tree and Gentoo's developers' workload beyond reasonable proportions.