[Bug 211592] bsd.ssl.mk migration to USES exposed conflict between ncurses/ssl rpaths (base vs ports)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 11 12:30:15 UTC 2016


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

--- Comment #7 from Fukang Chen <loader at FreeBSD.org> ---
Created attachment 173545
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=173545&action=edit
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=1 WITHOUT+=GSSAPI_BASE WITH+=GSSAPI_HEIMDAL
DEFAULT_VERSIONS+=ssl=openssl

# ldd work/stage/usr/local/bin/fetchmail | grep ssl.so
   libssl.so.8 => /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=1 WITHOUT+=GSSAPI_BASE WITH+=GSSAPI_HEIMDAL
DEFAULT_VERSIONS+=ssl=openssl -V LDFLAGS
 -L/usr/local/lib -Wl,-rpath,/usr/local/lib/heimdal:/usr/lib
-Wl,-rpath,/usr/local/lib

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list