
| Msg # 289 of 497 on ZZLI4429, Tuesday 11-03-25, 9:30 |
| From: MARIO HAUSTEIN |
| To: ALL |
| Subj: Bug#1119961: svxlink-server is not built |
XPost: linux.debian.bugs.dist From: dm5aha@darc.de Package: svxlink-server Version: 24.02-5 Severity: important X-Debbugs-Cc: dm5aha@darc.de Dear Maintainer, I discovered svxlink-server is not built against libgpiod which affects the useability of the software. It is not possible to configure squelch and PTT signals using the GPIOD driver, but only to use the deprecated sysfs-GPIO-driver. To reproduce create the following sample configuration `svxlink.conf` ``` [GLOBAL] LOGIC_CORE_PATH=/usr/lib/aarch64-linux-gnu/svxlink LOGICS=SimplexLogic CFG_DIR=svxlink.d TIMESTAMP_FORMAT="%c" CARD_SAMPLE_RATE=48000 [SimplexLogic] TYPE=Simplex RX=Rx1 TX=Tx1 CALLSIGN=DB0CSD EVENT_HANDLER=/usr/share/svxlink/events.tcl [Rx1] TYPE=Local RX_ID=A AUDIO_DEV=alsa:plughw:0 AUDIO_CHANNEL=0 SQL_DET=GPIOD SQL_GPIOD_CHIP=gpiochip0 SQL_GPIOD_LINE=16 [Tx1] TYPE=Local TX_ID=A AUDIO_DEV=alsa:plughw:0 AUDIO_CHANNEL=0 PTT_TYPE=GPIOD PTT_GPIOD_CHIP=gpiochip0 PTT_GPIOD_LINE=17 ``` Start SvxLink ``` # svxlink --config /etc/svxlink/svxlink2.conf SvxLink v1.8.0@24.02 Copyright (C) 2003-2023 Tobias Blomberg / SM0SVX SvxLink comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it in accordance with the terms and conditions in the GNU GPL (General Public License) version 2 or later. Using configuration file: svxlink2.conf --- Using sample rate 48000Hz Starting logic: SimplexLogic Found plugin: /usr/lib/aarch64-linux-gnu/svxlink/SimplexLogic.so SimplexLogic: Loading RX "Rx1" *** ERROR: Unknown squelch type specified in config variable Rx1/SQL_DET. Legal squelch types are: "COMBINE" "CTCSS" "EVDEV" "GPIO" "HIDRAW" "OPEN" "PTY" "SERIAL" "SIGLEV" "VOX" *** ERROR: Could not initialize RX "Rx1" *** ERROR: Could not load or initialize Logic object "SimplexLogic". Skipping... *** ERROR: No logics available. Bailing out... ``` It shows, that the GPIOD driver is not available, although libgpiod is a dependency since version 24.02-2. It seems SvxLink is not built agains libpgiod as version 24.02 requires version 1 of libgpiod, whereas Debian Trxie ships version 2 of libgpiod. Due to the implementation of SvxLinks built system, not suitable libgpiod is found and the feature is disabled with just a notice but no build error (https://github.com/sm0svx/svxlink/blob/24.02/src/sv link/trx/CMakeLists.txt#L65). I would like to recommend to backport the support for libgpiod version 2 from https://github.com/sm0svx/svxlink/commit/79d25bc6115cb89d61 86447cea85775473e2138 to allow to use this feature under Debian Trixie. Many thanks in advance Kind regards -- System Information: Debian Release: 13.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: arm64 (aarch64) Foreign Architectures: armhf Kernel: Linux 6.12.47+rpt-rpi-v8 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_CRAP Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages svxlink-server depends on: ii adduser 3.152 ii init-system-helpers 1.69~deb13u1 ii libasyncaudio1.6t64 24.02-5 ii libasynccore1.6t64 24.02-5 ii libasynccpp1.6t64 24.02-5 ii libc6 2.41-12+rpt1 ii libcurl3t64-gnutls 8.14.1-2 ii libecholib1.3t64 24.02-5 ii libgcc-s1 14.2.0-19 ii libgcrypt20 1.11.0-7 ii libgsm1 1.0.22-1+b2 ii libjsoncpp26 1.9.6-3 ii libpopt0 1.19+dfsg-2 ii librtlsdr0 2.0.2-2+b1 ii libsigc++-2.0-0v5 2.12.1-3 ii libstdc++6 14.2.0-19 ii libtcl8.6 8.6.16+dfsg-1 ii svxlink-gpio 24.02-5 Versions of packages svxlink-server recommends: ii remotetrx 24.02-5 ii svxlink-calibration-tools 24.02-5 svxlink-server suggests no packages. -- Configuration Files: /etc/svxlink/svxlink.conf changed [not included] /etc/svxlink/svxlink.d/ModuleEchoLink.conf changed [not included] /etc/svxlink/svxlink.d/ModuleMetarInfo.conf changed [not included] -- no debconf information --- SoupGate-Win32 v1.05 * Origin: you cannot sedate... all the things you hate (1:229/2) |
328,116 visits
(c) 1994, bbs@darkrealms.ca