On Thu, 30 May 2024 17:32:06 -0600, bill-auger wrote: > > i think we should revert the package compression change for ARM - the latest > change made zstd too hungry > > libre/pacman/makepkg.conf.archarm: > -COMPRESSZST=(zstd -c -z -q -) > +COMPRESSZST=(zstd -c -T0 --ultra -20 -)
Reference: abslibre.git c049cb42c (pacman: upgrade to v6.1.0, bill-auger, 2024-03-19) > that got me into trouble with the first package i tried - util-linux > failed with this error: > > > | -> Compressing package... > > | zstd: error 11 : Allocation error : not enough memory > > | bsdtar: Write error > > i consulted the manual: > > > --ultra: ... Note that decompression will also require more memory > > > > --single-thread: this can be slightly slower. Single-thread mode features > > significantly lower memory usage, which can be useful for > > systems with limited amount of memory, such as 32-bit > > systems. > > o/c beefcake has much more memory than the systems that doc is addressing; but > ARM build are more error-prone at the limits; and they have choked beefcake > before - in this case, `--single-thread` allowed util-linux to complete - > probably reverting to the previous parabola would have sufficed; but according > to the manual, --single-thread is appropriate > > ARM builds are about 10 times slower than x86 anyways - "slightly slower" at > that one stage is a fair trade-off to prevent bringing down the system like a > few days ago Fair enough, I'll push out a new pacman that has the armv7h makepkg.conf use the ALARM version (zstd -c -T0 --ultra -20 -) plus --single-thread. -- Happy hacking, ~ Luke T. Shumaker _______________________________________________ Dev mailing list [email protected] https://lists.parabola.nu/mailman/listinfo/dev
