gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] 'scons check' installs files, fails on pyserial


From: Charles Curley
Subject: Re: [gpsd-users] 'scons check' installs files, fails on pyserial
Date: Wed, 10 Oct 2018 13:47:27 -0600

Sorry to take so long to get to this. As of:

commit d05fc24755fb251003a022e17535731523188fe2
Author: Fred Wright <address@hidden>
Date:   Tue Oct 9 17:08:35 2018 -0700

    Fixes typo in INSTALL update.


On Mon, 8 Oct 2018 20:07:28 -0700
"Gary E. Miller" <address@hidden> wrote:

> Yo Charles!
> 
> On Fri, 5 Oct 2018 12:51:57 -0600
> Charles Curley <address@hidden> wrote:
> 
> > > > I checked out release-3.18, and ran scons && scons check, first
> > > > as a non-root user. That failed as follows:  
> 
> Take a look at git head.  It should run 'scons check' as non-root now.

Runs completely, no visible warnings or failures.

Regression test successful: no errors in 120 tests (0 not found).
Elapsed time: 187.91
scons: done building targets.



> 
> It also will not install zerk and ubxtool if pyserial is not found.

I confirm that.

Two other goodies for you.

Typo in build.txt:

|============================================================================
|pyserial           | Python Serial Port extensio
|===========================================================================

extensio*n*

(It might be nice to say something like, "ubxtool and zerk will not be
installed if pyserial is not present. If you don't care about those
two utilities, you may ignore pyserial.)



Erm. "scons udev-uninstall" did not remove any gpsd executables from
/usr/local/bin

Output:

--------------------------------------------------
address@hidden:~/versioned/gpsd$ scons check
scons: Reading SConscript files ...
Checking if compiler accepts -pthread... (cached) yes
Checking whether the C++ compiler works... (cached) yes
Checking pkg-config for ncurses... (cached) yes
Checking pkg-config for tinfo... (cached) yes
Checking pkg-config for libusb-1.0... (cached) yes
Checking for C library librt... (cached) yes
Checking pkg-config for dbus-1... (cached) yes
Checking pkg-config for bluez... (cached) yes
Checking for C type in_port_t... (cached) yes
Checking whether SUN_LEN is declared... (cached) yes
Checking for C header file linux/can.h... (cached) yes
You have kernel CANbus available.
Checking if compiler is C11... (cached) yes
Checking if compiler supplies __STDC_NO_ATOMICS__... (cached) no
Checking for C header file stdatomic.h... (cached) yes
Checking if compiler supplies __ORDER_BIG_ENDIAN__... (cached) yes
Checking if compiler supplies __ORDER_LITTLE_ENDIAN__... (cached) yes
Checking if compiler supplies __BYTE_ORDER__... (cached) yes
Your compiler has built-in endianness support.
Checking for C header file sys/un.h... (cached) yes
Checking for C header file sys/socket.h... (cached) yes
Checking for C header file sys/select.h... (cached) yes
Checking for C header file netdb.h... (cached) yes
Checking for C header file netinet/in.h... (cached) yes
Checking for C header file netinet/ip.h... (cached) yes
Checking for C header file arpa/inet.h... (cached) yes
Checking for C header file syslog.h... (cached) yes
Checking for C header file termios.h... (cached) yes
Checking for C header file winsock2.h... (cached) no
Checking for C function daemon()... (cached) yes
Checking for C function strlcpy()... (cached) no
Checking for C function strlcat()... (cached) no
Checking for C function clock_gettime()... (cached) yes
Checking for C function strptime()... (cached) yes
Checking for C function gmtime_r()... (cached) yes
Checking for C function inet_ntop()... (cached) yes
Checking for C function fcntl()... (cached) yes
Checking for C function fork()... (cached) yes
Checking for C header file sys/timepps.h... (cached) yes
Checking if sys/ioctl.h supplies TIOCMIWAIT... (cached) yes
Checking for C library libbluetooth... (cached) yes
Checking for C library libdbus-1... (cached) yes
Checking that xsltproc can make man pages... (cached) yes
Checking pkg-config for QtNetwork... (cached) yes
Checking if compiler accepts -Wextra... (cached) yes
Checking if compiler accepts -Wall... (cached) yes
Checking if compiler accepts -Wno-uninitialized... (cached) yes
Checking if compiler accepts -Wno-missing-field-initializers... (cached) yes
Checking if compiler accepts -Wcast-align... (cached) yes
Checking if compiler accepts -Wmissing-declarations... (cached) yes
Checking if compiler accepts -Wmissing-prototypes... (cached) yes
Checking if compiler accepts -Wstrict-prototypes... (cached) yes
Checking if compiler accepts -Wpointer-arith... (cached) yes
Checking if compiler accepts -Wreturn-type... (cached) yes
Checking whether python program exists.../usr/bin/python
Obtaining Python exe path... /usr/bin/python
Obtaining Python lib dir... /usr/lib/python2.7/dist-packages
Obtaining Python config vars... ok
All configuration flags are defaulted.
scons: done reading SConscript files.
scons: Building targets ...
leapseconds_cache_rebuild(["leapseconds.cache"], ["leapsecond.py"])
timebase_h(["timebase.h"], ["leapseconds.cache"])
gcc -o timebase.o -c -pthread -Wextra -Wall -Wno-uninitialized 
-Wno-missing-field-initializers -Wcast-align -Wmissing-declarations 
-Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 
-pthread -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libusb-1.0 
timebase.c
ar rc libgpsd.a bsd_base64.o crc24q.o driver_ais.o driver_evermore.o 
driver_garmin.o driver_garmin_txt.o driver_geostar.o driver_greis.o 
driver_greis_checksum.o driver_italk.o driver_navcom.o driver_nmea0183.o 
driver_nmea2000.o driver_oncore.o driver_rtcm2.o driver_rtcm3.o drivers.o 
driver_sirf.o driver_skytraq.o driver_superstar2.o driver_tsip.o driver_ubx.o 
driver_zodiac.o geoid.o gpsd_json.o isgps.o libgpsd_core.o matrix.o 
net_dgpsip.o net_gnss_dispatch.o net_ntrip.o ntpshmread.o ntpshmwrite.o 
packet.o ppsthread.o pseudoais.o pseudonmea.o serial.o subframe.o timebase.o 
timespec_str.o
ranlib libgpsd.a
gcc -o gpsdecode -pthread gpsdecode.o -L. -lgpsd -lgps_static -lusb-1.0 
-lbluetooth -lm -lrt -ldbus-1
Testing AIVDM decoding w/ CSV format...
 Testing /home/charles/versioned/gpsd/test/sample.aivdm...
