From owner-freebsd-python@FreeBSD.ORG Mon Nov 11 15:17:28 2013 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 12ED57EE; Mon, 11 Nov 2013 15:17:28 +0000 (UTC) (envelope-from freebsd.contact@marino.st) Received: from shepard.synsport.net (mail.synsport.com [208.69.230.148]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 26BCE2E97; Mon, 11 Nov 2013 15:17:27 +0000 (UTC) Received: from [192.168.0.22] (unknown [130.255.26.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by shepard.synsport.net (Postfix) with ESMTP id 7378B435C7; Mon, 11 Nov 2013 09:07:26 -0600 (CST) Message-ID: <5280F298.2020604@marino.st> Date: Mon, 11 Nov 2013 16:07:04 +0100 From: John Marino User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: python@freebsd.org Subject: systematic issue with PYDISTUTILS_AUTOPLIST X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Vladimir.Chukharev@gmail.com, Baptiste Daroussin , xmj@chaot.net, William Grzybowski X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: marino@freebsd.org List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Nov 2013 15:17:28 -0000 I have discovered at least 3 python ports that use PYDISTUTILS_AUTOPLIST, and fail to package due to faulty generated plists. The ports are: www/py-flexget devel/py-robotframework-ride science/py-pydap/ errors seen during repo creation: > pkg-static: /packages/All/py27-robotframework-ride-1.2.2.txz is not a valid package: no manifest found > pkg-static: /packages/All/py27-flexget-1.1.148,1.txz is not a valid package: no manifest found > pkg-static: /packages/All/py27-pydap-3.1.txz is not a valid package: no manifest found example of errors seen in the log itself: > ===> Building package for py27-flexget-1.1.148,1 > pkg-static: fread(): Invalid argument > pkg-static: fread(): Invalid argument > [1/1] Deleting py27-flexget-1.1.148,1...pkg-static: unlink(/usr/local/lib/python2.7/site-packages/FlexGet-1.1-py2.7.egg-info): Is a directory cause: These are well-known symptoms of having a directory listed in the pkg-plist as a file. I checked .PLIST.flattened and .PLIST.pymodtmp after the build: flexget: /usr/local/lib/python2.7/site-packages/FlexGet-1.1-py2.7.egg-info pydap: /usr/local/lib/python2.7/site-packages/Pydap-3.1-py2.7.egg-info *-ride: /usr/local/lib/python2.7/site-packages/robotframework_ride-1.2.2-py2.7.egg-info All three ports had plist listing to an *.egg-info directory. Whatever is generating that (presumably PYDISTUTILS_AUTOPLIST) is making an error that renders the binary packages created by pkgng invalid. I don't think the ports themselves are faulty though. John