Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Aug 2016 12:30:14 +0000
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)
Message-ID:  <bug-211592-13-zbAu7NQI2v@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-211592-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-211592-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211592

--- Comment #7 from Fukang Chen <loader@FreeBSD.org> ---
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211592-13-zbAu7NQI2v>