#1037682 gr-gsm: ftbfs with GCC-13

Package:
src:gr-gsm
Source:
src:gr-gsm
Submitter:
Matthias Klose
Date:
2025-10-03 16:21:04 UTC
Severity:
normal
Tags:
#1037682#5
Date:
2023-06-14 09:25:16 UTC
From:
To:
[This bug is targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-13/g++-13, but succeeds to build with gcc-12/g++-12. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2023/05/22/logs/gr-gsm_1.0.0~20220727-1_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 13, either set CC=gcc-13 CXX=g++-13 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-13/porting_to.html

[...]
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 99%] Built target copy_bindings_for_tests
CPU Features: SSE2+ SSE4.1+ AVX+ FMA+
Using avx for xtrxdsp_iq16_sc32
Using avx for xtrxdsp_iq8_ic16
Using avx for xtrxdsp_iq16_ic16i
Using avx for xtrxdsp_iq8_ic8i
Using avx for xtrxdsp_sc32i_iq16
Using avx for xtrxdsp_iq8_sc32
Using avx for xtrxdsp_iq8_sc32i
Using avx for xtrxdsp_iq16_sc32i
Using avx for xtrxdsp_sc32_iq16
Using avx for xtrxdsp_ic16i_iq16
<<< Welcome to GNU Radio Companion Compiler 3.10.5.1 >>>

Block paths:
	/<<PKGBUILDDIR>>/grc
	/usr/share/gnuradio/grc/blocks
**************************************************
4 errors from flowgraph:
Param - Cell allocation(cell_allocation):
	Value "[arfcn.downlink2arfcn(fc)]" cannot be evaluated:
	name 'arfcn' is not definedParam - Cell allocation(cell_allocation):
	Expression None is invalid for type'float_vector'.Param - Import(imports):
	Import "import gnuradio.gsm as gsm" failed.Param - Import(imports):
	Import "from gnuradio.gsm import arfcn" failed.
**************************************************
Compilation error
make[3]: *** [apps/CMakeFiles/pygen_apps.dir/build.make:105: apps/grgsm_livemon_headless] Error 1
make[3]: *** Waiting for unfinished jobs....
CPU Features: SSE2+ SSE4.1+ AVX+ FMA+
Using avx for xtrxdsp_iq16_sc32
Using avx for xtrxdsp_iq8_ic16
Using avx for xtrxdsp_iq16_ic16i
Using avx for xtrxdsp_iq8_ic8i
Using avx for xtrxdsp_sc32i_iq16
Using avx for xtrxdsp_iq8_sc32
Using avx for xtrxdsp_iq8_sc32i
Using avx for xtrxdsp_iq16_sc32i
Using avx for xtrxdsp_sc32_iq16
Using avx for xtrxdsp_ic16i_iq16
<<< Welcome to GNU Radio Companion Compiler 3.10.5.1 >>>

Block paths:
	/<<PKGBUILDDIR>>/grc
	/usr/share/gnuradio/grc/blocks
**************************************************
3 errors from flowgraph:
Param - Cell allocation(cell_allocation):
	Value "[arfcn.downlink2arfcn(fc)]" cannot be evaluated:
	name 'arfcn' is not definedParam - Cell allocation(cell_allocation):
	Expression None is invalid for type'float_vector'.Param - Import(imports):
	Import "import gnuradio.gsm.arfcn as arfcn" failed.
**************************************************
Compilation error
make[3]: *** [apps/CMakeFiles/pygen_apps.dir/build.make:100: apps/grgsm_livemon] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:870: apps/CMakeFiles/pygen_apps.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

#1037682#16
Date:
2023-07-26 13:53:15 UTC
From:
To:
Control: status -1 important

I cannot reproduce this. Maybe some other upload has fixed this in the
mean time.

