Package Details: guile-zstd 0.1.1-1

Git Clone URL: https://aur.archlinux.org/guile-zstd.git (read-only, click to copy)
Package Base: guile-zstd
Description: GNU Guile bindings to the zstd compression library
Upstream URL: https://notabug.org/guile-zstd/guile-zstd
Licenses: GPL3
Submitter: lantw44
Maintainer: lantw44
Last Packager: lantw44
Votes: 0
Popularity: 0.000000
First Submitted: 2021-03-01 16:52 (UTC)
Last Updated: 2021-03-01 16:52 (UTC)

Dependencies (2)

Required by (2)

Sources (1)

Latest Comments

simsilver commented on 2022-01-26 08:11 (UTC)

got error configure: error: 'guild' binary not found; please check your GNU Guile installation. use ./configure --prefix=/usr GUILD=$(which guild) works, then got mentioned zstd error, remove local in pc file works

ruy16109 commented on 2022-01-19 00:31 (UTC) (edited on 2022-01-19 01:35 (UTC) by ruy16109)

@aramus I got the same error. The file /usr/lib/libzstd.so does exist (without the /local part), which convinces me that some path is incorrect / need patching in either the PKGBUILD or the source.

Edit1: by running ./configure --prefix=/usr manually, I see the following line of interest:

checking zstd library directory... /usr/local/lib

Somehow it believes that zstd is there. Still investigating.

Edit2: Running pkg-config --libs libzstd gives this:

-L/usr/local/lib -lzstd

This doesn't look right.

Edit3: The same content is shown on /usr/lib/pkgconfig/libzstd.pc. This seems to be a zstd packaging or upstream bug.

Edit4: Compiling zstd manually, will report back when done.

Edit final: this bug was already filed here [https://bugs.archlinux.org/task/73333], and according to CSalve, this package is probably waiting for a new release for the fix to take effect.

For now, the work-around solution is probably to rebuild zstd version 1.5.1-*, replacing the plain make as make PREFIX=/usr. This at least ensures that the prefix is correct.

aramus commented on 2022-01-13 14:46 (UTC) (edited on 2022-01-13 17:51 (UTC) by aramus)

I get the following errors when trying to install

make  check-am
make[1]: Entering directory '/home/aramus/.cache/yay/guile-zstd/src/guile-zstd'
make  check-TESTS
make[2]: Entering directory '/home/aramus/.cache/yay/guile-zstd/src/guile-zstd'
make[3]: Entering directory '/home/aramus/.cache/yay/guile-zstd/src/guile-zstd'
make[3]: *** [Makefile:795: tests/zstd.log] Error 1
make[3]: Leaving directory '/home/aramus/.cache/yay/guile-zstd/src/guile-zstd'
make[2]: *** [Makefile:777: check-TESTS] Error 2
make[2]: Leaving directory '/home/aramus/.cache/yay/guile-zstd/src/guile-zstd'
make[1]: *** [Makefile:974: check-am] Error 2
make[1]: Leaving directory '/home/aramus/.cache/yay/guile-zstd/src/guile-zstd'
make: *** [Makefile:976: check] Error 2
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: guile-zstd

in test/zstd.log:

In procedure dynamic-link: file: "/usr/local/lib/libzstd", message: "file not found"

I dont know how to install libzstd