[arch-general] Zstandard for local user build packages - Was: [arch-announce] Now using Zstandard instead of xz for package compression
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@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@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 Regards, Ralf
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@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@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
On Sat, 4 Jan 2020 23:46:26 +0100, Morten Linderud via arch-general wrote:
On Sat, Jan 04, 2020 at 11:43:03PM +0100, Ralf Mardorf wrote:
Do we manually change the "EXTENSION DEFAULTS" and/or something else? ^need to
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.
Thank you and my apologies for missing to read the man page before sending the request to the mailing list. [rocketmouse@archlinux ~]$ man makepkg.conf | grep PKGEXT -A2 PKGEXT=".pkg.tar.gz", SRCEXT=".src.tar.gz" Sets the compression used when making compiled or source packages. Valid suffixes are .tar.gz, .tar.bz2, .tar.xz, .tar.zst, .tar.lzo, .tar.lrz, .tar.lz4, .tar.lz and .tar.Z, or simply .tar to disable compression entirely. Regards, Ralf
---------------------------------------- From: Morten Linderud via arch-general <arch-general@archlinux.org> Sent: Sat Jan 04 23:46:26 CET 2020 To: <arch-general@archlinux.org> Cc: Morten Linderud <foxboron@archlinux.org> Subject: Re: [arch-general] Zstandard for local user build packages - Was: [arch-announce] Now using Zstandard instead of xz for package compression
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.
May I ask why it wasn't changed for makepkg.conf? It seems inconsistent. Yours sincerely G. K.
participants (3)
-
Geo Kozey
-
Morten Linderud
-
Ralf Mardorf