Your message dated Fri, 07 Aug 2020 14:54:44 +0000
with message-id <[email protected]>
and subject line Bug#957634: fixed in openbsc 1.1.0-3
has caused the Debian Bug report #957634,
regarding openbsc: ftbfs with GCC-10
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 [email protected]
immediately.)


-- 
957634: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=957634
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:openbsc
Version: 1.1.0-2
Severity: normal
Tags: sid bullseye
User: [email protected]
Usertags: ftbfs-gcc-10

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-10/g++-10, but succeeds to build with gcc-9/g++-9. 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/gcc10-20200225/openbsc_1.1.0-2_unstable_gcc10.log
The last lines of the build log are at the end of this report.

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

[...]
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -I/usr/include/ -I/usr/include/ -I/usr/include/ 
-I/usr/include/   -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Werror=implicit 
-Werror=maybe-uninitialized -Werror=memset-transposed-args 
-Werror=null-dereference -Werror=sizeof-array-argument 
-Werror=sizeof-pointer-memaccess -c -o gsm_data_shared.o gsm_data_shared.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -I/usr/include/ -I/usr/include/ -I/usr/include/ 
-I/usr/include/   -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Werror=implicit 
-Werror=maybe-uninitialized -Werror=memset-transposed-args 
-Werror=null-dereference -Werror=sizeof-array-argument 
-Werror=sizeof-pointer-memaccess -c -o gsup_client.o gsup_client.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -I/usr/include/ -I/usr/include/ -I/usr/include/ 
-I/usr/include/   -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Werror=implicit 
-Werror=maybe-uninitialized -Werror=memset-transposed-args 
-Werror=null-dereference -Werror=sizeof-array-argument 
-Werror=sizeof-pointer-memaccess -c -o oap_client.o oap_client.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -I/usr/include/ -I/usr/include/ -I/usr/include/ 
-I/usr/include/   -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Werror=implicit 
-Werror=maybe-uninitialized -Werror=memset-transposed-args 
-Werror=null-dereference -Werror=sizeof-array-argument 
-Werror=sizeof-pointer-memaccess -c -o socket.o socket.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -I/usr/include/ -I/usr/include/ -I/usr/include/ 
-I/usr/include/   -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Werror=implicit 
-Werror=maybe-uninitialized -Werror=memset-transposed-args 
-Werror=null-dereference -Werror=sizeof-array-argument 
-Werror=sizeof-pointer-memaccess -c -o talloc_ctx.o talloc_ctx.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -I/usr/include/ -I/usr/include/ -I/usr/include/ 
-I/usr/include/   -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Werror=implicit 
-Werror=maybe-uninitialized -Werror=memset-transposed-args 
-Werror=null-dereference -Werror=sizeof-array-argument 
-Werror=sizeof-pointer-memaccess -c -o gsm_subscriber_base.o 
gsm_subscriber_base.c
rm -f libcommon.a
ar cru libcommon.a bsc_version.o common_vty.o debug.o gsm_data.o 
gsm_data_shared.o gsup_client.o oap_client.o socket.o talloc_ctx.o 
gsm_subscriber_base.o 
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libcommon.a
/bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall -I/usr/include/ 
-I/usr/include/ -I/usr/include/ -I/usr/include/   -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Werror=implicit -Werror=maybe-uninitialized 
-Werror=memset-transposed-args -Werror=null-dereference 
-Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess  -Wl,-z,relro 
-Wl,-z,now -Wl,--as-needed -o gsup_test_client gsup_test_client.o libcommon.a 
-ltalloc -losmocore -ltalloc -losmogsm -losmocore -ltalloc -losmovty -losmocore 
-losmoabis -lrt  
libtool: link: gcc -Wall -I/usr/include/ -I/usr/include/ -I/usr/include/ 
-I/usr/include/ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Werror=implicit 
-Werror=maybe-uninitialized -Werror=memset-transposed-args 
-Werror=null-dereference -Werror=sizeof-array-argument 
-Werror=sizeof-pointer-memaccess -Wl,-z -Wl,relro -Wl,-z -Wl,now 
-Wl,--as-needed -o gsup_test_client gsup_test_client.o  libcommon.a 
/usr/lib/x86_64-linux-gnu/libosmogsm.so -ltalloc 
/usr/lib/x86_64-linux-gnu/libosmovty.so 
/usr/lib/x86_64-linux-gnu/libosmocore.so -losmoabis -lrt
make[4]: Leaving directory '/<<PKGBUILDDIR>>/openbsc/src/libcommon'
Making all in libmgcp
make[4]: Entering directory '/<<PKGBUILDDIR>>/openbsc/src/libmgcp'
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -I/usr/include/ -I/usr/include/ -I/usr/include/    -g 
-O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Werror=implicit -Werror=maybe-uninitialized 
-Werror=memset-transposed-args -Werror=null-dereference 
-Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o 
mgcp_protocol.o mgcp_protocol.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -I/usr/include/ -I/usr/include/ -I/usr/include/    -g 
-O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Werror=implicit -Werror=maybe-uninitialized 
-Werror=memset-transposed-args -Werror=null-dereference 
-Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o 
mgcp_network.o mgcp_network.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -I/usr/include/ -I/usr/include/ -I/usr/include/    -g 
-O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Werror=implicit -Werror=maybe-uninitialized 
-Werror=memset-transposed-args -Werror=null-dereference 
-Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o mgcp_vty.o 
mgcp_vty.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -I/usr/include/ -I/usr/include/ -I/usr/include/    -g 
-O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Werror=implicit -Werror=maybe-uninitialized 
-Werror=memset-transposed-args -Werror=null-dereference 
-Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o 
mgcp_osmux.o mgcp_osmux.c
mgcp_network.c:44:2: warning: #warning "Make use of the rtp proxy code" [-Wcpp]
   44 | #warning "Make use of the rtp proxy code"
      |  ^~~~~~~
