@tojad thanks for reporting this. I have made lua54 a dep and am forcing the compiler to use it. This is just a bandaid to get 1.2.2 to compile, as the next release of Satdump has removed Lua support completely in favor of Angelscript.
Search Criteria
Package Details: satdump 1.2.2-5
Package Actions
| Git Clone URL: | https://aur.archlinux.org/satdump.git (read-only, click to copy) |
|---|---|
| Package Base: | satdump |
| Description: | A generic satellite processing software |
| Upstream URL: | https://github.com/SatDump/SatDump |
| Licenses: | GPL-3.0-only |
| Submitter: | meanjollies |
| Maintainer: | meanjollies |
| Last Packager: | meanjollies |
| Votes: | 4 |
| Popularity: | 0.065516 |
| First Submitted: | 2024-02-10 20:55 (UTC) |
| Last Updated: | 2026-04-12 20:28 (UTC) |
Dependencies (20)
- airspy (airspy-gitAUR)
- fftw (fftw-amdAUR)
- glfw (glfw-gitAUR, glfw-wayland-minecraft-cursorfixAUR)
- hackrf (hackrf-gitAUR)
- jemalloc (jemalloc-gitAUR)
- libad9361 (libad9361-gitAUR)
- libpng (libpng-gitAUR, libpng-apngAUR)
- libvolk (libvolk-gitAUR)
- nng (nanonng-gitAUR, nanomq-gitAUR, nanomq-sqlite-gitAUR, nanomq-msquic-gitAUR, nanomq-full-gitAUR, nng-gitAUR, nanomq-nng-binAUR)
- ocl-icd (khronos-ocl-icd-gitAUR, opencl-icd-loaderAUR)
- portaudio
- rtl-sdr (rtl-sdr-librtlsdr-gitAUR, rtl-sdr-gitAUR, rtl-sdr-blogAUR, rtl-sdr-blog-gitAUR, rtl-sdr-exp-gitAUR)
- zenity (zenity-gtk3AUR, zenity-gitAUR, qarma-gitAUR, zenity-rs-binAUR)
- zstd (zstd-gitAUR, zstd-staticAUR)
- boost (boost-gitAUR) (make)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- lua54 (make)
- opencl-headers (opencl-headers-gitAUR, adaptivecpp-gitAUR, adaptivecppAUR) (make)
- bladerf (bladerf-gitAUR, libbladerf-gitAUR) (optional)
- limesuite (limesuite-gitAUR) (optional)
Required by (2)
- openwebrx-plus (optional)
- openwebrx-plus-git (optional)
Sources (2)
meanjollies commented on 2026-04-12 20:30 (UTC)
tojad commented on 2026-04-12 04:01 (UTC)
When trying to build I get the following error:
error "unsupported Lua version (i.e. not Lua 5.1, 5.2, 5.3, or 5.4)"
When I've added lua 5.5 to the allowlist, it fails with
error: ‘LUA_ERRGCMM’ was not declared in this scope; did you mean ‘LUA_ERRMEM’?
7854 | gc = LUA_ERRGCMM,
| ^~~~~~~~~~~
| LUA_ERRMEM
meaning there's a breaking change in lua 5.5. Per https://archlinux.org/todo/lua-55-package-split-and-rebuild/ it seems like lua54 might be needed as a dependency?
meanjollies commented on 2025-05-21 16:51 (UTC)
The upstream README mentions a few times to use Release. That implies to me that it's needed, but maybe not.
Misaka13514 commented on 2025-05-21 16:47 (UTC)
Thank you for applying my suggestions. I noticed you are still using CMAKE_BUILD_TYPE=Release which will use -O3 as configured, maybe it should be changed to CMAKE_BUILD_TYPE=None?
meanjollies commented on 2025-05-21 16:10 (UTC)
That makes sense - thanks! TIL about extra-x86_64-build. I've added in your suggestions. We get Package contains reference to $srcdir warnings now, but I think those are harmless as the source contains the __FILE__ macro used only during compilation.
Misaka13514 commented on 2025-05-21 00:53 (UTC) (edited on 2025-05-21 00:55 (UTC) by Misaka13514)
@meanjollies extra-x86_64-build is a tool to build the package in a clean chroot. In that chroot, we cannot access the patch file in the directory of the same level of PKGBUILD. But it is already included in source, so it will be automatically copied to $srcdir. By changing the path in the prepare(), we can make the package build in a chroot without file not found issue.
meanjollies commented on 2025-05-20 18:28 (UTC)
Hello @Misaka13514. Thank you for your comment. Can you clarify what you mean by your patch comment?
Misaka13514 commented on 2025-05-20 07:50 (UTC)
Repository is moved:
url='https://github.com/SatDump/SatDump'
Use the patch in srcdir to make extra-x86_64-build work:
prepare() {
patch -p0 -i ${pkgname}.patch
}
Follow the CMake package guidelines:
build() {
local cmake_options=(
-B build
-S "SatDump-${pkgver}"
-W no-dev
-D CMAKE_BUILD_TYPE=None
-D CMAKE_INSTALL_PREFIX=/usr
)
cmake "${cmake_options[@]}"
cmake --build build
}
package() {
DESTDIR="${pkgdir}" cmake --install build
}
Thank you for maintaining this package!
meanjollies commented on 2024-12-12 01:00 (UTC)
@nannk added. Thanks :]
nannk commented on 2024-12-11 23:08 (UTC) (edited on 2024-12-11 23:08 (UTC) by nannk)
Please add zenity to dependencies. Dialog boxes do not work without it.
Pinned Comments
meanjollies commented on 2024-10-01 01:19 (UTC)
Folks, please stop flagging this package out of date when it is not. If you have a request, leave a comment.