[arch-general] Zstandard for local user build packages - Was: [arch-announce] Now using Zstandard instead of xz for package compression

Morten Linderud foxboron at archlinux.org
Sat Jan 4 22:46:26 UTC 2020


On Sat, Jan 04, 2020 at 11:43:03PM +0100, Ralf Mardorf via arch-general wrote:
> On Sat, 04 Jan 2020 20:35:55 -0000, Arch Linux: Recent news updates:
> Robin Broda wrote:
> >our package compression scheme has changed from xz (.pkg.tar.xz) to
> >[zstd(.pkg.tar.zst)]  
> 
> Hi,
> 
> what needs to be done to build local .pkg.tar.zst packages?
> 
> If I build local packages, they are still .pkg.tar.xz.
> Regarding "meld /etc/makepkg.conf{,.pacnew}" the makepkg.conf on my
> machine isn't obsolete.
> 
> Do we manually change the "EXTENSION DEFAULTS" and/or something else?
> 
> Kernels build in December 2019 are .pkg.tar.xz, while pacman >= 5.2 and
> libarchive >= 3.3.3-1 were already installed.
> 
> [rocketmouse at archlinux ~]$ grep -e pacman\ \( -e libarchive /var/log/pacman.log | grep upgrade | tail -5
> [2019-06-18 11:07] [ALPM] upgraded libarchive (3.3.3-1 -> 3.4.0-2)
> [2019-10-26 02:13] [ALPM] upgraded pacman (5.1.3-1 -> 5.2.0-2)
> [2019-11-02T10:48:37+0100] [ALPM] upgraded pacman (5.2.0-2 -> 5.2.1-1)
> [2019-11-19T07:43:09+0100] [ALPM] upgraded libarchive (3.4.0-2 -> 3.4.0-3)
> [2020-01-02T09:56:48+0100] [ALPM] upgraded libarchive (3.4.0-3 -> 3.4.1-1)
> [rocketmouse at archlinux ~]$ ls -l /var/cache/aur/current/linux-rt-* | grep -v -e headers -e docs
> -rw-r--r-- 1 rocketmouse rocketmouse 68555824 Dec 25 22:33 /var/cache/aur/current/linux-rt-5.4.5_rt3-0-x86_64.pkg.tar.xz
> -rw-r--r-- 1 rocketmouse rocketmouse 68753952 Dec  6 10:15 /var/cache/aur/current/linux-rt-cornflower-5.2.21_rt14-0-x86_64.pkg.tar.xz
> -rw-r--r-- 1 rocketmouse rocketmouse 68745364 Dec 25 17:01 /var/cache/aur/current/linux-rt-pussytoes-5.2.21_rt15-0-x86_64.pkg.tar.xz
> -rw-r--r-- 1 rocketmouse rocketmouse 70263924 Dec 25 13:46 /var/cache/aur/current/linux-rt-securityink-4.19.90_rt35-0-x86_64.pkg.tar.xz

This is a devtools change, the `makepkg.conf` supplied with pacman hasn't
changed. If you want zstd on your local builds, change the `PKGEXT` as explained
in the makepkg.conf manpage.

-- 
Morten Linderud
PGP: 9C02FF419FECBE16
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20200104/ea11eff8/attachment.sig>


More information about the arch-general mailing list