[Bug 207588] mail/opendkim 2.10.3_3 libcurl not linked

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 29 11:18:03 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207588

            Bug ID: 207588
           Summary: mail/opendkim 2.10.3_3 libcurl not linked
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: neil at darlow.co.uk
                CC: freebsd-ports at dan.me.uk
                CC: freebsd-ports at dan.me.uk
             Flags: maintainer-feedback?(freebsd-ports at dan.me.uk)

Port options file:

# This file is auto-generated by 'make config'.
# Options for opendkim-2.10.3_3
_OPTIONS_READ=opendkim-2.10.3_3
_FILE_COMPLETE_OPTIONS_LIST=FILTER CURL GNUTLS JANSSON LDNS LMDB LUA MEMCACHED 
BDB_BASE OPENDBX OPENLDAP POPAUTH QUERY_CACHE SASL STOCK_RESOLVER UNBOUND
ALLSYMBOLS CODECOVERAGE DEBUG ADSP_LISTS ATPS DB_HANDLE_POOLS  DEFAULT_SENDER
DIFFHEADERS IDENTITY_HEADER  LDAP_CACHING POSTGRES_RECONNECT_HACK  RATE_LIMIT
RBL REPLACE_RULES REPRRD  REPUTATION RESIGN SENDER_MACRO  SOCKETDB STATS
STATSEXT VBR
OPTIONS_FILE_SET+=FILTER
OPTIONS_FILE_SET+=CURL
OPTIONS_FILE_UNSET+=GNUTLS
OPTIONS_FILE_UNSET+=JANSSON
OPTIONS_FILE_UNSET+=LDNS
OPTIONS_FILE_UNSET+=LMDB
OPTIONS_FILE_UNSET+=LUA
OPTIONS_FILE_UNSET+=MEMCACHED
OPTIONS_FILE_SET+=BDB_BASE
OPTIONS_FILE_UNSET+=OPENDBX
OPTIONS_FILE_UNSET+=OPENLDAP
OPTIONS_FILE_UNSET+=POPAUTH
OPTIONS_FILE_UNSET+=QUERY_CACHE
OPTIONS_FILE_UNSET+=SASL
OPTIONS_FILE_SET+=STOCK_RESOLVER
OPTIONS_FILE_UNSET+=UNBOUND
OPTIONS_FILE_UNSET+=ALLSYMBOLS
OPTIONS_FILE_UNSET+=CODECOVERAGE
OPTIONS_FILE_UNSET+=DEBUG
OPTIONS_FILE_UNSET+=ADSP_LISTS
OPTIONS_FILE_UNSET+=ATPS
OPTIONS_FILE_UNSET+=DB_HANDLE_POOLS
OPTIONS_FILE_UNSET+=DEFAULT_SENDER
OPTIONS_FILE_UNSET+=DIFFHEADERS
OPTIONS_FILE_UNSET+=IDENTITY_HEADER
OPTIONS_FILE_UNSET+=LDAP_CACHING
OPTIONS_FILE_UNSET+=POSTGRES_RECONNECT_HACK
OPTIONS_FILE_UNSET+=RATE_LIMIT
OPTIONS_FILE_UNSET+=RBL
OPTIONS_FILE_UNSET+=REPLACE_RULES
OPTIONS_FILE_UNSET+=REPRRD
OPTIONS_FILE_UNSET+=REPUTATION
OPTIONS_FILE_UNSET+=RESIGN
OPTIONS_FILE_UNSET+=SENDER_MACRO
OPTIONS_FILE_UNSET+=SOCKETDB
OPTIONS_FILE_UNSET+=STATS
OPTIONS_FILE_UNSET+=STATSEXT
OPTIONS_FILE_UNSET+=VBR


Port config.log curl relevancies:

