>>> gpsd 3.25 Extracting gzip -d -c /home/buildroot/autobuild/run/instance-1/dl/gpsd/gpsd-3.25.tar.gz | /home/buildroot/autobuild/run/instance-1/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-1/output-1/build/gpsd-3.25 -xf - >>> gpsd 3.25 Patching >>> gpsd 3.25 Configuring >>> gpsd 3.25 Building (cd /home/buildroot/autobuild/run/instance-1/output-1/build/gpsd-3.25; GIT_DIR=. PATH="/home/buildroot/autobuild/run/instance-1/output-1/host/bin:/home/buildroot/autobuild/run/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" AR="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/riscv64-linux-gcc-ar" AS="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/riscv64-linux-as" LD="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/riscv64-linux-ld" NM="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/riscv64-linux-gcc-nm" CC="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/riscv64-linux-gcc" GCC="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/riscv64-linux-gcc" CPP="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/riscv64-linux-cpp" CXX="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/riscv64-linux-g++" FC="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/riscv64-linux-gfortran" F77="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/riscv64-linux-gfortran" RANLIB="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/riscv64-linux-gcc-ranlib" READELF="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/riscv64-linux-readelf" STRIP="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/riscv64-linux-strip" OBJCOPY="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/riscv64-linux-objcopy" OBJDUMP="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/riscv64-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/autobuild/run/instance-1/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/run/instance-1/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/run/instance-1/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/run/instance-1/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-1/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/riscv64-linux-as" DEFAULT_LINKER="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/riscv64-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g2 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g2 " LDFLAGS=" -z text" FCFLAGS=" -O2 -g2" FFLAGS=" -O2 -g2" PKG_CONFIG="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot" INTLTOOL_PERL=/usr/bin/perl LDFLAGS=" -z text -lstdc++" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g2 -std=gnu++98" CCFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g2 -std=gnu++98" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g2 -std=gnu++98" /home/buildroot/autobuild/run/instance-1/output-1/host/bin/python3 /home/buildroot/autobuild/run/instance-1/output-1/host/bin/scons arch=riscv64 manbuild=no prefix=/usr sysroot=/home/buildroot/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot strip=no qt=no libgpsmm=yes bluez=no ashtech=no aivdm=no earthmate=no evermore=no fury=no fv18=no garmin=no garmintxt=no geostar=no gpsclock=no greis=no isync=no itrax=no navcom=no nmea2000=no oceanserver=no oncore=no rtcm104v2=no rtcm104v3=no sirf=no skytraq=no superstar2=no tsip=no tripmate=no tnt=no ublox=no clientdebug=no gpsd=no systemd=no gpsdclients=no python=yes python_libdir="/usr/lib/python3.12/site-packages") scons: Reading SConscript files ... scons version: 4.7.0 scons is running under Python version: 3.12.5.final.0 gpsd version: 3.25 Warning: CCFLAGS from environment overriding scons settings This system is: linux cc is /home/buildroot/autobuild/run/instance-1/output-1/host/bin/riscv64-linux-gcc, version 7.5.0 Checking whether the C compiler works... yes Checking if compiler accepts -pthread... no Checking whether the C++ compiler works... yes Checking for C header file curses.h... yes Checking pkg-config for ncurses... yes Checking pkg-config for tinfo... no Checking pkg-config for libusb-1.0... yes Checking for C library librt... no Checking for C library libnsl... no Checking for C library libsocket... no Checking for C library libm... no Checking for C library libthr... no Checking pkg-config for dbus-1... yes Checking for C type in_port_t... no Did not find in_port_t typedef, assuming unsigned short int Checking whether SUN_LEN is declared... yes Checking for C header file linux/can.h... yes You have kernel CANbus available. Checking if compiler is C11... no Checking for C header file libkern/OSAtomic.h... no No memory barriers - SHM export and time hinting may not be reliable. Checking whether __ORDER_BIG_ENDIAN__ is declared... yes Checking whether __ORDER_LITTLE_ENDIAN__ is declared... yes Checking whether __BYTE_ORDER__ is declared... yes Your compiler has built-in endianness support. Checking for C header file arpa/inet.h... yes Checking for C header file linux/serial.h... yes Checking for C header file netdb.h... yes Checking for C header file netinet/in.h... yes Checking for C header file netinet/ip.h... yes Checking for C header file sys/sysmacros.h... yes Checking for C header file sys/socket.h... yes Checking for C header file sys/un.h... yes Checking for C header file syslog.h... yes Checking for C header file termios.h... yes Checking for C header file winsock2.h... no Checking FLT_EVAL_METHOD is 0... no WARNING: FLT_EVAL_METHOD is not 0 Checking if strerror_r() returns int... yes Checking time_t is 8 bytes... yes Checking for C function cfmakeraw()... no Checking for C function clock_gettime()... no Checking for C function daemon()... no Checking for C function fcntl()... no Checking for C function fork()... no Checking for C function getopt_long()... no Checking for C function gmtime_r()... no Checking for C function inet_ntop()... no Checking for C function strlcat()... no Checking for C function strlcpy()... no Checking for C function strnlen()... no Checking for C function strptime()... no Checking for C header file sys/timepps.h... no Forcing magic_hat=no since RFC2783 API is unavailable Checking whether TIOCMIWAIT is declared... yes Checking for C library libdbus-1... no libdbus-1 not found, dbus_export cannot be enabled. Build of man and HTML documentation disabled. Checking if compiler accepts -Wall... no Checking if compiler accepts -Wextra... no Checking if compiler accepts --disable-excess-fp-precision... no Checking if compiler accepts -fexcess-precision=standard... no Checking if compiler accepts -Wcast-align... no Checking if compiler accepts -Wcast-qual... no Checking if compiler accepts -Wimplicit-fallthrough... no Checking if compiler accepts -Wmissing-declarations... no Checking if compiler accepts -Wmissing-prototypes... no Checking if compiler accepts -Wno-missing-field-initializers... no Checking if compiler accepts -Wno-uninitialized... no Checking if compiler accepts -Wpointer-arith... no Checking if compiler accepts -Wreturn-type... no Checking if compiler accepts -Wstrict-prototypes... no Checking if compiler accepts -Wundef... no Checking if compiler accepts -Wvla... no Checking whether canplayer program exists...no Checking whether coverage program exists...no Checking whether cppcheck program exists...no Checking whether dia program exists...no Checking whether flake8 program exists...no Checking whether pycodestyle program exists...no Checking whether pylint program exists...no Checking whether scan-build program exists...no Checking whether smilint program exists...no Checking whether tar program exists.../home/buildroot/autobuild/run/instance-1/output-1/host/bin/tar Checking whether valgrind program exists...no Program canplayer not found -- skipping NMEA 2000 tests Program coverage not found -- skipping Python coverage Program cppcheck not found -- skipping cppcheck checks Program dia not found -- not rebuiding cycle.svg. Program flake8 not found -- skipping flake8 checks Program pycodestyle not found -- skipping pycodestyle checks Program pylint not found -- skipping pylint checks Program scan-build not found -- skipping scan-build checks Program smilint not found -- skipping MIB checks Program valgrind not found -- skipping valgrind checks Checking whether python program exists.../home/buildroot/autobuild/run/instance-1/output-1/host/bin/python System PYTHONPATH is empty Ensure your PYTHONPATH includes /usr/lib/python3.12/site-packages/ Checking Python config vars... ok Checking Python target version... 3.12 Checking Python module serial (pyserial)... WARNING: ubxtool and zerk are missing optional runtime module serial Checking Python module cairo (pycairo)... WARNING: Python module cairo (pycairo) not found. Checking Python module gi (pygobject)... WARNING: Python module gi (pygobject) not found. Checking pkg-config for gtk+-3.0... no WARNING: gtk+-3.0 not found. WARNING: xgps and xgpsspeed are missing runtime dependencies Checking Python module matplotlib... WARNING: gpsplot is missing required runtime module matplotlib Altered configuration variables: ashtech = False (default True): alias for NMEA0183 support, deprecated earthmate = False (default True): DeLorme EarthMate Zodiac support evermore = False (default True): EverMore binary support fury = False (default True): Jackson Labs Fury and Firefly support fv18 = False (default True): San Jose Navigation FV-18 support garmin = False (default True): Garmin kernel driver support garmintxt = False (default True): Garmin Simple Text support geostar = False (default True): Geostar Protocol support greis = False (default True): Javad GREIS support itrax = False (default True): iTrax hardware support navcom = False (default True): Navcom NCT support nmea2000 = False (default True): NMEA2000/CAN support oncore = False (default True): Motorola OnCore chipset support sirf = False (default True): SiRF chipset support skytraq = False (default True): Skytraq chipset support superstar2 = False (default True): Novatel SuperStarII chipset support tnt = False (default True): True North Technologies support tripmate = False (default True): DeLorme TripMate support tsip = False (default True): Trimble TSIP support ublox = False (default True): u-blox Protocol support aivdm = False (default True): AIVDM support gpsclock = False (default True): Furuno GPSClock support isync = False (default True): Spectratime iSync LNRClok/GRCLOK support oceanserver = False (default True): OceanServer support rtcm104v2 = False (default True): rtcm104v2 support rtcm104v3 = False (default True): rtcm104v3 support bluez = False (default True): BlueZ support for Bluetooth devices systemd = False (default True): systemd socket activation clientdebug = False (default True): client debugging support qt = False (default True): build Qt bindings gpsdclients = False (default True): gspd client programs gpsd = False (default True): gpsd itself magic_hat = False (default True): special Linux PPS hack for Raspberry Pi et al manbuild = False (default auto): build help in man and HTML formats. No/Auto/Yes. prefix = /usr (default /usr/local): installation directory prefix python_libdir = /usr/lib/python3.12/site-packages (default ): Python module directory prefix sysroot = /home/buildroot/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot (default ): Logical root directory for headers and libraries. For cross-compiling, or building with multiple local toolchains. See gcc and ld man pages for more details. NMEA2000 regression tests suppressed because rtcm104v2 is off or canplayer is missing. RTCM2 regression tests suppressed because rtcm104v2 is off. AIVDM regression tests suppressed because aivdm is off. scons: done reading SConscript files. scons: Building targets ... Creating 'gpsd-3.25/android/gpsd_config' chmod -w gpsd-3.25/android/gpsd_config Creating 'gpsd-3.25/gps/gps.py' chmod -w gpsd-3.25/gps/gps.py chmod +x gpsd-3.25/gps/gps.py Creating 'gpsd-3.25/gps/__init__.py' chmod -w gpsd-3.25/gps/__init__.py chmod +x gpsd-3.25/gps/__init__.py PylibLink(["gpsd-3.25/clients/gps"], []) Creating 'gpsd-3.25/clients/gegps' chmod -w gpsd-3.25/clients/gegps chmod +x gpsd-3.25/clients/gegps Creating 'gpsd-3.25/include/gpsd_config.h' /home/buildroot/autobuild/run/instance-1/output-1/host/bin/riscv64-linux-gcc -o gpsd-3.25/gpsd/crc24q.os -c --sysroot=/home/buildroot/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot -O2 -g2 -z -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/dbus-1.0 -I/home/buildroot/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/dbus-1.0/include gpsd-3.25/gpsd/crc24q.c /home/buildroot/autobuild/run/instance-1/output-1/host/bin/riscv64-linux-gcc -o gpsd-3.25/drivers/driver_greis_checksum.os -c --sysroot=/home/buildroot/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot -O2 -g2 -z -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/dbus-1.0 -I/home/buildroot/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/dbus-1.0/include gpsd-3.25/drivers/driver_greis_checksum.c /home/buildroot/autobuild/run/instance-1/output-1/host/bin/riscv64-linux-gcc -o gpsd-3.25/drivers/driver_rtcm2.os -c --sysroot=/home/buildroot/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot -O2 -g2 -z -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/dbus-1.0 -I/home/buildroot/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/dbus-1.0/include gpsd-3.25/drivers/driver_rtcm2.c In file included from gpsd-3.25/drivers/../include/gpsd.h:36, from gpsd-3.25/drivers/driver_rtcm2.c:65: gpsd-3.25/drivers/../include/os_compat.h:40:8: error: redefinition of 'struct timespec' 40 | struct timespec { | ^~~~~~~~ In file included from /home/buildroot/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/select.h:16, from gpsd-3.25/drivers/../include/gpsd.h:31: /home/buildroot/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:227:8: note: originally defined here 227 | struct timespec { time_t tv_sec; int :8*(sizeof(time_t)-sizeof(long))*(__BYTE_ORDER==4321); long tv_nsec; int :8*(sizeof(time_t)-sizeof(long))*(__BYTE_ORDER!=4321); }; | ^~~~~~~~ gpsd-3.25/drivers/../include/os_compat.h:48:5: error: conflicting types for 'clock_gettime'; have 'int(clockid_t, struct timespec *)' {aka 'int(int, struct timespec *)'} 48 | int clock_gettime(clockid_t, struct timespec *); | ^~~~~~~~~~~~~ In file included from gpsd-3.25/drivers/../include/gpsd.h:33: /home/buildroot/autobuild/run/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/time.h:104:5: note: previous declaration of 'clock_gettime' with type 'int(clockid_t, struct timespec *)' {aka 'int(int, struct timespec *)'} 104 | int clock_gettime (clockid_t, struct timespec *); | ^~~~~~~~~~~~~ scons: *** [gpsd-3.25/drivers/driver_rtcm2.os] Error 1 scons: building terminated because of errors. WARNING: gpsplot is missing required runtime module matplotlib WARNING: xgps and xgpsspeed are missing runtime dependencies WARNING: ubxtool and zerk are missing optional runtime module serial Ensure your PYTHONPATH includes /usr/lib/python3.12/site-packages/ package/pkg-generic.mk:286: recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/gpsd-3.25/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-1/output-1/build/gpsd-3.25/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/run/instance-1/buildroot'