Date: Mon, 29 Apr 2013 21:31:42 GMT From: Christopher Dukes <chris.dukes.aix@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/178242: bsd.python.mk injection of @exec easy_install to PLIST creates inappropriate post-install scripts for pkgng Message-ID: <201304292131.r3TLVgRw047625@red.freebsd.org> Resent-Message-ID: <201304292140.r3TLe2EQ048901@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 178242 >Category: ports >Synopsis: bsd.python.mk injection of @exec easy_install to PLIST creates inappropriate post-install scripts for pkgng >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: Mon Apr 29 21:40:02 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Christopher Dukes >Release: 9.1-STABLE >Organization: Squirrely Girl Produce >Environment: FreeBSD bbuild 9.1-STABLE FreeBSD 9.1-STABLE #0 r248533: Tue Mar 19 23:34:24 EDT 2013 root@bbuild:/usr/obj/usr/src/sys/GENERIC amd64 >Description: I found that when installing a pkgng package of net/py-ldap2 was installing an appropriate _ldap.so, but the post-install was then failing as easy_install does with the default setup.cfg for python-ldap. This has further repercussions on any packaged python port that has a USE_PYDISTUTILS=easy_install that even if it's right, the install installs the files, then retrieves them via easy_install and installs them again. >How-To-Repeat: (Assuming pkgng is already installed) echo WITH_PKGNG=yes >> /etc/make.conf mkdir /tmp/foo cd /usr/ports/net/py-ldap2 make install pkg create -o /tmp/foo net/py-ldap2 make deinstall pkg add /tmp/foo/py27-ldap*.txz >Fix: Disable addition of @exec to plist >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304292131.r3TLVgRw047625>