Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 885799

Summary: sys-apps/portage: document stickiness for some settings like repo location and BINPKG_COMPRESS
Product: Portage Development Reporter: CaptainBlood <luc_pierard_de_maujouy>
Component: DocumentationAssignee: Portage team <dev-portage>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=715108
https://bugs.gentoo.org/show_bug.cgi?id=772785
Whiteboard:
Package list:
Runtime testing required: ---

Description CaptainBlood 2022-12-13 17:56:41 UTC
app-arch/zstd is installed.
grep BINPKG_FORMAT /etc/portage/make.conf is empty.

emerge -v --info|grep "BINPKG_COMPRESS" returns:
BINPKG_COMPRESS="bzip2"

zstd doesn't seems defaulted to here.

Reproducible: Always
Comment 1 CaptainBlood 2022-12-13 19:24:05 UTC
Adding a man section about /usr/share/portage/config/make.globals would make things more clear.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-14 05:01:40 UTC
The setting is sticky so it doesn't change for existing installs.
Comment 3 Larry the Git Cow gentoo-dev 2022-12-14 05:03:23 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=e799003581e49a3ba2aac0d49821f52ed6eda931

commit e799003581e49a3ba2aac0d49821f52ed6eda931
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-14 04:57:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-14 05:03:15 +0000

    man/make.conf.5: describe binpkg suffix
    
    - BINPKG_FORMAT="xpak" has suffix .tbz2 for any compression type(!)
    - BINPKG_FORMAT="xpak" and FEATURES="binpkg-multi-instance" (default
      as of bug #715112) has suffix .xpak.
    - BINPKG_FORMAT="gpkg" has suffix .gpkg.
    
    Bug: https://bugs.gentoo.org/696080
    Bug: https://bugs.gentoo.org/715112
    Bug: https://bugs.gentoo.org/721070
    Bug: https://bugs.gentoo.org/885799
    Signed-off-by: Sam James <sam@gentoo.org>

 NEWS            |  3 +++
 man/make.conf.5 | 10 +++++++---
 2 files changed, 10 insertions(+), 3 deletions(-)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-14 05:03:53 UTC
(Tagged the bug because of the discussion at https://forums.gentoo.org/viewtopic-t-1159815.html.)