Summary: | sys-apps/portage-2.3.89 - can't extract xpaks made with BINPKG_COMPRESS="zstd" : zstd: error 11 : Parameter is out of bound | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Enne Eziarc <gentoo+bugs> |
Component: | Binary packages support | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=754102 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 634980 | ||
Bug Blocks: | 711148 |
Description
Enne Eziarc
2020-02-21 23:56:28 UTC
With dev-python/zstandard-0.13.0 I'm able to execute zstd -d --long=31 commands successfully. Maybe you've found a zstandard bug there. Can you reproduce the error with any other files? Oh, maybe it's because you're on x86. I tested on amd64. The "zstd: error 11 : Parameter is out of bound" error is only triggered after upgrade to app-arch/zstd-1.4.4-r2 from app-arch/zstd-1.3.7-r1. Looks like the change was probably triggered by this commit from https://github.com/facebook/zstd/pull/1417: https://github.com/facebook/zstd/commit/d7da3fc90ae31cd5397002150a44418917179420 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=07da257cfc80509c50104560b1e1508b9e585b98 commit 07da257cfc80509c50104560b1e1508b9e585b98 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2020-03-14 23:18:55 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2020-03-14 23:21:55 +0000 compression_probe: omit zstd --long=31 on 32-bit arch (bug 710444) Omit the zstd --long=31 argument for decompression on 32-bit architectures, since the latest version of zstd will otherwise abort with an error on 32-bit architectures. Bug: https://bugs.gentoo.org/710444 Bug: https://bugs.gentoo.org/634980 Signed-off-by: Zac Medico <zmedico@gentoo.org> lib/portage/util/compression_probe.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=729dc030f6b318f84ca6336c7bd7dddaa7e48040 commit 729dc030f6b318f84ca6336c7bd7dddaa7e48040 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2020-03-15 01:23:23 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2020-03-15 01:29:25 +0000 sys-apps/portage: Bump to version 2.3.94 #692492 secure ebuild ${D} permissions #710444 omit zstd --long=31 for decompress on 32-bit arch #712298 respect emerge --deep=<depth> with --update Bug: https://bugs.gentoo.org/711148 Bug: https://bugs.gentoo.org/692492 Bug: https://bugs.gentoo.org/710444 Bug: https://bugs.gentoo.org/712298 Package-Manager: Portage-2.3.94, Repoman-2.3.20 Signed-off-by: Zac Medico <zmedico@gentoo.org> sys-apps/portage/Manifest | 1 + sys-apps/portage/portage-2.3.94.ebuild | 271 +++++++++++++++++++++++++++++++++ 2 files changed, 272 insertions(+) |