From owner-freebsd-ports@FreeBSD.ORG Thu Aug 6 15:38:44 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 45ADE1065686 for ; Thu, 6 Aug 2009 15:38:44 +0000 (UTC) (envelope-from kdombrowski@gmail.com) Received: from mail-vw0-f193.google.com (mail-vw0-f193.google.com [209.85.212.193]) by mx1.freebsd.org (Postfix) with ESMTP id DAFEA8FC15 for ; Thu, 6 Aug 2009 15:38:43 +0000 (UTC) Received: by vws31 with SMTP id 31so903667vws.28 for ; Thu, 06 Aug 2009 08:38:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=lHkQiR9gNeiFOBP1n1FrXzajD5ZmReNqGNymAUa0AEA=; b=KrSYfF9/3rQCE9DP0cz7y1u6CiCNFtKLy4MYEa7MB3m29rj37vgYeHf+t6sSGyYzDv nCYkEoKPsS6r3IxLt2nHlR7m+OEt2xxCqfw08ZzX1cHB6fUGTcRxTTUCBd/ZI6nuoY5K smK64TURyy7jQ9V8IbxReSuoCmigzHRzIkzlY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=pWFz0e9IMsRrKgDGL4+B4hkWf3sXDRtT3qiMP94dm5cVrnPgzJ2hhoXOgCp9FhHyvN NPsLUmigkHbboWerlbMIdCLnpR0khPsHPxZb8QdWB9cxnkgdhAejLMwus82A2CI3/TZG dpDSB4p/yRfWDl1igJ5xBW4mHWAc0oNNuuazE= MIME-Version: 1.0 Received: by 10.220.100.5 with SMTP id w5mr10602470vcn.62.1249571562969; Thu, 06 Aug 2009 08:12:42 -0700 (PDT) Date: Thu, 6 Aug 2009 15:12:42 +0000 Message-ID: From: Kenneth Dombrowski To: freebsd-ports Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: 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 15:38:44 -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