libassuan build failure on macOS 15.1.1
Robert J. Hansen
rjh at sixdemonbag.org
Tue Jan 7 10:49:33 CET 2025
The latest libassuan is failing to build on macOS 15.1.1. I already have
a recent GnuPG installed from Homebrew, but wanted to look at 2.5.2.
Configuration flags used: --enable-static
Compiler info:
Apple clang version 16.0.0 (clang-1600.0.26.4)
Target: arm64-apple-darwin24.1.0
Thread model: posix
Output:
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall
-Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith
-version-info 9:1:0 -o libassuan.la -rpath /usr/local/lib
libassuan_la-assuan.lo libassuan_la-context.lo libassuan_la-system.lo
libassuan_la-debug.lo libassuan_la-conversion.lo
libassuan_la-sysutils.lo libassuan_la-client.lo libassuan_la-server.lo
libassuan_la-assuan-error.lo libassuan_la-assuan-buffer.lo
libassuan_la-assuan-handler.lo libassuan_la-assuan-inquire.lo
libassuan_la-assuan-listen.lo libassuan_la-assuan-pipe-server.lo
libassuan_la-assuan-socket-server.lo libassuan_la-assuan-pipe-connect.lo
libassuan_la-assuan-socket-connect.lo libassuan_la-assuan-uds.lo
libassuan_la-assuan-logging.lo libassuan_la-assuan-socket.lo
libassuan_la-system-posix.lo libassuan_la-assuan-io.lo memrchr.lo
-L/opt/homebrew/opt/libgpg-error/lib -lgpg-error
libtool: link: gcc -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o
.libs/libassuan.9.dylib .libs/libassuan_la-assuan.o
.libs/libassuan_la-context.o .libs/libassuan_la-system.o
.libs/libassuan_la-debug.o .libs/libassuan_la-conversion.o
.libs/libassuan_la-sysutils.o .libs/libassuan_la-client.o
.libs/libassuan_la-server.o .libs/libassuan_la-assuan-error.o
.libs/libassuan_la-assuan-buffer.o .libs/libassuan_la-assuan-handler.o
.libs/libassuan_la-assuan-inquire.o .libs/libassuan_la-assuan-listen.o
.libs/libassuan_la-assuan-pipe-server.o
.libs/libassuan_la-assuan-socket-server.o
.libs/libassuan_la-assuan-pipe-connect.o
.libs/libassuan_la-assuan-socket-connect.o
.libs/libassuan_la-assuan-uds.o .libs/libassuan_la-assuan-logging.o
.libs/libassuan_la-assuan-socket.o .libs/libassuan_la-system-posix.o
.libs/libassuan_la-assuan-io.o .libs/memrchr.o
-L/opt/homebrew/opt/libgpg-error/lib -lgpg-error -O2 -install_name
/usr/local/lib/libassuan.9.dylib -compatibility_version 10
-current_version 10.1
duplicate symbol '___sputc' in:
/Users/rjh/Downloads/libassuan-3.0.1/src/.libs/libassuan_la-server.o
/Users/rjh/Downloads/libassuan-3.0.1/src/.libs/libassuan_la-conversion.o
/Users/rjh/Downloads/libassuan-3.0.1/src/.libs/libassuan_la-sysutils.o
/Users/rjh/Downloads/libassuan-3.0.1/src/.libs/libassuan_la-assuan-error.o
/Users/rjh/Downloads/libassuan-3.0.1/src/.libs/libassuan_la-context.o
/Users/rjh/Downloads/libassuan-3.0.1/src/.libs/libassuan_la-debug.o
/Users/rjh/Downloads/libassuan-3.0.1/src/.libs/libassuan_la-assuan-handler.o
/Users/rjh/Downloads/libassuan-3.0.1/src/.libs/libassuan_la-assuan-socket-server.o
/Users/rjh/Downloads/libassuan-3.0.1/src/.libs/libassuan_la-assuan-logging.o
/Users/rjh/Downloads/libassuan-3.0.1/src/.libs/libassuan_la-assuan-socket-connect.o
/Users/rjh/Downloads/libassuan-3.0.1/src/.libs/libassuan_la-system.o
/Users/rjh/Downloads/libassuan-3.0.1/src/.libs/libassuan_la-assuan-io.o
/Users/rjh/Downloads/libassuan-3.0.1/src/.libs/libassuan_la-assuan.o
/Users/rjh/Downloads/libassuan-3.0.1/src/.libs/libassuan_la-system-posix.o
/Users/rjh/Downloads/libassuan-3.0.1/src/.libs/libassuan_la-assuan-inquire.o
/Users/rjh/Downloads/libassuan-3.0.1/src/.libs/libassuan_la-assuan-buffer.o
/Users/rjh/Downloads/libassuan-3.0.1/src/.libs/libassuan_la-assuan-pipe-server.o
/Users/rjh/Downloads/libassuan-3.0.1/src/.libs/libassuan_la-assuan-uds.o
/Users/rjh/Downloads/libassuan-3.0.1/src/.libs/libassuan_la-client.o
/Users/rjh/Downloads/libassuan-3.0.1/src/.libs/libassuan_la-assuan-listen.o
/Users/rjh/Downloads/libassuan-3.0.1/src/.libs/libassuan_la-assuan-pipe-connect.o
/Users/rjh/Downloads/libassuan-3.0.1/src/.libs/libassuan_la-assuan-socket.o
ld: 1 duplicate symbols
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20250107/a6795fca/attachment.sig>
More information about the Gnupg-devel
mailing list