Testing AIVDM decoding w/ JSON unscaled format...
 Testing /home/charles/versioned/gpsd/test/sample.aivdm...
Testing AIVDM decoding w/ JSON scaled format...
 Testing /home/charles/versioned/gpsd/test/sample.aivdm...
Testing idempotency of unscaled JSON dump/decode for AIS
Testing idempotency of scaled JSON dump/decode for AIS
gcc -o test_bits -pthread test_bits.o -L. -lgps_static
/home/charles/versioned/gpsd/test_bits --quiet
Run normal regression tests for dev-3.19-43-gd05fc247...
gcc -o test_geoid.o -c -pthread -Wextra -Wall -Wno-uninitialized 
-Wno-missing-field-initializers -Wcast-align -Wmissing-declarations 
-Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 
-pthread -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libusb-1.0 
test_geoid.c
gcc -o test_geoid -pthread test_geoid.o -L. -lgpsd -lgps_static -lusb-1.0 
-lbluetooth -lm -lrt -ldbus-1
Testing the geoid model...
/home/charles/versioned/gpsd/test_geoid 37.371192 122.014965 | diff -u 
/home/charles/versioned/gpsd/test/geoid.test.chk -
gcc -o test_json.o -c -pthread -Wextra -Wall -Wno-uninitialized 
-Wno-missing-field-initializers -Wcast-align -Wmissing-declarations 
-Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 
-pthread -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libusb-1.0 
test_json.c
gcc -o test_json -pthread test_json.o -L. -lgps_static -lm -lrt -lusb-1.0 
-ldbus-1
/home/charles/versioned/gpsd/test_json
JSON unit tests
succeeded.
Testing the Maidenhead Locator conversion...
/usr/bin/python /home/charles/versioned/gpsd/test_maidenhead.py >/dev/null
gcc -o test_matrix.o -c -pthread -Wextra -Wall -Wno-uninitialized 
-Wno-missing-field-initializers -Wcast-align -Wmissing-declarations 
-Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 
-pthread -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libusb-1.0 
test_matrix.c
gcc -o test_matrix -pthread test_matrix.o -L. -lgpsd -lgps_static -lusb-1.0 
-lbluetooth -lm -lrt -ldbus-1
/home/charles/versioned/gpsd/test_matrix --quiet
Matrix-algebra regression test succeeded
gcc -o test_packet.o -c -pthread -Wextra -Wall -Wno-uninitialized 
-Wno-missing-field-initializers -Wcast-align -Wmissing-declarations 
-Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 
-pthread -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libusb-1.0 
test_packet.c
gcc -o test_packet -pthread test_packet.o -L. -lgpsd -lgps_static -lusb-1.0 
-lbluetooth -lm -lrt -ldbus-1
Consistency-checking driver methods...
/home/charles/versioned/gpsd/test_packet -c >/dev/null
Testing detection of invalid packets...
/home/charles/versioned/gpsd/test_packet | diff -u 
/home/charles/versioned/gpsd/test/packet.test.chk -
cp gpscap.py tmp.py; /usr/bin/python -tt -m py_compile tmp.py;
rm tmp.py*
cp gpssim.py tmp.py; /usr/bin/python -tt -m py_compile tmp.py;
rm tmp.py*
cp jsongen.py tmp.py; /usr/bin/python -tt -m py_compile tmp.py;
rm tmp.py*
cp leapsecond.py tmp.py; /usr/bin/python -tt -m py_compile tmp.py;
rm tmp.py*
cp maskaudit.py tmp.py; /usr/bin/python -tt -m py_compile tmp.py;
rm tmp.py*
cp test_maidenhead.py tmp.py; /usr/bin/python -tt -m py_compile tmp.py;
rm tmp.py*
cp test_misc.py tmp.py; /usr/bin/python -tt -m py_compile tmp.py;
rm tmp.py*
cp test_xgps_deps.py tmp.py; /usr/bin/python -tt -m py_compile tmp.py;
rm tmp.py*
cp valgrind-audit.py tmp.py; /usr/bin/python -tt -m py_compile tmp.py;
rm tmp.py*
cp gps/__init__.py tmp.py; /usr/bin/python -tt -m py_compile tmp.py;
rm tmp.py*
cp gps/client.py tmp.py; /usr/bin/python -tt -m py_compile tmp.py;
rm tmp.py*
cp gps/fake.py tmp.py; /usr/bin/python -tt -m py_compile tmp.py;
rm tmp.py*
cp gps/gps.py tmp.py; /usr/bin/python -tt -m py_compile tmp.py;
rm tmp.py*
cp gps/misc.py tmp.py; /usr/bin/python -tt -m py_compile tmp.py;
rm tmp.py*
cp gps/watch_options.py tmp.py; /usr/bin/python -tt -m py_compile tmp.py;
rm tmp.py*
cp gegps tmp.py; /usr/bin/python -tt -m py_compile tmp.py;
rm tmp.py*
cp gpscat tmp.py; /usr/bin/python -tt -m py_compile tmp.py;
rm tmp.py*
cp gpsfake tmp.py; /usr/bin/python -tt -m py_compile tmp.py;
rm tmp.py*
cp gpsprof tmp.py; /usr/bin/python -tt -m py_compile tmp.py;
rm tmp.py*
cp ubxtool tmp.py; /usr/bin/python -tt -m py_compile tmp.py;
rm tmp.py*
cp zerk tmp.py; /usr/bin/python -tt -m py_compile tmp.py;
rm tmp.py*
cp xgps tmp.py; /usr/bin/python -tt -m py_compile tmp.py;
rm tmp.py*
cp xgpsspeed tmp.py; /usr/bin/python -tt -m py_compile tmp.py;
rm tmp.py*
cp SConstruct tmp.py; /usr/bin/python -tt -m py_compile tmp.py;
rm tmp.py*
/home/charles/versioned/gpsd/gegps -V
gegps: Version 3.19~dev
/home/charles/versioned/gpsd/gpscat -V
gpscat: Version 3.19~dev
/home/charles/versioned/gpsd/gpsfake -V
gpsfake: Version 3.19~dev
/home/charles/versioned/gpsd/gpsprof -V
gpsprof: Version 3.19~dev
/home/charles/versioned/gpsd/ubxtool -V
ubxtool: Version 3.19~dev
/home/charles/versioned/gpsd/zerk -V
zerk: Version 3.19~dev
/home/charles/versioned/gpsd/xgps -V
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
xgps: Version 3.19~dev
/home/charles/versioned/gpsd/xgpsspeed -V
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
xgpsspeed: Version 3.19~dev
Testing RTCM decoding...
 Testing /home/charles/versioned/gpsd/test/sample.rtcm2...
