As discussed in the gentoo-dev mailing list: https://archives.gentoo.org/gentoo-dev/message/d7d732454cdfb8404549ec38c6e53ba8 package.provided is listed in PMS as "strongly deprecated" and "optional" since a long time. We should finally ban it in the next EAPI. (This is _not_ about package.provided in /etc/portage/profile which is Portage only and unspecified by PMS. CCing prefix. Some of the prefix profiles contain a package.provided with entries like sys-darwin/libsystem-71 or sys-linux/glibc-0. However, I don't see the packages listed there in any dependency, neither in the Portage tree nor in the prefix overlay. So, are these package.provided files still needed for anything?
These entries were there to satisfy Portage itself. The glibc one may be necessary to satisfy deps from ebuilds, but they should be mostly conditionalised, for we have musl and more these days. That said, I can image it can go.
(In reply to Fabian Groffen from comment #1) > The glibc one may be necessary to satisfy deps from ebuilds, [...] Notice that it's sys-*linux*/glibc-0. There is no such dependency anywhere. (There are some ebuilds with a USE conditional dependency on sys-libs/glibc which however doesn't occur in any package.provided.)
Coming back to this. AIUI the package.provided files in prefix profiles are not needed any more, therefore I am going to remove them in a week from now.
(In reply to Ulrich Müller from comment #3) > Coming back to this. AIUI the package.provided files in prefix profiles are > not needed any more, therefore I am going to remove them in a week from now. This part is done.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=8621aa9b29e74dabdb426363a96d12ec2e036a15 commit 8621aa9b29e74dabdb426363a96d12ec2e036a15 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2018-03-26 16:28:36 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2018-03-28 05:49:03 +0000 Disallow package.provided in EAPI 7 Bug: https://bugs.gentoo.org/568884 Closes: https://github.com/mgorny/portage/issues/12 pym/portage/eapi.py | 4 ++++ pym/portage/package/ebuild/config.py | 22 ++++++++++++++++------ 2 files changed, 20 insertions(+), 6 deletions(-)}
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/pms.git/commit/?id=9b0e2ab4234179238c6b1bdef3c93e57f5b4f4bd commit 9b0e2ab4234179238c6b1bdef3c93e57f5b4f4bd Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2016-01-30 21:25:26 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2018-03-30 16:35:43 +0000 EAPI 7: package.provided is banned. Bug: https://bugs.gentoo.org/568884 eapi-differences.tex | 4 ++++ profiles.tex | 23 +++++++++++++++++++---- 2 files changed, 23 insertions(+), 4 deletions(-)}