Summary: | app-arch/lrzip-0.651: "Unable to allocate enough memory for operation" on 32-bit architectures (was: app-arch/libarchive-3.7.2-r2 fails tests) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | matoro <matoro_gentoo> |
Component: | Current packages | Assignee: | Joshua Kinard <kumba> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | arm, kumba, matoro_gentoo, mgorny, x86 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=916317 https://github.com/ckolivas/lrzip/issues/249 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log and emerge --info (x86)
build.log and emerge --info (arm) |
Description
matoro
2024-03-25 05:11:56 UTC
Created attachment 888488 [details]
build.log and emerge --info (x86)
Created attachment 888489 [details]
build.log and emerge --info (arm)
The contents of the detailed files are listed out in their entirety in the first post. It's lrzip being broken: $ touch foo $ lrzip foo Output filename is: foo.lrz Warning, low memory for chosen compression settings Unable to allocate enough memory for operation Failed to open streams in rzip_chunk Fatal error - exiting Ah, I was extremely confused why this didn't show up on ppc or hppa, it's because I have only 8 cores allocated to the VM for the former, and the latter has only 2 physical cores, but my laptop has 32 threads, and my arm board has 16 cores. Tried to find a workaround but lrzip.conf doesn't have an option for threads, they don't have an envvar to pass command-line options, and they don't respect CPU affinity. Ok, I have a good enough workaround. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e114143d342fb2a6fbdce93eac3484af8ad9f1e8 commit e114143d342fb2a6fbdce93eac3484af8ad9f1e8 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2024-03-25 15:21:06 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2024-03-25 15:21:34 +0000 app-arch/libarchive: Workaround lrzip bug on 32-bit arch tests Bug: https://bugs.gentoo.org/927766 Signed-off-by: Michał Górny <mgorny@gentoo.org> app-arch/libarchive/libarchive-3.7.2-r2.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) Can you see if this is also reproducible on app-arch/lrzip-next? It's a fork of the original lrzip that has an active upstream maintainer that I added a few weeks ago. (In reply to Joshua Kinard from comment #9) > Can you see if this is also reproducible on app-arch/lrzip-next? It's a > fork of the original lrzip that has an active upstream maintainer that I > added a few weeks ago. Seems to be explicitly unsupported. checking size of long... 4 configure: error: Size of long type is 4 bytes. 32 bit processors are NO LONGER supported in lrzip-next (In reply to matoro from comment #10) > (In reply to Joshua Kinard from comment #9) > > Can you see if this is also reproducible on app-arch/lrzip-next? It's a > > fork of the original lrzip that has an active upstream maintainer that I > > added a few weeks ago. > > Seems to be explicitly unsupported. > > checking size of long... 4 > configure: error: Size of long type is 4 bytes. 32 bit processors are NO > LONGER supported in lrzip-next Derp, I forgot about that. ago's tinderbox script reported that under Bug #925548, so I removed all 32-bit keywords. |