mgcp_network.c: In function ‘receive_from’:
mgcp_network.c:697:3: warning: #warning "Slight spec violation. With connection 
mode recvonly we should attempt to forward." [-Wcpp]
  697 |  #warning "Slight spec violation. With connection mode recvonly we 
should attempt to forward."
      |   ^~~~~~~
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -I/usr/include/ -I/usr/include/ -I/usr/include/    -g 
-O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Werror=implicit -Werror=maybe-uninitialized 
-Werror=memset-transposed-args -Werror=null-dereference 
-Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess -c -o mgcp_sdp.o 
mgcp_sdp.c
rm -f libmgcp.a
ar cru libmgcp.a mgcp_protocol.o mgcp_network.o mgcp_vty.o mgcp_osmux.o 
mgcp_sdp.o  
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libmgcp.a
make[4]: Leaving directory '/<<PKGBUILDDIR>>/openbsc/src/libmgcp'
Making all in libbsc
make[4]: Entering directory '/<<PKGBUILDDIR>>/openbsc/src/libbsc'
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -I/usr/include/ -I/usr/include/ -I/usr/include/ 
-I/usr/include/   -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Werror=implicit 
-Werror=maybe-uninitialized -Werror=memset-transposed-args 
-Werror=null-dereference -Werror=sizeof-array-argument 
-Werror=sizeof-pointer-memaccess -c -o abis_nm.o abis_nm.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -I/usr/include/ -I/usr/include/ -I/usr/include/ 
-I/usr/include/   -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Werror=implicit 
-Werror=maybe-uninitialized -Werror=memset-transposed-args 
-Werror=null-dereference -Werror=sizeof-array-argument 
-Werror=sizeof-pointer-memaccess -c -o abis_nm_vty.o abis_nm_vty.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -I/usr/include/ -I/usr/include/ -I/usr/include/ 
-I/usr/include/   -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Werror=implicit 
-Werror=maybe-uninitialized -Werror=memset-transposed-args 
-Werror=null-dereference -Werror=sizeof-array-argument 
-Werror=sizeof-pointer-memaccess -c -o abis_om2000.o abis_om2000.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -I/usr/include/ -I/usr/include/ -I/usr/include/ 
-I/usr/include/   -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Werror=implicit 
-Werror=maybe-uninitialized -Werror=memset-transposed-args 
-Werror=null-dereference -Werror=sizeof-array-argument 
-Werror=sizeof-pointer-memaccess -c -o abis_om2000_vty.o abis_om2000_vty.c
abis_om2000_vty.c: In function ‘cfg_bts_alt_mode’:
abis_om2000_vty.c:427:20: warning: unused variable ‘cg’ [-Wunused-variable]
  427 |  struct con_group *cg;
      |                    ^~