$ ./configure --without-tre --with-libcurl --without-gnutls --with-openssl=/usr
--without-libjansson --without-ldns --without-lmdb --without-lua
--without-libmemcached --without-odbx --without-openldap --disable-popauth
--disable-query_cache --without-sasl --without-unbound --disable-allsymbols
--disable-codecoverage --disable-debug --disable-adsp_lists --disable-atps
--disable-db_handle_pools --disable-default_sender --disable-diffheaders
--without-tre --without-tre --disable-identity_header --disable-ldap_caching
--disable-postgresql_reconnect_hack --disable-rate_limit --disable-rbl
--disable-replace_rules --disable-reprrd --disable-reputation --disable-resign
--disable-sender_macro --disable-socketdb --disable-stats --disable-statsext
--disable-vbr --with-milter=/usr --prefix=/usr/local --localstatedir=/var
--mandir=/usr/local/man --infodir=/usr/local/info/
--build=amd64-portbld-freebsd10.2

configure:19936: $PKG_CONFIG --exists --print-errors "libcurl >= 7.12.0"
configure:19939: $? = 0
configure:19952: $PKG_CONFIG --exists --print-errors "libcurl >= 7.12.0"
configure:19955: $? = 0
configure:20004: result: yes
configure:20062: checking for curl_easy_strerror
configure:20062: cc -o conftest -O2 -march=k8  -fstack-protector
-fno-strict-aliasing  -I/usr/local/include     -fstack-protector  conftest.c 
-L/usr/local/lib -lcurl   >&5
configure:20062: $? = 0
configure:20062: result: yes

ac_cv_func_curl_easy_strerror=yes
pkg_cv_CURL_LIBS='-L/usr/local/lib -lcurl  '
CURL_LIBS='-L/usr/local/lib -lcurl  '


port linkage output:
--- opendkim ---
/bin/sh ../libtool  --tag=CC    --mode=link cc -D_THREAD_SAFE -pthread      
-O2 -march=k8  -fstack-protector -fno-strict-aliasing -L/usr/lib  -L/usr/lib
-D_THREAD_SAFE -pthread            -fstack-protector -o opendkim
opendkim-opendkim.o  opendkim-opendkim-ar.o  opendkim-opendkim-arf.o 
opendkim-opendkim-crypto.o  opendkim-opendkim-db.o  opendkim-opendkim-dns.o 
opendkim-opendkim-lua.o  opendkim-config.o  opendkim-flowrate.o 
opendkim-reputation.o  opendkim-stats.o  opendkim-test.o  opendkim-util.o
../libopendkim/libopendkim.la  -lmilter -lssl -lcrypto                       
libtool: link: cc -D_THREAD_SAFE -pthread -O2 -march=k8 -fstack-protector
-fno-strict-aliasing -D_THREAD_SAFE -pthread -fstack-protector -o
.libs/opendkim opendkim-opendkim.o opendkim-opendkim-ar.o
opendkim-opendkim-arf.o opendkim-opendkim-crypto.o opendkim-opendkim-db.o
opendkim-opendkim-dns.o opendkim-opendkim-lua.o opendkim-config.o
opendkim-flowrate.o opendkim-reputation.o opendkim-stats.o opendkim-test.o
opendkim-util.o  -L/usr/lib ../libopendkim/.libs/libopendkim.so -lmilter -lssl
-lcrypto -pthread -Wl,-rpath -Wl,/usr/local/lib


Library dependency output for libopendkim and opendkim:
root at ratchet:/usr/ports/mail/opendkim # ldd /usr/local/lib/libopendkim.so
/usr/local/lib/libopendkim.so:
        libssl.so.7 => /usr/lib/libssl.so.7 (0x80161c000)
        libcrypto.so.7 => /lib/libcrypto.so.7 (0x801888000)
        libc.so.7 => /lib/libc.so.7 (0x800821000)
root at ratchet:/usr/ports/mail/opendkim # ldd /usr/local/sbin/opendkim
/usr/local/sbin/opendkim:
        libopendkim.so.10 => /usr/local/lib/libopendkim.so.10 (0x800840000)
        libmilter.so.5 => /usr/lib/libmilter.so.5 (0x800a5c000)
        libssl.so.7 => /usr/lib/libssl.so.7 (0x800c6b000)
        libcrypto.so.7 => /lib/libcrypto.so.7 (0x800ed7000)
        libthr.so.3 => /lib/libthr.so.3 (0x8012cb000)
        libc.so.7 => /lib/libc.so.7 (0x8014ef000)


So, it looks like all the options related to libcurl are passed to, and
actioned by, configure but the linkage stage omits to add -lcurl.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list