Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Feb 2016 11:18:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 207588] mail/opendkim 2.10.3_3 libcurl not linked
Message-ID:  <bug-207588-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207588

            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@FreeBSD.org
          Reporter: neil@darlow.co.uk
                CC: freebsd-ports@dan.me.uk
                CC: freebsd-ports@dan.me.uk
             Flags: maintainer-feedback?(freebsd-ports@dan.me.uk)

Port options file:

# This file is auto-generated by 'make config'.
# Options for opendkim-2.10.3_3
_OPTIONS_READ=3Dopendkim-2.10.3_3
_FILE_COMPLETE_OPTIONS_LIST=3DFILTER CURL GNUTLS JANSSON LDNS LMDB LUA MEMC=
ACHED=20
BDB_BASE OPENDBX OPENLDAP POPAUTH QUERY_CACHE SASL STOCK_RESOLVER UNBOUND
ALLSYMBOLS CODECOVERAGE DEBUG ADSP_LISTS ATPS DB_HANDLE_POOLS  DEFAULT_SEND=
ER
DIFFHEADERS IDENTITY_HEADER  LDAP_CACHING POSTGRES_RECONNECT_HACK  RATE_LIM=
IT
RBL REPLACE_RULES REPRRD  REPUTATION RESIGN SENDER_MACRO  SOCKETDB STATS
STATSEXT VBR
OPTIONS_FILE_SET+=3DFILTER
OPTIONS_FILE_SET+=3DCURL
OPTIONS_FILE_UNSET+=3DGNUTLS
OPTIONS_FILE_UNSET+=3DJANSSON
OPTIONS_FILE_UNSET+=3DLDNS
OPTIONS_FILE_UNSET+=3DLMDB
OPTIONS_FILE_UNSET+=3DLUA
OPTIONS_FILE_UNSET+=3DMEMCACHED
OPTIONS_FILE_SET+=3DBDB_BASE
OPTIONS_FILE_UNSET+=3DOPENDBX
OPTIONS_FILE_UNSET+=3DOPENLDAP
OPTIONS_FILE_UNSET+=3DPOPAUTH
OPTIONS_FILE_UNSET+=3DQUERY_CACHE
OPTIONS_FILE_UNSET+=3DSASL
OPTIONS_FILE_SET+=3DSTOCK_RESOLVER
OPTIONS_FILE_UNSET+=3DUNBOUND
OPTIONS_FILE_UNSET+=3DALLSYMBOLS
OPTIONS_FILE_UNSET+=3DCODECOVERAGE
OPTIONS_FILE_UNSET+=3DDEBUG
OPTIONS_FILE_UNSET+=3DADSP_LISTS
OPTIONS_FILE_UNSET+=3DATPS
OPTIONS_FILE_UNSET+=3DDB_HANDLE_POOLS
OPTIONS_FILE_UNSET+=3DDEFAULT_SENDER
OPTIONS_FILE_UNSET+=3DDIFFHEADERS
OPTIONS_FILE_UNSET+=3DIDENTITY_HEADER
OPTIONS_FILE_UNSET+=3DLDAP_CACHING
OPTIONS_FILE_UNSET+=3DPOSTGRES_RECONNECT_HACK
OPTIONS_FILE_UNSET+=3DRATE_LIMIT
OPTIONS_FILE_UNSET+=3DRBL
OPTIONS_FILE_UNSET+=3DREPLACE_RULES
OPTIONS_FILE_UNSET+=3DREPRRD
OPTIONS_FILE_UNSET+=3DREPUTATION
OPTIONS_FILE_UNSET+=3DRESIGN
OPTIONS_FILE_UNSET+=3DSENDER_MACRO
OPTIONS_FILE_UNSET+=3DSOCKETDB
OPTIONS_FILE_UNSET+=3DSTATS
OPTIONS_FILE_UNSET+=3DSTATSEXT
OPTIONS_FILE_UNSET+=3DVBR


Port config.log curl relevancies:

$ ./configure --without-tre --with-libcurl --without-gnutls --with-openssl=
=3D/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-res=
ign
--disable-sender_macro --disable-socketdb --disable-stats --disable-statsext
--disable-vbr --with-milter=3D/usr --prefix=3D/usr/local --localstatedir=3D=
/var
--mandir=3D/usr/local/man --infodir=3D/usr/local/info/
--build=3Damd64-portbld-freebsd10.2

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

ac_cv_func_curl_easy_strerror=3Dyes
pkg_cv_CURL_LIBS=3D'-L/usr/local/lib -lcurl  '
CURL_LIBS=3D'-L/usr/local/lib -lcurl  '


port linkage output:
--- opendkim ---
/bin/sh ../libtool  --tag=3DCC    --mode=3Dlink cc -D_THREAD_SAFE -pthread=
=20=20=20=20=20=20
-O2 -march=3Dk8  -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=20
opendkim-opendkim-crypto.o  opendkim-opendkim-db.o  opendkim-opendkim-dns.o=
=20
opendkim-opendkim-lua.o  opendkim-config.o  opendkim-flowrate.o=20
opendkim-reputation.o  opendkim-stats.o  opendkim-test.o  opendkim-util.o
../libopendkim/libopendkim.la  -lmilter -lssl -lcrypto=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
libtool: link: cc -D_THREAD_SAFE -pthread -O2 -march=3Dk8 -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 -l=
ssl
-lcrypto -pthread -Wl,-rpath -Wl,/usr/local/lib


Library dependency output for libopendkim and opendkim:
root@ratchet:/usr/ports/mail/opendkim # ldd /usr/local/lib/libopendkim.so
/usr/local/lib/libopendkim.so:
        libssl.so.7 =3D> /usr/lib/libssl.so.7 (0x80161c000)
        libcrypto.so.7 =3D> /lib/libcrypto.so.7 (0x801888000)
        libc.so.7 =3D> /lib/libc.so.7 (0x800821000)
root@ratchet:/usr/ports/mail/opendkim # ldd /usr/local/sbin/opendkim
/usr/local/sbin/opendkim:
        libopendkim.so.10 =3D> /usr/local/lib/libopendkim.so.10 (0x80084000=
0)
        libmilter.so.5 =3D> /usr/lib/libmilter.so.5 (0x800a5c000)
        libssl.so.7 =3D> /usr/lib/libssl.so.7 (0x800c6b000)
        libcrypto.so.7 =3D> /lib/libcrypto.so.7 (0x800ed7000)
        libthr.so.3 =3D> /lib/libthr.so.3 (0x8012cb000)
        libc.so.7 =3D> /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.

--=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-207588-13>