gpsd-dev
[Top][All Lists]
Advanced

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

[gpsd-dev] scons quirks


From: Hal Murray
Subject: [gpsd-dev] scons quirks
Date: Wed, 13 Nov 2013 13:05:46 -0800

scons install runs as root, so if it has to make a file, it ends up owned by 
root ...

I expect "scons" to make everything that "scons install" will need.  Is that 
correct?

On Fedora, I end up with these:
-rw-r--r-- 1 root   root      438 Nov 13 12:00 gps-3.10~dev.egg-info
-r--r--r-- 1 root   root      204 Nov 13 12:00 libgps.pc
-r--r--r-- 1 root   root      219 Nov 13 12:00 libgpsd.pc

I got started chasing this with a couple of lib???.so links, but I haven't 
been able to reproduce that case.

On NetBSD and FreeBSD, I end up with a zillion files owned by root.  I assume 
that opening a file for writing updates the owner.

-rwxr-xr-x  1 root    users   12705 Nov 13 12:18 gps2udp
-rw-r--r--  1 root    users    7464 Nov 13 12:18 gps2udp.o
-rwxr-xr-x  1 root    users   20163 Nov 13 12:18 gpsctl
-rw-r--r--  1 root    users   16136 Nov 13 12:18 gpsctl.o
-rwxr-xr-x  1 root    users   43669 Nov 13 12:18 gpsd
-rw-r--r--  1 root    users   36284 Nov 13 12:18 gpsd.o
...

I assume chrpath is writing the executables, but who/why is writing the .o-s?


---------

scons -c doesn't get gps-3.10~dev.egg-info


-- 
These are my opinions.  I hate spam.






reply via email to

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