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
_______________________________________________
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"

Reply via email to