Re: Python libs on Debian/Raspbian

2017-12-20 Thread Eric S. Raymond via devel
Richard Laager via devel : > Rather than debate hypotheticals further, I have submitted a merge > request to implement the "option H" idea being discussed: > https://gitlab.com/NTPsec/ntpsec/merge_requests/615 > > I'm looking for feedback on that particular merge request. Only the last > commit is

Re: Python libs on Debian/Raspbian

2017-12-20 Thread Richard Laager via devel
Rather than debate hypotheticals further, I have submitted a merge request to implement the "option H" idea being discussed: https://gitlab.com/NTPsec/ntpsec/merge_requests/615 I'm looking for feedback on that particular merge request. Only the last commit is particularly interesting, which addres

DESTDIR vs --destdir and friends

2017-12-20 Thread Hal Murray via devel
How about we pick one and go back to discussing where to install stuff. I prefer --destdir since I can see what's going on when looking at a script. -- These are my opinions. I hate spam. ___ devel mailing list devel@ntpsec.org http://lists.ntpse

Re: [Git][NTPsec/ntpsec][master] Tweak INSTALL to mention when prefix+destdir work

2017-12-20 Thread Gary E. Miller via devel
Yo Hal! On Wed, 20 Dec 2017 15:46:59 -0800 Hal Murray wrote: > > You just pushed a doc change I do not entirely agree with, and is > > insufficiently informative of the issues. > > > +NB: --destdir works at install time, --prefix works at configure > > time. > > OK. Poor choice of words.

Re: DESTDIRMime-Version: 1.0

2017-12-20 Thread Gary E. Miller via devel
Yo Hal! On Wed, 20 Dec 2017 15:58:54 -0800 Hal Murray wrote: > > export DESTDIR=/usr/local/ > > ./waf configure --refclock=all --prefix=BATSHT && ./waf build > > &&./waf install > > > /usr/local/u1/local/src/NTP/ntpsec/BATSHT/{bin,sbin,share} > > You didn't put a / in front of BATSHT so it

Re: DESTDIRMime-Version: 1.0

2017-12-20 Thread Hal Murray via devel
> export DESTDIR=/usr/local/ > ./waf configure --refclock=all --prefix=BATSHT && ./waf build &&./waf install > /usr/local/u1/local/src/NTP/ntpsec/BATSHT/{bin,sbin,share} You didn't put a / in front of BATSHT so it turns that into the full pathname of a local directory and then puts DESTDIR in f

Fw: [Git][NTPsec/ntpsec][master] Tweak INSTALL to mention when prefix+destdir work

2017-12-20 Thread Hal Murray via devel
> You just pushed a doc change I do not entirely agree with, and is > insufficiently informative of the issues. > +NB: --destdir works at install time, --prefix works at configure time. OK. Poor choice of words. Got a better suggestion? If you specify a prefix at install time, it is ignored,

Re: Python libs on Debian/Raspbian

2017-12-20 Thread Gary E. Miller via devel
Yo Richard! On Wed, 20 Dec 2017 17:27:55 -0600 Richard Laager via devel wrote: > On 12/20/2017 05:00 PM, Gary E. Miller via devel wrote: > > Neither --prefix, nor DESTDIR > > affect the generated and installed files. > > I haven't checked, but I'm willing to stipulate that PREFIX is not > *cu

✘DESTDIR broken, Issue 428

2017-12-20 Thread Gary E. Miller via devel
Yo All! New bug: https://gitlab.com/NTPsec/ntpsec/issues/428 Should be easy to replicate. Can someone please replicate? RGDS GARY --- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703 g...@relli

Re: Python libs on Debian/Raspbian

2017-12-20 Thread Richard Laager via devel
On 12/20/2017 05:00 PM, Gary E. Miller via devel wrote: > Neither --prefix, nor DESTDIR > affect the generated and installed files. I haven't checked, but I'm willing to stipulate that PREFIX is not *currently* being embedded in any files installed by NTPsec. The proposed "option H" is a change w

Fw: [Git][NTPsec/ntpsec][master] Tweak INSTALL to mention when prefix+destdir work

2017-12-20 Thread Gary E. Miller via devel
Yo Hal! You just pushed a doc change I do not entirely agree with, and is insufficiently informative of the issues. +NB: --destdir works at install time, --prefix works at configure time. My tests show that --prefix only 'works' at install time. You 'set' it at configure time, but the only 'eff

Re: Python libs on Debian/Raspbian

2017-12-20 Thread Gary E. Miller via devel
Yo Hal! On Wed, 20 Dec 2017 15:09:46 -0800 Hal Murray via devel wrote: > > --prefix and DESTDIR, are ONLY used to decide where to install. > > And as the above shows, how they work together not exactly > > obvious. > > Given the length of this discussion, we should probably figure this > out

Re: Python libs on Debian/Raspbian

