pkgsrc-Users archive

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

python error messages from lintpkgsrc?



Hi,

as part of syncing up the packages I build, I run lintpkgsrc to
determine which packages should not be uploaded.

Recently-ish lintpkgsrc has begun emitting lots of python errors
where it didn't before, of this form:

/usr/sandbox/usr/pkgsrc/archivers/engrampa/Makefile: Could not find platform independent libraries <prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] ImportError: No module named site Could not find platform independent libraries <prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] ImportError: No module named site

and the error message repeats lots of times.

I do have stock python27-2.7.13nb1 installed on this system but
no other python packages, and the "site.py" file is, as far as I
can tell, part of the python27 package:

: {1} pkg_info -L python27 | grep site
/usr/pkg/lib/python2.7/site-packages/README
/usr/pkg/lib/python2.7/site.py
/usr/pkg/lib/python2.7/site.pyc
/usr/pkg/lib/python2.7/site.pyo
/usr/pkg/lib/python2.7/test/test_site.py
/usr/pkg/lib/python2.7/test/test_site.pyc
/usr/pkg/lib/python2.7/test/test_site.pyo
: {2}

So ... anyone have any idea what I can or should do to quench
these warnings and/or what changed to trigger python to be run
while that wasn't (apparently) happening earlier?

Best regards,

- Håvard


Home | Main Index | Thread Index | Old Index