Date: Thu, 6 Aug 2009 19:56:00 +0100 From: David Southwell <david@vizion2000.net> To: freebsd-ports@freebsd.org Cc: Kenneth Dombrowski <kdombrowski@gmail.com> Subject: Re: py25-dbutils will not package Message-ID: <200908061956.00735.david@vizion2000.net> In-Reply-To: <d7ba2730908060812s561bb265s4a50c7f1243b4960@mail.gmail.com> References: <d7ba2730908060812s561bb265s4a50c7f1243b4960@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908061956.00735.david>