2017-12-20 Thread Hal Murray via devel
> --prefix and DESTDIR, are ONLY used to decide where to install. And as the > above shows, how they work together not exactly obvious. Given the length of this discussion, we should probably figure this out. INSTALL says: There is a separate `--destdir' option that changes the root of the en

Re: Python libs on Debian/Raspbian

2017-12-20 Thread Gary E. Miller via devel
Yo Richard! I think our emails crossed in flight. Neither --prefix, nor DESTDIR affect the generated and installed files. So stop thinking of them as different things, they just combine, in (as just proven) non-obvious and sometime broken wayw. BUT DO NOT affect the generated and installed file

Re: Python libs on Debian/Raspbian

2017-12-20 Thread Richard Laager via devel
On 12/20/2017 01:58 PM, Gary E. Miller via devel wrote: > When I use DESTDIR, I feel I am 'configuring'. ./waf configure --prefix=/usr ./waf install --destdir=debian/tmp Note that destdir appears at install time, not configure time. -- Richard signature.asc Description: OpenPGP digital signa

Re: Testing

2017-12-20 Thread Gary E. Miller via devel
Yo Matthew! On Tue, 19 Dec 2017 23:05:37 -0500 Matthew Selsky via devel wrote: > > If dev with merge-approver power pushes to a branch and then merges > > it, how is the entailed risk any different from a direct push? > > We can have gitlab enforce that all CI builds must pass before > merge.

Re: Python libs on Debian/Raspbian

2017-12-20 Thread Gary E. Miller via devel
Yo Matthew! I think I'm starting to realize part of the confusion here. On Tue, 19 Dec 2017 23:32:31 -0500 Matthew Selsky via devel wrote: > On Tue, Dec 19, 2017 at 08:23:08PM -0800, Gary E. Miller via devel > wrote: > > > Also, remember that we have the contraint where the user may have > > a

Re: Python libs on Debian/Raspbian

2017-12-20 Thread Gary E. Miller via devel
Yo Richard! On Wed, 20 Dec 2017 00:35:48 -0600 Richard Laager via devel wrote: > On 12/19/2017 10:23 PM, Gary E. Miller via devel wrote: > >> F) .pth file in /usr/.../pythonX.Y/-packages > > > > Uh, no. I looked at this some more. That first ... can only be > > lib, lib32 or lib64. Waf

Re: More cruft

2017-12-20 Thread Gary E. Miller via devel
Yo Hal! On Wed, 20 Dec 2017 00:30:26 -0800 Hal Murray via devel wrote: > I found some libraries installed > in /usr/lib/python2.7/site-packages/ntp/ No local > > They had dates of Dec 6 and Dec 14th so they were due to some > transient in our install recipe or I fatfingered something. I had th

Re: Python libs on Debian/Raspbian

2017-12-20 Thread Gary E. Miller via devel
Yo Achim! On Wed, 20 Dec 2017 11:14:46 +0100 Achim Gratz via devel wrote: > Gary E. Miller via devel writes: > > I'm confused. To me, if you use --prefix, or DESTDIR, then you are > > explicitly NOT doing a system install. A system install MUST go > > in /usr, per the FHS, and your DESTDIR is

Re: TinkerOS 2.0.2

2017-12-20 Thread Achim Gratz via devel
I haven't used it yet, but it seems that PPS via GPIO is now officially supported starting from the (beta) TinkerOS 2.0.3 (GitHub already has a 2.0.4 version, but it's not on the download pages yet). It's implemented as a device tree overlay, so it needs some work on the boot configuration to mak

Re: Tinkerboard w/ TinkerOS 2.0.1

2017-12-20 Thread Achim Gratz via devel
Achim Gratz via devel writes: > The main problem at the moment is that the zero-TC temperature point > is just beyond the first thermal threshold hardwired into the kernel > for the TinkerBoard, so I can't keep the temperature high enough. I've resolved that problem by compressing the hardwired te

Re: Python libs on Debian/Raspbian

2017-12-20 Thread Achim Gratz via devel
Gary E. Miller via devel writes: > I'm confused. To me, if you use --prefix, or DESTDIR, then you are > explicitly NOT doing a system install. A system install MUST go > in /usr, per the FHS, and your DESTDIR is preventing that. So now > you are a #3. Nonsense. First off, the only distinction

More cruft

2017-12-20 Thread Hal Murray via devel
I found some libraries installed in /usr/lib/python2.7/site-packages/ntp/ No local They had dates of Dec 6 and Dec 14th so they were due to some transient in our install recipe or I fatfingered something. -- These are my opinions. I hate spam. __

Re: Python libs on Debian/Raspbian

2017-12-20 Thread Hal Murray via devel
> We have different paths embedded in the binaries that we run the regression > tests against. autoconf has tricks that it does with LD_LIBRARY_PATH so > that "make check" uses the libraries in the build area. waf likely has a > similar feature that we can take advantage of. I don't think there