Bug#1012940: gr-funcube: ftbfs with GCC-12
Package: src:gr-funcube
Version: 1.0.0-3
Severity: normal
Tags: sid bookworm
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-12
[This bug is targeted to the upcoming bookworm 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-12/g++-12, but succeeds to build with gcc-11/g++-11. The
severity of this report will be raised before the bookworm release.
The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/gcc12/gr-funcube_1.0.0-3_unstable_gcc12.log
The last lines of the build log are at the end of this report.
To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html
GCC 11 defaults to the GNU++17 standard. If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.
[...]
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/python/qa_fcdpp.py", line 18, in <module>
from funcube_python import fcdpp
ImportError: generic_type: type "fcd_control" referenced unknown base type "gr::block"
5: Traceback (most recent call last):
5: File "/<<PKGBUILDDIR>>/python/qa_fcd_control.py", line 12, in <module>
5: from funcube_python import fcd_control
5: ImportError: generic_type: type "fcd_control" referenced unknown base type "gr::block"
5:
5: During handling of the above exception, another exception occurred:
5:
5: Traceback (most recent call last):
5: File "/<<PKGBUILDDIR>>/python/qa_fcd_control.py", line 18, in <module>
5: from funcube_python import fcd_control
5: ImportError: generic_type: type "fcd_control" referenced unknown base type "gr::block"
7: Traceback (most recent call last):
7: File "/<<PKGBUILDDIR>>/python/qa_fcdpp_control.py", line 12, in <module>
7: from funcube_python import fcdpp_control
7: ImportError: generic_type: type "fcd_control" referenced unknown base type "gr::block"
7:
7: During handling of the above exception, another exception occurred:
7:
7: Traceback (most recent call last):
7: File "/<<PKGBUILDDIR>>/python/qa_fcdpp_control.py", line 18, in <module>
7: from funcube_python import fcdpp_control
7: ImportError: generic_type: type "fcd_control" referenced unknown base type "gr::block"
7/8 Test #5: qa_fcd_control ...................***Failed 0.24 sec
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/python/qa_fcd_control.py", line 12, in <module>
from funcube_python import fcd_control
ImportError: generic_type: type "fcd_control" referenced unknown base type "gr::block"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/python/qa_fcd_control.py", line 18, in <module>
from funcube_python import fcd_control
ImportError: generic_type: type "fcd_control" referenced unknown base type "gr::block"
8/8 Test #7: qa_fcdpp_control .................***Failed 0.26 sec
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/python/qa_fcdpp_control.py", line 12, in <module>
from funcube_python import fcdpp_control
ImportError: generic_type: type "fcd_control" referenced unknown base type "gr::block"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/python/qa_fcdpp_control.py", line 18, in <module>
from funcube_python import fcdpp_control
ImportError: generic_type: type "fcd_control" referenced unknown base type "gr::block"
50% tests passed, 4 tests failed out of 8
Total Test time (real) = 0.27 sec
The following tests FAILED:
5 - qa_fcd_control (Failed)
6 - qa_fcd (Failed)
7 - qa_fcdpp_control (Failed)
8 - qa_fcdpp (Failed)
Errors while running CTest
make[1]: *** [Makefile:74: test] Error 8
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_test: error: cd obj-x86_64-linux-gnu && make -j8 test ARGS\+=--verbose ARGS\+=-j8 returned exit code 2
make: *** [debian/rules:10: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Reply to: