From owner-freebsd-ports@FreeBSD.ORG Thu Aug 6 18:56:06 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0788106564A for ; Thu, 6 Aug 2009 18:56:06 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (77-99-36-42.cable.ubr04.chap.blueyonder.co.uk [77.99.36.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4FC528FC08 for ; Thu, 6 Aug 2009 18:56:05 +0000 (UTC) Received: by dns1.vizion2000.net (Postfix, from userid 1001) id E93B634D420; Thu, 6 Aug 2009 19:56:00 +0100 (BST) From: David Southwell Organization: Voice & Vision To: freebsd-ports@freebsd.org Date: Thu, 6 Aug 2009 19:56:00 +0100 User-Agent: KMail/1.11.4 (FreeBSD/7.2-RELEASE-p2; KDE/4.2.4; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908061956.00735.david@vizion2000.net> Cc: Kenneth Dombrowski Subject: Re: py25-dbutils will not package X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2009 18:56:06 -0000 > Hi all, > > I have a cluster of webservers running apache22 + python25 + webware > for python 0.9.3. I am building a few new servers to add to the > cluster & took the opportunity to update ports-all for the first time > in awhile. I have one package server, where everything is built from > source using `portupgrade -p` & then shared over NFS to the other > machines in the cluster (which install with `portupgrade -PP`). I > have followed the instructions in ports/UPGRADING to hold > PYTHON_DEFAULT_VERSION @ python2.5. Everything seems fine, except a > single port which will not be packaged. > > An attempt to package py-dbutils looks like this: > > root@db2 ports $ portupgrade -pf databases/py-dbutils > # installation looks good ... > ===> Building package for py25-dbutils-1.0 > Creating package /usr/ports/packages/All/py25-dbutils-1.0.tbz > Registering depends: python25-2.5.4_2. > Creating bzip'd tar ball in '/usr/ports/packages/All/py25-dbutils-1.0.tbz' > tar: lib/python2.5/site-packages/DBUtils-1.0-py2.5.egg-info: Cannot > stat: No such file or directory > tar: lib/python2.5/site-packages/DBUtils/Examples/DBUtilsExample.py: > Cannot stat: No such file or directory > # many more lines like this ... > tar: lib/python2.5/site-packages/DBUtils/__init__.py: Cannot stat: No > such file or directory > tar: lib/python2.5/site-packages/DBUtils/__init__.pyc: Cannot stat: No > such file or directory > tar: lib/python2.5/site-packages/DBUtils/__init__.pyo: Cannot stat: No > such file or directory > tar: Error exit delayed from previous errors. > pkg_create: make_dist: tar command failed with code 256 > *** Error code 1 > > However, the DBUtils site-packages directory is actually installed > into an egg dir: > > root@db2 ports $ ls -lh > /usr/local/lib/python2.5/site-packages/DBUtils-1.0-py2.5.egg/ > total 4 > drwxr-xr-x 5 root wheel 1.0K Aug 6 10:44 DBUtils > drwxr-xr-x 2 root wheel 512B Aug 6 10:44 EGG-INFO > > What is the best way to approach this type of problem, please? > > Thanks for any suggestion, > Kenneth When was this run? Is your port tree up to date? Is your ports index up to date? David