From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 7 14:00:09 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90E4A106566B for ; Tue, 7 Aug 2012 14:00:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5CA2A8FC15 for ; Tue, 7 Aug 2012 14:00:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q77E09Ok067112 for ; Tue, 7 Aug 2012 14:00:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q77E09bb067111; Tue, 7 Aug 2012 14:00:09 GMT (envelope-from gnats) Resent-Date: Tue, 7 Aug 2012 14:00:09 GMT Resent-Message-Id: <201208071400.q77E09bb067111@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, Ryder Dain Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 22CEC1065670 for ; Tue, 7 Aug 2012 13:50:55 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 038578FC15 for ; Tue, 7 Aug 2012 13:50:55 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q77DosfS082956 for ; Tue, 7 Aug 2012 13:50:54 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q77DosEU082955; Tue, 7 Aug 2012 13:50:54 GMT (envelope-from nobody) Message-Id: <201208071350.q77DosEU082955@red.freebsd.org> Date: Tue, 7 Aug 2012 13:50:54 GMT From: Ryder Dain To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/170450: [patch] init files missing from pkg-plist for devel/py-ice X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2012 14:00:09 -0000 >Number: 170450 >Category: ports >Synopsis: [patch] init files missing from pkg-plist for devel/py-ice >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Aug 07 14:00:08 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Ryder Dain >Release: FreeBSD 8.2-RELEASE-p1 amd64 >Organization: >Environment: FreeBSD (hostname) 8.2-RELEASE-p1 FreeBSD 8.2-RELEASE-p1 #0 r221593: Sat May 7 15:12:25 CEST 2011 root@bsdsource.grem.de:/usr/obj/usr/src/sys/GENERIC amd64 >Description: There's a discrepancy in the packing list for devel/py-ice which causes backup packages made with pkg_create -b to generate .tbz packages that are missing key __init__.py files. tail /var/db/pkg/py27-Ice-3.4.2/+CONTENTS contains the lines: @unexec rm -f %D/lib/python2.7/site-packages/Ice/IceBox/__init__.py 2>/dev/null || true @unexec rmdir "%D/lib/python2.7/site-packages/Ice/IceBox" 2>/dev/null || true @unexec rm -f %D/lib/python2.7/site-packages/Ice/IceGrid/__init__.py 2>/dev/null || true @unexec rmdir "%D/lib/python2.7/site-packages/Ice/IceGrid" 2>/dev/null || true @unexec rm -f %D/lib/python2.7/site-packages/Ice/IcePatch2/__init__.py 2>/dev/null || true @unexec rmdir "%D/lib/python2.7/site-packages/Ice/IcePatch2" 2>/dev/null || true @unexec rm -f %D/lib/python2.7/site-packages/Ice/IceStorm/__init__.py 2>/dev/null || true @unexec rmdir "%D/lib/python2.7/site-packages/Ice/IceStorm" 2>/dev/null || true But /usr/ports/devel/py-ice/pkg-plist doesn't include these files, so when generating a package they're left out. Consequently, the port must be built locally, which is a problem for setups where the compilation host is segregated from the production servers. Alternatively, the files must be manually copied to the appropriate host. >How-To-Repeat: pkg_create -b py27-Ice-3.4.2 ..scp the package tarball py27-Ice-3.4.2.tbz to another host, then: pkg_add py27-Ice-3.4.2.tbz Note that the /usr/local/lib/python2.7/site-packages/Ice/[IceBox|IceGrid|IcePatch2||IceStorm]/__init__.py files are missing. >Fix: I assume adding the correct paths and filenames to /usr/ports/devel/py-ice/pkg-plist will correct the problem. I've included a simple patch, but been unable to test it (I'm working from a jailed environment). Apologies if there's some error in the attachment; this is my first PR. Patch attached with submission follows: --- devel/py-ice/pkg-plist 2012-08-07 13:06:53.108783536 +0000 +++ devel/py-ice/pkg-plist 2012-08-07 13:09:22.628063698 +0000 @@ -6,7 +6,9 @@ %%PYTHON_SITELIBDIR%%/Ice/Glacier2_Session_ice.py %%PYTHON_SITELIBDIR%%/Ice/Glacier2.py %%PYTHON_SITELIBDIR%%/Ice/Ice.py +%%PYTHON_SITELIBDIR%%/Ice/IceBox/__init__.py %%PYTHON_SITELIBDIR%%/Ice/IceBox_IceBox_ice.py +%%PYTHON_SITELIBDIR%%/Ice/IceGrid/__init__.py %%PYTHON_SITELIBDIR%%/Ice/IceGrid_Admin_ice.py %%PYTHON_SITELIBDIR%%/Ice/IceGrid_Descriptor_ice.py %%PYTHON_SITELIBDIR%%/Ice/IceGrid_Exception_ice.py @@ -17,8 +19,10 @@ %%PYTHON_SITELIBDIR%%/Ice/IceGrid_Registry_ice.py %%PYTHON_SITELIBDIR%%/Ice/IceGrid_Session_ice.py %%PYTHON_SITELIBDIR%%/Ice/IceGrid_UserAccountMapper_ice.py +%%PYTHON_SITELIBDIR%%/Ice/IcePatch2/__init__.py %%PYTHON_SITELIBDIR%%/Ice/IcePatch2_FileInfo_ice.py %%PYTHON_SITELIBDIR%%/Ice/IcePatch2_FileServer_ice.py +%%PYTHON_SITELIBDIR%%/Ice/IceStorm/__init__.py %%PYTHON_SITELIBDIR%%/Ice/IceStorm_IceStorm_ice.py %%PYTHON_SITELIBDIR%%/Ice/Ice_BuiltinSequences_ice.py %%PYTHON_SITELIBDIR%%/Ice/Ice_CommunicatorF_ice.py >Release-Note: >Audit-Trail: >Unformatted: