[Debian-mobcom-maintainers] Bug#925756: libosmocore: ftbfs with GCC-9

Matthias Klose doko at debian.org
Wed Mar 27 19:46:37 GMT 2019


Package: src:libosmocore
Version: 0.12.1-2
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-9

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-9/g++-9, but succeeds to build with gcc-8/g++-8. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc9-20190321/libosmocore_0.12.1-2_unstable_gcc9.log
The last lines of the build log are at the end of this report.

To build with GCC 9, either set CC=gcc-9 CXX=g++-9 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-9/porting_to.html

GCC 9 also passes the linker option --as-needed by default; typical
build issues are passing libraries before object files to the linker,
or underlinking of convenience libraries built from the same source.

[...]
-Testing creating Assignment Complete
-Testing creating Assignment Complete (AoIP)
-Testing creating Assignment Failure
-Testing creating Assignment Failure (AoIP)
-Testing creating Clear Request
-Testing creating Paging Request
-Testing creating DTAP
-Testing prepend DTAP
-test_gsm0808_enc_dec_cell_id_list_lac: encoded: 1a 07 05 01 24 ab cd 56 78 (rc = 9)
-------- test_cell_id_list_add
-     cell_id_list == CGI[0]:{}
-gsm0808_cell_id_list_add(&cil, &lac1) --> rc = 1
-     cell_id_list == LAC[1]:{123}
-gsm0808_cell_id_list_add(&cil, &lac1) --> rc = 0
-     cell_id_list == LAC[1]:{123}
-gsm0808_cell_id_list_add(&cil, &lac2) --> rc = 2
-     cell_id_list == LAC[3]:{123, 456, 789}
-gsm0808_cell_id_list_add(&cil, &lac2) --> rc = 0
-     cell_id_list == LAC[3]:{123, 456, 789}
-gsm0808_cell_id_list_add(&cil, &cil) --> rc = 0
-     cell_id_list == LAC[3]:{123, 456, 789}
-gsm0808_cell_id_list_add(&cil, &cgi1) --> rc = -22
-     cell_id_list == LAC[3]:{123, 456, 789}
-* can't add to BSS list
-     cell_id_list == BSS[0]
-gsm0808_cell_id_list_add(&cil, &lac1) --> rc = -22
-     cell_id_list == BSS[0]
-* other types (including NO_CELL) take on new type iff empty
-     cell_id_list == NO-CELL[0]
-gsm0808_cell_id_list_add(&cil, &cgi1) --> rc = 1
-     cell_id_list == CGI[1]:{001-02-3-4}
-gsm0808_cell_id_list_add(&cil, &cgi1) --> rc = 0
-     cell_id_list == CGI[1]:{001-02-3-4}
-gsm0808_cell_id_list_add(&cil, &cgi2) --> rc = 2
-     cell_id_list == CGI[3]:{001-02-3-4, 001-002-3-4, 005-006-7-8}
-gsm0808_cell_id_list_add(&cil, &cgi2) --> rc = 0
-     cell_id_list == CGI[3]:{001-02-3-4, 001-002-3-4, 005-006-7-8}
-* test gsm0808_cell_id_list_name_buf()'s return val
-  strlen(gsm0808_cell_id_list_name(cil)) == 45
-  gsm0808_cell_id_list_name_buf(buf, 46, cil)) == 45 "CGI[3]:{001-02-3-4, 001-002-3-4, 005-006-7-8}"
-  gsm0808_cell_id_list_name_buf(buf, 23, cil)) == 45 "CGI[3]:{001-02-3-4, 00"
-  gsm0808_cell_id_list_name_buf(buf, 11, cil)) == 45 "CGI[3]:{00"
-  gsm0808_cell_id_list_name_buf(buf, 5, cil)) == 45 "CGI["
-  gsm0808_cell_id_list_name_buf(buf, 2, cil)) == 45 "C"
-  gsm0808_cell_id_list_name_buf(buf, 1, cil)) == 45 ""
-  gsm0808_cell_id_list_name_buf(buf, 0, cil)) == 45 "#"
-* list-full behavior
-cil.id_list_len = 126
-gsm0808_cell_id_list_add(&cil, &cgi2a) --> rc = 1
-cil.id_list_len = 127
-cil.id_list_len = 126
-gsm0808_cell_id_list_add(&cil, &cgi3) --> rc = -28
-cil.id_list_len = 127
-gsm0808_cell_id_list_add(&cil, &cgi2a) --> rc = -28
-cil.id_list_len = 127
-------- test_cell_id_list_add done
-test_gsm0808_enc_dec_cell_id_lac: encoded: 05 03 05 01 24 (rc = 5)
-test_gsm0808_enc_dec_cell_id_bss: encoded: 05 01 06 (rc = 3)
-test_gsm0808_enc_dec_cell_id_no_cell: encoded: 05 01 03 (rc = 3)
-test_gsm0808_enc_dec_cell_id_lai_and_lac: encoded: 05 06 04 21 63 54 23 42 (rc = 8)
-test_gsm0808_enc_dec_cell_id_ci: encoded: 05 03 02 04 23 (rc = 5)
-test_gsm0808_enc_dec_cell_id_lac_and_ci: encoded: 05 05 01 04 23 02 35 (rc = 7)
-test_gsm0808_enc_dec_cell_id_global: encoded: 05 08 00 21 63 54 23 42 04 23 (rc = 10)
-Done
./testsuite.at:132: exit code was 134, expected 0
21. testsuite.at:129: 21. gsm0808 (testsuite.at:129): FAILED (testsuite.at:132)
make[1]: *** [debian/rules:29: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:17: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2



More information about the Debian-mobcom-maintainers mailing list