new waf vs PYTHONDIR
Gary E. Miller
gem at rellim.com
Tue Mar 18 19:41:22 UTC 2025
Yo Hal!
On Tue, 18 Mar 2025 01:28:17 -0700
Hal Murray via devel <devel at ntpsec.org> wrote:
> I don't use PYTHONPATH
>
> The old waf used to install python libraries in /usr/local/lib64/
> The new waf now installs things in /usr/loca/lib/
>
> Is that a bug or feature?
I think it is a bug, but that is this years fashion.
In most cases one is symlinked to the other.
This part of the great Leonard Pottering ("I hate UNIX") push
to merge /bin, /sbin, usr/bin and /usr/sbin into one. Sometimes
called "merged-usr".
Oddly, when I build ntpd from git head I get on Gentoo unstable:
Checking for python module 'gps' (ver >= num(3, 18)) :
3.25.1~dev PYSHEBANG : /usr/bin/env python
PYTHONDIR : /usr/lib/python3.13t/site-packages
PYTHONARCHDIR :
/usr/local/lib/python3.13t/site-packages 'configure' finished
successfully (3.055s)
PYTHONDIR is wrong. user stuff is supposed to go in /usr/local, not
/usr. /usr/local/lib is for locally built stuff. /usr/lib is for distro
packaged stuff. This is all in the FHS:
https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html
FYI, the FHS is what Pottering wants to banish.
So, something broke...
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