[Debian-mobcom-maintainers] Bug#1075353: osmo-iuh: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:39:10 BST 2024
Package: src:osmo-iuh
Version: 1.3.0+dfsg1-7
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14
[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-14/g++-14, but succeeds to build with gcc-13/g++-13. 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/2024/07/01/osmo-iuh_1.3.0+dfsg1-7_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 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-14/porting_to.html
[...]
| void (*)(struct hnb_test *, struct ranap_message_s *)
In file included from ../../include/osmocom/ranap/ranap_common.h:592,
from test-ranap.c:27:
../../include/osmocom/ranap/ranap_ies_defs.h:278:9: warning: "ENHANCEDRELOCATIONCOMPLETEREQUESTIES_RANAP_EXTENDEDRNC_ID_PRESENT" redefined
278 | #define ENHANCEDRELOCATIONCOMPLETEREQUESTIES_RANAP_EXTENDEDRNC_ID_PRESENT (1 << 1)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../include/osmocom/ranap/ranap_ies_defs.h:277:9: note: this is the location of the previous definition
277 | #define ENHANCEDRELOCATIONCOMPLETEREQUESTIES_RANAP_EXTENDEDRNC_ID_PRESENT (1 << 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../include/osmocom/ranap/ranap_common_cn.h:15:36: note: expected ‘ranap_handle_cb’ {aka ‘void (*)(void *, struct ranap_message_s *)’} but argument is of type ‘void (*)(struct hnb_test *, struct ranap_message_s *)’
15 | int ranap_cn_rx_cl(ranap_handle_cb cb, void *ctx, uint8_t *data, size_t len);
| ~~~~~~~~~~~~~~~~^~
../../include/osmocom/ranap/ranap_ies_defs.h:514:9: warning: "RANAP_ENHANCEDRELOCATIONINFORMATIONREQUESTIES_RANAP_IUSIGNALLINGCONNECTIONIDENTIFIER_PRESENT" redefined
514 | #define RANAP_ENHANCEDRELOCATIONINFORMATIONREQUESTIES_RANAP_IUSIGNALLINGCONNECTIONIDENTIFIER_PRESENT (1 << 2)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../include/osmocom/ranap/ranap_ies_defs.h:512:9: note: this is the location of the previous definition
512 | #define RANAP_ENHANCEDRELOCATIONINFORMATIONREQUESTIES_RANAP_IUSIGNALLINGCONNECTIONIDENTIFIER_PRESENT (1 << 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../include/osmocom/ranap/ranap_ies_defs.h:515:9: warning: "RANAP_ENHANCEDRELOCATIONINFORMATIONREQUESTIES_RANAP_GLOBALCN_ID_PRESENT" redefined
515 | #define RANAP_ENHANCEDRELOCATIONINFORMATIONREQUESTIES_RANAP_GLOBALCN_ID_PRESENT (1 << 3)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../include/osmocom/ranap/ranap_ies_defs.h:513:9: note: this is the location of the previous definition
513 | #define RANAP_ENHANCEDRELOCATIONINFORMATIONREQUESTIES_RANAP_GLOBALCN_ID_PRESENT (1 << 1)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[7]: *** [Makefile:447: hnb-test-rua.o] Error 1
make[7]: *** Waiting for unfinished jobs....
../../include/osmocom/hnbap/HNBAP_CriticalityDiagnostics-IE-List.h:29:30: warning: ‘struct HNBAP_CriticalityDiagnostics_IE_List__Member’ declared inside parameter list will not be visible outside of this definition or declaration
29 | A_SEQUENCE_OF(struct HNBAP_CriticalityDiagnostics_IE_List__Member {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/asn1c/asn_SET_OF.h:17:30: note: in definition of macro ‘A_SET_OF’
17 | void (*free)(type *); \
| ^~~~
../../include/osmocom/hnbap/HNBAP_CriticalityDiagnostics-IE-List.h:29:9: note: in expansion of macro ‘A_SEQUENCE_OF’
29 | A_SEQUENCE_OF(struct HNBAP_CriticalityDiagnostics_IE_List__Member {
| ^~~~~~~~~~~~~
test-ranap.c: In function ‘test_aper_causemisc’:
test-ranap.c:73:49: error: passing argument 3 of ‘aper_decode’ from incompatible pointer type [-Wincompatible-pointer-types]
73 | aper_decode(NULL, &asn_DEF_RANAP_Cause, &c_dec, buf, 1, 0, 0);
| ^~~~~~
| |
| RANAP_Cause_t ** {aka struct RANAP_Cause **}
In file included from /usr/include/asn1c/constr_TYPE.h:42,
from /usr/include/asn1c/asn_application.h:45,
from /usr/include/asn1c/OCTET_STRING.h:8,
from /usr/include/asn1c/BIT_STRING.h:8,
from /usr/include/asn1c/asn1helpers.h:6,
from test-ranap.c:24:
/usr/include/asn1c/per_decoder.h:58:59: note: expected ‘void **’ but argument is of type ‘RANAP_Cause_t **’ {aka ‘struct RANAP_Cause **’}
58 | void **struct_ptr, /* Pointer to a target structure's pointer */
| ~~~~~~~^~~~~~~~~~
make[7]: *** [Makefile:447: test-ranap.o] Error 1
test-hnbap.c:53:28: warning: ‘hnbap_reg_acc’ defined but not used [-Wunused-const-variable=]
53 | static const unsigned char hnbap_reg_acc[] = {
| ^~~~~~~~~~~~~
make[7]: Leaving directory '/<<PKGBUILDDIR>>/src/tests'
make[6]: *** [Makefile:554: check-am] Error 2
make[6]: Leaving directory '/<<PKGBUILDDIR>>/src/tests'
make[5]: *** [Makefile:641: check-recursive] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[4]: *** [Makefile:792: check] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [Makefile:475: check-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:774: check] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:26: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Debian-mobcom-maintainers
mailing list