Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885799 - sys-apps/portage: document stickiness for some settings like repo location and BINPKG_COMPRESS
Summary: sys-apps/portage: document stickiness for some settings like repo location an...
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Documentation (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-13 17:56 UTC by CaptainBlood
Modified: 2022-12-14 05:07 UTC (History)
0 users

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 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.)