Date: Thu, 30 Jan 2014 17:54:14 GMT From: John Marino <dragonflybsd@marino.st> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/186284: lang/python27: [PATCH] Several python ports fail after staging due to library that links itself Message-ID: <201401301754.s0UHsEbc077033@oldred.freebsd.org> Resent-Message-ID: <201401301800.s0UI00JT089445@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 186284 >Category: ports >Synopsis: lang/python27: [PATCH] Several python ports fail after staging due to library that links itself >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 30 18:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: John Marino >Release: >Organization: >Environment: >Description: The following ports starting failing on dragonfly: math/gnumeric deskutils/libopensync-plugin-python databases/postgresql84-plpython security/bro games/py-poker-eval lcms-python The cause was a badly linked library at ${LOCALBASE}/lib/python2.7/ The attached patch fixes it. It's fairly critical. The other pythons need a similar fix, they are broken too. >How-To-Repeat: >Fix: Patch attached with submission follows: --- Makefile.orig 2014-01-30 17:16:09.811908000 +0000 +++ Makefile @@ -262,8 +262,8 @@ post-install: ${STAGEDIR}${PREFIX}/lib (cd ${STAGEDIR}${PREFIX}/lib; ${LN} -sf lib${PYTHON_VERSION}.so.1 \ lib${PYTHON_VERSION}.so) - ${LN} -sf lib${PYTHON_VERSION}.so \ - ${STAGEDIR}${PYTHONPREFIX_LIBDIR}/config + (cd ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION}/config; \ + ${LN} -sf ../../lib${PYTHON_VERSION}.so) ${INSTALL_PROGRAM} \ ${SHARED_WRKSRC}/${PYTHON_VERSION:S/thon/thon-shared/} \ ${STAGEDIR}${PREFIX}/bin >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401301754.s0UHsEbc077033>