From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Apr 29 21:40:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C6769AA7 for ; Mon, 29 Apr 2013 21:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 9319714D6 for ; Mon, 29 Apr 2013 21:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3TLe2Vd048902 for ; Mon, 29 Apr 2013 21:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3TLe2EQ048901; Mon, 29 Apr 2013 21:40:02 GMT (envelope-from gnats) Resent-Date: Mon, 29 Apr 2013 21:40:02 GMT Resent-Message-Id: <201304292140.r3TLe2EQ048901@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Christopher Dukes Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DFCF7716 for ; Mon, 29 Apr 2013 21:31:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [69.147.83.34]) by mx1.freebsd.org (Postfix) with ESMTP id D18F71464 for ; Mon, 29 Apr 2013 21:31:42 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r3TLVgbO047652 for ; Mon, 29 Apr 2013 21:31:42 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r3TLVgRw047625; Mon, 29 Apr 2013 21:31:42 GMT (envelope-from nobody) Message-Id: <201304292131.r3TLVgRw047625@red.freebsd.org> Date: Mon, 29 Apr 2013 21:31:42 GMT From: Christopher Dukes To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/178242: bsd.python.mk injection of @exec easy_install to PLIST creates inappropriate post-install scripts for pkgng X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2013 21:40:02 -0000 >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: