Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2013 13:22:18 -0200
From:      William Grzybowski <william88@gmail.com>
To:        John Marino <marino@freebsd.org>
Cc:        Vladimir.Chukharev@gmail.com, Baptiste Daroussin <bapt@freebsd.org>, xmj@chaot.net, python@freebsd.org, William Grzybowski <wg@freebsd.org>
Subject:   Re: systematic issue with PYDISTUTILS_AUTOPLIST
Message-ID:  <CAHtVNLN2=YUic3d=tymj8LOyJ7mtvyG6QM0TmdE8-E-k199dZw@mail.gmail.com>
In-Reply-To: <5280F298.2020604@marino.st>
References:  <5280F298.2020604@marino.st>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <freebsd.contact@marino.st> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHtVNLN2=YUic3d=tymj8LOyJ7mtvyG6QM0TmdE8-E-k199dZw>