Testing idempotency of JSON dump/decode for RTCM2
Testing xgps/xgpsspeed dependencies (since xgps=yes)...
/usr/bin/python /home/charles/versioned/gpsd/test_xgps_deps.py
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
gcc -o test_mktime.o -c -pthread -Wextra -Wall -Wno-uninitialized 
-Wno-missing-field-initializers -Wcast-align -Wmissing-declarations 
-Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 
-pthread -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include test_mktime.c
gcc -o test_mktime -pthread test_mktime.o -L. -lgps_static -lm
/home/charles/versioned/gpsd/test_mktime
gcc -o test_timespec.o -c -pthread -Wextra -Wall -Wno-uninitialized 
-Wno-missing-field-initializers -Wcast-align -Wmissing-declarations 
-Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 
-pthread -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libusb-1.0 
test_timespec.c
gcc -o test_timespec -pthread test_timespec.o -L. -lgpsd -lgps_static -lusb-1.0 
-lbluetooth -lm -lrt -ldbus-1
/home/charles/versioned/gpsd/test_timespec
timespec_str test succeeded

timespec subtract test succeeded

ns subtract test succeeded

timespec tests succeeded
gcc -o test_libgps.o -c -pthread -Wextra -Wall -Wno-uninitialized 
-Wno-missing-field-initializers -Wcast-align -Wmissing-declarations 
-Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 
-pthread -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include test_libgps.c
gcc -o test_libgps -pthread test_libgps.o -L. -lgps_static -lm -lrt -ldbus-1
Testing the client-library sentence decoder...
/home/charles/versioned/gpsd/regress-driver -c 
/home/charles/versioned/gpsd/test/clientlib/*.log
Testing the clientlib...
Regression test successful: no errors in 1 tests (0 not found).
Elapsed time: 1.01
gcc -o gpsd -pthread dbusexport.o gpsd.o shmexport.o timehint.o sd_socket.o -L. 
-lgpsd -lgps_static -lusb-1.0 -lbluetooth -lm -lrt -ldbus-1
gcc -o gpsctl -pthread gpsctl.o -L. -lgpsd -lgps_static -lusb-1.0 -lbluetooth 
-lm -lrt -ldbus-1
:; /usr/bin/python /home/charles/versioned/gpsd/gpsfake -T
sys linux2 platform Linux-4.9.0-8-amd64-x86_64-with-debian-9.5: WRITE_PAD = 
0.00000
/home/charles/versioned/gpsd/regress-driver -q test/daemon/passthrough.log
Processing test/daemon/passthrough.log
Regression test test/daemon/passthrough.log successful
/home/charles/versioned/gpsd/regress-driver -q -u test/daemon/passthrough.log
Processing test/daemon/passthrough.log
Regression test test/daemon/passthrough.log successful
/home/charles/versioned/gpsd/regress-driver -q -o -t test/daemon/passthrough.log
Processing test/daemon/passthrough.log
Regression test test/daemon/passthrough.log successful
/home/charles/versioned/gpsd/regress-driver test/daemon/*.log
Testing the daemon...
Processing test/daemon/GPSmap-76S.log
Processing test/daemon/ac12.log
Processing test/daemon/ac12_binary.log
Processing test/daemon/ais-nmea-type6-fid55.log
Processing test/daemon/ais_unpack_sixbit.log
Processing test/daemon/ait250.log
Processing test/daemon/beidou-bd.log
Processing test/daemon/beidou-gb.log
Processing test/daemon/blumax-gps009.log
Processing test/daemon/bn-9015.log
Processing test/daemon/bt-q818.log
Processing test/daemon/bt451.log
Processing test/daemon/bu303-climbing.log
Processing test/daemon/bu303-moving.log
Processing test/daemon/bu303-nofix.log
Processing test/daemon/bu303-stillfix.log
Processing test/daemon/bu303b-nofix.log
Processing test/daemon/bu353-glonass.log
Processing test/daemon/bu353s4.log
Processing test/daemon/ch-4701.log
Processing test/daemon/ch-4711.log
Processing test/daemon/com-1289.log
Processing test/daemon/eXplorist110.log
Processing test/daemon/eXplorist210.log
Processing test/daemon/et-332.log
Processing test/daemon/firefly-II.log
Processing test/daemon/foretrex-201.log
Processing test/daemon/garmin-10x.log
Processing test/daemon/garmin-geko201.log
Processing test/daemon/garmin17n.log
Processing test/daemon/garmin25lp.log
Processing test/daemon/garmin38.log
Processing test/daemon/garmin48.log
Processing test/daemon/geos-1m.log
Processing test/daemon/geostar-geos1m-binary.log
Processing test/daemon/gp-320fw-2019-03-28.log
Processing test/daemon/gp-320fw-2019-04-06-overflow.log
Processing test/daemon/gp-320fw-2019-04-07-coldboot.log
Processing test/daemon/gps-360.log
Processing test/daemon/gpslim236.log
Processing test/daemon/gr601-w.log
Processing test/daemon/gr8013-w.log
Processing test/daemon/greis-binary.log
Processing test/daemon/greis-def.log
Processing test/daemon/greis-reset.log
Processing test/daemon/greis-test.log
Processing test/daemon/greis-test2.log
Processing test/daemon/hab-gpspi.log
Processing test/daemon/haicom-305N.log
Processing test/daemon/hemi.log
Processing test/daemon/holux-gm-210.log
Processing test/daemon/hp58534a.log
Processing test/daemon/humminbird-M37.log
Processing test/daemon/iTrek.log
Processing test/daemon/isync.log
Processing test/daemon/italk-binary.log
Processing test/daemon/magellan-ec10.log
Processing test/daemon/magellan315.log
Processing test/daemon/motorola-t805.log
Processing test/daemon/mr-350p.log
Processing test/daemon/mt3339.log
Processing test/daemon/mtk-3301.log
Processing test/daemon/mtk-3329.log
Processing test/daemon/myguide-3100.log
Processing test/daemon/naujoks-ntrip.log
Processing test/daemon/naujoks-rtcm2.log
Processing test/daemon/navcom.log
Processing test/daemon/navika-100-fix.log
Processing test/daemon/nd-1005.log
Processing test/daemon/neo-m8n.log
Processing test/daemon/nl2008u.log
Processing test/daemon/nl402u.log
Processing test/daemon/nl551e.log
Processing test/daemon/nokia-ld-4w.log
Processing test/daemon/ntrip_sourcetable.log
Processing test/daemon/oncore.log
Processing test/daemon/passthrough.log
Processing test/daemon/pharos-360.log
Processing test/daemon/polarx2.log
Processing test/daemon/rgm3800.log
Processing test/daemon/rst39.log
Processing test/daemon/rtcm2.log
Processing test/daemon/rtcm3.2.log
Processing test/daemon/rtcm3.log
Processing test/daemon/rx210.log
Processing test/daemon/saab-r4.log
Processing test/daemon/skytraq-bin.log
Processing test/daemon/skytraq-dgps.log
Processing test/daemon/skytraq-err.log
Processing test/daemon/skytraq-fix.log
Processing test/daemon/skytraq-fixB.log
Processing test/daemon/skytraq.log
Processing test/daemon/sl869.log
Processing test/daemon/sounder.log
Processing test/daemon/superstar2.log
Processing test/daemon/tcp-test.log
Processing test/daemon/tcp-torture.log
Processing test/daemon/tn200-all.log
Processing test/daemon/tn200.log
Processing test/daemon/tn204.log
Processing test/daemon/tnt-revolution.log
Processing test/daemon/tomtom-mkII.log
Processing test/daemon/tr737A+.log
Processing test/daemon/trimble-lassen_iq-3dfix.log
Processing test/daemon/trimble-lassen_iq-playacar.log
Processing test/daemon/trimble-lassen_iq.log
Processing test/daemon/triton400.log
Processing test/daemon/ublox-8-time.log
Processing test/daemon/ublox-8.log
Processing test/daemon/ublox-aek-4t.log
Processing test/daemon/ublox-lea-4h.log
Processing test/daemon/ublox-lea-4s.log
Processing test/daemon/ublox-lea-4t.log
Processing test/daemon/ublox-lea-5h.log
Processing test/daemon/ublox-lea-5q.log
Processing test/daemon/ublox-neo-m8n.log
Processing test/daemon/ublox-sirf1.log
Processing test/daemon/udp-test.log
Processing test/daemon/venus634lp.log
Processing test/daemon/zodiac.log
Regression test successful: no errors in 120 tests (0 not found).
Elapsed time: 187.91
scons: done building targets.
address@hidden:~/versioned/gpsd$
--------------------------------------------------


-- 
"When we talk of civilization, we are too apt to limit the meaning of
the word to its mere embellishments, such as arts and sciences; but
the true distinction between it and barbarism is, that the one
presents a state of society under the protection of just and
well-administered law, and the other is left to the chance government
of brute force."
- The Rev. James White, Eighteen Christian Centuries, 1889
Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
https://charlescurley.com



reply via email to

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