Date: Mon, 24 Oct 2022 18:57:18 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 267312] sysutils/dar: Fix failure to detect libgcrypt Message-ID: <bug-267312-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267312 Bug ID: 267312 Summary: sysutils/dar: Fix failure to detect libgcrypt Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: bofh@freebsd.org Reporter: yasu@freebsd.org CC: graham@menhennitt.com.au Assignee: bofh@freebsd.org Flags: maintainer-feedback?(bofh@freebsd.org) Flags: merge-quarterly? Created attachment 237584 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D237584&action= =3Dedit Patch file Currently configure script fails to detect libgcrypt as following. configure:24491: checking for libgcrypt usability configure:24561: c++ -o conftest -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -fstack-protector-strong=20 conftest.cpp -llzma -lbz2 -lz -ldl >&5 ld: error: undefined symbol: gcry_check_version >>> referenced by conftest.cpp >>> /tmp/conftest-5a5403.o:(main) c++: error: linker command failed with exit code 1 (use -v to see invocatio= n) It happens because '-L/usr/local/lib' is lacked from options to compile conftest. So fix it by adding 'localbase' to USES. Bump PORTREVISION as GCRYPT option is ON by default. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267312-7788>