In cases when binary packages are stored within a compressed medium, such as btrfs filesystem or a docker volume, it might make sense to use BINPKG_COMPRESS to disable compression.
Maybe call it BINPKG_COMPRESS="cat".
We could use and empty BINPKG_COMPRESS setting to indicate absence of compression, for consistency with PORTAGE_COMPRESS behavior.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=2b40f119d4334bd3d4bcd2824f575700963b40ef commit 2b40f119d4334bd3d4bcd2824f575700963b40ef Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2018-05-02 01:27:30 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2018-05-02 01:49:03 +0000 BINPKG_COMPRESS: allow empty setting to disable compression (bug 654456) In some cases it might make sense to disable compression, so allow an empty setting to disable compression (consistent with PORTAGE_COMPRESS). Bug: https://bugs.gentoo.org/654456 bin/misc-functions.sh | 2 +- bin/quickpkg | 11 +++++++++-- pym/_emerge/BinpkgExtractorAsync.py | 16 ++++++++++++---- pym/portage/package/ebuild/doebuild.py | 6 +++++- 4 files changed, 27 insertions(+), 8 deletions(-)
Fixed in portage-2.3.40-r1.