Summary: | Enable FEATURES strict-keepdir by default | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Pacho Ramos <pacho> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mjo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 683434 |
Description
Pacho Ramos
![]() Yeah EAPI 7 sounds good. Maybe it is too late because EAPI7 was already deployed... but maybe we are still in time to switch this instead of needing to wait for EAPI8 :/ This is partially dealt with in recent versions of portage. With USE=gentoo-dev, we set FEATURES=strict-keepdir by default. But, it may be OK to enable it for everyone now. The strict-keepdir doesn't kill the ebuild but instead just deletes the directories, causing runtime failures. Waiting for a new EAPI is only beneficial if you think developers are going to do a thorough runtime test of the package because of a new EAPI. And maybe I'm cynical, but I wouldn't count on that. Worst case, we emergency revbump some old unmaintained packages to change dodir into keepdir. Patch posted for review: https://archives.gentoo.org/gentoo-portage-dev/message/ed1b5895ada156877e3bf9adf36410ae https://github.com/gentoo/portage/pull/420 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=227c1e8bcb5a6fc377be46dbac33ef9a3dcaa27d commit 227c1e8bcb5a6fc377be46dbac33ef9a3dcaa27d Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2019-04-30 02:53:01 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2019-04-30 02:55:00 +0000 sys-apps/portage: version bump to 2.3.66 #175612 download distfiles to temp file and rename atomically #651678 enable FEATURES=strict-keepdir behavior for new EAPIs Bug: https://bugs.gentoo.org/683434 Bug: https://bugs.gentoo.org/175612 Bug: https://bugs.gentoo.org/651678 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Zac Medico <zmedico@gentoo.org> sys-apps/portage/Manifest | 1 + sys-apps/portage/portage-2.3.66.ebuild | 259 +++++++++++++++++++++++++++++++++ 2 files changed, 260 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=bfda0d2bd4ba03a4e77f488ec3fd4f9c6c351662 commit bfda0d2bd4ba03a4e77f488ec3fd4f9c6c351662 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2019-04-27 18:11:11 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2019-04-30 02:40:10 +0000 Enable FEATURES=strict-keepdir behavior for new EAPIs Suggested-by: Pacho Ramos <pacho@gentoo.org> Bug: https://bugs.gentoo.org/651678 Signed-off-by: Zac Medico <zmedico@gentoo.org> bin/eapi.sh | 4 ++++ bin/install-qa-check.d/95empty-dirs | 4 +++- man/make.conf.5 | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) |