Installing gpsd, having issues intergreating it for gps

Hi there

Currently im trying to get GPS working on my GETAC V110 laptop that had a Airprime EM7355 mobile card with gps support but i couldn’t figure out how to get the gps working on that one so i brought a dedicated gps module with linux support.

It shows up as /dev/ttyACM0 and its receiving data. the problem im having is that the flatpack gps apps im wanting to use need “gpsd” installed to work so i can link the gps module im using to the system.

So far i’ve looked through the bundles and software repos and cant find it so went to build through source and it fails,

/usr/lib/python3.10/site-packages/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: 2.02.186-2-.-2019-08-27- is an invalid version and will not be supported in a future release
  warnings.warn(
scons: Reading SConscript files ...
scons version: 3.1.2
scons is running under Python version: 3.10.7.final.0
gpsd version: 3.24
This system is: linux
scons: done reading SConscript files.
scons: Cleaning targets ...
Removed gpsd-3.24/android/gpsd_config
Removed gpsd-3.24/gps/gps.py
Removed gpsd-3.24/gps/__init__.py
Removed gpsd-3.24/clients/gegps
Removed gpsd-3.24/include/gpsd_config.h
Removed gpsd-3.24/gpsd/crc24q.os
Removed gpsd-3.24/drivers/driver_greis_checksum.os
Removed gpsd-3.24/drivers/driver_rtcm2.os
Removed gpsd-3.24/libgps/gpspacket.os
Removed gpsd-3.24/gpsd/isgps.os
Removed gpsd-3.24/libgps/hex.os
Removed gpsd-3.24/libgps/os_compat.os
Removed gpsd-3.24/include/packet_names.h
Removed gpsd-3.24/gpsd/packet.os
scons: done cleaning targets.
/usr/lib/python3.10/site-packages/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: 2.02.186-2-.-2019-08-27- is an invalid version and will not be supported in a future release
  warnings.warn(
scons: Reading SConscript files ...
scons version: 3.1.2
scons is running under Python version: 3.10.7.final.0
gpsd version: 3.24
This system is: linux
cc is gcc, version 12.2.1
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... no
Turning off ncurses support, curses.h not found.
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 pkg-config for bluez... no
Turning off Bluetooth support, library not found.
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... no
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.
WARNING: AsciiDoctor not found.
WARNING: Some documentation and html will not be built.
Checking pkg-config for QtNetwork... no
Turning off Qt support, library not found.
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 -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.../usr/bin/coverage
Checking whether cppcheck program exists...no
Checking whether dia program exists...no
Checking whether flake8 program exists.../usr/bin/flake8
Checking whether pycodestyle program exists.../usr/bin/pycodestyle
Checking whether pylint program exists...no
Checking whether scan-build program exists.../usr/bin/scan-build
Checking whether tar program exists.../usr/bin/tar
Checking whether valgrind program exists.../usr/bin/valgrind
Program canplayer not found -- skipping NMEA 2000 tests
Program cppcheck not found -- skipping cppcheck checks
Program dia not found -- not rebuiding cycle.svg.
Program pylint not found -- skipping pylint checks
Checking whether python program exists.../usr/bin/python
Checking Python lib dir... /usr/lib/python3.10/site-packages
System PYTHONPATH is empty
Ensure your PYTHONPATH includes /usr/local/lib/python3.10/site-packages/
Checking Python config vars... ok
Checking Python target version... 3.10
Checking Python module serial (pyserial)... 
WARNING: ubxtool and zerk are missing optional runtime module serial
Checking Python module cairo (pycairo)... found
Checking Python module gi (pygobject)... 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... found
Altered configuration variables:
bluez = False (default True): BlueZ support for Bluetooth devices
ncurses = False (default True): build with ncurses
qt = False (default True): build Qt bindings
magic_hat = False (default True): special Linux PPS hack for Raspberry Pi et al
manbuild = 0 (default auto): build help in man and HTML formats.  No/Auto/Yes.
WARNING: ncurses not found, not building cgps or gpsmon.
NMEA2000 regression tests suppressed because rtcm104v2 is off or canplayer is missing.
scons: done reading SConscript files.
scons: Building targets ...
Creating 'gpsd-3.24/android/gpsd_config'
chmod -w gpsd-3.24/android/gpsd_config
Creating 'gpsd-3.24/gps/gps.py'
chmod -w gpsd-3.24/gps/gps.py
chmod +x gpsd-3.24/gps/gps.py
Creating 'gpsd-3.24/gps/__init__.py'
chmod -w gpsd-3.24/gps/__init__.py
chmod +x gpsd-3.24/gps/__init__.py
PylibLink(["gpsd-3.24/clients/gps"], [])
Creating 'gpsd-3.24/clients/gegps'
chmod -w gpsd-3.24/clients/gegps
chmod +x gpsd-3.24/clients/gegps
Creating 'gpsd-3.24/include/gpsd_config.h'
gcc -o gpsd-3.24/gpsd/crc24q.os -c -g -O3 -feliminate-unused-debug-types -pipe -Wall -fexceptions -Wformat -Wformat-security -m64 -fasynchronous-unwind-tables -ftree-loop-distribute-patterns -fno-semantic-interposition -ffat-lto-objects -fno-trapping-math -mtune=skylake -mrelax-cmpxchg-loop -fvisibility-inlines-hidden -O2 -fPIC -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include gpsd-3.24/gpsd/crc24q.c
cc1: warning: command-line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C
gcc -o gpsd-3.24/drivers/driver_greis_checksum.os -c -g -O3 -feliminate-unused-debug-types -pipe -Wall -fexceptions -Wformat -Wformat-security -m64 -fasynchronous-unwind-tables -ftree-loop-distribute-patterns -fno-semantic-interposition -ffat-lto-objects -fno-trapping-math -mtune=skylake -mrelax-cmpxchg-loop -fvisibility-inlines-hidden -O2 -fPIC -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include gpsd-3.24/drivers/driver_greis_checksum.c
cc1: warning: command-line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C
gcc -o gpsd-3.24/drivers/driver_rtcm2.os -c -g -O3 -feliminate-unused-debug-types -pipe -Wall -fexceptions -Wformat -Wformat-security -m64 -fasynchronous-unwind-tables -ftree-loop-distribute-patterns -fno-semantic-interposition -ffat-lto-objects -fno-trapping-math -mtune=skylake -mrelax-cmpxchg-loop -fvisibility-inlines-hidden -O2 -fPIC -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include gpsd-3.24/drivers/driver_rtcm2.c
cc1: warning: command-line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C
gcc -o gpsd-3.24/libgps/gpspacket.os -c -g -O3 -feliminate-unused-debug-types -pipe -Wall -fexceptions -Wformat -Wformat-security -m64 -fasynchronous-unwind-tables -ftree-loop-distribute-patterns -fno-semantic-interposition -ffat-lto-objects -fno-trapping-math -mtune=skylake -mrelax-cmpxchg-loop -fvisibility-inlines-hidden -O2 -fPIC -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include gpsd-3.24/libgps/gpspacket.c
cc1: warning: command-line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C
gcc -o gpsd-3.24/gpsd/isgps.os -c -g -O3 -feliminate-unused-debug-types -pipe -Wall -fexceptions -Wformat -Wformat-security -m64 -fasynchronous-unwind-tables -ftree-loop-distribute-patterns -fno-semantic-interposition -ffat-lto-objects -fno-trapping-math -mtune=skylake -mrelax-cmpxchg-loop -fvisibility-inlines-hidden -O2 -fPIC -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include gpsd-3.24/gpsd/isgps.c
cc1: warning: command-line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C
gcc -o gpsd-3.24/libgps/hex.os -c -g -O3 -feliminate-unused-debug-types -pipe -Wall -fexceptions -Wformat -Wformat-security -m64 -fasynchronous-unwind-tables -ftree-loop-distribute-patterns -fno-semantic-interposition -ffat-lto-objects -fno-trapping-math -mtune=skylake -mrelax-cmpxchg-loop -fvisibility-inlines-hidden -O2 -fPIC -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include gpsd-3.24/libgps/hex.c
cc1: warning: command-line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C
gcc -o gpsd-3.24/libgps/os_compat.os -c -g -O3 -feliminate-unused-debug-types -pipe -Wall -fexceptions -Wformat -Wformat-security -m64 -fasynchronous-unwind-tables -ftree-loop-distribute-patterns -fno-semantic-interposition -ffat-lto-objects -fno-trapping-math -mtune=skylake -mrelax-cmpxchg-loop -fvisibility-inlines-hidden -O2 -fPIC -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include gpsd-3.24/libgps/os_compat.c
cc1: warning: command-line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C
rm -f gpsd-3.24/include/packet_names.h && sed -e '/^ *\([A-Z][A-Z0-9_]*\),/s// "\1",/' < gpsd-3.24/include/packet_states.h > gpsd-3.24/include/packet_names.h && chmod a-w gpsd-3.24/include/packet_names.h
gcc -o gpsd-3.24/gpsd/packet.os -c -g -O3 -feliminate-unused-debug-types -pipe -Wall -fexceptions -Wformat -Wformat-security -m64 -fasynchronous-unwind-tables -ftree-loop-distribute-patterns -fno-semantic-interposition -ffat-lto-objects -fno-trapping-math -mtune=skylake -mrelax-cmpxchg-loop -fvisibility-inlines-hidden -O2 -fPIC -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_REENTRANT -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include gpsd-3.24/gpsd/packet.c
cc1: warning: command-line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C
gcc -o gpsd-3.24/libgpsdpacket.so.29.0.1 -Wl,now -Wl,-z -Wl,relro -Wl,-sort-common -Wl,--enable-new-dtags -shared -Wl,-Bsymbolic -Wl,-soname=libgpsdpacket.so.29 gpsd-3.24/gpsd/crc24q.os gpsd-3.24/drivers/driver_greis_checksum.os gpsd-3.24/drivers/driver_rtcm2.os gpsd-3.24/libgps/gpspacket.os gpsd-3.24/gpsd/isgps.os gpsd-3.24/libgps/hex.os gpsd-3.24/libgps/os_compat.os gpsd-3.24/gpsd/packet.os -Lgpsd-3.24 -ldbus-1
/usr/bin/ld: cannot find now: No such file or directory
collect2: error: ld returned 1 exit status
scons: *** [gpsd-3.24/libgpsdpacket.so.29.0.1] Error 1
scons: building terminated because of errors.
WARNING: ncurses not found, not building cgps or gpsmon.
WARNING: xgps and xgpsspeed are missing runtime dependencies
WARNING: ubxtool and zerk are missing optional runtime module serial
Ensure your PYTHONPATH includes /usr/local/lib/python3.10/site-packages/
WARNING: AsciiDoctor not found.
WARNING: Some documentation and html will not be built.

Thats the log from the terminal, im sure i’ve managed to install the the critical dependency’s as listed on https://gpsd.gitlab.io/gpsd/building.html

The tutorial im vaguely following as its pretty much the same module is from https://gpswebshop.com/blogs/tech-support-by-os-linux/how-to-connect-an-usb-gps-receiver-with-a-linux-computer

Anyone got any guidance on how to install this hardware?

This took me a while, because it’s been almost 5 years since I saw and fixed it somewhere else:

That only affects RPM macros, though. It turns out we have the same issue in /usr/share/defaults/etc/profile, where we define CFLAGS, FFLAGS, and FCFLAGS.

I just want to point out that our definitions are correct, however, as with the prior fix, we’ve run into tools that try to find duplicate flags in those variables, and mistakenly drop repeated -Wl,-z flags. By changing our definitions from -Wl,-z -Wl,now -Wl,-z -Wl,relro to -Wl,-z,now -Wl,-z,relro, we end up passing the same eventual flags to ld, but things like scons don’t see “duplicate” flags anymore. I’m wrapping up this fix and hopefully it’ll be in a release pretty soon. Meanwhile, this fix solves the build problem with gpsd, and I’ll see if that’s why I hadn’t managed to package it in the past.

In the short term, you can try this:

export CFLAGS="-g -O3 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -Wformat -Wformat-security -m64 -fasynchronous-unwind-tables -Wp,-D_REENTRANT -ftree-loop-distribute-patterns -Wl,-z,now -Wl,-z,relro -fno-semantic-interposition -ffat-lto-objects -fno-trapping-math -Wl,-sort-common -Wl,--enable-new-dtags -mtune=skylake -mrelax-cmpxchg-loop "
export FFLAGS="-g -O3 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m64 -fasynchronous-unwind-tables -Wp,-D_REENTRANT -ftree-loop-distribute-patterns -Wl,-z,now -Wl,-z,relro -malign-data=abi -fno-semantic-interposition -ftree-vectorize -ftree-loop-vectorize -Wl,--enable-new-dtags "
export FCFLAGS="-g -O3 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m64 -fasynchronous-unwind-tables -Wp,-D_REENTRANT -ftree-loop-distribute-patterns -Wl,-z,now -Wl,-z,relro -malign-data=abi -fno-semantic-interposition -ftree-vectorize -ftree-loop-vectorize -Wl,-sort-common -Wl,--enable-new-dtags "

I’ve sorted out the issues with gpsd and created a new, eponymous, bundle for it.

Thanks Btwarden

My apologies for the late response, my work takes up most my time during the week.

I tried what you said above and i think i figured out what you meant by it, so far installation seemed to have worked but the software isn’t registering with the system, any idea why? is it related to how clear linux works under the hood?

This is the log from the console im getting now, its installed on my system as i see the files are loaded on there, is there anything i might have missed?

I haven’t tried that bundle you made just yet as i cant find it by searching online as there seems to be issues with the search options currently on their at the moment,

Could you tell me the package name please? ill be happy to give it a try.

What im trying to achieve with this is running clear linux in my car and a robust solution to my rugged laptops to utilize hardware in a specific way.

So far Clear linux meets and exceeds most requirements and is probably the most reliable distribution i’ve used over the years minus a few years ago when there were some critical bugs that kept breaking it which seems to have been fixed and overhauled in that short time.

just cant seem to get this one tool integrated lol

Thanks

damien@clr-1c782e8d12a74041b65885469c54b5e3~/gpsd-3 (1).24 $ sudo scons && scons check && scons install
Password: 
/usr/lib/python3.10/site-packages/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: 2.02.186-2-.-2019-08-27- is an invalid version and will not be supported in a future release
  warnings.warn(
scons: Reading SConscript files ...
scons version: 3.1.2
scons is running under Python version: 3.10.8.final.0
gpsd version: 3.24
This system is: linux
cc is gcc, version 12.2.1
Checking whether the C compiler works... (cached) yes
Checking if compiler accepts -pthread... (cached) yes
Checking whether the C++ compiler works... (cached) yes
Checking for C header file curses.h... (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 for C library libnsl... (cached) no
Checking for C library libsocket... (cached) no
Checking for C library libm... (cached) yes
Checking for C library libthr... (cached) no
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 whether __STDC_NO_ATOMICS__ is declared... (cached) no
Checking for C header file stdatomic.h... (cached) yes
Checking whether __ORDER_BIG_ENDIAN__ is declared... (cached) yes
Checking whether __ORDER_LITTLE_ENDIAN__ is declared... (cached) yes
Checking whether __BYTE_ORDER__ is declared... (cached) yes
Your compiler has built-in endianness support.
Checking for C header file arpa/inet.h... (cached) yes
Checking for C header file linux/serial.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 sys/sysmacros.h... (cached) yes
Checking for C header file sys/socket.h... (cached) yes
Checking for C header file sys/un.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 FLT_EVAL_METHOD is 0... (cached) yes
Checking if strerror_r() returns int... (cached) no
Checking time_t is 8 bytes... (cached) yes
Checking for C function cfmakeraw()... (cached) yes
Checking for C function clock_gettime()... (cached) yes
Checking for C function daemon()... (cached) yes
Checking for C function fcntl()... (cached) yes
Checking for C function fork()... (cached) yes
Checking for C function getopt_long()... (cached) yes
Checking for C function gmtime_r()... (cached) yes
Checking for C function inet_ntop()... (cached) yes
Checking for C function strlcat()... (cached) no
Checking for C function strlcpy()... (cached) no
Checking for C function strnlen()... (cached) yes
Checking for C function strptime()... (cached) yes
Checking for C header file sys/timepps.h... (cached) no
Forcing magic_hat=no since RFC2783 API is unavailable
Checking whether TIOCMIWAIT is declared... (cached) yes
Checking for C library libbluetooth... (cached) yes
Checking for C library libdbus-1... (cached) yes
WARNING: AsciiDoctor not found.
WARNING: Some documentation and html will not be built.
Checking pkg-config for QtNetwork... (cached) no
Turning off Qt support, library not found.
Checking if compiler accepts -Wall... (cached) yes
Checking if compiler accepts -Wextra... (cached) yes
Checking if compiler accepts --disable-excess-fp-precision... (cached) no
Checking if compiler accepts -fexcess-precision=standard... (cached) yes
Checking if compiler accepts -Wcast-align... (cached) yes
Checking if compiler accepts -Wimplicit-fallthrough... (cached) yes
Checking if compiler accepts -Wmissing-declarations... (cached) yes
Checking if compiler accepts -Wmissing-prototypes... (cached) yes
Checking if compiler accepts -Wno-missing-field-initializers... (cached) yes
Checking if compiler accepts -Wno-uninitialized... (cached) yes
Checking if compiler accepts -Wpointer-arith... (cached) yes
Checking if compiler accepts -Wreturn-type... (cached) yes
Checking if compiler accepts -Wstrict-prototypes... (cached) yes
Checking if compiler accepts -Wundef... (cached) yes
Checking if compiler accepts -Wvla... (cached) yes
Checking whether canplayer program exists...no
Checking whether coverage program exists.../usr/bin/coverage
Checking whether cppcheck program exists.../usr/bin/cppcheck
Checking whether dia program exists...no
Checking whether flake8 program exists.../usr/bin/flake8
Checking whether pycodestyle program exists.../usr/bin/pycodestyle
Checking whether pylint program exists...no
Checking whether scan-build program exists.../usr/bin/scan-build
Checking whether tar program exists.../usr/bin/tar
Checking whether valgrind program exists.../usr/bin/valgrind
Program canplayer not found -- skipping NMEA 2000 tests
Program dia not found -- not rebuiding cycle.svg.
Program pylint not found -- skipping pylint checks
Checking whether python program exists.../usr/bin/python
Checking Python lib dir... (cached) /usr/lib/python3.10/site-packages
System PYTHONPATH is empty
Ensure your PYTHONPATH includes /usr/local/lib/python3.10/site-packages/
Checking Python config vars... ok
(cached) Checking Python target version... (cached) 3.10
Checking Python module serial (pyserial)... (cached) 
WARNING: ubxtool and zerk are missing optional runtime module serial
Checking Python module cairo (pycairo)... (cached) found
Checking Python module gi (pygobject)... (cached) found
Checking pkg-config for gtk+-3.0... (cached) yes
Checking Python module matplotlib... (cached) found
Altered configuration variables:
qt = False (default True): build Qt bindings
magic_hat = False (default True): special Linux PPS hack for Raspberry Pi et al
manbuild = 0 (default auto): build help in man and HTML formats.  No/Auto/Yes.
NMEA2000 regression tests suppressed because rtcm104v2 is off or canplayer is missing.
scons: done reading SConscript files.
scons: Building targets ...
scons: `gpsd-3.24/android/gpsd_config' is up to date.
scons: `gpsd-3.24/gps/gps.py' is up to date.
scons: `gpsd-3.24/gps/__init__.py' is up to date.
scons: `gpsd-3.24/clients/gegps' is up to date.
scons: `gpsd-3.24/gps/packet.py' is up to date.
scons: `gpsd-3.24/clients/gpscat' is up to date.
scons: `gpsd-3.24/clients/gpscsv' is up to date.
scons: `gpsd-3.24/clients/gpsd.php' is up to date.
scons: `gpsd-3.24/clients/gpsplot' is up to date.
scons: `gpsd-3.24/clients/gpsprof' is up to date.
scons: `gpsd-3.24/clients/gpssubframe' is up to date.
scons: `gpsd-3.24/clients/ubxtool' is up to date.
scons: `gpsd-3.24/clients/xgps' is up to date.
scons: `gpsd-3.24/clients/xgpsspeed' is up to date.
scons: `gpsd-3.24/clients/zerk' is up to date.
scons: `gpsd-3.24/contrib/ntpshmviz' is up to date.
scons: `gpsd-3.24/contrib/skyview2svg.py' is up to date.
scons: `gpsd-3.24/contrib/webgps' is up to date.
scons: `gpsd-3.24/control' is up to date.
scons: `gpsd-3.24/gpsd.rules' is up to date.
scons: `gpsd-3.24/gpsfake' is up to date.
scons: `gpsd-3.24/libgps.pc' is up to date.
scons: `gpsd-3.24/libQgpsmm.prl' is up to date.
scons: `gpsd-3.24/packaging/deb/etc_default_gpsd' is up to date.
scons: `gpsd-3.24/packaging/deb/etc_init.d_gpsd' is up to date.
scons: `gpsd-3.24/packaging/gpsd-setup.py' is up to date.
scons: `gpsd-3.24/packaging/rpm/gpsd.init' is up to date.
scons: `gpsd-3.24/packaging/rpm/gpsd.spec' is up to date.
scons: `gpsd-3.24/packaging/X11/xgps.desktop' is up to date.
scons: `gpsd-3.24/packaging/X11/xgpsspeed.desktop' is up to date.
scons: `gpsd-3.24/Qgpsmm.pc' is up to date.
scons: `gpsd-3.24/systemd/gpsdctl@.service' is up to date.
scons: `gpsd-3.24/systemd/gpsd.service' is up to date.
scons: `gpsd-3.24/systemd/gpsd.socket' is up to date.
rm -f gpsd-3.24/libgps/gps_maskdump.c && /usr/bin/python gpsd-3.24/maskaudit.py -c /home/damien/gpsd-3 (1).24/gpsd-3.24 > gpsd-3.24/libgps/gps_maskdump.c && chmod a-w gpsd-3.24/libgps/gps_maskdump.c
sh: -c: line 1: syntax error near unexpected token `('
sh: -c: line 1: `rm -f "gpsd-3.24/libgps/gps_maskdump.c" && /usr/bin/python "gpsd-3.24/maskaudit.py" -c /home/damien/gpsd-3 (1).24/gpsd-3.24 > "gpsd-3.24/libgps/gps_maskdump.c" && chmod a-w "gpsd-3.24/libgps/gps_maskdump.c"'
scons: *** [gpsd-3.24/libgps/gps_maskdump.c] Error 2
scons: building terminated because of errors.
WARNING: ubxtool and zerk are missing optional runtime module serial
Ensure your PYTHONPATH includes /usr/local/lib/python3.10/site-packages/
WARNING: AsciiDoctor not found.
WARNING: Some documentation and html will not be built.

You don’t need to try to build it or anything, just:

$ sudo swupd bundle-add gpsd