From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jun 22 21:06:43 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6EF40D6A for ; Sun, 22 Jun 2014 21:06:43 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5022D2601 for ; Sun, 22 Jun 2014 21:06:43 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5ML6h2v054577 for ; Sun, 22 Jun 2014 22:06:43 +0100 (BST) (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 191290] New: mail/sendmail -- link failures when site.config.m4.ssl included Date: Sun, 22 Jun 2014 21:06:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: matthew@FreeBSD.org X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2014 21:06:43 -0000 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@FreeBSD.org Reporter: matthew@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.