Package Details: zlib-ng-git 4:r1549.b22bc51-1

Git Clone URL: https://aur.archlinux.org/zlib-ng-git.git (read-only, click to copy)
Package Base: zlib-ng-git
Description: Zlib replacement with optimizations for "next generation" systems.
Upstream URL: https://github.com/zlib-ng/zlib-ng
Licenses: custom: Zlib License
Conflicts: zlib
Provides: zlib, zlib-ng
Submitter: lazerl0rd
Maintainer: lazerl0rd
Last Packager: lazerl0rd
Votes: 1
Popularity: 0.005740
First Submitted: 2020-04-15 00:54
Last Updated: 2021-03-18 02:36

Required by (1000)

Sources (1)

Latest Comments

lazerl0rd commented on 2021-03-18 02:38

@krevedko and @hadogenes, your problems should both be fixed.

krevedko commented on 2021-03-17 12:56

Current build procedure produces error:

/usr/bin/ld: inflate.lo: warning: relocation against `functable' in read-only section `.text'
/usr/bin/ld: trees.lo: relocation R_X86_64_PC32 against symbol `zng_length_code' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make: *** [Makefile:268: libz.so.1.2.11.zlib-ng] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

But, replacing ./configure ... with cmake ... (same as in zlib-ng PKGBUILD) fixes all problems.

hadogenes commented on 2020-09-07 12:47

Could you add

pkgver() {
       cd "zlib-ng"
       printf "%s.%s.%s" "${pkgver%%.*}" \
               "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}