pkgsrc-Users archive

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

py-pynitrokey PLIST issue



Hi!

I have a weird problem packaging py-pynitrokey.  It's a standard PLIST
where we remove the /__pycached__/ from the PLIST's *.pyc and *.pyo
lines, and this works, except for one entry in the PLIST where I get a
warning with PKG_DEVELOPER.

=> Checking file-check results for py311-nitrokey-0.4.40
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /scratch/wip/py-pynitrokey/work/.destdir/usr/pkg:
ERROR:         /scratch/wip/py-pynitrokey/work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/__init__.pyc
ERROR:         /scratch/wip/py-pynitrokey/work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/__init__.pyo
ERROR: ************************************************************
ERROR: The following files are in /scratch/wip/py-pynitrokey/work/.destdir/usr/pkg but not in the PLIST:
ERROR:         /scratch/wip/py-pynitrokey/work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/__pycache__/__init__.cpython-311.opt-1.pyc
ERROR:         /scratch/wip/py-pynitrokey/work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/__pycache__/__init__.cpython-311.pyc
*** Error code 1


The wheel itself only has the .py file, like usual:

     258  Stored      258   0%  09-26-23 09:34  00000000  pynitrokey/nethsm/client/paths/info/__init__.py
       0  Stored        0   0%  09-26-23 09:34  00000000  pynitrokey/nethsm/client/paths/info/get/__init__.py
    4456  Stored     4456   0%  09-26-23 09:34  00000000  pynitrokey/nethsm/client/paths/info/get/operation.py
       0  Stored        0   0%  09-26-23 09:34  00000000  pynitrokey/nethsm/client/paths/info/get/responses/__init__.py
     957  Stored      957   0%  09-26-23 09:34  00000000  pynitrokey/nethsm/client/paths/info/get/responses/response_200/__init__.py
       0  Stored        0   0%  09-26-23 09:34  00000000  pynitrokey/nethsm/client/paths/info/get/responses/response_200/content/__init__.py
       0  Stored        0   0%  09-26-23 09:34  00000000  pynitrokey/nethsm/client/paths/info/get/responses/response_200/content/application_json/__init__.py
     715  Stored      715   0%  09-26-23 09:34  00000000  pynitrokey/nethsm/client/paths/info/get/responses/response_200/content/application_json/schema.py
     654  Stored      654   0%  09-26-23 09:34  00000000  pynitrokey/nethsm/client/paths/info/get/responses/response_406/__init__.py

and the DESTDIR for that directory looks like expected:

# find work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/ -type f| sort
work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/__init__.py
work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/__pycache__/__init__.cpython-311.opt-1.pyc
work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/__pycache__/__init__.cpython-311.pyc
work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/__pycache__/operation.cpython-311.opt-1.pyc
work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/__pycache__/operation.cpython-311.pyc
work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/operation.py
work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/responses/__init__.py
work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/responses/__pycache__/__init__.cpython-311.opt-1.pyc
work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/responses/__pycache__/__init__.cpython-311.pyc
work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/responses/response_200/__init__.py
work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/responses/response_200/__pycache__/__init__.cpython-311.opt-1.pyc
work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/responses/response_200/__pycache__/__init__.cpython-311.pyc
work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/responses/response_200/content/__init__.py
work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/responses/response_200/content/__pycache__/__init__.cpython-311.opt-1.pyc
work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/responses/response_200/content/__pycache__/__init__.cpython-311.pyc
work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/responses/response_200/content/application_json/__init__.py
work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/responses/response_200/content/application_json/__pycache__/__init__.cpython-311.opt-1.pyc
work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/responses/response_200/content/application_json/__pycache__/__init__.cpython-311.pyc
work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/responses/response_200/content/application_json/__pycache__/schema.cpython-311.opt-1.pyc
work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/responses/response_200/content/application_json/__pycache__/schema.cpython-311.pyc
work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/responses/response_200/content/application_json/schema.py
work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/responses/response_406/__init__.py
work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/responses/response_406/__pycache__/__init__.cpython-311.opt-1.pyc
work/.destdir/usr/pkg/lib/python3.11/site-packages/pynitrokey/nethsm/client/paths/info/get/responses/response_406/__pycache__/__init__.cpython-311.pyc

(It failed with the old wheel.mk the same way.)

It's only complaining about the one pyc/pyo pair, and I just don't see
what could be the problem. Does anyone have an idea?
 Thomas


Home | Main Index | Thread Index | Old Index