git: 4e8ef08bd32f - main - net/libproxy: temporarily mark LLD_UNSAFE for symbol versioning
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Jan 2025 18:05:50 UTC
The branch main has been updated by vishwin: URL: https://cgit.FreeBSD.org/ports/commit/?id=4e8ef08bd32f826a277c415a89079ed9ef61908f commit 4e8ef08bd32f826a277c415a89079ed9ef61908f Author: Charlie Li <vishwin@FreeBSD.org> AuthorDate: 2025-01-22 18:02:21 +0000 Commit: Charlie Li <vishwin@FreeBSD.org> CommitDate: 2025-01-22 18:02:21 +0000 net/libproxy: temporarily mark LLD_UNSAFE for symbol versioning LLD being stricter than BFD results in a failed configure check for version script support, which means no symbol versions linked into the shared library: Command line: `cc /wrkdirs/usr/ports/net/libproxy/work/libproxy-0.5.9/_build/meson-private/tmps6kwi6ne/testfile.c -o /wrkdirs/usr/ports/net/libproxy/work/libproxy-0 .5.9/_build/meson-private/tmps6kwi6ne/output.exe -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -O0 -Werror=implicit-function-declar ation -Wl,--fatal-warnings -Wl,--version-script,/wrkdirs/usr/ports/net/libproxy/work/libproxy-0.5.9/src/libproxy/libproxy.map` -> 1 stderr: ld: error: version script assignment of 'LIBPROXY_0.4.16' to symbol 'px_proxy_factory_new' failed: symbol not defined ld: error: version script assignment of 'LIBPROXY_0.4.16' to symbol 'px_proxy_factory_get_proxies' failed: symbol not defined ld: error: version script assignment of 'LIBPROXY_0.4.16' to symbol 'px_proxy_factory_free_proxies' failed: symbol not defined ld: error: version script assignment of 'LIBPROXY_0.4.16' to symbol 'px_proxy_factory_free' failed: symbol not defined ld: error: version script assignment of 'LIBPROXY_0.5.5' to symbol 'px_proxy_factory_get_type' failed: symbol not defined ld: error: version script assignment of 'LIBPROXY_0.5.5' to symbol 'px_proxy_factory_copy' failed: symbol not defined cc: error: linker command failed with exit code 1 (use -v to see invocation) ----------- Compiler for C supports link arguments -Wl,--version-script,/wrkdirs/usr/ports/net/libproxy/work/libproxy-0.5.9/src/libproxy/libproxy.map: NO Upstream issue opened: https://github.com/libproxy/libproxy/issues/320 Reported by: tijl --- net/libproxy/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/libproxy/Makefile b/net/libproxy/Makefile index 4a7b619fa3d2..a20f7aba8a78 100644 --- a/net/libproxy/Makefile +++ b/net/libproxy/Makefile @@ -1,5 +1,6 @@ PORTNAME= libproxy DISTVERSION= 0.5.9 +PORTREVISION= 1 CATEGORIES= net devel MAINTAINER= desktop@FreeBSD.org @@ -22,6 +23,8 @@ MESON_ARGS= -Dtests=true \ -Dintrospection=true \ -Drelease=true USE_LDCONFIG= yes +# https://github.com/libproxy/libproxy/issues/320 +LLD_UNSAFE= yes OPTIONS_DEFINE= CURL DOCS VAPI OPTIONS_GROUP= CONFIG PACRUNNER