new waf vs PYTHONDIR
Gary E. Miller
gem at rellim.com
Tue Mar 18 21:44:17 UTC 2025
Yo Hal!
On Tue, 18 Mar 2025 13:44:46 -0700
Hal Murray <halmurray at sonic.net> wrote:
> > I tried to bisect the git. No luck. The issue depends on which
> > Python I am running.
>
> commit e899c2ffd4243e933150f2349874e4e462657c54
> Author: James Browning <jamesb.fe80 at gmail.com>
> Date: Thu Mar 13 02:06:11 2025 -0700
>
> Use waf 2.1.4, revise, and drop Py2.6 builds.
That commit does nothing for me, either way.
> Which python works the old way?
I wish it was that simple.
On Gentoo stable, Python 3.12 woth git master:
Checking for python module 'gps' (ver >= num(3, 18)) : 3.25.1~dev
PYSHEBANG : /usr/bin/env python
PYTHONDIR : /usr/local/lib/python3.12/site-packages
PYTHONARCHDIR : /usr/local/lib/python3.12/site-packages
'configure' finished successfully (3.371s)
On Gentoo unstable, Python 3.13t woth git master:
Checking for python module 'gps' (ver >= num(3, 18)) : 3.25.1~dev
PYSHEBANG : /usr/bin/env python
PYTHONDIR : /usr/local/lib/python3.13t/site-packages
PYTHONARCHDIR : /usr/local/lib/python3.13t/site-packages
'configure' finished successfully (2.790s)
The odd thing. That 3.13t was failing, but I pulled a new git clone
and it worked fine.
Maybe something stuck in the waf or python caches?
I tried several Gentoo stable and un-stable and could not reproduce the
issue.
> We now have two wafs.
>
> lrwxrwxrwx 1 murray murray 9 Mar 13 02:24 waf -> waf-2.1.4
> -rwxr-xr-x 1 murray murray 108317 Mar 13 02:24 waf-2.1.4
> -rwxr-xr-x 1 murray murray 105631 Mar 13 02:24 waf-2.0.25
Odd. Me too.
> old one if you have an old python. Or something like that.
Dark magix.
I do not see any Python binaries, so PYTHONARCHDIR is, and should be, unused:
backup ! # ls -l /usr/local/lib/python3.12/site-packages/ntp
total 252
-rw-r--r-- 1 root root 395 Mar 18 14:34 __init__.py
drwxr-xr-x 2 root root 4096 Mar 18 14:34 __pycache__
-rw-r--r-- 1 root root 24987 Mar 18 14:34 agentx.py
-rw-r--r-- 1 root root 49192 Mar 18 14:34 agentx_packet.py
-rw-r--r-- 1 root root 4792 Mar 18 14:34 control.py
-rw-r--r-- 1 root root 4271 Mar 18 14:34 magic.py
-rw-r--r-- 1 root root 5186 Mar 18 14:34 ntpc.py
-rw-r--r-- 1 root root 73087 Mar 18 14:34 packet.py
-rw-r--r-- 1 root root 3893 Mar 18 14:34 poly.py
-rw-r--r-- 1 root root 9171 Mar 18 14:34 statfiles.py
-rw-r--r-- 1 root root 52609 Mar 18 14:34 util.py
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
More information about the devel
mailing list