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

[Xen-users] PYTHONPATH trouble with tools/configure



Hello,

building xen-4.11.1 from source on CentOS 7.5 with devtools-7 (gcc 7.3).

The devtools enable scriptlet defined PYTHONPATH as env variable. I've
never built Xen before with this defined in environment.

When I ran tools/configure, this $PYTHONPATH was picked up as
override. The devtools script defines it as a path to python modules
(*/site-packages), but our configure script sees it as a path to
python binary - two different things.

Of course the build was broken. When I checked `rpm -qpR
xen-runtime*.rpm` I also saw a bad requires as a consequence.

Funny thing is tools/configure writes PYTHON_PATH (not PYTHONPATH) in
config/Tools.mk from the same value.

I don't have a patch, but my workaround is:
unset PYTHONPATH

before starting a build.

PryMar56
##xen-packaging on Freenode IRC

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.