tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ap24-py310-python-3.5.0nb3 PLIST issue



Martin Husemann <martin%duskware.de@localhost> writes:

> => Automatic manual page handling
> => Generating post-install file lists
> pkg_create: Warning - directory `/usr/pkgobj/www/ap2-python/work/.destdir/usr/pkg/lib/python3.10/site-packages/mod_python-3.5.0-py3.10.egg-info' in PLIST
> => Checking file-check results for ap24-py310-python-3.5.0nb3
> ERROR: ************************************************************
> ERROR: The following files are in the PLIST but not in /usr/pkgobj/www/ap2-python/work/.destdir/usr/pkg:
> ERROR:         /usr/pkgobj/www/ap2-python/work/.destdir/usr/pkg/lib/python3.10/site-packages/mod_python-3.5.0-py3.10.egg-info
> ERROR: ************************************************************
> ERROR: The following files are in /usr/pkgobj/www/ap2-python/work/.destdir/usr/pkg but not in the PLIST:
> ERROR:         /usr/pkgobj/www/ap2-python/work/.destdir/usr/pkg/lib/python3.10/site-packages/mod_python-3.5.0-py3.10.egg-info/PKG-INFO
> ERROR:         /usr/pkgobj/www/ap2-python/work/.destdir/usr/pkg/lib/python3.10/site-packages/mod_python-3.5.0-py3.10.egg-info/SOURCES.txt
> ERROR:         /usr/pkgobj/www/ap2-python/work/.destdir/usr/pkg/lib/python3.10/site-packages/mod_python-3.5.0-py3.10.egg-info/dependency_links.txt
> ERROR:         /usr/pkgobj/www/ap2-python/work/.destdir/usr/pkg/lib/python3.10/site-packages/mod_python-3.5.0-py3.10.egg-info/top_level.txt
> *** Error code 1

I dimly recall that there are two styles of egg info and this is some
kind of setuptools/distutil thing.  It might help to read
lang/python/*.mk as at a previous time when I had this paged in I
updated the comments.

(I doubt this is related to openssl.)

I built it on 9/amd64 pkgsrc-current and got the same discrepancy.

This did build for 9/amd64 on 2023Q2.  I suspect some change to
setuptools has flipped it to what I see as the more normal/modern
aproach and we should just adjust the PLIST.   Would be good to hear
from someone who understand the python egg world better than  I do!



Home | Main Index | Thread Index | Old Index