pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[PATCH] sysutils/py-borgbackup - missing dependency on devel/xxhash


I've just updated to HEAD on macOS 10.15.7 and attempting to build
sysutils/py-borgbackup fails with the following error:

clang -bundle -undefined dynamic_lookup -L. -L/opt/pkg/lib -L/usr/lib -L/usr/X11/lib -L/opt/pkg/lib -L/usr/lib -L/usr/X11/lib -L/opt/pkg/lib -O2 -I/opt/pkg/include -I/opt/pkg/include/python3.8 -I/opt/pkg/include -I/opt/pkg/include/python3.8 build/temp.macosx-10.15-x86_64-3.8/src/borg/crypto/low_level.o -L/opt/pkg/lib -L/opt/pkg/lib -L/opt/pkg/lib -L/opt/pkg/lib -L/opt/pkg/lib -L/opt/pkg/lib -lcrypto -lb2 -lxxhash -o build/lib.macosx-10.15-x86_64-3.8/borg/crypto/
ld: library not found for -lxxhash
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'clang' failed with exit status 1

Adding a buildlink dependency on devel/xxhash resolves the issue for me.
Patch attached.

Cheers, MJ
Michael-John Turner * *
diff --git a/sysutils/py-borgbackup/Makefile b/sysutils/py-borgbackup/Makefile
index 4dfac25f2..d110328c6 100644
--- a/sysutils/py-borgbackup/Makefile
+++ b/sysutils/py-borgbackup/Makefile
@@ -32,5 +32,6 @@ post-install:
 .include "../../security/libb2/"
 .include "../../security/openssl/"
 .include "../../devel/py-cython/"
+.include "../../devel/xxhash/"
 .include "../../lang/python/"
 .include "../../mk/"

Home | Main Index | Thread Index | Old Index