Package Details: zlib-ng-git 2.2.4.r50.gg617c852e-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: zlib
Conflicts: zlib-ng
Provides: libz-ng.so, zlib-ng
Submitter: lzlrd
Maintainer: a821
Last Packager: a821
Votes: 2
Popularity: 0.122620
First Submitted: 2020-04-15 00:54 (UTC)
Last Updated: 2025-06-24 19:30 (UTC)

Dependencies (4)

Required by (17)

Sources (1)

Latest Comments

lzlrd commented on 2021-03-18 02:38 (UTC)

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

krevedko commented on 2021-03-17 12:56 (UTC)

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 (UTC) (edited on 2020-09-07 12:52 (UTC) by hadogenes)

Could you add

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