Your message dated Fri, 14 Jan 2022 12:00:39 +0000
with message-id <e1n8lg3-000ibd...@fasolo.debian.org>
and subject line Bug#993699: fixed in libxtrx 0.0.1+git20191219.98458ce-2
has caused the Debian Bug report #993699,
regarding libxtrx: FTBFS with libsoapysdr 0.8
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 ow...@bugs.debian.org
immediately.)
--
993699: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993699
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: libxtrx
Version: 0.0.1+git20191219.98458ce-1
Severity: important
Tags: ftbfs upstream
I am building rdeps of libsoapysdr in preparation of the transition to
version 0.8. This version has changed the SoapySDRDevice_setupStream()
function signature to return the SoapySDRStream directly rather than
through a pointer:
* Recommended keys to use in the args dictionary:
* - "WIRE" - format of the samples between device and host
* \endparblock
- * \return 0 for success or error code on failure
+ * \return the stream pointer or nullptr for failure
*/
-SOAPY_SDR_API int SoapySDRDevice_setupStream(SoapySDRDevice *device,
- SoapySDRStream **stream,
+SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice
*device,
const int direction,
const char *format,
const size_t *channels,
This causes a build failure in libxtrx when building against the new
libsoapysdr. Upstream appears to have switched to the new call signature
in their current code, dropping compatibility with libsoapysdr 0.7 at
the same time. A way to be compatible with both would be using
preprocessor directives to discriminate between API version using
SOAPY_SDR_API_VERSION.
Log of the failed build:
/build/libxtrx-0.0.1+git20191219.98458ce/soapy/test_xtrx_soapy.c: In function
'main':
/build/libxtrx-0.0.1+git20191219.98458ce/soapy/test_xtrx_soapy.c:70:41:
warning: passing argument 2 of 'SoapySDRDevice_setupStream' makes integer from
pointer without a cast [-Wint-conversion]
70 | if (SoapySDRDevice_setupStream(sdr, &rxStream, SOAPY_SDR_RX,
SOAPY_SDR_CF32, NULL, 0, NULL) != 0)
| ^~~~~~~~~
| |
| SoapySDRStream **
In file included from
/build/libxtrx-0.0.1+git20191219.98458ce/soapy/test_xtrx_soapy.c:1:
/usr/include/SoapySDR/Device.h:307:15: note: expected 'int' but argument is of
type 'SoapySDRStream **'
307 | const int direction,
| ~~~~~~~~~~^~~~~~~~~
/build/libxtrx-0.0.1+git20191219.98458ce/soapy/test_xtrx_soapy.c:70:52:
warning: passing argument 3 of 'SoapySDRDevice_setupStream' makes pointer from
integer without a cast [-Wint-conversion]
70 | if (SoapySDRDevice_setupStream(sdr, &rxStream, SOAPY_SDR_RX,
SOAPY_SDR_CF32, NULL, 0, NULL) != 0)
| ^~~~~~~~~~~~
| |
| int
In file included from
/build/libxtrx-0.0.1+git20191219.98458ce/soapy/test_xtrx_soapy.c:1:
/usr/include/SoapySDR/Device.h:308:17: note: expected 'const char *' but
argument is of type 'int'
308 | const char *format,
| ~~~~~~~~~~~~^~~~~~
/build/libxtrx-0.0.1+git20191219.98458ce/soapy/test_xtrx_soapy.c:70:66:
warning: passing argument 4 of 'SoapySDRDevice_setupStream' from incompatible
pointer type [-Wincompatible-pointer-types]
70 | if (SoapySDRDevice_setupStream(sdr, &rxStream, SOAPY_SDR_RX,
SOAPY_SDR_CF32, NULL, 0, NULL) != 0)
|
^~~~~~~~~~~~~~
| |
| char *
In file included from
/build/libxtrx-0.0.1+git20191219.98458ce/soapy/test_xtrx_soapy.c:1:
/usr/include/SoapySDR/Device.h:309:19: note: expected 'const size_t *' {aka
'const long unsigned int *'} but argument is of type 'char *'
309 | const size_t *channels,
| ~~~~~~~~~~~~~~^~~~~~~~
/build/libxtrx-0.0.1+git20191219.98458ce/soapy/test_xtrx_soapy.c:70:82:
warning: passing argument 5 of 'SoapySDRDevice_setupStream' makes integer from
pointer without a cast [-Wint-conversion]
70 | if (SoapySDRDevice_setupStream(sdr, &rxStream, SOAPY_SDR_RX,
SOAPY_SDR_CF32, NULL, 0, NULL) != 0)
|
^~~~
|
|
|
void *
In file included from
/build/libxtrx-0.0.1+git20191219.98458ce/soapy/test_xtrx_soapy.c:1:
/usr/include/SoapySDR/Device.h:310:18: note: expected 'size_t' {aka 'const long
unsigned int'} but argument is of type 'void *'
310 | const size_t numChans,
| ~~~~~~~~~~~~~^~~~~~~~
/build/libxtrx-0.0.1+git20191219.98458ce/soapy/test_xtrx_soapy.c:70:9: error:
too many arguments to function 'SoapySDRDevice_setupStream'
70 | if (SoapySDRDevice_setupStream(sdr, &rxStream, SOAPY_SDR_RX,
SOAPY_SDR_CF32, NULL, 0, NULL) != 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from
/build/libxtrx-0.0.1+git20191219.98458ce/soapy/test_xtrx_soapy.c:1:
/usr/include/SoapySDR/Device.h:306:31: note: declared here
306 | SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice
*device,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
--- End Message ---
--- Begin Message ---
Source: libxtrx
Source-Version: 0.0.1+git20191219.98458ce-2
Done: Christoph Berg <m...@debian.org>
We believe that the bug you reported is fixed in the latest version of
libxtrx, 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 993...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Christoph Berg <m...@debian.org> (supplier of updated libxtrx 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 11 Jan 2022 12:46:30 +0100
Source: libxtrx
Binary: libxtrx-dev libxtrx0 libxtrx0-dbgsym soapysdr-module-xtrx
soapysdr0.8-module-xtrx soapysdr0.8-module-xtrx-dbgsym xtrx-fft xtrx-fft-dbgsym
Architecture: source amd64
Version: 0.0.1+git20191219.98458ce-2
Distribution: unstable
Urgency: medium
Maintainer: Sepi Gair <sepig...@email.cz>
Changed-By: Christoph Berg <m...@debian.org>
Description:
libxtrx-dev - High-level XTRX API library: development
libxtrx0 - High-level XTRX API library
soapysdr-module-xtrx - XTRX device support for SoapySDR (default version)
soapysdr0.8-module-xtrx - XTRX device support for SoapySDR
xtrx-fft - Simple spectrum browser for XTRX
Closes: 993699
Changes:
libxtrx (0.0.1+git20191219.98458ce-2) unstable; urgency=medium
.
* Team upload.
.
[ Peter Michael Green ]
* Apply upstream patch for soapysdr 0.8 (Closes: #993699)
* Bump soapysdr build-dependency to 0.8
* Change all references to soapysdr in debian packaging from 0.7 to 0.8
Checksums-Sha1:
bf0b116cabd48a154853f6b5e64e5fa24a8e6a58 2343
libxtrx_0.0.1+git20191219.98458ce-2.dsc
8557b07429ea5d4054fc586cd69f3d9c48788bf0 3568
libxtrx_0.0.1+git20191219.98458ce-2.debian.tar.xz
0d46346f099cf377ce66f212731e6d0379987b4a 7400
libxtrx-dev_0.0.1+git20191219.98458ce-2_amd64.deb
7bde0dcfadc19259a73a9ba9680b540411abc239 126384
libxtrx0-dbgsym_0.0.1+git20191219.98458ce-2_amd64.deb
e0ddacf6bdd22e6d31923859d87bf006e51034d8 47780
libxtrx0_0.0.1+git20191219.98458ce-2_amd64.deb
24ddd59ff6eeee8dedcf63e59cadc27fc94a92a8 14130
libxtrx_0.0.1+git20191219.98458ce-2_amd64.buildinfo
345c6cdabaf70b8cf574c9c3793168294e698c82 1140
soapysdr-module-xtrx_0.0.1+git20191219.98458ce-2_amd64.deb
04bf6ff2717bdb3b527d20e17f620eb33b4cc737 418128
soapysdr0.8-module-xtrx-dbgsym_0.0.1+git20191219.98458ce-2_amd64.deb
14f05bffb43cd02824a95914dcf62babab130592 33908
soapysdr0.8-module-xtrx_0.0.1+git20191219.98458ce-2_amd64.deb
0a7bb4bcaf7db8c15a40d4dfe4dfdb924916efd6 856728
xtrx-fft-dbgsym_0.0.1+git20191219.98458ce-2_amd64.deb
41efe9e132e1ecc68e137ec47ca00b46822db3a0 24308
xtrx-fft_0.0.1+git20191219.98458ce-2_amd64.deb
Checksums-Sha256:
7364956e6bd6ce766d20c10e963c49b1544ff69172a80eb2941aa9785920bc44 2343
libxtrx_0.0.1+git20191219.98458ce-2.dsc
f36f986fb3e521f0866b0047c29c62650e2582c2150ab05346955f616ef82550 3568
libxtrx_0.0.1+git20191219.98458ce-2.debian.tar.xz
0c868685fe1e9792fb66c485760e88f0b859e307b9126e93ab66560591cd9d29 7400
libxtrx-dev_0.0.1+git20191219.98458ce-2_amd64.deb
babaf417b9b1fabab52c5a3100151aa74863408e5f791e73b9aa9a85ea76807c 126384
libxtrx0-dbgsym_0.0.1+git20191219.98458ce-2_amd64.deb
c95002470b9519422993d47ba6a6b55680a15e413c0fdfb0cec9d4494a155e1b 47780
libxtrx0_0.0.1+git20191219.98458ce-2_amd64.deb
ae6a788771f1894ec6c11208a716f48b3e9b58c5e3f2a39041f6d051b6a044d2 14130
libxtrx_0.0.1+git20191219.98458ce-2_amd64.buildinfo
ce0185607a26fcac8b664578c285262edb26d5a269fc55c2837944ed36d6fdd8 1140
soapysdr-module-xtrx_0.0.1+git20191219.98458ce-2_amd64.deb
18fb640aed0f435a1a1c3cbf51fbd72c27e4be43f3b2e77c9143aa1f356967d3 418128
soapysdr0.8-module-xtrx-dbgsym_0.0.1+git20191219.98458ce-2_amd64.deb
ab85db41cd512ba5b4acde53a49d3c767a5e3647de3795f44ffec05f309bc1c7 33908
soapysdr0.8-module-xtrx_0.0.1+git20191219.98458ce-2_amd64.deb
949cfa8a03085e59f593200605ab79c7eaaa802daa49b45f0d4176b9a5a40c6c 856728
xtrx-fft-dbgsym_0.0.1+git20191219.98458ce-2_amd64.deb
e2a6c574e3c7bd8cd8494356982cbfe0aa0086a9ac36cbdcb97ac47edb0630ea 24308
xtrx-fft_0.0.1+git20191219.98458ce-2_amd64.deb
Files:
ff342872aaad6f3a0bd5075baa4008b2 2343 libs optional
libxtrx_0.0.1+git20191219.98458ce-2.dsc
80cd9c8984beebb0d48f1804e459c36b 3568 libs optional
libxtrx_0.0.1+git20191219.98458ce-2.debian.tar.xz
62751a7cf5d491003a5e969611c2c58b 7400 libdevel optional
libxtrx-dev_0.0.1+git20191219.98458ce-2_amd64.deb
009258a2c8c485180d12412fa891c4be 126384 debug optional
libxtrx0-dbgsym_0.0.1+git20191219.98458ce-2_amd64.deb
fcb1f1ba399c4d1967fb3e01ebc5b0e5 47780 libs optional
libxtrx0_0.0.1+git20191219.98458ce-2_amd64.deb
f6a3bb9d987f1aa2a649a5a22d097cf9 14130 libs optional
libxtrx_0.0.1+git20191219.98458ce-2_amd64.buildinfo
31631b7c26fe35e838b9f0bd35db7f63 1140 libs optional
soapysdr-module-xtrx_0.0.1+git20191219.98458ce-2_amd64.deb
5972234c1f9b1ddd0ca111cd60bc3320 418128 debug optional
soapysdr0.8-module-xtrx-dbgsym_0.0.1+git20191219.98458ce-2_amd64.deb
b13a529dd6ef98319de6fd1de627d078 33908 libs optional
soapysdr0.8-module-xtrx_0.0.1+git20191219.98458ce-2_amd64.deb
986e6d4641e8995c2d646f7c2a95455e 856728 debug optional
xtrx-fft-dbgsym_0.0.1+git20191219.98458ce-2_amd64.deb
c8ff4a691ec9d265eec380a1fff2061e 24308 libs optional
xtrx-fft_0.0.1+git20191219.98458ce-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAmHdbvQACgkQTFprqxLS
p64R1RAAgVaPy9sOLO97BZa5rKUrN2P33MXmwZ+gavKW264Z4b3I4BQazfwQoU1y
RZQiDfYAR3E5ZELHnVn+Gk4Plijk7l0J0wcwpS+Ycp2OO2S23liMVk1uEz90tf1M
+QA6or82tUsRqkSnCjzKdaMmrY97MYx5W/wUuYtTIAAzOxyPLN7W8+i5Kb7esgq0
CNmD4c3jPTqlS9TwGz4BTkJLqXrPt5PZ2D0cguhf52dp6L2neNy1CgxlvRikp3VH
vCRqMOsYOzza8ADOW9FK6/rP6r6QRkbA02Sv7/ojD9QFFPT5ulNQ3FYxU7RFuwd1
8ukRNyYR56aBOh9LEECj3JokAqviZIZVasHn4IKg7alVthRr8Or0zm1jb+MLo/cv
llNlu+s6NZLqbQc+Sdt6GHqPZwYz/abAXNqlca4ln1dETlNiLmqnK988vh0ClDPT
pnilNAcBy01G7ik9DR32N4z1AP5NpI0/jThONQuGjV9cJmYQuvZRXy0E0LCU2S1p
DpHw4nTabJ1awcO27RlHagqlMartmIzIp8AzoCHDw7DE0DTP3FD0DywDFdMHC7Y3
bRuDtgnKyIsSMeayMj+L4HObT1dlIENOYLFg0NNJOQhNr/N1jB5uWSvXQA9arNlY
/xlra8ePzUXduF9M7vS0EoDE9QAHAfPf3L3LilL5R7UKg4N+dpg=
=hze3
-----END PGP SIGNATURE-----
--- End Message ---