From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 25 05:50:16 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5CA2CF77 for ; Thu, 25 Sep 2014 05:50:16 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3C6FB619 for ; Thu, 25 Sep 2014 05:50:16 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s8P5oGvg083889 for ; Thu, 25 Sep 2014 05:50:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 193915] New: Linking against openssl port fails for mail/spamd, security/stunnel suspect missing -L/usr/local/lib ? Date: Thu, 25 Sep 2014 05:50:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Infrastructure X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dewayne@heuristicsystems.com.au 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 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-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 05:50:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193915 Bug ID: 193915 Summary: Linking against openssl port fails for mail/spamd, security/stunnel suspect missing -L/usr/local/lib ? Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: Needs Triage Severity: Affects Some People Priority: --- Component: Infrastructure Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: dewayne@heuristicsystems.com.au mail/spamd and security/stunnel fail to find libcrypto and libssl respectively using ports tree Last Changed Rev: 369213 Last Changed Date: 2014-09-25 09:02:45 +1000 (Thu, 25 Sep 2014) However all ports are successfully built using the tree Last Changed Rev: 368374 Last Changed Date: 2014-09-17 23:56:16 +1000 (Wed, 17 Sep 2014) Initially mail/spamd was unable to find the include files. So I cheated and created ln -s /usr/local/include/openssl /usr/include/openssl the next attempt resulted in /usr/local/libexec/ccache/cc -O2 -pipe -pipe -O2 -g0 -ggdb0 -march=pentium3 -mtune=pentium3 -fno-strict-aliasing -Wall -Wstrict-prototypes -std=gnu99 -Qunused-arguments -fstack-protector -o spamd spamd.o sdl.o grey.o sync.o -lcrypto -lmd /usr/bin/ld: cannot find -lcrypto cc: error: linker command failed with exit code 1 (use -v to see invocation) security/stunnel similarly fails, libtool: link: /usr/local/libexec/ccache/cc -pthread -fstack-protector -fPIE -O2 -pipe -pipe -O2 -g0 -ggdb0 -march=pentium3 -mtune=pentium3 -fno-strict-aliasing -Wall -Wextra -Wno-long-long -pedantic -pthread -o stunnel stunnel-str.o stunnel-file.o stunnel-client.o stunnel-log.o stunnel-options.o stunnel-protocol.o stunnel-network.o stunnel-resolver.o stunnel-ssl.o stunnel-ctx.o stunnel-verify.o stunnel-sthreads.o stunnel-fd.o stunnel-stunnel.o stunnel-pty.o stunnel-libwrap.o stunnel-ui_unix.o -L/usr/lib64 -L/usr/lib -lssl -lcrypto -lz -lutil -lpthread -lwrap -pthread /usr/bin/ld: cannot find -lssl I suspect that a -L/usr/local/lib has been lost somewhere between the port tree revisions. I did perform a diff on /usr/ports/Mk but the changes were too extensive. FYI: The jailed build environment differs only in the nullfs mount points for /usr/ports (or /usr/ports-200140925) -- You are receiving this mail because: You are the assignee for the bug.