Summary: | >=sys-apps/portage-3.0.15: FEATURES=binpkg-multi-instance PKGDIR layout change is disruptive, so FEATURES=-binpkg-multi-instance should be sticky for existing installs | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Francois Chenier <belgix_oz> |
Component: | Binary packages support | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam |
Priority: | Normal | Keywords: | InVCS, REGRESSION |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=885799 https://bugs.gentoo.org/show_bug.cgi?id=912672 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 715112, 766117 |
Description
Francois Chenier
2021-02-24 23:04:50 UTC
I suspect this is related to https://github.com/gentoo/portage/commit/bba152098af82e5bc2686d9facb3c0a88bcbdba0. Yeah, it's the intentional result of bug 715112. Have you found any tools that don't work with the new layout? (In reply to Sam James from comment #1) > I suspect this is related to > https://github.com/gentoo/portage/commit/ > bba152098af82e5bc2686d9facb3c0a88bcbdba0. You are right. Adding "-binpkg-multi-instance" to FEATURES in /etc/portage/make.conf revert back to packages directory layout version 2. It would be nice to notify gentoo users of this change of behavior when building >=portage-3.0.15 or better, thru eselect news system. Thanks. Problem solved for me. (In reply to Zac Medico from comment #2) > Yeah, it's the intentional result of bug 715112. > > Have you found any tools that don't work with the new layout? Nope. It's problem solved for me but read my note above. I think I should make the old layout sticky for existing installs. That's what we did for BINPKG_COMPRESSION and DISTDIR/PKGDIR/PORTDIR: https://gitweb.gentoo.org/proj/portage.git/commit/?id=230595cf600cae6beb6ebf6f817d08ace433c3ea https://gitweb.gentoo.org/proj/portage.git/commit/?id=ef8469befbd7b61f1bae8f21ffd95e0c0306a4f8 (In reply to Zac Medico from comment #5) > I think I should make the old layout sticky for existing installs. > I agree. Patch posted for review: https://archives.gentoo.org/gentoo-portage-dev/message/c11b7f22c4f334f1eee1d11652d01dd7 https://github.com/gentoo/portage/pull/677 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=cb354edf61a133798e81e7059bdfcaeb25c13982 commit cb354edf61a133798e81e7059bdfcaeb25c13982 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2021-02-26 23:15:09 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2021-02-27 01:16:11 +0000 make.globals: make FEATURES=-binpkg-multi-instance sticky for existing installs Add a _compat_upgrade.binpkg_multi_instance script that the ebuild can call in pkg_preinst in order to maintain a backward-compatible FEATURES=-binpkg-multi-instance default on existing installs where enabling binpkg-multi-instance could cause disruption. Bug: https://bugs.gentoo.org/772785 Signed-off-by: Zac Medico <zmedico@gentoo.org> .../_compat_upgrade/binpkg_multi_instance.py | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb12ab9a3e772907bea5f5827936b5f03aec57a6 commit fb12ab9a3e772907bea5f5827936b5f03aec57a6 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2021-02-27 01:31:17 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2021-02-27 01:31:34 +0000 sys-apps/portage: make FEATURES=-binpkg-multi-instance sticky Bug: https://bugs.gentoo.org/772785 Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Zac Medico <zmedico@gentoo.org> sys-apps/portage/portage-9999.ebuild | 4 ++++ 1 file changed, 4 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=489d9587cb80e56ef7f0a0d49bfaa62db588e873 commit 489d9587cb80e56ef7f0a0d49bfaa62db588e873 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2021-02-27 00:11:57 -0800 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2021-02-27 00:17:57 -0800 sys-apps/portage: Bump to version 3.0.16 #721680 Add emirrordist shelve dump/restore #749333 PORTAGE_REPOSITORIES: don't override repos with aliases #756778 emirrordist --content-db for content-hash layout support #772785 don't enable binpkg-multi-instance for existing installs #772806 prevent infinite loop after empty os.path.dirname result https://bugs.gentoo.org/766117 https://bugs.gentoo.org/721680 https://bugs.gentoo.org/749333 https://bugs.gentoo.org/756778 https://bugs.gentoo.org/772785 https://bugs.gentoo.org/772806 Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Zac Medico <zmedico@gentoo.org> sys-apps/portage/Manifest | 1 + sys-apps/portage/portage-3.0.16.ebuild | 272 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 273 insertions(+) |