[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1123694: marked as done (soapyhydrasdr installs into a foreign multiarch directory)



Your message dated Tue, 23 Dec 2025 06:04:54 +0000
with message-id <E1vXvVu-001PlL-2H@fasolo.debian.org>
and subject line Bug#1123694: fixed in soapyhydrasdr 0.1.0-3
has caused the Debian Bug report #1123694,
regarding soapyhydrasdr installs into a foreign multiarch directory
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1123694: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1123694
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: soapyhydrasdr
Version: 0.1.0-2
Severity: serious
Justification: wrong multiarch directory
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

soapyhydrasdr successfully cross builds a broken package. Upon closer
inspection of a native build, I noticed that this is also the case for
the native builds uploaded to the archive.

https://buildd.debian.org/status/fetch.php?pkg=soapyhydrasdr&arch=arm64&ver=0.1.0-2&stamp=1762215701&raw=0

| soapysdr0.8-module-hydrasdr_0.1.0-2_arm64.deb
| ---------------------------------------------
| 
|  new Debian package, version 2.0.
|  size 22964 bytes: control archive=812 bytes.
|      600 bytes,    15 lines      control
|      556 bytes,     6 lines      md5sums
|  Package: soapysdr0.8-module-hydrasdr
|  Source: soapyhydrasdr
|  Version: 0.1.0-2
|  Architecture: arm64
|  Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
|  Installed-Size: 153
|  Depends: libc6 (>= 2.38), libgcc-s1 (>= 3.0), libhydrasdr0 (>= 1.0.2), libsoapysdr0.8 (>= 0.8.1), libstdc++6 (>= 5.2)
|  Section: hamradio
|  Priority: optional
|  Multi-Arch: same
|  Homepage: https://github.com/hydrasdr/SoapyHydraSDR
|  Description: HydraSDR device support for SoapySDR
|   The Soapy HydraSDR project provides a SoapySDR hardware support module.
|   .
|   Adds HydraSDR RFOne software defined radio support via Soapy.
| 
| drwxr-xr-x root/root         0 2025-11-03 23:25 ./
| drwxr-xr-x root/root         0 2025-11-03 23:25 ./usr/
| drwxr-xr-x root/root         0 2025-11-03 23:25 ./usr/lib/
| drwxr-xr-x root/root         0 2025-11-03 23:25 ./usr/lib/aarch64-linux-gnu/
| drwxr-xr-x root/root         0 2025-11-03 23:25 ./usr/lib/aarch64-linux-gnu/SoapySDR/
| drwxr-xr-x root/root         0 2025-11-03 23:25 ./usr/lib/aarch64-linux-gnu/SoapySDR/modules0.8/
| -rw-r--r-- root/root     67792 2025-11-03 23:25 ./usr/lib/aarch64-linux-gnu/SoapySDR/modules0.8/libSoapyHydraSDR.so
| drwxr-xr-x root/root         0 2025-11-03 23:25 ./usr/lib/x86_64-linux-gnu/
| drwxr-xr-x root/root         0 2025-11-03 23:25 ./usr/lib/x86_64-linux-gnu/SoapySDR/
| drwxr-xr-x root/root         0 2025-11-03 23:25 ./usr/lib/x86_64-linux-gnu/SoapySDR/modules0.8/
| -rw-r--r-- root/root     67792 2025-11-03 23:25 ./usr/lib/x86_64-linux-gnu/SoapySDR/modules0.8/libSoapyHydraSDR.so
| drwxr-xr-x root/root         0 2025-11-03 23:25 ./usr/share/
| drwxr-xr-x root/root         0 2025-11-03 23:25 ./usr/share/doc/
| drwxr-xr-x root/root         0 2025-11-03 23:25 ./usr/share/doc/soapysdr0.8-module-hydrasdr/
| -rw-r--r-- root/root      1665 2025-08-01 06:09 ./usr/share/doc/soapysdr0.8-module-hydrasdr/README.md
| -rw-r--r-- root/root       320 2025-11-03 23:25 ./usr/share/doc/soapysdr0.8-module-hydrasdr/changelog.Debian.gz
| -rw-r--r-- root/root        98 2025-08-01 06:09 ./usr/share/doc/soapysdr0.8-module-hydrasdr/changelog.gz
| -rw-r--r-- root/root      1273 2025-08-01 06:09 ./usr/share/doc/soapysdr0.8-module-hydrasdr/copyright

Quite definitely, it should not be installing to
/usr/lib/x86_64-linux-gnu.

The upstream CMakeLists.txt tries quite a bit to avoid this outcome, but
it ultimately fails. It first checks whether the user might have defined
SOAPY_SDR_MODULE_DIR. That's not the case during a package build. Then
it tries to locate SoapySDR using pkg-config and it may even find it,
but Debian's SoapySDR.pc does not include a moduledir, so that does not
help either. It then tries a few common locations and eventually falls
back to /usr/lib/x86_64-linux-gnu/SoapySDR/modules0.8. That's where our
path comes from.

I think the best solution here would be adding the moduledir to
SoapySDR.pc. In the mean time, I suggest overriding the variable to fix
the installation path. I'm attaching a patch for your convenience.

Helmut
diff -Nru soapyhydrasdr-0.1.0/debian/changelog soapyhydrasdr-0.1.0/debian/changelog
--- soapyhydrasdr-0.1.0/debian/changelog	2025-11-04 00:25:00.000000000 +0100
+++ soapyhydrasdr-0.1.0/debian/changelog	2025-12-17 15:23:44.000000000 +0100
@@ -1,3 +1,10 @@
+soapyhydrasdr (0.1.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix wrong installation path by forcing SOAPY_SDR_MODULE_DIR. (Closes: #-1)
+
+ -- A. Maitland Bottoms <helmut@benjy>  Wed, 17 Dec 2025 15:23:44 +0100
+
 soapyhydrasdr (0.1.0-2) unstable; urgency=medium
 
   * upload to unstable
diff -Nru soapyhydrasdr-0.1.0/debian/rules soapyhydrasdr-0.1.0/debian/rules
--- soapyhydrasdr-0.1.0/debian/rules	2025-11-03 14:05:06.000000000 +0100
+++ soapyhydrasdr-0.1.0/debian/rules	2025-12-17 15:23:44.000000000 +0100
@@ -1,4 +1,10 @@
 #!/usr/bin/make -f
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
+include /usr/share/dpkg/architecture.mk
+
 %:
 	dh $@
+
+override_dh_auto_configure:
+	dh_auto_configure -- -DSOAPY_SDR_MODULE_DIR=/usr/lib/$(DEB_HOST_MULTIARCH)/SoapySDR/modules0.8

--- End Message ---
--- Begin Message ---
Source: soapyhydrasdr
Source-Version: 0.1.0-3
Done: tony mancill <tmancill@debian.org>

We believe that the bug you reported is fixed in the latest version of
soapyhydrasdr, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1123694@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
tony mancill <tmancill@debian.org> (supplier of updated soapyhydrasdr package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 22 Dec 2025 21:31:15 -0800
Source: soapyhydrasdr
Architecture: source
Version: 0.1.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Changed-By: tony mancill <tmancill@debian.org>
Closes: 1123694
Changes:
 soapyhydrasdr (0.1.0-3) unstable; urgency=medium
 .
   * Team upload.
   * Set SOAPY_SDR_MODULE_DIR for multi-arch installation path.
     Thank you to Helmut Grohne for the fix and patch.  (Closes: #1123694)
   * Update d/copyright format URL
   * Remove Rules-Requires-Root from d/control
Checksums-Sha1:
 9c0cbfc5436383c9ed293b9d728f3dce246334be 2192 soapyhydrasdr_0.1.0-3.dsc
 fdf5a832a48091e95f5756f8131035f88ecaae23 2176 soapyhydrasdr_0.1.0-3.debian.tar.xz
 722cd32f087b2da18a9cad09907642412d1fcdab 7682 soapyhydrasdr_0.1.0-3_amd64.buildinfo
Checksums-Sha256:
 9aee8fcdd0d01c8e18b950e05e09c6f467ed3472f3d5941250dae7187830c489 2192 soapyhydrasdr_0.1.0-3.dsc
 643801892db1167ff0ac5e1095d2041b0078c0b59a252d1bcca59635397a4fb6 2176 soapyhydrasdr_0.1.0-3.debian.tar.xz
 dcd91ea1e95a4f43e7f29b2ea14f9e2c4d94a03525d686a194ef038687de55b3 7682 soapyhydrasdr_0.1.0-3_amd64.buildinfo
Files:
 7333d0202be51439a18ebe3ff56f8c99 2192 hamradio optional soapyhydrasdr_0.1.0-3.dsc
 0cf6e26a84dd2b1f523de089093ad846 2176 hamradio optional soapyhydrasdr_0.1.0-3.debian.tar.xz
 1cf1172c40a1b9c6d104cfe5016080f3 7682 hamradio optional soapyhydrasdr_0.1.0-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmlKLTEUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpZ8Yg/8DqD/NWV5iS2DI4aYC+LBGydE+YAj
Kv2SxXtpWIrPrkNbf1DDl66ZzbQxwM9hxN3k6qGj+a6uaPcWXk6jWhMIfLEdUZAo
UHujSS49FzWgGxRBqOBi10s4KPtdd4711ag1HMeOH6NS04SI7fOIYgqd3ngX+QOi
LJzFG00vyr2kQqbdRS7kc13EXxUyi/Xoyyq10/SMV2kGJeMS1EdHpqoG1JZidjvK
pGrCPoD/OKdUZgPhxoi+m5jeyrdNanKnGzWa5zSx4gJMej0CMx3FDdUQTA69wcC9
29qRfsfeR0A2sWIK5nj4qpfTJ0IaYC/G/61P2HLByICPaoLIliJn8tp+/R/8jufM
ht0aYFEuQsFHtUbAPqH/a9eVX5iY5h9s2xpQWMsuFCJ5gIw21Lcv4fxwxVWeN8u5
IvK9Z3U8cTJ1qSIgzzMWb6AGOyqOMrXVgYZSswXXdMuxI9Al/5CocwULXiaYzzWJ
XNpzebBDXx44l3oX7GifxNzn/a9aOZ5jADYthKk7VaSSFxZslE9Q1obdo77TG1s1
H42/MS3Jq7UyQwFUpMl9Y/DBsvw8Hn2eldZfQw0B62XypF9ro+yeEHilPChTfbbF
z9HPgPMS61zLI2TqfxraUL8jfvFlhmwjeZfha6VxeO32ugpH7eczqDgKC862Dtoq
iS3S2ioyN5KHOFk=
=39sJ
-----END PGP SIGNATURE-----

Attachment: pgpZ2wMkwet8J.pgp
Description: PGP signature


--- End Message ---

Reply to: