Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2013 16:07:04 +0100
From:      John Marino <freebsd.contact@marino.st>
To:        python@freebsd.org
Cc:        Vladimir.Chukharev@gmail.com, Baptiste Daroussin <bapt@freebsd.org>, xmj@chaot.net, William Grzybowski <wg@freebsd.org>
Subject:   systematic issue with PYDISTUTILS_AUTOPLIST
Message-ID:  <5280F298.2020604@marino.st>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5280F298.2020604>