Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2012 17:16:19 GMT
From:      "Richard E. Depew" <red@herring.ald.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/169833: ports/mail/exim /usr/bin/ld: cannot find -lhcrypto
Message-ID:  <201207131716.q6DHGJGN076461@red.freebsd.org>
Resent-Message-ID: <201207131720.q6DHK7Kw025970@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         169833
>Category:       ports
>Synopsis:       ports/mail/exim /usr/bin/ld: cannot find -lhcrypto
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 13 17:20:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Richard E. Depew
>Release:        8.2-RELEASE-p9
>Organization:
ald.net Services, ltd
>Environment:
FreeBSD herring.ald.net 8.2-RELEASE-p9 FreeBSD 8.2-RELEASE-p9 #2: Tue Jun 26 22:02:52 EDT 2012     red@herring.ald.net:/usr/obj/usr/src/sys/GENERIC  sparc64

>Description:
Using portmaster in an attempt to upgrade exim-4.77_1 to exim-4.80 results in these errors at the end of the compilation:
..
cc -o exim
/usr/bin/ld: cannot find -lhcrypto
*** Error code 1

Stop in /usr/ports/mail/exim/work/exim-4.80/build-FreeBSD-sparc64.
*** Error code 1

Stop in /usr/ports/mail/exim/work/exim-4.80.
*** Error code 1

Stop in /usr/ports/mail/exim.

===>>> make failed for mail/exim
===>>> Aborting update

===>>> Update for mail/exim failed

Here is the "options" file from /var/db/ports/exim:
# This file is auto-generated by 'make config'.
# Options for exim-4.80
_OPTIONS_READ=exim-4.80
_FILE_COMPLETE_OPTIONS_LIST=ALT_CONFIG_PREFIX AUTH_CRAM_MD5 AUTH_DOVECOT AUTH_PLAINTEXT AUTH_RADIUS AUTH_SASL AUTH_SPA CDB CONTENT_SCAN DAEMON DCC DEBUG DISABLE_D_OPT DKIM DNSDB DSEARCH EMBEDDED_PERL EXIMON ICONV IPV6 KAS LISTMATCH_RHS LMTP LSEARCH MAILDIR MAILSTORE MBX MYSQL NIS OLD_DEMIME OPENLDAP PAM PASSWD PGSQL READLINE SASLAUTHD SA_EXIM SO_1024 SPF SQLITE SRS SRS_ALT SUID TCP_WRAPPERS TLS GNUTLS WISHLIST XCLIENT
OPTIONS_FILE_SET+=ALT_CONFIG_PREFIX
OPTIONS_FILE_SET+=AUTH_CRAM_MD5
OPTIONS_FILE_SET+=AUTH_DOVECOT
OPTIONS_FILE_SET+=AUTH_PLAINTEXT
OPTIONS_FILE_UNSET+=AUTH_RADIUS
OPTIONS_FILE_SET+=AUTH_SASL
OPTIONS_FILE_SET+=AUTH_SPA
OPTIONS_FILE_SET+=CDB
OPTIONS_FILE_UNSET+=CONTENT_SCAN
OPTIONS_FILE_SET+=DAEMON
OPTIONS_FILE_UNSET+=DCC
OPTIONS_FILE_UNSET+=DEBUG
OPTIONS_FILE_SET+=DISABLE_D_OPT
OPTIONS_FILE_SET+=DKIM
OPTIONS_FILE_SET+=DNSDB
OPTIONS_FILE_SET+=DSEARCH
OPTIONS_FILE_SET+=EMBEDDED_PERL
OPTIONS_FILE_UNSET+=EXIMON
OPTIONS_FILE_SET+=ICONV
OPTIONS_FILE_SET+=IPV6
OPTIONS_FILE_UNSET+=KAS
OPTIONS_FILE_UNSET+=LISTMATCH_RHS
OPTIONS_FILE_SET+=LMTP
OPTIONS_FILE_SET+=LSEARCH
OPTIONS_FILE_SET+=MAILDIR
OPTIONS_FILE_SET+=MAILSTORE
OPTIONS_FILE_SET+=MBX
OPTIONS_FILE_UNSET+=MYSQL
OPTIONS_FILE_UNSET+=NIS
OPTIONS_FILE_SET+=OLD_DEMIME
OPTIONS_FILE_UNSET+=OPENLDAP
OPTIONS_FILE_UNSET+=PAM
OPTIONS_FILE_UNSET+=PASSWD
OPTIONS_FILE_UNSET+=PGSQL
OPTIONS_FILE_UNSET+=READLINE
OPTIONS_FILE_SET+=SASLAUTHD
OPTIONS_FILE_UNSET+=SA_EXIM
OPTIONS_FILE_UNSET+=SO_1024
OPTIONS_FILE_UNSET+=SPF
OPTIONS_FILE_UNSET+=SQLITE
OPTIONS_FILE_UNSET+=SRS
OPTIONS_FILE_UNSET+=SRS_ALT
OPTIONS_FILE_SET+=SUID
OPTIONS_FILE_UNSET+=TCP_WRAPPERS
OPTIONS_FILE_SET+=TLS
OPTIONS_FILE_UNSET+=GNUTLS
OPTIONS_FILE_UNSET+=WISHLIST
OPTIONS_FILE_UNSET+=XCLIENT

In /usr/ports/mail/exim/work/exim-4.80/build-FreeBSD-sparc64/Makefile I see:
AUTH_LIBS=-lsasl2
AUTH_LIBS=-lgsasl
AUTH_LIBS=-lgssapi -lheimntlm -lkrb5 -lhx509 -lcom_err -lhcrypto -lasn1 -lwind -
lroken -lcrypt

That doesn't look right.

We are using sasl2, mainly, and I do not have the libraries called for by -lgsasl, -lheimntlm, -lhcrypto and -lwind.

Either some dependencies are missing or an incorrect AUTH_LIBS is being generated.

All other installed ports are fully up-to-date.
>How-To-Repeat:
portmaster mail/exim
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207131716.q6DHGJGN076461>