Re: Bite of the Buildbugs!

2017-12-15 Thread Richard Laager via devel
On 12/14/2017 09:24 PM, Hal Murray wrote: > I think it would be better to do the check before installing anything. If we > aren't going to automatically fix it, I think we should print an error > message and bail. The problem is, this has false positives. If /usr/local/lib/pythonX.Y/site-packag

Re: Bite of the Buildbugs!

2017-12-14 Thread Hal Murray via devel
Thanks for the nice summary. > In the `waf install` process, after the PYTHONDIR directory is created, > check sys.path. If PYTHONDIR is not in sys.path, do $SOMETHING. I think it would be better to do the check before installing anything. If we aren't going to automatically fix it, I think we

Re: Bite of the Buildbugs!

2017-12-14 Thread Richard Laager via devel
>From your email, it sounds like we now agree on nearly everything. I think we agree on the following as a viable, and probably the best, option: In the `waf install` process, after the PYTHONDIR directory is created, check sys.path. If PYTHONDIR is not in sys.path, do $SOMETHING. It sounds like

Re: Bite of the Buildbugs!

2017-12-14 Thread Fred Wright via devel
(from a different thread) On Fri, 8 Dec 2017, Richard Laager via devel wrote: > I agree that your system does not have /usr/local in its sys.path by > default. [...] > 1) Ignore prefix and install to /usr. This is Fred Wright's solution and > is what is seemingly the point of fix_python_config.p

Re: Bite of the Buildbugs!

2017-12-12 Thread Richard Laager via devel
On 12/12/2017 07:12 PM, Sanjeev Gupta via devel wrote: > As a start, as Richard has already done the work of packaging ntpsec for > Debian, perhaps we could include his "patches" in HEAD? No patching was necessary (for this issue). --prefix=/usr works fine. -- Richard ___

Re: Bite of the Buildbugs!

2017-12-12 Thread Sanjeev Gupta via devel
> 2. Provide tools, options and support, for binary downstreams (Debian, > Mint, etc.), to repackage ntpsec components as binaries, integrated with > their install tools. As a start, as Richard has already done the work of packaging ntpsec for Debian, perhaps we could include his "patches" in HEAD

Re: Bite of the Buildbugs!

2017-12-12 Thread Richard Laager via devel
On 12/11/2017 07:45 PM, Gary E. Miller via devel wrote:> Binary distro installs, unexpectedly to some, go into a temporary> location (/var/tmp/XX?). Not that it matters much, but just for clarification... For Debian, the temp location is ./debian/tmp (where . is the source tree). For RedHat, it oft

Re: Bite of the Buildbugs!

2017-12-11 Thread Gary E. Miller via devel
Yo Ian! On Sun, 10 Dec 2017 16:26:01 -0600 Ian Bruene via devel wrote: > On 12/10/2017 10:52 AM, Eric S. Raymond wrote: > > Ugly, but simple. I'd like to hear counterargument from Gary and > > Fred before we make a final decision. Keep it succint, guys. > > Agreed. My main concern is that tr

Re: Bite of the Buildbugs!

2017-12-11 Thread Eric S. Raymond via devel
Ian Bruene via devel : > > On 12/10/2017 04:26 PM, Ian Bruene wrote: > >On 12/10/2017 10:52 AM, Eric S. Raymond wrote: > >>Do you understand the problem well enough that you could specify an > >>upstream fix? > >I'm not yet certain whether python or the distributions have jurisdiction > >here. Ea

Re: Bite of the Buildbugs!

2017-12-11 Thread Ian Bruene via devel
On 12/10/2017 04:26 PM, Ian Bruene wrote: On 12/10/2017 10:52 AM, Eric S. Raymond wrote: Do you understand the problem well enough that you could specify an upstream fix? I'm not yet certain whether python or the distributions have jurisdiction here. Earlier comments from rlaager suggest that

Re: Bite of the Buildbugs!

2017-12-10 Thread Ian Bruene via devel
On 12/10/2017 10:52 AM, Eric S. Raymond wrote: Ugly, but simple. I'd like to hear counterargument from Gary and Fred before we make a final decision. Keep it succint, guys. Agreed. My main concern is that trying to be clever here has many ways to go wrong, and few ways to detect them before

Re: Bite of the Buildbugs!

2017-12-10 Thread Fred Wright via devel
On Sun, 10 Dec 2017, Eric S. Raymond via devel wrote: > Ian Bruene via devel : > > After reading over the discussion regarding the recent /issues/, I have come > > to a side: Revert Fred's fix and throughly document the import breakage. > > Ugly, but simple. I'd like to hear counterargument from

Re: Bite of the Buildbugs!

2017-12-10 Thread Eric S. Raymond via devel
Ian Bruene via devel : > After reading over the discussion regarding the recent /issues/, I have come > to a side: Revert Fred's fix and throughly document the import breakage. Ugly, but simple. I'd like to hear counterargument from Gary and Fred before we make a final decision. Keep it succint,

Bite of the Buildbugs!

2017-12-10 Thread Ian Bruene via devel
After reading over the discussion regarding the recent /issues/, I have come to a side: Revert Fred's fix and throughly document the import breakage. Reasoning: The standard method means that on some systems the ntp module can't be seen by python without modifying PYTHONPATH. The fix resu