✘PYTHONPATH is not set

Gary E. Miller gem at rellim.com
Tue Aug 28 22:56:32 UTC 2018


Yo All!

A bug in the PYTHONPATH detection.  I get this on building:

[...]
Waf: Entering directory `/u/local/src/NTP/ntpsec/build/main'
--- PYTHONPATH is not set, loading the Python ntp library may be troublesome --
[...]

But my PYTHONPATH is set properly:

ntpsec # echo $PYTHONPATH
/usr/local/lib64/python2.7/site-packages

This is the bad commit:

commit 50daea95f4ee40e32f0e8ec27e677fd35f712be7
Author: Ian Bruene <ianbruene at gmail.com>
Date:   Fri Jan 5 07:47:29 2018 -0600

This is the bad part:

     if ctx.cmd == "build":
         if "PYTHONPATH" in os.environ:
-            print("--- PYTHONPATH is set, "
-                  "this may mask or cause library-related problems ---")
+            print("--- PYTHONPATH is not set, "
+                  "loading the Python ntp library may be troublesome ---")
 
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20180828/a048f782/attachment.bin>


More information about the devel mailing list