Workaround for now:
yay -S wsjtx-improved --editmenu- Add to
cmakethose lines
-DCMAKE_C_FLAGS="$CFLAGS -Wno-error=format-security" \
-DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-error=format-security" \
- It will build fine..
| Git Clone URL: | https://aur.archlinux.org/wsjtx-improved.git (read-only, click to copy) |
|---|---|
| Package Base: | wsjtx-improved |
| Description: | Software for Amateur Radio Weak-Signal Communication (JT9 and JT65) - WSJT-X Improved by DG2YCB |
| Upstream URL: | https://sourceforge.net/projects/wsjt-x-improved/ |
| Keywords: | hamradio wsjtx |
| Licenses: | GPL-3.0-or-later |
| Conflicts: | wsjtx |
| Provides: | wsjtx |
| Submitter: | KF5U |
| Maintainer: | KF5U |
| Last Packager: | KF5U |
| Votes: | 6 |
| Popularity: | 0.87 |
| First Submitted: | 2023-10-19 07:42 (UTC) |
| Last Updated: | 2026-09-08 18:45 (UTC) |
Workaround for now:
yay -S wsjtx-improved --editmenucmake those lines -DCMAKE_C_FLAGS="$CFLAGS -Wno-error=format-security" \
-DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-error=format-security" \
If you cannot replicate issue maybe your system have non default makepkg.conf..
https://rfc.archlinux.page/0003-buildflags/
Default makepkg.conf will fail. You PKGBUILD need to override this flag or create patch for upstream that will fix issue not hide it.
Build still fails..
[ 80%] Building Fortran object qmap/libqmap/CMakeFiles/qmap_impl.dir/geocentric.f90.o
/home/radio/.cache/yay/wsjtx-improved/src/wsjtx-3.1.0/wsjtx-prefix/wsjtx/map65/libm65/tmoonsub.c: In function ‘getargs’:
/home/radio/.cache/yay/wsjtx-improved/src/wsjtx-3.1.0/wsjtx-prefix/wsjtx/map65/libm65/tmoonsub.c:59:5: error: format not a string literal and no format arguments [-Werror=format-security]
59 | fprintf(stderr, usage);
| ^~~~~~~
I figured out what happened. Yay didn't do a "git pull" on its cached copy of the repo. All good here.
Can you confirm that your PKGBUILD matches the AUR version?
Still not compiling on my system:
home/user/.cache/yay/wsjtx-improved/src/wsjtx-3.1.0/wsjtx-prefix/wsjtx/map65/libm65/tmoonsub.c:59:5: error: format not a string literal and no format arguments [-Werror=format-security]
59 | fprintf(stderr, usage);
| ^~~
The other weird part is that the error appeared also on my clean environments under Docker and WSL. The issue is now fixed so thank you very much :)
Ok, I have added the workaround for now. I will investigate possible upstream PR as I have time. Thanks for your comments. Please let me know if it is working for you now.
Weird because the build builds fine in my clean environment. Give me a few and I will dig further into it.
Pinned Comments
KF5U commented on 2026-08-27 19:20 (UTC)
Note on qt5-websockets
Arch has removed qt5-websockets from the official repositories; it now exists only as an AUR package. yay/paru users are unaffected — the dependency resolves automatically. If you build with plain makepkg -s, install qt5-websockets from the AUR first.
If you don't specifically need Qt5, wsjtx-improved-qt6 (and its -al-qt6 / -widescreen-qt6 variants) build against Qt6, where every dependency is still in [extra].