Re: cross armhf tangle

2025-02-02 Thread Hal Murray via devel
>> That was my first try. It didn't work on BSD. > Care to share what the failure was? It didn't know what a struct timeval was. > Where can I find that man page? man timeval on this Linux box says: SYNOPSIS #include Without the sys, it worked on Linux but not on BSD. With the sys it

Re: cross armhf tangle

2025-02-02 Thread Hal Murray via devel
The unobvious part is the code in wafhelpers/check_sizeof.py that handles the cross case for getting NTP_SIZEOF_TIME_T and friends. Please take a look at the code. It's got a loop!!! -- These are my opinions. I hate spam. ___ devel mailing lis

Re: cross armhf tangle

2025-02-02 Thread Gary E. Miller via devel
Yo Hal! On Sun, 02 Feb 2025 01:29:22 -0800 Hal Murray wrote: > There are several tangles in your response. > > >> +("sys/time.h", "struct timeval"), > > DOn't do that. Per the man page: > > That was my first try. It didn't work on BSD. Care to share what the failure was? > On

Re: cross armhf tangle

2025-02-02 Thread Gary E. Miller via devel
Yo Hal! On Sun, 02 Feb 2025 02:33:42 -0800 Hal Murray via devel wrote: > The cross compile stuff for sizeof is, well, unobvious to me. I > think I asked about it a while ago with no response. I must have missed it? What is not obvious? When you cross compile you tell the CC what the target A

gitlab cross-armhf CI is working now

2025-02-02 Thread Hal Murray via devel
So if you see warnings from gitlab, please investigate. If this keeps working for a while, we should undo the allow_failure: true -- These are my opinions. I hate spam. ___ devel mailing list devel@ntpsec.org https://lists.ntpsec.org/mailman/l

Re: Anybody still using Python2?

2025-02-02 Thread Richard Laager via devel
On 2025-02-01 16:33, Fred Wright via devel wrote: On Fri, 31 Jan 2025, Richard Laager via devel wrote: Python 2 has been upstream EOL for 5 years. The burden here should be on people who want to keep supporting it, not on people who want to drop support for it. The burden shouldn't be on peo

Re: Anybody still using Python2?

2025-02-02 Thread ASSI via devel
James Browning via devel writes: > Probably the --pyshebang option of waf configure, or maybe > --python. Although I think it's for the extension and pyo/pyc files. Thanks. I had found --pyshebang in the meantime and I added --python just to be sure. I doesn't seem to make a difference if I leav

Re: Anybody still using Python2?

2025-02-02 Thread James Browning via devel
On Feb 2, 2025 05:54, ASSI via devel wrote:openSUSE Factory / tumbleweed just dropped python2 completely and thereis no system poython interpreter anymore (only python3).  How to tellstupid waf to not "#!/usr/bin/env python" every script?Probably the --pyshebang option of waf configure, or maybe -

Re: Anybody still using Python2?

2025-02-02 Thread ASSI via devel
Hal Murray via devel writes: > I've seen at least one distro that had python 3 but python still went to > python 2. I assume they had a lot of code that still needed python 2. openSUSE Factory / tumbleweed just dropped python2 completely and there is no system poython interpreter anymore (only

Re: Glitch from ntpmon

2025-02-02 Thread James Browning via devel
> On 02/01/2025 4:45 PM PST Hal Murray via devel wrote: > > > I've seen this twice. > This is talking to a remote system that has (very) recently restarted ntpd. > > > Traceback (most recent call last): > File "/usr/local/bin/ntpmon", line 371, in > sl = statline(peer_report, mru_repor

Re: cross armhf tangle

2025-02-02 Thread Hal Murray via devel
> Does anybody have a working cross build setup that I can copy? I have one now. Or at least one that gets far enough to tickle this bug. The cross compile stuff for sizeof is, well, unobvious to me. I think I asked about it a while ago with no response. It came from ESR in 2016 with no note

Re: cross armhf tangle

2025-02-02 Thread Hal Murray via devel
Thanks. There are several tangles in your response. >> +("sys/time.h", "struct timeval"), > DOn't do that. Per the man page: That was my first try. It didn't work on BSD. On all the systems I'v tried, man timeval says: #include So that part seems to be working OK. >> That lis