Summary: | app-arch/patool-1.12_p20230424: failed (test phase): Unable to allocate enough memory for operation (x86) with processors that have more than 10 threads | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joonas Niilola <juippis> |
Component: | Current packages | Assignee: | Alfred Wingate <parona> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | proxy-maint |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/gentoo/gentoo/pull/33783 https://github.com/ckolivas/lrzip/issues/249 https://bugs.gentoo.org/show_bug.cgi?id=927766 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | patool-1.12_p20230424:20231027-053615.log |
Description
Joonas Niilola
2023-10-27 05:43:30 UTC
Created attachment 873510 [details]
patool-1.12_p20230424:20231027-053615.log
We should be able to skip some tests selectively as it's going to depend on the input. Some output from an x86 chroot. gentoo-x86-test ~ # lrzip --version lrzip version 0.651 gentoo-x86-test ~ # cat t.txt 42gentoo-x86-test ~ # lrzip -o t.txt.lrz t.txt Warning, low memory for chosen compression settings Unable to allocate enough memory for operation Failed to open streams in rzip_chunk Fatal error - exiting This seems to be case where lrzip autodetects max threads and then uses that. This then has issues where using that many threads uses too much memory for x86 environment. gentoo-x86-test ~ # lrzip -p 1 -o t.txt.lrz t.txt Warning, low memory for chosen compression settings t.txt - Compression Ratio: 0.028. Average Compression Speed: 0.000MB/s. Total time: 00:00:00.01 This would be a bug for lrzip as it should limit threads to avoid this. https://github.com/ckolivas/lrzip/commit/cdec0951d7a7a67a331f82d021ea2ae3039f99af The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2c166c7b506ae2bc30a9765b58ef370f7a2151c commit b2c166c7b506ae2bc30a9765b58ef370f7a2151c Author: Alfred Wingate <parona@protonmail.com> AuthorDate: 2023-11-13 07:21:32 +0000 Commit: Yixun Lan <dlan@gentoo.org> CommitDate: 2023-11-13 11:32:29 +0000 app-arch/patool: exclude lrzip tests on x86 Bug: https://bugs.gentoo.org/916317 Signed-off-by: Alfred Wingate <parona@protonmail.com> Signed-off-by: Yixun Lan <dlan@gentoo.org> app-arch/patool/patool-1.12_p20230424.ebuild | 2 ++ app-arch/patool/patool-1.14.1.ebuild | 2 ++ 2 files changed, 4 insertions(+) |