Package Details: gnss-sdr-git 0.0.20+12.r9867.20250424.4a2f6bc56-2

Git Clone URL: https://aur.archlinux.org/gnss-sdr-git.git (read-only, click to copy)
Package Base: gnss-sdr-git
Description: GNSS (Global Navigation Satellite System) software receiver
Upstream URL: http://gnss-sdr.org
Licenses: GPL-3.0-or-later
Conflicts: gnss-sdr
Provides: gnss-sdr
Submitter: rchmielarz
Maintainer: dreieck
Last Packager: dreieck
Votes: 4
Popularity: 0.000000
First Submitted: 2015-10-09 16:14 (UTC)
Last Updated: 2025-04-29 13:54 (UTC)

Latest Comments

1 2 3 Next › Last »

phantome commented on 2025-04-29 19:01 (UTC)

Most definitely "-w" did the trick for you, since it suppressed all warnings. Nice that we fixed that. Hope upstream fixes it too soon. Take care.

dreieck commented on 2025-04-29 13:57 (UTC)

I built and could not reproduce your error, @phantome.

My default $CFLAGS in /etc/makepkg.conf are:
CFLAGS="-march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -fstack-clash-protection -fcf-protection -w"

And default $CXXFLAGS:
CXXFLAGS="${CFLAGS} -Wp,-D_GLIBCXX_ASSERTIONS"

So maybe my defaults did already make that the issue did not occur?

Anyway, I added -Wno-format-security to the $CFLAGS now; and I also add the corresponding -Wno-error=[...] now. Thanks for mentioning!

Regards!

phantome commented on 2025-04-29 13:20 (UTC) (edited on 2025-04-29 13:20 (UTC) by phantome)

We see this error because GCC 14 has gotten stricter about the use of snprintf() when the format string is not a literal, which is what’s happening here.

It IS an upstream issue, I went over there and asked them to fix it, even suggested them how to do it.

In the meantime if anyone want to build it you can go to the line (in PKGBUILD)

_CFLAGSADDITIONS="-Wno-maybe-uninitialized" # Silence some compiler warnings.

and change it to

_CFLAGSADDITIONS="-Wno-maybe-uninitialized -Wno-format-security" # Silence some compiler warnings.

This is NOT a long-term solution, but till they fix it... there you go. Thanks for you time.

dreieck commented on 2025-04-28 21:09 (UTC)

Ahoj @phantome,

this looks to me like an upstream issue (but I did not try yet). Report it to upstream in that case, noting that you are using the next branch.

phantome commented on 2025-04-28 20:11 (UTC)

Fails to build:

fft_kernelstring.cc:894:13: error: format not a string literal and no format arguments snprintf((kInfo)->kernel_name, sizeof((kInfo)->kernel_name), kernelName.c_str());

fft_kernelstring.cc:1146:21: error: format not a string literal and no format arguments snprintf((kInfo)->kernel_name, sizeof((kInfo)->kernel_name), kernelName.c_str());

simona commented on 2025-04-23 14:15 (UTC) (edited on 2025-04-23 14:15 (UTC) by simona)

armadillo upgrade works... thx

dreieck commented on 2025-04-23 10:04 (UTC)

/usr/bin/ld: warning: libhdf5.so.200, needed by /usr/lib/libarmadillo.so […]

@simona, have you re-compiled the package armadillo after updating hdf5 or superlu?

simona commented on 2025-04-23 08:53 (UTC)


/usr/bin/ld: warning: libhdf5.so.200, needed by /usr/lib/libarmadillo.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libsuperlu.so.5, needed by /usr/lib/libarmadillo.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/libarmadillo.so: undefined reference to `zgssv'
/usr/bin/ld: /usr/lib/libarmadillo.so: undefined reference to `Destroy_SuperNode_Matrix'
/usr/bin/ld: /usr/lib/libarmadillo.so: undefined reference to `StatInit'
/usr/bin/ld: /usr/lib/libarmadillo.so: undefined reference to `dgssv'
/usr/bin/ld: /usr/lib/libarmadillo.so: undefined reference to `sgssvx'
/usr/bin/ld: /usr/lib/libarmadillo.so: undefined reference to `Destroy_SuperMatrix_Store'
/usr/bin/ld: /usr/lib/libarmadillo.so: undefined reference to `superlu_free'
/usr/bin/ld: /usr/lib/libarmadillo.so: undefined reference to `zgssvx'
/usr/bin/ld: /usr/lib/libarmadillo.so: undefined reference to `cgssv'
/usr/bin/ld: /usr/lib/libarmadillo.so: undefined reference to `set_default_options'
/usr/bin/ld: /usr/lib/libarmadillo.so: undefined reference to `Destroy_CompCol_Matrix'
/usr/bin/ld: /usr/lib/libarmadillo.so: undefined reference to `dgssvx'
/usr/bin/ld: /usr/lib/libarmadillo.so: undefined reference to `sgssv'
/usr/bin/ld: /usr/lib/libarmadillo.so: undefined reference to `superlu_malloc'
/usr/bin/ld: /usr/lib/libarmadillo.so: undefined reference to `cgssvx'
/usr/bin/ld: /usr/lib/libarmadillo.so: undefined reference to `StatFree'
collect2: error: ld returned 1 exit status
make[2]: *** [src/main/CMakeFiles/gnss-sdr.dir/build.make:264: src/main/gnss-sdr] Error 1
make[1]: *** [CMakeFiles/Makefile2:3270: src/main/CMakeFiles/gnss-sdr.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
make: uscita dalla directory «/home/simona/.cache/yay/gnss-sdr-git/src/build»

simona commented on 2025-02-11 01:09 (UTC)

/home/simona/.cache/yay/gnss-sdr-git/src/gnss-sdr/src/algorithms/PVT/libs/monitor_ephemeris_udp_sink.cc: In constructor ‘Monitor_Ephemeris_Udp_Sink::Monitor_Ephemeris_Udp_Sink(const std::vector<std::__cxx11::basic_string\<char> >&, const uint16_t&, bool)’:
/home/simona/.cache/yay/gnss-sdr-git/src/gnss-sdr/src/algorithms/PVT/libs/monitor_ephemeris_udp_sink.cc:31:79: error: ‘from_string’ is not a member of ‘boost::asio::ip::address’
31 | boost::asio::ip::udp::endpoint endpoint(boost::asio::ip::address::from_string(address, error), port);
| ^~~
make[2]: *** [src/algorithms/PVT/libs/CMakeFiles/pvt_libs.dir/build.make:229: src/algorithms/PVT/libs/CMakeFiles/pvt_libs.dir/monitor_ephemeris_udp_sink.cc.o] Error 1

simona commented on 2025-01-11 21:11 (UTC)

I can compile.