#1037682#23
Date:
2023-08-17 20:18:33 UTC
From:
To:
On Wed, 26 Jul 2023 15:53:15 +0200 Bastian Germann wrote:
 > Control: status -1 important
 >
 > On Wed, 14 Jun 2023 09:25:16 +0000 Matthias Klose wrote:
 > > <<< Welcome to GNU Radio Companion Compiler 3.10.5.1 >>>
 > >
 > > Block paths:
 > > /<>/grc
 > > /usr/share/gnuradio/grc/blocks
 > >
 > > >>> Loading: /<>/apps/grgsm_livemon_headless.grc
 > > >>> Load Error: /<>/apps/grgsm_livemon_headless.grc: Flowgraph invalid
 > > **************************************************
 > > 4 errors from flowgraph:
 > > Param - Cell allocation(cell_allocation):
 > > Value "[arfcn.downlink2arfcn(fc)]" cannot be evaluated:
 > > name 'arfcn' is not definedParam - Cell allocation(cell_allocation):
 >
 > I cannot reproduce this. Maybe some other upload has fixed this in the
 > mean time.
 >
 >

Likewise, I cannot reproduce this error. The issue appears to have been
fixed in the meantime.

#1037682#30
Date:
2025-10-01 19:06:58 UTC
From:
To:
severity 1037682 serious
forcemerge 1037682 1096767
retitle 1037682 gr-gsm: FTBFS randomly
thanks

Hello.

I have both successful and unsuccessful builds for this package,
all builds attempted today.

Therefore I believe this is neither a "ftbfs with GCC-13" bug
nor a "ftbfs with GCC-15" bug, but probably a bug in one
or more of the CMakeLists.txt files, for not specifying the
dependencies correctly.

See for example how the last binNMU required two attempts on arm64:

https://buildd.debian.org/status/logs.php?pkg=gr-gsm&arch=arm64

or three attempts on amd64 and ppc64el:

https://buildd.debian.org/status/logs.php?pkg=gr-gsm&arch=amd64
https://buildd.debian.org/status/logs.php?pkg=gr-gsm&arch=ppc64el

[ In either case, IMO, this should continue to be RC, packages must
  not build by pure chance ].

I'm building the package a lot of times to test, maybe I can offer a
VM to reproduce (please contact me privately for that).

Thanks.

#1037682#41
Date:
2025-10-01 19:11:47 UTC
From:
To:
Hi. My tests are still running, but I have some preliminary results:

On machines with 1 CPU, the failure rate is close to 0%
On machines with 2 CPUs, the failure rate is close to 100%.

Therefore, yes, I can offer a VM to reproduce.

Thanks.

#1037682#48
Date:
2025-10-01 23:34:12 UTC
From:
To:
tags 1037682 patch
retitle 1037682 gr-gsm: FTBFS randomly when built in parallel
thanks

The attached patch (in "git am" format) should fix this.
In case it helps, I've also created the following equivalent Merge
Request in Salsa:

https://salsa.debian.org/debian-hamradio-team/gr-gsm/-/merge_requests/3

I've tested it on machines with 2 CPUs and the failure rate went from 100% to 0%.

Thanks.

#1037682#55
Date:
2025-10-03 15:11:57 UTC
From:
To:
Hello,

Bug #1037682 in gr-gsm reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/debian-hamradio-team/gr-gsm/-/commit/139d1b577545b088323e29662267aacfb446b9e3
------------------------------------------------------------------------
debian/rules: Use --no-parallel globally. Closes: #1037682.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1037682

#1037682#60
Date:
2025-10-03 15:11:57 UTC
From:
To:
Hello,

Bug #1037682 in gr-gsm reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/debian-hamradio-team/gr-gsm/-/commit/7e39d3cac694c529a646e080e556d1cbc87ac13b
------------------------------------------------------------------------
Merge branch 'no-parallel' into 'master'

debian/rules: Use --no-parallel globally. Closes: #1037682.

See merge request debian-hamradio-team/gr-gsm!3
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1037682