abis_nm.c: In function ‘abis_nm_rx_get_attr_resp’:
abis_nm.c:560:50: warning: passing argument 2 of 
‘parse_attr_resp_info_unreported’ discards ‘const’ qualifier from pointer 
target type [-Wdiscarded-qualifiers]
  560 |  data = parse_attr_resp_info_unreported(bts->nr, TLVP_VAL(&tp, 
NM_ATT_GET_ARI), TLVP_LEN(&tp, NM_ATT_GET_ARI),
      |                                                  ^~~~~~~~
abis_nm.c:458:81: note: expected ‘uint8_t *’ {aka ‘unsigned char *’} but 
argument is of type ‘const uint8_t *’ {aka ‘const unsigned char *’}
  458 | static inline uint8_t *parse_attr_resp_info_unreported(uint8_t bts_nr, 
uint8_t *ari, uint16_t ari_len, uint16_t *out_len)
      |                                                                        
~~~~~~~~~^~~
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -I/usr/include/ -I/usr/include/ -I/usr/include/ 
-I/usr/include/   -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Werror=implicit 
-Werror=maybe-uninitialized -Werror=memset-transposed-args 
-Werror=null-dereference -Werror=sizeof-array-argument 
-Werror=sizeof-pointer-memaccess -c -o abis_rsl.o abis_rsl.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -I/usr/include/ -I/usr/include/ -I/usr/include/ 
-I/usr/include/   -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Werror=implicit 
-Werror=maybe-uninitialized -Werror=memset-transposed-args 
-Werror=null-dereference -Werror=sizeof-array-argument 
-Werror=sizeof-pointer-memaccess -c -o acc_ramp.o acc_ramp.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -I/usr/include/ -I/usr/include/ -I/usr/include/ 
-I/usr/include/   -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Werror=implicit 
-Werror=maybe-uninitialized -Werror=memset-transposed-args 
-Werror=null-dereference -Werror=sizeof-array-argument 
-Werror=sizeof-pointer-memaccess -c -o bsc_rll.o bsc_rll.c
gcc -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../..  -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -I/usr/include/ -I/usr/include/ -I/usr/include/ 
-I/usr/include/   -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Werror=implicit 
-Werror=maybe-uninitialized -Werror=memset-transposed-args 
-Werror=null-dereference -Werror=sizeof-array-argument 
-Werror=sizeof-pointer-memaccess -c -o bsc_subscriber.o bsc_subscriber.c
bsc_subscriber.c: In function ‘bsc_subscr_find_or_create_by_tmsi’:
bsc_subscriber.c:106:13: error: potential null pointer dereference 
[-Werror=null-dereference]
  106 |  bsub->tmsi = tmsi;
      |  ~~~~~~~~~~~^~~~~~
cc1: some warnings being treated as errors
make[4]: *** [Makefile:541: bsc_subscriber.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/openbsc/src/libbsc'
make[3]: *** [Makefile:447: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/openbsc/src'
make[2]: *** [Makefile:518: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/openbsc'
make[1]: *** [Makefile:427: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/openbsc'
dh_auto_build: error: cd openbsc && make -j4 returned exit code 2
make: *** [debian/rules:16: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: openbsc
Source-Version: 1.1.0-3
Done: Thorsten Alteholz <[email protected]>

We believe that the bug you reported is fixed in the latest version of
openbsc, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thorsten Alteholz <[email protected]> (supplier of updated openbsc 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 05 Aug 2020 20:51:19 +0200
Source: openbsc
Architecture: source
Version: 1.1.0-3
Distribution: unstable
Urgency: low
Maintainer: Debian Mobcom Maintainers 
<[email protected]>
Changed-By: Thorsten Alteholz <[email protected]>
Closes: 957634
Changes:
 openbsc (1.1.0-3) unstable; urgency=low
 .
   * add patch for gcc10 (Closes: #957634)
     Thanks to Harald Welte for the patch
   * debian/control: bump standard to 4.5.0 (no changes)
   * debian/control: use dh12
Checksums-Sha1:
 dd3d2eac63264e624a14f262994a850050c0cbc2 2712 openbsc_1.1.0-3.dsc
 e1678f6e4a95b299a0cf79495b28b70ff908eb5c 10676 openbsc_1.1.0-3.debian.tar.xz
 8dabb6a88cc6733ca0d95bfdd0534d4bbc163b7c 9966 openbsc_1.1.0-3_amd64.buildinfo
Checksums-Sha256:
 0742b3fa96f1c01af00be7b49fd5f73b75460e1a39f665edd32ef6573e56d9d5 2712 
openbsc_1.1.0-3.dsc
 e4f900b8a6077dc470296988d370a143cc8cb76a83602e89e5cd6ec44b1cfa07 10676 
openbsc_1.1.0-3.debian.tar.xz
 39c38ae1c84944d2f49c2c443e4e5b4e371e438e31bbf8ec8bbd021f7881ea40 9966 
openbsc_1.1.0-3_amd64.buildinfo
Files:
 97d56299fe92cec79954d017bec7f27e 2712 net optional openbsc_1.1.0-3.dsc
 20ed91123ed49b5c58bb394acc0ad82e 10676 net optional 
openbsc_1.1.0-3.debian.tar.xz
 f5edf7b8f3aaf4a1b82ab4482a083cb9 9966 net optional 
openbsc_1.1.0-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKnBAEBCgCRFiEEYgH7/9u94Hgi6ruWlvysDTh7WEcFAl8suoBfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYy
MDFGQkZGREJCREUwNzgyMkVBQkI5Njk2RkNBQzBEMzg3QjU4NDcTHGRlYmlhbkBh
bHRlaG9sei5kZQAKCRCW/KwNOHtYRyMrD/sHZwEz5JDt6EnT4jMsRgjoI1A2W/ZA
jGh60YBJnWpV8WTAaVmZDxFAB50S/sDyzsHYZQW53+3eZtp+jSt4/AnRC5+JcNqE
yhL8M68nqfmhdzSPM3Ezecs8S6OLwpj5v/yuKChgfNJkHCI5RgzGoIXzMVpY1OyZ
p/QWHINTfXc4jTtBn/TnXmD+gM7MQR00rytQfqDmK1NN0PRe8Vxi6x1DWnkPGqH/
myrRJRrVXjdX4yfFbboS/oCj9C9chqc6pWJ+dHBV0RvqwnGxsfMl6vy33ZNplfCW
BlC/hLdOFrhjlb2UOjwcbxqYMnraSGZkK+suzmM/psVoQzi5vwI7X3ZCkhNEsh2B
AypwzatioEbZZeXktCcaPOMEl7N+iF3Zv4dGmIJY0t2QY0C9X+VLqI8WJjEPzH4q
adR+OBxCBcSi4K/0mFyww/LhKkx7FJUXB/3ivcXSjva84yefhVDkUtCNzLTkmbWV
9M8Jf16CqNZM+VN2upUlxHRz+AxaUBVd62NhlBCFMJ0UKx6w6lH+7496UWM479i4
jTTS7OM4fOo3Z7jJUIQrvd6OUUrfVaW/sB7qQnOty9k8tabnin4AL4qv9CJrM6o8
Q1Z080xTrLq2+rO4MwAtWxml5W4rUmBtLQPIEAaNDiXgULR0D01XPhXnB4AaIJYP
LrwlPG4fZFnCIA==
=ZLsJ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to