From owner-freebsd-python@FreeBSD.ORG Mon Nov 11 15:22:20 2013 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 111ADADF; Mon, 11 Nov 2013 15:22:20 +0000 (UTC) (envelope-from william88@gmail.com) Received: from mail-qe0-x236.google.com (mail-qe0-x236.google.com [IPv6:2607:f8b0:400d:c02::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 957F42F2A; Mon, 11 Nov 2013 15:22:19 +0000 (UTC) Received: by mail-qe0-f54.google.com with SMTP id 1so4645954qec.27 for ; Mon, 11 Nov 2013 07:22:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vKLzAi+t3kM433V9vkVnbzK4BoUHaDCI14QEeVc/W3Y=; b=tG2FR5baENt4lWyyzHNaRfnkjce1Zu0BOcznJ8ZciRUA0ViWzGKZl24omxXXjatOz9 4Phj9VQQexr30vHN56aXxp2A3KYwRPD05ZOVJS1Fh34BBAz9b4fUgUxDiZf7splMnPCv mJThE02yfJMgplLZyOpPGe5/2YjmOIryCVv6BKNHkZFT2sq0J5sZcly1hCdE7kDVjIAs FlXvUo1fn06Bjb+epiMObuWUL5nqqh5BTne1XTeUbwuRk9yDRUE6xyuqEJnIEzQmW4Gd ntpk0E4tqEgPRHK1mFW7t+/8AnnM5mFFwGN5IKT9nUkEYYH5y/Th3cc46+V3gluPnq1F rXBQ== MIME-Version: 1.0 X-Received: by 10.49.3.3 with SMTP id 3mr48160474qey.56.1384183338688; Mon, 11 Nov 2013 07:22:18 -0800 (PST) Received: by 10.140.81.233 with HTTP; Mon, 11 Nov 2013 07:22:18 -0800 (PST) In-Reply-To: <5280F298.2020604@marino.st> References: <5280F298.2020604@marino.st> Date: Mon, 11 Nov 2013 13:22:18 -0200 Message-ID: Subject: Re: systematic issue with PYDISTUTILS_AUTOPLIST From: William Grzybowski To: John Marino Content-Type: text/plain; charset=ISO-8859-1 Cc: Vladimir.Chukharev@gmail.com, Baptiste Daroussin , xmj@chaot.net, python@freebsd.org, William Grzybowski X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list 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:22:20 -0000 We are aware of the issue. --record option from setup.py is registering a directory whereas it should not. It is believed the update from distribute to setuptools will fix this issue, but it is pending an exp-run ports/183726. On Mon, Nov 11, 2013 at 1:07 PM, John Marino wrote: > 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 -- William Grzybowski ------------------------------------------ Curitiba/PR - Brasil