From owner-freebsd-ports-bugs@freebsd.org Thu Aug 11 12:30:15 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B76EBB3931 for ; Thu, 11 Aug 2016 12:30:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 19E0D1FDB for ; Thu, 11 Aug 2016 12:30:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7BCUEpV016553 for ; Thu, 11 Aug 2016 12:30:14 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 211592] bsd.ssl.mk migration to USES exposed conflict between ncurses/ssl rpaths (base vs ports) Date: Thu, 11 Aug 2016 12:30:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa, patch, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: loader@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: exp-run? merge-quarterly? X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.22 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2016 12:30:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211592 --- Comment #7 from Fukang Chen --- Created attachment 173545 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D173545&action= =3Dedit gssapi.mk.diff Hi Mathieu, Thanks for the nucrses.mk patch. I think it should fixed all the ports that have ncurses in USES. I just tested it with lang/python27, it worked. :) gssapi.mk has a similar problem. Here are steps to reproduce it. compiling mail/fetchmail with the GSSAPI_HEIMDAL option and it uses the OpenSSL from base. # cd /usr/ports/mail/fetchmail # make BATCH=3D1 WITHOUT+=3DGSSAPI_BASE WITH+=3DGSSAPI_HEIMDAL DEFAULT_VERSIONS+=3Dssl=3Dopenssl # ldd work/stage/usr/local/bin/fetchmail | grep ssl.so libssl.so.8 =3D> /usr/lib/libssl.so.8 (0x20188000) # readelf -d work/stage/usr/local/bin/fetchmail | grep PATH 0x0000000f RPATH Library rpath: [/usr/local/lib/heimdal:/usr/lib:/usr/local/lib] 0x0000001d RUNPATH Library runpath: [/usr/local/lib/heimdal:/usr/lib:/usr/local/lib] # make BATCH=3D1 WITHOUT+=3DGSSAPI_BASE WITH+=3DGSSAPI_HEIMDAL DEFAULT_VERSIONS+=3Dssl=3Dopenssl -V LDFLAGS -L/usr/local/lib -Wl,-rpath,/usr/local/lib/heimdal:/usr/lib -Wl,-rpath,/usr/local/lib --=20 You are receiving this mail because: You are on the CC list for the bug.=