Package Details: xz-static-git 5.3.1alpha.r.ga35a69d-1

Git Clone URL: https://aur.archlinux.org/xz-static-git.git (read-only, click to copy)
Package Base: xz-static-git
Description: Statically linked tools for XZ or LZMA compressed files - git checkout
Upstream URL: http://tukaani.org/xz/
Licenses: GPL, custom, LGPL
Conflicts: lzma, lzma-utils, xz, xz-utils
Provides: lzma, lzma-utils, xz=5.3.1alpha, xz-utils
Replaces: lzma, lzma-utils, xz-utils
Submitter: rst0aur
Maintainer: eatmyvenom
Last Packager: eatmyvenom
Votes: 2
Popularity: 0.016710
First Submitted: 2018-10-26 00:48
Last Updated: 2021-01-03 10:55

Required by (508)

Sources (1)

Latest Comments

dreieck commented on 2021-03-18 13:51

WARNING: Installing this package is DANGEROUS!!

  • It says that it provides xz; it also onflicts with xz. So when you install xz-static-git, pacman happily offers to replace xz by xz-static-git.
  • However, xz-static-git does not provide the shared libraries provided by xz, thus essentially breaking any further package install:
    A call to pacman -S <something> just fails with pacman: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory

So, this package must not list xz in the provides-array!

Please fix this as soon as possible.

Thanks for maintaining!


There is also no other liblzma.so* in /usr/lib which could be used for an emergency-symlink to switch back to xz.

To be able to get xz back I also could no just rebuild it as a dynamic library, because already the build process needs some commands which depend on liblzma.so* which is not present. I also could not download and manually exrtat Arch Linux or .deb-pakages, sine all the extraction tools need liblzma.so.5. Thanksfully, I could use OpenSuse RPM, since it is not compressed with xz and the graphial tool xarchiver could still fire up despite the lacking liblzma.so.5 (ark, tar etc. failed).

dreieck commented on 2021-03-18 13:12

pkgver() seems to call git rev-list with unsupported arguments:

==> Starting pkgver()...
usage: git rev-list [OPTION] <commit-id>... [ -- paths... ]
  limiting output:
    --max-count=<n>
    --max-age=<epoch>
    --min-age=<epoch>
    --sparse
    --no-merges
    --min-parents=<n>
    --no-min-parents
    --max-parents=<n>
    --no-max-parents
    --remove-empty
    --all
    --branches
    --tags
    --remotes
    --stdin
    --quiet
  ordering output:
    --topo-order
    --date-order
    --reverse
  formatting output:
    --parents
    --children
    --objects | --objects-edge
    --unpacked
    --header | --pretty
    --[no-]object-names
    --abbrev=<n> | --no-abbrev
    --abbrev-commit
    --left-right
    --count
  special purpose:
    --bisect
    --bisect-vars
    --bisect-all

However, it still provides a result:

==> Updated version: xz-static-git 5.3.1alpha.r.ge7da44d-1

Thanks for maintaining!

dreieck commented on 2021-03-18 13:06

Can you please add "xz-static=${pkgver}" to the provides-array?

There is at least one package in the AUR that explicitly depends on xz-static.

Thanks for maintaining!

metafex commented on 2020-06-02 11:19

it's missing po4a as a build-time dependency