[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: spurious install of ${prefix}/include/gps.h
From: |
Gary E. Miller |
Subject: |
Re: spurious install of ${prefix}/include/gps.h |
Date: |
Wed, 4 Aug 2021 10:53:59 -0700 |
Yo Greg!
Why is CPPFLAGS being used? The scons variable is "includedir=".
Use that instead.
On Wed, 04 Aug 2021 08:01:08 -0400
Greg Troxel <gdt@lexort.com> wrote:
> Hal Murray <halmurray+gpsd@sonic.net> writes:
>
> > gdt@lexort.com said:
> >> What I am seeing is that if I build such that
> >> environment has CPPFLAGS=-I/usr/pkg/include
> >> scons is passed "prefix=/usr/pkg"
> >
> > It fails on all the systems I tried it on: Linux, FreeBSD, NetBSD,
> > 64+32 bit... I'm running as non-root.
> >
> > On Fedora
> > CPPFLAGS=-I/usr/pkg/include scons prefix=/usr/pkg
> > --debug=explain,prepare
> >
> > ...
> > scons: building `gpsd-3.23~rc1/tests/test_qgpsmm' because it
> > doesn't exist Preparing target gpsd-3.23~rc1/tests/test_qgpsmm...
> > g++ -o gpsd-3.23~rc1/tests/test_qgpsmm -pthread
> > gpsd-3.23~rc1/tests/qt-test_gps mm.o -Lgpsd-3.23~rc1 -lQgpsmm
> > scons: building `/usr/pkg/include/gps.h' because it doesn't exist
> > Preparing target /usr/pkg/include/gps.h...
> > scons: *** [/usr/pkg] /usr/pkg: Permission denied
> > scons: building terminated because of errors.
> >
> > [There is no /usr/pkg/ on that system.]
>
> Thanks very much for taking the time to try this. That confirms that
> this isn't a NetBSD-specific issue. And, from your offlist prior
> mail, I see that you are using scons 4.1.0, so that shows that it
> isn't a 3.1.2 vs 4.1.0 issue.
>
> With any luck the repro recipe above will result in the bug
> manifesting on Gary's system.
>
> I'm continuing to look into why this happens and bisect from 3.22
> which I think was ok.
>
> Greg
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem@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
pgpv0qvLr1Tnh.pgp
Description: OpenPGP digital signature
- Re: spurious install of ${prefix}/include/gps.h, (continued)
- Re: spurious install of ${prefix}/include/gps.h, Greg Troxel, 2021/08/05
- Re: spurious install of ${prefix}/include/gps.h, Greg Troxel, 2021/08/05
- ✘3.23~rc2 Please test, Gary E. Miller, 2021/08/05
- Re: ✘3.23~rc2 Please test, Greg Troxel, 2021/08/06
- Re: ✘3.23~rc2 Please test, Gary E. Miller, 2021/08/06
- Re: ✘3.23~rc2 Please test, Fred Wright, 2021/08/06
- Re: ✘3.23~rc2 Please test, Gary E. Miller, 2021/08/06
- Re: ✘3.23~rc2 Please test, Gary E. Miller, 2021/08/06
- Re: ✘3.23~rc2 Please test, Sanjeev Gupta, 2021/08/06
- Re: ✘3.23~rc2 Please test, Gary E. Miller, 2021/08/06
- Re: spurious install of ${prefix}/include/gps.h,
Gary E. Miller <=
- Re: spurious install of ${prefix}/include/gps.h, Greg Troxel, 2021/08/05
Re: spurious install of ${prefix}/include/gps.h, Gary E. Miller, 2021/08/04
- Re: spurious install of ${prefix}/include/gps.h, Hal Murray, 2021/08/04
- Re: spurious install of ${prefix}/include/gps.h, Gary E. Miller, 2021/08/04
- Re: spurious install of ${prefix}/include/gps.h, Hal Murray, 2021/08/04
- Re: spurious install of ${prefix}/include/gps.h, Gary E. Miller, 2021/08/04
- Re: spurious install of ${prefix}/include/gps.h, Hal Murray, 2021/08/04
- Re: spurious install of ${prefix}/include/gps.h, Greg Troxel, 2021/08/05
- Re: spurious install of ${prefix}/include/gps.h, Hal Murray, 2021/08/05
Re: spurious install of ${prefix}/include/gps.h, Gary E. Miller, 2021/08/04