[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: spurious install of ${prefix}/include/gps.h

From: Greg Troxel
Subject: Re: spurious install of ${prefix}/include/gps.h
Date: Wed, 04 Aug 2021 08:01:08 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (berkeley-unix)

Hal Murray <> writes:

> 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.


Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]