Summary: | security/gnutls fails install phase when DANE option is enabled | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Peter Putzer <freebsd> |
Component: | Individual Port(s) | Assignee: | Tijl Coosemans <tijl> |
Status: | Closed FIXED | ||
Severity: | Affects Many People | Flags: | bugzilla:
maintainer-feedback?
(tijl) |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | amd64 | ||
OS: | Any |
Description
Peter Putzer
2017-10-23 16:20:25 UTC
Works fine here. There should be a config.log file in the work/ directory. Can you attach that file to this bug? Is there anything unbound or dane related in there? (In reply to Tijl Coosemans from comment #1) configure:53783: checking for unbound library configure:53799: /usr/local/libexec/ccache/world/cc -o conftest -O3 -pipe -funroll-loops -march=native -DLIBICONV_PLUG -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -DLIBICONV_PLUG -isystem /usr/local/include -I/usr/local/include -fstack-protector conftest.c -lidn2 -L/usr/local/lib -lunbound >&5 /usr/bin/ld: warning: libsodium.so.18, needed by /usr/local/lib/libunbound.so, not found (try using -rpath or -rpath-link) /usr/local/lib/libunbound.so: undefined reference to `crypto_box_beforenm' /usr/local/lib/libunbound.so: undefined reference to `randombytes_random' /usr/local/lib/libunbound.so: undefined reference to `sodium_init' /usr/local/lib/libunbound.so: undefined reference to `crypto_box_curve25519xchacha20poly1305_open_easy_afternm' /usr/local/lib/libunbound.so: undefined reference to `sodium_memcmp' /usr/local/lib/libunbound.so: undefined reference to `crypto_box_curve25519xchacha20poly1305_easy_afternm' /usr/local/lib/libunbound.so: undefined reference to `crypto_stream' /usr/local/lib/libunbound.so: undefined reference to `crypto_scalarmult_base' /usr/local/lib/libunbound.so: undefined reference to `sodium_allocarray' /usr/local/lib/libunbound.so: undefined reference to `crypto_box_curve25519xchacha20poly1305_beforenm' /usr/local/lib/libunbound.so: undefined reference to `crypto_box_open_easy_afternm' /usr/local/lib/libunbound.so: undefined reference to `crypto_box_easy_afternm' /usr/local/lib/libunbound.so: undefined reference to `sodium_free' /usr/local/lib/libunbound.so: undefined reference to `randombytes_buf' cc: error: linker command failed with exit code 1 (use -v to see invocation) configure:53799: $? = 1 configure: failed program was: | /* confdefs.h */ OK, so maybe the real problem is that the libsodium update today was missing an UPDATING entry. I rebuilt unbound and now gnutls can be compiled and installed normally. A commit references this bug: Author: tijl Date: Thu Oct 26 18:42:12 UTC 2017 New revision: 452938 URL: https://svnweb.freebsd.org/changeset/ports/452938 Log: After r452629 also bump ports that optionally depend on libsodium. PR: 223192 Changes: head/dns/powerdns/Makefile head/dns/powerdns-recursor/Makefile head/dns/unbound/Makefile head/net/libzmq4/Makefile |