[Bug 191290] New: mail/sendmail -- link failures when site.config.m4.ssl included

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jun 22 21:06:43 UTC 2014


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

            Bug ID: 191290
           Summary: mail/sendmail -- link failures when site.config.m4.ssl
                    included
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: matthew at FreeBSD.org

Created attachment 144045
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144045&action=edit
Full build log

I've been getting build failures in my poudriere with the following config
settings:

lucid-nonsense:...ports/mail/sendmail:%    make showconfig
===> The following configuration options are available for
sendmail+tls+sasl2-8.14.9:
     SHMEM=on: System V shared memory support
     SEM=on: POSIX semaphores support
     LA=on: load averages support
     NIS=off: Network Information Services/YP support
     IPV6=on: IPv6 protocol support
     TLS=on: SMTP-TLS and SMTPS support
     SASL=on: SASL authentication support
     SASLAUTHD=off: SASLAUTHD support
     LDAP=off: LDAP protocol support
     BDB=off: Berkeley DB version 4 support
     SOCKETMAP=off: Enable socketmap feature
     CYRUSLOOKUP=off: Enable cyruslookup feature
     PICKY_HELO_CHECK=on: Enable picky HELO check
     MILTER=on: Build libmilter
     MILTER_SHARED=on: Build shared libmilter
     MILTER_POOL=on: Enable milter thread pools
===> Use 'make config' to modify these settings

The error is:

cc -o sendmail  -L/usr/local/lib -L/usr/local/lib -rpath=/usr/local/lib main.o
alias.o arpadate.o bf.o collect.o conf.o control.o convtime.o daemon.o
deliver.o domain.o envelope.o err.o headers.o macro.o map.o mci.o milter.o
mime.o parseaddr.o queue.o ratectrl.o readcf.o recipient.o sasl.o savemail.o
sfsasl.o shmticklib.o sm_resolve.o srvrsmtp.o stab.o stats.o sysexits.o
timers.o tls.o trace.o udb.o usersmtp.o util.o version.o     -lwrap -lsasl2
-lssl -lcrypto
/wrkdirs/usr/ports/mail/sendmail/work/sendmail-8.14.9/obj.FreeBSD.10.0-STABLE.amd64/libsmutil/libsmutil.a
/wrkdirs/usr/ports/mail/sendmail/work/sendmail-8.14.9/obj.FreeBSD.10.0-STABLE.amd64/libsm/libsm.a
 -lutil
cc: error: unknown argument: '-rpath=/usr/local/lib'
*** Error code 1

Full log attached.  Switching that command line to use
-Wl,-rpath=/usr/local/lib
fixes the problem.

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


More information about the freebsd-ports-bugs mailing list