You are not logged in.

#1 2013-04-05 19:51:45

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

[pacman] - Libarchive or bsdtar handle compression/decompress tasks?

Doesn't bsdtar handle compression and decompression for makepkg/pacman?  In other words, there shouldn't be a need to have component compression/decompression utils such as lrzip installed for this to work, no?

In a clean chroot, I set `PKGEXT='.pkg.tar.lrz'` in /etc/makepkg.conf and intentionally did not install lrzip.  I found that makepkg choked when it came time to compress.  Same is true when attempting to install foo.tar.lrz via `pacman -U foo.tar.lrz` ... did I miss something?

Last edited by graysky (2013-04-05 19:59:07)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2013-04-05 22:49:52

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,385
Website

Re: [pacman] - Libarchive or bsdtar handle compression/decompress tasks?

Yes....   the libarchive package in Arch Linux is not built against lrzip.

> readelf -d /usr/lib/libarchive.so.13.1.2 | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libcrypto.so.1.0.0]
 0x00000001 (NEEDED)                     Shared library: [libacl.so.1]
 0x00000001 (NEEDED)                     Shared library: [libattr.so.1]
 0x00000001 (NEEDED)                     Shared library: [libexpat.so.1]
 0x00000001 (NEEDED)                     Shared library: [liblzo2.so.2]
 0x00000001 (NEEDED)                     Shared library: [liblzma.so.5]
 0x00000001 (NEEDED)                     Shared library: [libbz2.so.1.0]
 0x00000001 (NEEDED)                     Shared library: [libz.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]

Offline

#3 2013-04-05 22:55:49

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: [pacman] - Libarchive or bsdtar handle compression/decompress tasks?

@Allan - I inspected the output of `./configure --help` from libarchive and didn't see anything relating to lrzip.  Does that mean that what I'm asking for isn't possible?  I.e. pacman being able to process foo.tar.lrz without the lrzip package?

Last edited by graysky (2013-04-06 15:39:27)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2013-04-07 05:21:38

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,385
Website

Re: [pacman] - Libarchive or bsdtar handle compression/decompress tasks?

That would require libarchive being built against lrzip and lrzip moved to [core].   Open a feature request - whoever maintains that will look into it.

Offline

#5 2013-04-07 11:17:19

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: [pacman] - Libarchive or bsdtar handle compression/decompress tasks?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB