Fedora 28 - python warnings

Gary E. Miller gem at rellim.com
Fri May 11 17:00:00 UTC 2018


Yo Richard!

On Fri, 11 May 2018 01:28:56 -0500
Richard Laager via devel <devel at ntpsec.org> wrote:

> On 05/10/2018 11:46 PM, Udo van den Heuvel via devel wrote:
> > + ./waf configure --prefix=/usr --enable-early-droproot
> > --refclock=nmea,generic --libdir=/usr/lib64
> > --docdir=/usr/share/doc/ntpsec --enable-doc
> > DEPRECATION WARNING: python2 invoked with /usr/bin/python.  
> 
> Perhaps my experiences will be helpful to you...
> 
> In Debian, I explicitly invoke waf with python3:
> python3 waf configure ...

Gack.  Typical Debian non-standard behavior.

> Then I patch all the /usr/bin/env python to /usr/bin/python3 in these
> files:

Not a good plan.  Better to fix '/usr/bin/env python' to return python3
(as it should) and then all properly written python programs will work.

> On Debian, the gps python module is only built for Python2,

Sounds like a Debian bug.  Send then a bug report.

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: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20180511/2a07e2f9/attachment.bin>


More information about the devel mailing list