Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#24765 - Adjustable compression level of xz in makepkg

Attached to Project: Pacman
Opened by Kristoffer Tidemann (ktide) - Saturday, 18 June 2011, 08:43 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 13 September 2011, 02:01 GMT
Task Type Feature Request
Category makepkg
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 3.5.3
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

xz has the tendency to murder _low end boxes_ with little RAM with the compression level (-6) it default's to. Make this adjustable in /etc/makepkg.conf for people who do not want to distribute packages and instead want faster compression.
This task depends upon

Closed by  Dan McGee (toofishes)
Tuesday, 13 September 2011, 02:01 GMT
Reason for closing:  Won't implement
Additional comments about closing:  See last comment.
Comment by Karol Błażewicz (karol) - Saturday, 18 June 2011, 08:56 GMT
You don't have to compress at all, pkg.tar is fine. Or use gz.

A similar issue https://bugs.archlinux.org/task/20954 but for mkinitcpio (and it was about lowering it *to* -6) - maybe we can reuse the ${COMPRESSION_OPTIONS} code?
Comment by Dan McGee (toofishes) - Sunday, 26 June 2011, 16:36 GMT
It does seem just as easy to disable compression altogether or switch to the more friendly gzip, not that I see no benefits in allowing the compression options to be tweaked.
Comment by Daniel Micay (thestinger) - Tuesday, 13 September 2011, 01:59 GMT
You can just set the XZ_OPT environment variable to '-1' (see the xz man page).

with export XZ_OPT=-9:
-rw-r--r-- 1 strcat users 22M Sep 12 21:56 android-ndk-r6b-1-x86_64.pkg.tar.xz

and export XZ_OPT=-1:
-rw-r--r-- 1 strcat users 37M Sep 12 21:56 android-ndk-r6b-1-x86_64.pkg.tar.xz

Loading...