#1037682#65
Date:
2025-10-03 16:19:41 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
gr-gsm, 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 1037682@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 gr-gsm 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)
Format: 1.8
Date: Fri, 03 Oct 2025 08:39:14 -0700
Source: gr-gsm
Architecture: source
Version: 1.0.0~20220727-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Changed-By: tony mancill <tmancill@debian.org>
Closes: 1037682
Changes:
 gr-gsm (1.0.0~20220727-2) unstable; urgency=medium
 .
   * Team upload
 .
   [ Kentaro Hayashi ]
   * Use "GNU Radio" wording
 .
   [ Santiago Vila ]
   * debian/rules: Use --no-parallel globally. Closes: #1037682.
 .
   [ tony mancill ]
   * Update B-D on pkg-config to pkgconf
   * Add B-D on python3-numpy-dev to provide dh-sequence-numpy3
   * Bump Standards-Version to 4.7.2 (no changes)
Checksums-Sha1:
 da4ce45fb68eb8139bf05a3d2a7729253aae0e26 2243 gr-gsm_1.0.0~20220727-2.dsc
 5bd337c005922e9660a66898d9a9a2dd38e2a914 5112 gr-gsm_1.0.0~20220727-2.debian.tar.xz
 081282d27d873bf757d225d6caff12e4c2880bb6 21043 gr-gsm_1.0.0~20220727-2_amd64.buildinfo
Checksums-Sha256:
 3013318ffd420c63985fac4d4b6d6a928dacf83288c2872a5801330a263dc799 2243 gr-gsm_1.0.0~20220727-2.dsc
 c3c6468fe88a19ef09276bdb9ed51a1864e5987c3c9ac7f7941eca74959bbc8d 5112 gr-gsm_1.0.0~20220727-2.debian.tar.xz
 44a3edfb395fb9610b88cdf7672f6e308266f428771875cd0907abcf58e62af1 21043 gr-gsm_1.0.0~20220727-2_amd64.buildinfo
Files:
 e7297c680bb7dc982de6f29593f2fa5a 2243 libdevel optional gr-gsm_1.0.0~20220727-2.dsc
 b030aaa27adea577b4f210aeaae9c5ad 5112 libdevel optional gr-gsm_1.0.0~20220727-2.debian.tar.xz
 2180534670e250dfd1a73b89b66e1f66 21043 libdevel optional gr-gsm_1.0.0~20220727-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmjf8uQUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpbO6A//Z/Zphji6o+mbQ65yBRskFlKqUWYk
LwnRyZFLn0COPY0Twq7Rtaj+kdHhLJLEcvAw9m/S0FnZMMy+i0macasxE1EeGG8Y
WnrV0zoK2533hSkMJsRHil6a5LeNhUk8iw31RzI9M1lueBVdtAReRfk0K54FQDEp
7adEvJttKZzsvWIJdYm9nrC8j4yvZuddxEksquHuc+x8fYe1mRonQ8YRQxysEe/o
Hy6yNpFKfvfMqnFSh5ugfFengiHxh7y8+XtTl1EkEheFQOyotov712GmCOrXA+kI
A0M++nxOEP1+k2MOpT9yY09Z+j2tJp3W31/bRTSSwC7MiqxP6nkUUe0DB5ljk4fL
bR1b1RqtIhjkNhPK7bADTHCp3cuAkmgqc8won+xV+67NXgp7wdVGbAEroca3P0OY
HQl0yVDXcyci3+A1RMM9dyjDdsTSa05aiah0huMuPP/ValTzjOfrTTwnXcLkEy40
KM2u3PFmBUs76HVy7+PdF4NXNyCyzdHLEwCdD0rF5BM8ieruol+0A/Do2zRndX9z
Hoi2vlxlhTHWzxxJuiSwMTKUyJnH8a9W0hET/psfNYlXxxAocmTZ/teLhWvix2oo
UgtHpP35ZDMZdJPR7TGgJyAMhvYCiMeT4hfmUPeGff039mDcxRG7lMM9/C48aVzv
UWNdyfByfW3hWHk=
=ELV/
-----END PGP SIGNATURE-----