[ 0s] Memory limit set to 32903272KB [ 0s] Using BUILD_ROOT=/var/tmp/build-root/openSUSE_Tumbleweed-x86_64 [ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386 [ 0s] [ 1s] [ 1s] build started "build openbsc.spec" at Wed Jul 17 21:15:14 UTC 2019. [ 1s] [ 1s] [ 1s] processing recipe /home/mhauke/Projects/home:mnhauke:osmocom:nightly/openbsc/openbsc.spec ... [ 1s] running changelog2spec --target rpm --file /home/mhauke/Projects/home:mnhauke:osmocom:nightly/openbsc/openbsc.spec [ 1s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /var/cache/build --rpmlist /tmp/rpmlist.f4k51lfu /home/mhauke/Projects/home:mnhauke:osmocom:nightly/openbsc/openbsc.spec ... [ 1s] reordering...cycle: libncurses6 -> terminfo-base [ 1s] breaking dependency terminfo-base -> libncurses6 [ 1s] cycle: libcrack2 -> cracklib [ 1s] breaking dependency cracklib -> libcrack2 [ 1s] cycle: shadow -> pam [ 1s] breaking dependency pam -> shadow [ 1s] cycle: libdw1 -> libelf1 -> libebl-plugins [ 1s] breaking dependency libebl-plugins -> libdw1 [ 1s] cycle: libelf1 -> libebl-plugins [ 1s] breaking dependency libelf1 -> libebl-plugins [ 1s] cycle: rpm -> rpm-config-SUSE [ 1s] breaking dependency rpm -> rpm-config-SUSE [ 1s] cycle: libopenssl-1_1-devel -> libopenssl-devel [ 1s] breaking dependency libopenssl-devel -> libopenssl-1_1-devel [ 1s] done [ 1s] querying package ids... [ 3s] [1/181] keeping file-magic-5.37-2.1 [ 3s] [2/181] keeping kernel-obs-build-5.1.16-1.3 [ 3s] [3/181] keeping libnl-config-3.4-1.6 [ 3s] [4/181] keeping libtirpc-netconfig-1.0.3-3.5 [ 3s] [5/181] keeping python-rpm-macros-20190610.2ee3233-1.2 [ 3s] [6/181] keeping system-user-root-20190513-1.5 [ 3s] [7/181] keeping vim-data-common-8.1.1600-1.2 [ 3s] [8/181] keeping filesystem-15.5-27.1 [ 3s] [9/181] keeping glibc-2.29-7.2 [ 3s] [10/181] keeping fillup-1.42-274.6 [ 3s] [11/181] keeping hostname-3.21-1.5 [ 3s] [12/181] keeping libacl1-2.2.53-3.5 [ 3s] [13/181] keeping libatomic1-9.1.1+r272147-1.2 [ 3s] [14/181] keeping libattr1-2.4.48-2.9 [ 3s] [15/181] keeping libaudit1-2.8.4-2.2 [ 3s] [16/181] keeping libbz2-1-1.0.7-1.2 [ 3s] [17/181] keeping libcap-ng0-0.7.9-1.13 [ 3s] [18/181] keeping libcap2-2.25-4.13 [ 3s] [19/181] keeping libcares2-1.15.0-1.4 [ 3s] [20/181] keeping libcom_err2-1.45.2-2.2 [ 3s] [21/181] keeping libcrypt1-4.4.3-2.2 [ 3s] [22/181] keeping libdbi3-0.9.0.g33-2.16 [ 3s] [23/181] keeping libexpat1-2.2.7-1.2 [ 3s] [24/181] keeping libffi7-3.2.1.git259-6.7 [ 3s] [25/181] keeping libgcc_s1-9.1.1+r272147-1.2 [ 3s] [26/181] keeping libgdbm6-1.18.1-1.5 [ 3s] [27/181] keeping libgmp10-6.1.2-4.2 [ 3s] [28/181] keeping libgomp1-9.1.1+r272147-1.2 [ 3s] [29/181] keeping libitm1-9.1.1+r272147-1.2 [ 3s] [30/181] keeping libkeyutils1-1.6-1.2 [ 3s] [31/181] keeping libltdl7-2.4.6-7.9 [ 3s] [32/181] keeping liblua5_3-5-5.3.5-1.5 [ 3s] [33/181] keeping liblzma5-5.2.4-2.4 [ 3s] [34/181] keeping libmnl0-1.0.4-1.10 [ 3s] [35/181] keeping libopenssl1_1-1.1.1c-1.2 [ 3s] [36/181] keeping libpcre1-8.42-2.9 [ 3s] [37/181] keeping libpopt0-1.16-31.5 [ 3s] [38/181] keeping libpython2_7-1_0-2.7.16-2.2 [ 3s] [39/181] keeping libpython3_7m1_0-3.7.3-1.3 [ 3s] [40/181] keeping libsepol1-2.9-2.2 [ 3s] [41/181] keeping libsmartcols1-2.33.2-2.2 [ 3s] [42/181] keeping libsmpp34-1-1.13.0.6-5.1 [ 3s] [43/181] keeping libsqlite3-0-3.28.0-1.2 [ 3s] [44/181] keeping libsystemd0-mini-242-2.3 [ 3s] [45/181] keeping libtalloc2-2.1.16-1.4 [ 3s] [46/181] keeping libuuid1-2.33.2-2.2 [ 3s] [47/181] keeping libverto1-0.2.6-7.14 [ 3s] [48/181] keeping libz1-1.2.11-8.2 [ 3s] [49/181] keeping libzstd1-1.4.0-4.1 [ 3s] [50/181] keeping patch-2.7.6-3.13 [ 3s] [51/181] keeping pkg-config-0.29.2-3.5 [ 3s] [52/181] keeping update-alternatives-1.19.0.5-4.5 [ 3s] [53/181] keeping libnl3-200-3.4-1.6 [ 3s] [54/181] keeping attr-2.4.48-2.9 [ 3s] [55/181] keeping chkstat-1550_20190521-3.2 [ 3s] [56/181] keeping libasn1c0-0.9.31.4-7.1 [ 3s] [57/181] keeping libblkid1-2.33.2-2.2 [ 3s] [58/181] keeping libdbi-devel-0.9.0.g33-2.16 [ 3s] [59/181] keeping libdbus-1-3-1.12.12-4.2 [ 3s] [60/181] keeping libgdbm_compat4-1.18.1-1.5 [ 3s] [61/181] keeping libisl19-0.20-1.9 [ 3s] [62/181] keeping libmpfr6-4.0.2-1.5 [ 3s] [63/181] keeping libosmocore12-1.1.0.80-1.1 [ 3s] [64/181] keeping libselinux1-2.9-5.2 [ 3s] [65/181] keeping libsmpp34-1-devel-1.13.0.6-5.1 [ 3s] [66/181] keeping libstdc++6-9.1.1+r272147-1.2 [ 3s] [67/181] keeping libtalloc-devel-2.1.16-1.4 [ 3s] [68/181] keeping libxcrypt-devel-4.4.3-2.2 [ 3s] [69/181] keeping perl-base-5.28.1-3.2 [ 3s] [70/181] keeping libdbi-drivers-dbd-sqlite3-0.9.0.g53-3.4 [ 3s] [71/181] keeping libmagic1-5.37-2.1 [ 3s] [72/181] keeping libzio1-1.06-3.19 [ 3s] [73/181] keeping build-mkbaselibs-20190627-1.1 [ 3s] [74/181] keeping file-5.37-2.1 [ 3s] [75/181] keeping libasan5-9.1.1+r272147-1.2 [ 3s] [76/181] keeping libasn1c-devel-0.9.31.4-7.1 [ 3s] [77/181] keeping libdb-4_8-4.8.30-37.9 [ 3s] [78/181] keeping libfdisk1-2.33.2-2.2 [ 3s] [79/181] keeping liblsan0-9.1.1+r272147-1.2 [ 3s] [80/181] keeping libmount1-2.33.2-2.2 [ 3s] [81/181] keeping libmpc3-1.1.0-1.13 [ 3s] [82/181] keeping libosmocore-devel-1.1.0.80-1.1 [ 3s] [83/181] keeping libosmogsm12-1.1.0.80-1.1 [ 3s] [84/181] keeping libosmovty4-1.1.0.80-1.1 [ 3s] [85/181] keeping libpcap1-1.9.0-1.5 [ 3s] [86/181] keeping libtsan0-9.1.1+r272147-1.2 [ 3s] [87/181] keeping libubsan1-9.1.1+r272147-1.2 [ 3s] [88/181] keeping libsemanage1-2.9-3.2 [ 3s] [89/181] keeping libosmogsm-devel-1.1.0.80-1.1 [ 3s] [90/181] keeping libosmovty-devel-1.1.0.80-1.1 [ 3s] [91/181] keeping libosmoabis6-0.6.0.12-1.1 [ 3s] [92/181] keeping libosmoctrl0-1.1.0.80-1.1 [ 3s] [93/181] keeping libosmogb9-1.1.0.80-1.1 [ 3s] [94/181] keeping cpp9-9.1.1+r272147-1.2 [ 3s] [95/181] keeping perl-5.28.1-3.2 [ 3s] [96/181] keeping brp-check-suse-84.87+git20190423.d0bda31-1.1 [ 3s] [97/181] keeping libosmoabis-devel-0.6.0.12-1.1 [ 3s] [98/181] keeping libosmoctrl-devel-1.1.0.80-1.1 [ 3s] [99/181] keeping libosmogb-devel-1.1.0.80-1.1 [ 3s] [100/181] keeping terminfo-base-6.1-17.1 [ 3s] [101/181] keeping libelf1-0.176-4.2 [ 3s] [102/181] keeping dwz-0.12-6.5 [ 3s] [103/181] keeping libebl-plugins-0.176-4.2 [ 3s] [104/181] keeping libncurses6-6.1-17.1 [ 3s] [105/181] keeping libdw1-0.176-4.2 [ 3s] [106/181] keeping libreadline8-8.0-1.6 [ 3s] [107/181] keeping ncurses-utils-6.1-17.1 [ 3s] [108/181] keeping bash-5.0-7.4 [ 3s] [109/181] keeping cpp-9-1.5 [ 3s] [110/181] keeping lksctp-tools-1.0.16-2.3 [ 3s] [111/181] keeping bzip2-1.0.7-1.2 [ 3s] [112/181] keeping cracklib-2.9.6-2.13 [ 3s] [113/181] keeping gettext-runtime-mini-0.19.8.1-13.2 [ 3s] [114/181] keeping xz-5.2.4-2.4 [ 3s] [115/181] keeping info-6.5-6.10 [ 3s] [116/181] keeping less-530-1.7 [ 3s] [117/181] keeping strace-5.1-1.2 [ 3s] [118/181] keeping iproute2-5.1-1.4 [ 3s] [119/181] keeping vim-8.1.1600-1.2 [ 3s] [120/181] keeping python3-base-3.7.3-1.3 [ 3s] [121/181] keeping cpio-2.12-6.9 [ 3s] [122/181] keeping diffutils-3.7-1.5 [ 3s] [123/181] keeping gzip-1.10-2.1 [ 3s] [124/181] keeping libcrack2-2.9.6-2.13 [ 3s] [125/181] keeping m4-1.4.18-4.9 [ 3s] [126/181] keeping make-4.2.1-7.9 [ 3s] [127/181] keeping which-2.21-4.13 [ 3s] [128/181] keeping findutils-4.6.0-5.2 [ 3s] [129/181] keeping gawk-4.2.1-1.17 [ 3s] [130/181] keeping gettext-tools-mini-0.19.8.1-13.2 [ 3s] [131/181] keeping grep-3.3-2.4 [ 3s] [132/181] keeping tar-1.32-1.2 [ 3s] [133/181] keeping binutils-2.32-5.5 [ 3s] [134/181] keeping libosmonetif6-0.5.0.2-7.1 [ 3s] [135/181] keeping sed-4.7-1.4 [ 3s] [136/181] keeping coreutils-8.31-1.6 [ 3s] [137/181] keeping gdb-8.3-2.2 [ 3s] [138/181] keeping systemd-rpm-macros-4-2.5 [ 3s] [139/181] keeping libosmonetif-devel-0.5.0.2-7.1 [ 3s] [140/181] keeping linux-glibc-devel-5.1-1.2 [ 3s] [141/181] keeping glibc-locale-base-2.29-7.2 [ 3s] [142/181] keeping openssl-1_1-1.1.1c-1.2 [ 3s] [143/181] keeping autoconf-2.69-16.9 [ 3s] [144/181] keeping permissions-config-1550_20190521-3.2 [ 3s] [145/181] keeping krb5-mini-1.17-2.5 [ 3s] [146/181] keeping rpm-4.14.2.1-6.1 [ 3s] [147/181] keeping glibc-locale-2.29-7.2 [ 3s] [148/181] keeping openssl-1.1.1c-1.1 [ 3s] [149/181] keeping permissions-20190521-3.2 [ 3s] [150/181] keeping rpm-config-SUSE-0.g27-1.1 [ 3s] [151/181] keeping libtirpc3-1.0.3-3.5 [ 3s] [152/181] keeping automake-1.16.1-4.5 [ 3s] [153/181] keeping glibc-devel-2.29-7.2 [ 3s] [154/181] keeping rpmlint-mini-1.10-8.29 [ 3s] [155/181] keeping build-compare-20190219T103140.3277313-1.4 [ 3s] [156/181] keeping rpmlint-Factory-1.0-94.2 [ 3s] [157/181] keeping libnsl2-1.2.0-2.13 [ 3s] [158/181] keeping libstdc++6-devel-gcc9-9.1.1+r272147-1.2 [ 3s] [159/181] keeping c-ares-devel-1.15.0-1.4 [ 3s] [160/181] keeping sqlite3-devel-3.28.0-1.2 [ 3s] [161/181] keeping libopenssl-devel-1.1.1c-1.1 [ 3s] [162/181] keeping libpcap-devel-1.9.0-1.5 [ 3s] [163/181] keeping libtool-2.4.6-7.9 [ 3s] [164/181] keeping gcc9-9.1.1+r272147-1.2 [ 3s] [165/181] keeping gcc-9-1.5 [ 3s] [166/181] keeping libopenssl-1_1-devel-1.1.1c-1.2 [ 3s] [167/181] keeping gcc9-c++-9.1.1+r272147-1.2 [ 3s] [168/181] keeping python-base-2.7.16-2.2 [ 3s] [169/181] keeping pam-1.3.1-3.5 [ 3s] [170/181] keeping gcc-PIE-9-1.5 [ 3s] [171/181] keeping gcc-c++-9-1.5 [ 3s] [172/181] keeping python-2.7.16-2.1 [ 3s] [173/181] keeping shadow-4.7-1.1 [ 3s] [174/181] keeping sysuser-shadow-2.0-3.5 [ 3s] [175/181] keeping system-group-hardware-20170617-7.5 [ 3s] [176/181] keeping libutempter0-1.1.6-10.13 [ 3s] [177/181] keeping util-linux-2.33.2-2.2 [ 3s] [178/181] keeping aaa_base-84.87+git20190418.d83e9d6-2.1 [ 3s] [179/181] keeping rpm-build-4.14.2.1-6.1 [ 3s] [180/181] keeping aaa_base-malloccheck-84.87+git20190418.d83e9d6-2.1 [ 3s] [181/181] keeping post-build-checks-84.88+git20190702.429d0e0-1.1 [ 3s] removing nis flags from /var/tmp/build-root/openSUSE_Tumbleweed-x86_64/etc/nsswitch.conf... [ 3s] now finalizing build dir... [ 3s] cp: -r not specified; omitting directory '/home/mhauke/Projects/home:mnhauke:osmocom:nightly/openbsc/openbsc' [ 3s] Running build time source services... [ 4s] ----------------------------------------------------------------- [ 4s] I have the following modifications for openbsc.spec: [ 4s] ----------------------------------------------------------------- [ 4s] ----- building openbsc.spec (user abuild) [ 4s] ----------------------------------------------------------------- [ 4s] ----------------------------------------------------------------- [ 4s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' /home/abuild/rpmbuild/SOURCES/openbsc.spec [ 4s] setting SOURCE_DATE_EPOCH=1563105600 [ 4s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Z7e7iL [ 4s] + umask 022 [ 4s] + cd /home/abuild/rpmbuild/BUILD [ 4s] + cd /home/abuild/rpmbuild/BUILD [ 4s] + rm -rf openbsc-1.3.0.0 [ 4s] + /usr/bin/tar -xof - [ 4s] + /usr/bin/xz -dc /home/abuild/rpmbuild/SOURCES/openbsc-1.3.0.0.tar.xz [ 4s] + STATUS=0 [ 4s] + '[' 0 -ne 0 ']' [ 4s] + cd openbsc-1.3.0.0 [ 4s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 4s] + exit 0 [ 4s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.itMHwS [ 4s] + umask 022 [ 4s] + cd /home/abuild/rpmbuild/BUILD [ 4s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/openbsc-1.3.0.0-0.x86_64 [ 4s] ++ dirname /home/abuild/rpmbuild/BUILDROOT/openbsc-1.3.0.0-0.x86_64 [ 4s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT [ 4s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/openbsc-1.3.0.0-0.x86_64 [ 4s] + cd openbsc-1.3.0.0 [ 4s] + pushd openbsc/ [ 4s] ~/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc ~/rpmbuild/BUILD/openbsc-1.3.0.0 [ 4s] + echo 1.3.0.0 [ 4s] + autoreconf -fi [ 7s] libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'. [ 7s] libtoolize: copying file './ltmain.sh' [ 7s] libtoolize: putting macros in 'm4'. [ 7s] libtoolize: copying file 'm4/libtool.m4' [ 7s] libtoolize: copying file 'm4/ltoptions.m4' [ 7s] libtoolize: copying file 'm4/ltsugar.m4' [ 8s] libtoolize: copying file 'm4/ltversion.m4' [ 8s] libtoolize: copying file 'm4/lt~obsolete.m4' [ 8s] libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, [ 8s] libtoolize: and rerunning libtoolize and aclocal. [ 11s] configure.ac:21: installing './compile' [ 11s] configure.ac:23: installing './config.guess' [ 11s] configure.ac:23: installing './config.sub' [ 11s] configure.ac:9: installing './install-sh' [ 11s] configure.ac:9: installing './missing' [ 11s] src/libbsc/Makefile.am: installing './depcomp' [ 12s] tests/bsc-nat-trie/Makefile.am:9: warning: source file '$(top_srcdir)/src/osmo-bsc_nat/bsc_nat_rewrite_trie.c' is in a subdirectory, [ 12s] tests/bsc-nat-trie/Makefile.am:9: but option 'subdir-objects' is disabled [ 12s] automake: warning: possible forward-incompatibility. [ 12s] automake: At least a source file is in a subdirectory, but the 'subdir-objects' [ 12s] automake: automake option hasn't been enabled. For now, the corresponding output [ 12s] automake: object file(s) will be placed in the top-level directory. However, [ 12s] automake: this behaviour will change in future Automake versions: they will [ 12s] automake: unconditionally cause object files to be placed in the same subdirectory [ 12s] automake: of the corresponding sources. [ 12s] automake: You are advised to start using 'subdir-objects' option throughout your [ 12s] automake: project, to avoid future incompatibilities. [ 12s] tests/bsc-nat/Makefile.am:34: warning: source file '$(top_srcdir)/src/osmo-bsc_nat/bsc_filter.c' is in a subdirectory, [ 12s] tests/bsc-nat/Makefile.am:34: but option 'subdir-objects' is disabled [ 12s] tests/bsc-nat/Makefile.am:34: warning: source file '$(top_srcdir)/src/osmo-bsc_nat/bsc_sccp.c' is in a subdirectory, [ 12s] tests/bsc-nat/Makefile.am:34: but option 'subdir-objects' is disabled [ 12s] tests/bsc-nat/Makefile.am:34: warning: source file '$(top_srcdir)/src/osmo-bsc_nat/bsc_nat_utils.c' is in a subdirectory, [ 12s] tests/bsc-nat/Makefile.am:34: but option 'subdir-objects' is disabled [ 12s] tests/bsc-nat/Makefile.am:34: warning: source file '$(top_srcdir)/src/osmo-bsc_nat/bsc_nat_rewrite.c' is in a subdirectory, [ 12s] tests/bsc-nat/Makefile.am:34: but option 'subdir-objects' is disabled [ 12s] tests/bsc-nat/Makefile.am:34: warning: source file '$(top_srcdir)/src/osmo-bsc_nat/bsc_nat_rewrite_trie.c' is in a subdirectory, [ 12s] tests/bsc-nat/Makefile.am:34: but option 'subdir-objects' is disabled [ 12s] tests/bsc-nat/Makefile.am:34: warning: source file '$(top_srcdir)/src/osmo-bsc_nat/bsc_mgcp_utils.c' is in a subdirectory, [ 12s] tests/bsc-nat/Makefile.am:34: but option 'subdir-objects' is disabled [ 12s] tests/bsc-nat/Makefile.am:34: warning: source file '$(top_srcdir)/src/osmo-bsc_nat/bsc_nat_filter.c' is in a subdirectory, [ 12s] tests/bsc-nat/Makefile.am:34: but option 'subdir-objects' is disabled [ 12s] tests/bsc/Makefile.am:28: warning: source file '$(top_srcdir)/src/osmo-bsc/osmo_bsc_filter.c' is in a subdirectory, [ 12s] tests/bsc/Makefile.am:28: but option 'subdir-objects' is disabled [ 12s] tests/smpp/Makefile.am:31: warning: source file '$(top_builddir)/src/libmsc/smpp_utils.c' is in a subdirectory, [ 12s] tests/smpp/Makefile.am:31: but option 'subdir-objects' is disabled [ 12s] + CFLAGS='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -flto=4 -g' [ 12s] + export CFLAGS [ 12s] + CXXFLAGS='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -flto=4 -g' [ 12s] + export CXXFLAGS [ 12s] + FFLAGS='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -flto=4 -g' [ 12s] + export FFLAGS [ 12s] + ./configure --host=x86_64-suse-linux-gnu --build=x86_64-suse-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-static --includedir=/usr/include/openbsc --docdir=/usr/share/doc/packages/openbsc --with-systemdsystemunitdir=/usr/lib/systemd/system --enable-smpp [ 12s] checking for a BSD-compatible install... /usr/bin/install -c [ 12s] checking whether build environment is sane... yes [ 12s] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [ 12s] checking for gawk... gawk [ 12s] checking whether make sets $(MAKE)... yes [ 12s] checking whether make supports nested variables... yes [ 12s] checking whether make supports nested variables... (cached) yes [ 12s] checking whether make sets $(MAKE)... (cached) yes [ 12s] checking for x86_64-suse-linux-gnu-gcc... no [ 12s] checking for gcc... gcc [ 13s] checking whether the C compiler works... yes [ 13s] checking for C compiler default output file name... a.out [ 13s] checking for suffix of executables... [ 13s] checking whether we are cross compiling... no [ 13s] checking for suffix of object files... o [ 13s] checking whether we are using the GNU C compiler... yes [ 13s] checking whether gcc accepts -g... yes [ 13s] checking for gcc option to accept ISO C89... none needed [ 13s] checking whether gcc understands -c and -o together... yes [ 13s] checking whether make supports the include directive... yes (GNU style) [ 13s] checking dependency style of gcc... none [ 13s] checking build system type... x86_64-suse-linux-gnu [ 13s] checking host system type... x86_64-suse-linux-gnu [ 13s] checking how to print strings... printf [ 13s] checking for a sed that does not truncate output... /usr/bin/sed [ 13s] checking for grep that handles long lines and -e... /usr/bin/grep [ 13s] checking for egrep... /usr/bin/grep -E [ 13s] checking for fgrep... /usr/bin/grep -F [ 13s] checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld [ 13s] checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes [ 13s] checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B [ 13s] checking the name lister (/usr/bin/nm -B) interface... BSD nm [ 13s] checking whether ln -s works... yes [ 13s] checking the maximum length of command line arguments... 1572864 [ 13s] checking how to convert x86_64-suse-linux-gnu file names to x86_64-suse-linux-gnu format... func_convert_file_noop [ 13s] checking how to convert x86_64-suse-linux-gnu file names to toolchain format... func_convert_file_noop [ 13s] checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r [ 13s] checking for x86_64-suse-linux-gnu-objdump... no [ 13s] checking for objdump... objdump [ 13s] checking how to recognize dependent libraries... pass_all [ 13s] checking for x86_64-suse-linux-gnu-dlltool... no [ 13s] checking for dlltool... no [ 13s] checking how to associate runtime and link libraries... printf %s\n [ 13s] checking for x86_64-suse-linux-gnu-ar... no [ 13s] checking for ar... ar [ 13s] checking for archiver @FILE support... @ [ 13s] checking for x86_64-suse-linux-gnu-strip... no [ 13s] checking for strip... strip [ 13s] checking for x86_64-suse-linux-gnu-ranlib... no [ 13s] checking for ranlib... ranlib [ 13s] checking command to parse /usr/bin/nm -B output from gcc object... ok [ 14s] checking for sysroot... no [ 14s] checking for a working dd... /usr/bin/dd [ 14s] checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 [ 14s] checking for x86_64-suse-linux-gnu-mt... no [ 14s] checking for mt... no [ 14s] checking if : is a manifest tool... no [ 14s] checking how to run the C preprocessor... gcc -E [ 14s] checking for ANSI C header files... yes [ 14s] checking for sys/types.h... yes [ 14s] checking for sys/stat.h... yes [ 14s] checking for stdlib.h... yes [ 14s] checking for string.h... yes [ 14s] checking for memory.h... yes [ 14s] checking for strings.h... yes [ 14s] checking for inttypes.h... yes [ 14s] checking for stdint.h... yes [ 14s] checking for unistd.h... yes [ 14s] checking for dlfcn.h... yes [ 14s] checking for objdir... .libs [ 15s] checking if gcc supports -fno-rtti -fno-exceptions... no [ 15s] checking for gcc option to produce PIC... -fPIC -DPIC [ 15s] checking if gcc PIC flag -fPIC -DPIC works... yes [ 15s] checking if gcc static flag -static works... no [ 15s] checking if gcc supports -c -o file.o... yes [ 15s] checking if gcc supports -c -o file.o... (cached) yes [ 15s] checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes [ 15s] checking whether -lc should be explicitly linked in... no [ 15s] checking dynamic linker characteristics... GNU/Linux ld.so [ 15s] checking how to hardcode library paths into programs... immediate [ 15s] checking whether stripping libraries is possible... yes [ 15s] checking if libtool supports shared libraries... yes [ 15s] checking whether to build shared libraries... yes [ 15s] checking whether to build static libraries... no [ 15s] checking for pkg-config... /usr/bin/pkg-config [ 15s] checking for x86_64-suse-linux-gnu-pkg-config... /usr/bin/x86_64-suse-linux-gnu-pkg-config [ 15s] checking pkg-config is at least version 0.20... yes [ 15s] checking for library containing dlopen... -ldl [ 15s] checking for libosmocore >= 1.0.1... yes [ 15s] checking for libosmovty >= 1.0.1... yes [ 15s] checking for libosmoctrl >= 1.0.1... yes [ 15s] checking for libosmogsm >= 1.0.1... yes [ 15s] checking for libosmogb >= 1.0.1... yes [ 15s] checking for libosmoabis >= 0.6.0... yes [ 15s] checking for libosmo-netif >= 0.4.0... yes [ 15s] checking for libsmpp34 >= 1.13.0... yes [ 15s] checking for ANSI C header files... (cached) yes [ 15s] checking dbi/dbd.h usability... yes [ 15s] checking dbi/dbd.h presence... yes [ 15s] checking for dbi/dbd.h... yes [ 16s] checking pcap/pcap.h usability... yes [ 16s] checking pcap/pcap.h presence... yes [ 16s] checking for pcap/pcap.h... yes [ 16s] checking cdk/cdk.h usability... no [ 16s] checking cdk/cdk.h presence... no [ 16s] checking for cdk/cdk.h... no [ 16s] checking for sqlite3... yes [ 16s] checking if gcc supports -fvisibility=hidden... yes [ 16s] checking whether C compiler accepts -Werror=implicit... yes [ 16s] checking whether C compiler accepts -Werror=maybe-uninitialized... yes [ 16s] checking whether C compiler accepts -Werror=memset-transposed-args... yes [ 16s] checking whether C compiler accepts -Werror=null-dereference... yes [ 16s] checking whether C compiler accepts -Werror=sizeof-array-argument... yes [ 16s] checking whether C compiler accepts -Werror=sizeof-pointer-memaccess... yes [ 16s] checking whether to enable code coverage support... no [ 16s] checking whether struct tm has tm_gmtoff member... yes [ 16s] checking whether to enable VTY/CTRL tests... no [ 16s] CFLAGS="-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -flto=4 -g -Werror=implicit -Werror=maybe-uninitialized -Werror=memset-transposed-args -Werror=null-dereference -Werror=sizeof-array-argument -Werror=sizeof-pointer-memaccess" [ 16s] CPPFLAGS="" [ 16s] checking that generated files are newer than configure... done [ 16s] configure: creating ./config.status [ 17s] config.status: creating include/openbsc/Makefile [ 17s] config.status: creating include/Makefile [ 17s] config.status: creating src/Makefile [ 17s] config.status: creating src/libtrau/Makefile [ 17s] config.status: creating src/libbsc/Makefile [ 17s] config.status: creating src/libmsc/Makefile [ 17s] config.status: creating src/libmgcp/Makefile [ 17s] config.status: creating src/libcommon/Makefile [ 17s] config.status: creating src/libfilter/Makefile [ 17s] config.status: creating src/libcommon-cs/Makefile [ 17s] config.status: creating src/osmo-nitb/Makefile [ 17s] config.status: creating src/osmo-bsc/Makefile [ 17s] config.status: creating src/osmo-bsc_nat/Makefile [ 18s] config.status: creating src/osmo-bsc_mgcp/Makefile [ 18s] config.status: creating src/utils/Makefile [ 18s] config.status: creating tests/Makefile [ 18s] config.status: creating tests/atlocal [ 18s] config.status: creating tests/gsm0408/Makefile [ 18s] config.status: creating tests/db/Makefile [ 18s] config.status: creating tests/channel/Makefile [ 18s] config.status: creating tests/bsc/Makefile [ 18s] config.status: creating tests/bsc-nat/Makefile [ 18s] config.status: creating tests/bsc-nat-trie/Makefile [ 18s] config.status: creating tests/mgcp/Makefile [ 18s] config.status: creating tests/abis/Makefile [ 18s] config.status: creating tests/smpp/Makefile [ 18s] config.status: creating tests/trau/Makefile [ 18s] config.status: creating tests/subscr/Makefile [ 18s] config.status: creating tests/mm_auth/Makefile [ 18s] config.status: creating tests/nanobts_omlattr/Makefile [ 18s] config.status: creating doc/Makefile [ 18s] config.status: creating doc/examples/Makefile [ 18s] config.status: creating contrib/Makefile [ 18s] config.status: creating contrib/systemd/Makefile [ 18s] config.status: creating Makefile [ 18s] config.status: creating bscconfig.h [ 18s] config.status: executing tests/atconfig commands [ 18s] config.status: executing depfiles commands [ 18s] config.status: executing libtool commands [ 18s] + make -j4 [ 18s] echo 1.3.0.0 > .version-t && mv .version-t .version [ 18s] make all-recursive [ 18s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc' [ 18s] Making all in doc [ 18s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/doc' [ 18s] Making all in examples [ 18s] make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/doc/examples' [ 18s] make[3]: Nothing to be done for 'all'. [ 18s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/doc/examples' [ 18s] make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/doc' [ 18s] make[3]: Nothing to be done for 'all-am'. [ 18s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/doc' [ 18s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/doc' [ 18s] Making all in include [ 18s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/include' [ 18s] Making all in openbsc [ 18s] make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/include/openbsc' [ 18s] make[3]: Nothing to be done for 'all'. [ 18s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/include/openbsc' [ 18s] make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/include' [ 18s] make[3]: Nothing to be done for 'all-am'. [ 18s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/include' [ 18s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/include' [ 18s] Making all in src [ 18s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/src' [ 18s] Making all in libcommon [ 18s] make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/src/libcommon' [ 18s] CC gsup_test_client.o [ 18s] CC common_vty.o [ 18s] CC bsc_version.o [ 18s] CC debug.o [ 18s] CC gsm_data.o [ 18s] gsup_test_client.c: In function 'main': [ 18s] gsup_test_client.c:276:2: warning: 'osmo_init_logging' is deprecated: use osmo_init_logging2() instead to avoid a NULL talloc ctx [-Wdeprecated-declarations] [ 18s] 276 | osmo_init_logging(&gsup_test_client_log_info); [ 18s] | ^~~~~~~~~~~~~~~~~ [ 18s] In file included from gsup_test_client.c:9: [ 18s] /usr/include/libosmocore/osmocom/core/application.h:20:5: note: declared here [ 18s] 20 | int osmo_init_logging(const struct log_info *) [ 18s] | ^~~~~~~~~~~~~~~~~ [ 18s] CC gsm_data_shared.o [ 18s] CC gsup_client.o [ 18s] CC oap_client.o [ 18s] CC socket.o [ 18s] CC talloc_ctx.o [ 18s] CC gsm_subscriber_base.o [ 19s] AR libcommon.a [ 19s] CCLD gsup_test_client [ 19s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/src/libcommon' [ 19s] Making all in libmgcp [ 19s] make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/src/libmgcp' [ 19s] CC mgcp_network.o [ 19s] CC mgcp_vty.o [ 19s] CC mgcp_osmux.o [ 19s] CC mgcp_protocol.o [ 19s] mgcp_network.c:44:2: warning: #warning "Make use of the rtp proxy code" [-Wcpp] [ 19s] 44 | #warning "Make use of the rtp proxy code" [ 19s] | ^~~~~~~ [ 19s] mgcp_network.c: In function 'receive_from': [ 19s] mgcp_network.c:697:3: warning: #warning "Slight spec violation. With connection mode recvonly we should attempt to forward." [-Wcpp] [ 19s] 697 | #warning "Slight spec violation. With connection mode recvonly we should attempt to forward." [ 19s] | ^~~~~~~ [ 19s] mgcp_osmux.c: In function 'osmux_enable_endpoint': [ 19s] mgcp_osmux.c:491:2: warning: 'osmux_xfrm_output_init' is deprecated: Use osmux_xfrm_output_init2() instead [-Wdeprecated-declarations] [ 19s] 491 | osmux_xfrm_output_init(&endp->osmux.out, [ 19s] | ^~~~~~~~~~~~~~~~~~~~~~ [ 19s] In file included from mgcp_osmux.c:20: [ 19s] /usr/include/libosmo-netif/osmocom/netif/osmux.h:110:6: note: declared here [ 19s] 110 | void osmux_xfrm_output_init(struct osmux_out_handle *h, uint32_t rtp_ssrc) OSMO_DEPRECATED("Use osmux_xfrm_output_init2() instead"); [ 19s] | ^~~~~~~~~~~~~~~~~~~~~~ [ 19s] mgcp_osmux.c: In function 'osmux_send_dummy': [ 19s] mgcp_osmux.c:556:35: warning: passing argument 2 of 'endp_osmux_state_check' from incompatible pointer type [-Wincompatible-pointer-types] [ 19s] 556 | if (endp_osmux_state_check(endp, &endp->net_end.addr, true) < 0) [ 19s] | ^~~~~~~~~~~~~~~~~~~ [ 19s] | | [ 19s] | struct in_addr * [ 19s] mgcp_osmux.c:265:83: note: expected 'struct sockaddr_in *' but argument is of type 'struct in_addr *' [ 19s] 265 | static int endp_osmux_state_check(struct mgcp_endpoint *endp, struct sockaddr_in *addr, bool sending) [ 19s] | ~~~~~~~~~~~~~~~~~~~~^~~~ [ 19s] In file included from ../../include/openbsc/debug.h:7, [ 19s] from ../../include/openbsc/mgcp.h:30, [ 19s] from mgcp_protocol.c:36: [ 19s] mgcp_protocol.c: In function 'verify_ci': [ 19s] mgcp_protocol.c:515:27: warning: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'const char *' [-Wformat=] [ 19s] 515 | LOGP(DMGCP, LOGL_ERROR, "ConnectionIdentifiers do not match on 0x%x. %x != %x\n", [ 19s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 19s] 516 | ENDPOINT_NUMBER(endp), endp->ci, _ci); [ 19s] | ~~~ [ 19s] | | [ 19s] | const char * [ 19s] /usr/include/libosmocore/osmocom/core/logging.h:95:54: note: in definition of macro 'LOGPSRCC' [ 19s] 95 | logp2(ss, level, caller_file, caller_line, cont, fmt, ##args); \ [ 19s] | ^~~ [ 19s] /usr/include/libosmocore/osmocom/core/logging.h:49:2: note: in expansion of macro 'LOGPSRC' [ 19s] 49 | LOGPSRC(ss, level, NULL, 0, fmt, ## args) [ 19s] | ^~~~~~~ [ 19s] mgcp_protocol.c:515:3: note: in expansion of macro 'LOGP' [ 19s] 515 | LOGP(DMGCP, LOGL_ERROR, "ConnectionIdentifiers do not match on 0x%x. %x != %x\n", [ 19s] | ^~~~ [ 19s] mgcp_protocol.c:515:79: note: format string is defined here [ 19s] 515 | LOGP(DMGCP, LOGL_ERROR, "ConnectionIdentifiers do not match on 0x%x. %x != %x\n", [ 19s] | ~^ [ 19s] | | [ 19s] | unsigned int [ 19s] | %s [ 19s] In file included from ../../include/openbsc/debug.h:7, [ 19s] from ../../include/openbsc/mgcp.h:30, [ 19s] from mgcp_protocol.c:36: [ 19s] mgcp_protocol.c:515:27: warning: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'const char *' [-Wformat=] [ 19s] 515 | LOGP(DMGCP, LOGL_ERROR, "ConnectionIdentifiers do not match on 0x%x. %x != %x\n", [ 19s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 19s] 516 | ENDPOINT_NUMBER(endp), endp->ci, _ci); [ 19s] | ~~~ [ 19s] | | [ 19s] | const char * [ 19s] /usr/include/libosmocore/osmocom/core/logging.h:97:48: note: in definition of macro 'LOGPSRCC' [ 19s] 97 | logp2(ss, level, __FILE__, __LINE__, cont, fmt, ##args); \ [ 19s] | ^~~ [ 19s] /usr/include/libosmocore/osmocom/core/logging.h:49:2: note: in expansion of macro 'LOGPSRC' [ 19s] 49 | LOGPSRC(ss, level, NULL, 0, fmt, ## args) [ 19s] | ^~~~~~~ [ 19s] mgcp_protocol.c:515:3: note: in expansion of macro 'LOGP' [ 19s] 515 | LOGP(DMGCP, LOGL_ERROR, "ConnectionIdentifiers do not match on 0x%x. %x != %x\n", [ 19s] | ^~~~ [ 19s] mgcp_protocol.c:515:79: note: format string is defined here [ 19s] 515 | LOGP(DMGCP, LOGL_ERROR, "ConnectionIdentifiers do not match on 0x%x. %x != %x\n", [ 19s] | ~^ [ 19s] | | [ 19s] | unsigned int [ 19s] | %s [ 19s] CC mgcp_sdp.o [ 19s] AR libmgcp.a [ 19s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/src/libmgcp' [ 19s] Making all in libbsc [ 19s] make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/src/libbsc' [ 19s] CC abis_nm.o [ 19s] CC abis_nm_vty.o [ 19s] CC abis_om2000.o [ 19s] CC abis_om2000_vty.o [ 19s] abis_om2000_vty.c: In function 'cfg_bts_alt_mode': [ 19s] abis_om2000_vty.c:427:20: warning: unused variable 'cg' [-Wunused-variable] [ 19s] 427 | struct con_group *cg; [ 19s] | ^~ [ 19s] In file included from /usr/include/libosmocore/osmocom/gsm/gsm48.h:9, [ 19s] from ../../include/openbsc/gsm_04_08.h:4, [ 19s] from ../../include/openbsc/rest_octets.h:5, [ 19s] from ../../include/openbsc/gsm_data.h:18, [ 19s] from abis_nm.c:37: [ 19s] abis_nm.c: In function 'abis_nm_rx_get_attr_resp': [ 19s] /usr/include/libosmocore/osmocom/gsm/tlv.h:468:35: warning: passing argument 2 of 'parse_attr_resp_info_unreported' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 19s] 468 | #define TLVP_VAL(x, y) (x)->lv[y].val [ 19s] | ~~~~~~~~~~^~~~ [ 19s] abis_nm.c:560:50: note: in expansion of macro 'TLVP_VAL' [ 19s] 560 | data = parse_attr_resp_info_unreported(bts->nr, TLVP_VAL(&tp, NM_ATT_GET_ARI), TLVP_LEN(&tp, NM_ATT_GET_ARI), [ 19s] | ^~~~~~~~ [ 19s] abis_nm.c:458:81: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} [ 19s] 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) [ 19s] | ~~~~~~~~~^~~ [ 19s] CC abis_rsl.o [ 19s] CC acc_ramp.o [ 19s] CC bsc_rll.o [ 19s] CC bsc_subscriber.o [ 20s] CC paging.o [ 20s] CC bts_ericsson_rbs2000.o [ 20s] CC bts_ipaccess_nanobts.o [ 20s] bts_ericsson_rbs2000.c: In function 'inp_sig_cb': [ 20s] bts_ericsson_rbs2000.c:121:3: warning: enumeration value 'E1INP_SIGN_NONE' not handled in switch [-Wswitch] [ 20s] 121 | switch (isd->link_type) { [ 20s] | ^~~~~~ [ 20s] bts_ericsson_rbs2000.c:121:3: warning: enumeration value 'E1INP_SIGN_RSL' not handled in switch [-Wswitch] [ 20s] bts_ericsson_rbs2000.c:121:3: warning: enumeration value 'E1INP_SIGN_OSMO' not handled in switch [-Wswitch] [ 20s] CC bts_siemens_bs11.o [ 20s] CC bts_nokia_site.o [ 20s] CC bts_unknown.o [ 20s] CC bts_sysmobts.o [ 20s] bts_siemens_bs11.c: In function 'inp_sig_cb': [ 20s] bts_siemens_bs11.c:573:3: warning: enumeration value 'E1INP_SIGN_NONE' not handled in switch [-Wswitch] [ 20s] 573 | switch (isd->link_type) { [ 20s] | ^~~~~~ [ 20s] bts_siemens_bs11.c:573:3: warning: enumeration value 'E1INP_SIGN_RSL' not handled in switch [-Wswitch] [ 20s] bts_siemens_bs11.c:573:3: warning: enumeration value 'E1INP_SIGN_OSMO' not handled in switch [-Wswitch] [ 20s] bts_nokia_site.c: In function 'inp_sig_cb': [ 20s] bts_nokia_site.c:156:3: warning: enumeration value 'E1INP_SIGN_NONE' not handled in switch [-Wswitch] [ 20s] 156 | switch (isd->link_type) { [ 20s] | ^~~~~~ [ 20s] bts_nokia_site.c:156:3: warning: enumeration value 'E1INP_SIGN_RSL' not handled in switch [-Wswitch] [ 20s] bts_nokia_site.c:156:3: warning: enumeration value 'E1INP_SIGN_OSMO' not handled in switch [-Wswitch] [ 20s] CC chan_alloc.o [ 20s] CC handover_decision.o [ 20s] CC handover_logic.o [ 20s] CC meas_rep.o [ 20s] CC pcu_sock.o [ 20s] CC rest_octets.o [ 20s] CC system_information.o [ 20s] CC e1_config.o [ 20s] pcu_sock.c: In function 'pcu_tx_info_ind': [ 20s] pcu_sock.c:208:2: warning: #warning "isn't dl_tbf_ext wrong?: * 10 and no ntohs" [-Wcpp] [ 20s] 208 | #warning "isn't dl_tbf_ext wrong?: * 10 and no ntohs" [ 20s] | ^~~~~~~ [ 20s] pcu_sock.c:210:2: warning: #warning "isn't ul_tbf_ext wrong?: * 10 and no ntohs" [-Wcpp] [ 20s] 210 | #warning "isn't ul_tbf_ext wrong?: * 10 and no ntohs" [ 20s] | ^~~~~~~ [ 20s] pcu_sock.c: In function 'pcu_rx_data_req': [ 20s] pcu_sock.c:362:25: warning: unused variable 'ts' [-Wunused-variable] [ 20s] 362 | struct gsm_bts_trx_ts *ts; [ 20s] | ^~ [ 20s] pcu_sock.c:361:22: warning: unused variable 'trx' [-Wunused-variable] [ 20s] 361 | struct gsm_bts_trx *trx; [ 20s] | ^~~ [ 20s] pcu_sock.c:360:10: warning: unused variable 'is_ptcch' [-Wunused-variable] [ 20s] 360 | uint8_t is_ptcch; [ 20s] | ^~~~~~~~ [ 20s] system_information.c: In function 'band_compatible': [ 20s] system_information.c:51:7: warning: 'gsm_arfcn2band' is deprecated: Use gsm_arfcn2band_rc() instead [-Wdeprecated-declarations] [ 20s] 51 | enum gsm_band band = gsm_arfcn2band(arfcn); [ 20s] | ^~~~~~~~ [ 20s] In file included from ../../include/openbsc/gsm_04_08.h:5, [ 20s] from system_information.c:35: [ 20s] /usr/include/libosmocore/osmocom/gsm/gsm_utils.h:164:15: note: declared here [ 20s] 164 | enum gsm_band gsm_arfcn2band(uint16_t arfcn) OSMO_DEPRECATED("Use gsm_arfcn2band_rc() instead"); [ 20s] | ^~~~~~~~~~~~~~ [ 20s] CC bsc_api.o [ 20s] CC bsc_msc.o [ 20s] CC bsc_vty.o [ 20s] CC gsm_04_08_utils.o [ 20s] CC gsm_04_80_utils.o [ 20s] CC bsc_init.o [ 20s] gsm_04_80_utils.c: In function 'bsc_send_ussd_release_complete': [ 20s] gsm_04_80_utils.c:36:9: warning: 'gsm0480_create_ussd_release_complete' is deprecated: Use gsm0480_create_release_complete() instead. [-Wdeprecated-declarations] [ 20s] 36 | struct msgb *msg = gsm0480_create_ussd_release_complete(); [ 20s] | ^~~~ [ 20s] In file included from gsm_04_80_utils.c:22: [ 20s] /usr/include/libosmocore/osmocom/gsm/gsm0480.h:120:14: note: declared here [ 20s] 120 | struct msgb *gsm0480_create_ussd_release_complete(void) [ 20s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 20s] CC bts_init.o [ 20s] CC bsc_rf_ctrl.o [ 20s] CC arfcn_range_encode.o [ 20s] CC bsc_ctrl_commands.o [ 20s] CC bsc_ctrl_lookup.o [ 20s] CC net_init.o [ 20s] CC bsc_dyn_ts.o [ 20s] CC bts_ipaccess_nanobts_omlattr.o [ 20s] AR libbsc.a [ 20s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/src/libbsc' [ 20s] Making all in libmsc [ 20s] make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/src/libmsc' [ 20s] CC gsm_04_08.o [ 20s] CC gsm_04_11.o [ 20s] CC db.o [ 20s] CC auth.o [ 21s] auth.c: In function '_use_comp128': [ 21s] auth.c:76:3: warning: 'comp128' is deprecated: Use generic API from osmocom/crypt/auth.h instead [-Wdeprecated-declarations] [ 21s] 76 | comp128(ainfo->a3a8_ki, atuple->vec.rand, [ 21s] | ^~~~~~~ [ 21s] In file included from auth.c:29: [ 21s] /usr/include/libosmocore/osmocom/gsm/comp128.h:22:6: note: declared here [ 21s] 22 | void comp128(const uint8_t *ki, const uint8_t *srand, uint8_t *sres, uint8_t *kc) OSMO_DEPRECATED("Use generic API from osmocom/crypt/auth.h instead"); [ 21s] | ^~~~~~~ [ 21s] db.c: In function 'db_init': [ 21s] db.c:604:2: warning: 'dbi_initialize' is deprecated [-Wdeprecated-declarations] [ 21s] 604 | dbi_initialize(NULL); [ 21s] | ^~~~~~~~~~~~~~ [ 21s] In file included from db.c:30: [ 21s] /usr/include/dbi/dbi.h:179:27: note: declared here [ 21s] 179 | int LIBDBI_API_DEPRECATED dbi_initialize(const char *driverdir); [ 21s] | ^~~~~~~~~~~~~~ [ 21s] db.c:606:2: warning: 'dbi_conn_new' is deprecated [-Wdeprecated-declarations] [ 21s] 606 | conn = dbi_conn_new("sqlite3"); [ 21s] | ^~~~ [ 21s] In file included from db.c:30: [ 21s] /usr/include/dbi/dbi.h:209:32: note: declared here [ 21s] 209 | dbi_conn LIBDBI_API_DEPRECATED dbi_conn_new(const char *name); /* shortcut for dbi_conn_open(dbi_driver_open("foo")) */ [ 21s] | ^~~~~~~~~~~~ [ 21s] db.c: In function 'db_fini': [ 21s] db.c:670:2: warning: 'dbi_shutdown' is deprecated [-Wdeprecated-declarations] [ 21s] 670 | dbi_shutdown(); [ 21s] | ^~~~~~~~~~~~ [ 21s] In file included from db.c:30: [ 21s] /usr/include/dbi/dbi.h:181:28: note: declared here [ 21s] 181 | void LIBDBI_API_DEPRECATED dbi_shutdown(); [ 21s] | ^~~~~~~~~~~~ [ 21s] gsm_04_11.c: In function 'gsm340_rx_tpdu': [ 21s] gsm_04_11.c:454:2: warning: 'gsm48_decode_bcd_number' is deprecated: Use gsm48_decode_bcd_number2() for improved bounds checking [-Wdeprecated-declarations] [ 21s] 454 | gsm48_decode_bcd_number(gsms->dst.addr, [ 21s] | ^~~~~~~~~~~~~~~~~~~~~~~ [ 21s] In file included from /usr/include/libosmocore/osmocom/gsm/gsm48.h:11, [ 21s] from ../../include/openbsc/gsm_04_08.h:4, [ 21s] from ../../include/openbsc/rest_octets.h:5, [ 21s] from ../../include/openbsc/gsm_data.h:18, [ 21s] from gsm_04_11.c:47: [ 21s] /usr/include/libosmocore/osmocom/gsm/gsm48_ie.h:15:5: note: declared here [ 21s] 15 | int gsm48_decode_bcd_number(char *output, int output_len, [ 21s] | ^~~~~~~~~~~~~~~~~~~~~~~ [ 21s] db.c: In function 'db_set_from_query': [ 21s] db.c:980:33: warning: passing argument 1 of 'dbi_result_get_string' from incompatible pointer type [-Wincompatible-pointer-types] [ 21s] 980 | string = dbi_result_get_string(result, "imsi"); [ 21s] | ^~~~~~ [ 21s] | | [ 21s] | dbi_conn {aka struct dbi_conn_s *} [ 21s] In file included from db.c:30: [ 21s] /usr/include/dbi/dbi.h:304:13: note: expected 'dbi_result' {aka 'struct dbi_result_s *'} but argument is of type 'dbi_conn' {aka 'struct dbi_conn_s *'} [ 21s] 304 | const char *dbi_result_get_string(dbi_result Result, const char *fieldname); [ 21s] | ^~~~~~~~~~~~~~~~~~~~~ [ 21s] db.c:984:33: warning: passing argument 1 of 'dbi_result_get_string' from incompatible pointer type [-Wincompatible-pointer-types] [ 21s] 984 | string = dbi_result_get_string(result, "tmsi"); [ 21s] | ^~~~~~ [ 21s] | | [ 21s] | dbi_conn {aka struct dbi_conn_s *} [ 21s] In file included from db.c:30: [ 21s] /usr/include/dbi/dbi.h:304:13: note: expected 'dbi_result' {aka 'struct dbi_result_s *'} but argument is of type 'dbi_conn' {aka 'struct dbi_conn_s *'} [ 21s] 304 | const char *dbi_result_get_string(dbi_result Result, const char *fieldname); [ 21s] | ^~~~~~~~~~~~~~~~~~~~~ [ 21s] db.c:988:33: warning: passing argument 1 of 'dbi_result_get_string' from incompatible pointer type [-Wincompatible-pointer-types] [ 21s] 988 | string = dbi_result_get_string(result, "name"); [ 21s] | ^~~~~~ [ 21s] | | [ 21s] | dbi_conn {aka struct dbi_conn_s *} [ 21s] In file included from db.c:30: [ 21s] /usr/include/dbi/dbi.h:304:13: note: expected 'dbi_result' {aka 'struct dbi_result_s *'} but argument is of type 'dbi_conn' {aka 'struct dbi_conn_s *'} [ 21s] 304 | const char *dbi_result_get_string(dbi_result Result, const char *fieldname); [ 21s] | ^~~~~~~~~~~~~~~~~~~~~ [ 21s] db.c:992:33: warning: passing argument 1 of 'dbi_result_get_string' from incompatible pointer type [-Wincompatible-pointer-types] [ 21s] 992 | string = dbi_result_get_string(result, "extension"); [ 21s] | ^~~~~~ [ 21s] | | [ 21s] | dbi_conn {aka struct dbi_conn_s *} [ 21s] In file included from db.c:30: [ 21s] /usr/include/dbi/dbi.h:304:13: note: expected 'dbi_result' {aka 'struct dbi_result_s *'} but argument is of type 'dbi_conn' {aka 'struct dbi_conn_s *'} [ 21s] 304 | const char *dbi_result_get_string(dbi_result Result, const char *fieldname); [ 21s] | ^~~~~~~~~~~~~~~~~~~~~ [ 21s] db.c:996:41: warning: passing argument 1 of 'dbi_result_get_ulonglong' from incompatible pointer type [-Wincompatible-pointer-types] [ 21s] 996 | subscr->lac = dbi_result_get_ulonglong(result, "lac"); [ 21s] | ^~~~~~ [ 21s] | | [ 21s] | dbi_conn {aka struct dbi_conn_s *} [ 21s] In file included from db.c:30: [ 21s] /usr/include/dbi/dbi.h:299:56: note: expected 'dbi_result' {aka 'struct dbi_result_s *'} but argument is of type 'dbi_conn' {aka 'struct dbi_conn_s *'} [ 21s] 299 | unsigned long long dbi_result_get_ulonglong(dbi_result Result, const char *fieldname); [ 21s] | ~~~~~~~~~~~^~~~~~ [ 21s] db.c:998:32: warning: passing argument 1 of 'dbi_result_field_is_null' from incompatible pointer type [-Wincompatible-pointer-types] [ 21s] 998 | if (!dbi_result_field_is_null(result, "expire_lu")) [ 21s] | ^~~~~~ [ 21s] | | [ 21s] | dbi_conn {aka struct dbi_conn_s *} [ 21s] In file included from db.c:30: [ 21s] /usr/include/dbi/dbi.h:283:41: note: expected 'dbi_result' {aka 'struct dbi_result_s *'} but argument is of type 'dbi_conn' {aka 'struct dbi_conn_s *'} [ 21s] 283 | int dbi_result_field_is_null(dbi_result Result, const char *fieldname); [ 21s] | ~~~~~~~~~~~^~~~~~ [ 21s] db.c:999:47: warning: passing argument 1 of 'dbi_result_get_datetime' from incompatible pointer type [-Wincompatible-pointer-types] [ 21s] 999 | subscr->expire_lu = dbi_result_get_datetime(result, "expire_lu"); [ 21s] | ^~~~~~ [ 21s] | | [ 21s] | dbi_conn {aka struct dbi_conn_s *} [ 21s] In file included from db.c:30: [ 21s] /usr/include/dbi/dbi.h:310:43: note: expected 'dbi_result' {aka 'struct dbi_result_s *'} but argument is of type 'dbi_conn' {aka 'struct dbi_conn_s *'} [ 21s] 310 | time_t dbi_result_get_datetime(dbi_result Result, const char *fieldname); [ 21s] | ~~~~~~~~~~~^~~~~~ [ 21s] db.c:1003:48: warning: passing argument 1 of 'dbi_result_get_ulonglong' from incompatible pointer type [-Wincompatible-pointer-types] [ 21s] 1003 | subscr->authorized = dbi_result_get_ulonglong(result, "authorized"); [ 21s] | ^~~~~~ [ 21s] | | [ 21s] | dbi_conn {aka struct dbi_conn_s *} [ 21s] In file included from db.c:30: [ 21s] /usr/include/dbi/dbi.h:299:56: note: expected 'dbi_result' {aka 'struct dbi_result_s *'} but argument is of type 'dbi_conn' {aka 'struct dbi_conn_s *'} [ 21s] 299 | unsigned long long dbi_result_get_ulonglong(dbi_result Result, const char *fieldname); [ 21s] | ~~~~~~~~~~~^~~~~~ [ 21s] db.c: In function 'db_get_subscriber': [ 21s] db.c:1068:28: warning: passing argument 2 of 'db_set_from_query' from incompatible pointer type [-Wincompatible-pointer-types] [ 21s] 1068 | db_set_from_query(subscr, result); [ 21s] | ^~~~~~ [ 21s] | | [ 21s] | dbi_result {aka struct dbi_result_s *} [ 21s] db.c:977:71: note: expected 'dbi_conn' {aka 'struct dbi_conn_s *'} but argument is of type 'dbi_result' {aka 'struct dbi_result_s *'} [ 21s] 977 | static void db_set_from_query(struct gsm_subscriber *subscr, dbi_conn result) [ 21s] | ~~~~~~~~~^~~~~~ [ 21s] db.c: In function 'db_subscriber_update': [ 21s] db.c:1101:28: warning: passing argument 2 of 'db_set_from_query' from incompatible pointer type [-Wincompatible-pointer-types] [ 21s] 1101 | db_set_from_query(subscr, result); [ 21s] | ^~~~~~ [ 21s] | | [ 21s] | dbi_result {aka struct dbi_result_s *} [ 21s] db.c:977:71: note: expected 'dbi_conn' {aka 'struct dbi_conn_s *'} but argument is of type 'dbi_result' {aka 'struct dbi_result_s *'} [ 21s] 977 | static void db_set_from_query(struct gsm_subscriber *subscr, dbi_conn result) [ 21s] | ~~~~~~~~~^~~~~~ [ 21s] db.c: In function 'db_subscriber_list_active': [ 21s] db.c:1292:29: warning: passing argument 2 of 'db_set_from_query' from incompatible pointer type [-Wincompatible-pointer-types] [ 21s] 1292 | db_set_from_query(subscr, result); [ 21s] | ^~~~~~ [ 21s] | | [ 21s] | dbi_result {aka struct dbi_result_s *} [ 21s] db.c:977:71: note: expected 'dbi_conn' {aka 'struct dbi_conn_s *'} but argument is of type 'dbi_result' {aka 'struct dbi_result_s *'} [ 21s] 977 | static void db_set_from_query(struct gsm_subscriber *subscr, dbi_conn result) [ 21s] | ~~~~~~~~~^~~~~~ [ 21s] gsm_04_08.c: In function 'count_statistics': [ 21s] gsm_04_08.c:1591:3: warning: 'osmo_counter_inc' is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] [ 21s] 1591 | osmo_counter_inc(trans->net->active_calls); [ 21s] | ^~~~~~~~~~~~~~~~ [ 21s] In file included from /usr/include/libosmocore/osmocom/core/statistics.h:2, [ 21s] from ../../include/openbsc/gsm_data_shared.h:10, [ 21s] from ../../include/openbsc/gsm_data.h:178, [ 21s] from ../../include/openbsc/gsm_subscriber.h:9, [ 21s] from ../../include/openbsc/db.h:25, [ 21s] from gsm_04_08.c:38: [ 21s] /usr/include/libosmocore/osmocom/core/counter.h:28:20: note: declared here [ 21s] 28 | static inline void osmo_counter_inc(struct osmo_counter *ctr) [ 21s] | ^~~~~~~~~~~~~~~~ [ 21s] gsm_04_08.c:1599:3: warning: 'osmo_counter_dec' is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] [ 21s] 1599 | osmo_counter_dec(trans->net->active_calls); [ 21s] | ^~~~~~~~~~~~~~~~ [ 21s] In file included from /usr/include/libosmocore/osmocom/core/statistics.h:2, [ 21s] from ../../include/openbsc/gsm_data_shared.h:10, [ 21s] from ../../include/openbsc/gsm_data.h:178, [ 21s] from ../../include/openbsc/gsm_subscriber.h:9, [ 21s] from ../../include/openbsc/db.h:25, [ 21s] from gsm_04_08.c:38: [ 21s] /usr/include/libosmocore/osmocom/core/counter.h:20:20: note: declared here [ 21s] 20 | static inline void osmo_counter_dec(struct osmo_counter *ctr) [ 21s] | ^~~~~~~~~~~~~~~~ [ 21s] db.c: In function 'db_sms_store': [ 21s] db.c:1604:3: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'char *' [-Wformat=] [ 21s] 1604 | "INSERT INTO SMS " [ 21s] | ^~~~~~~~~~~~~~~~~~ [ 21s] ...... [ 21s] 1619 | validity_timestamp, [ 21s] | ~~~~~~~~~~~~~~~~~~ [ 21s] | | [ 21s] | char * [ 21s] db.c:1612:23: note: format string is defined here [ 21s] 1612 | "(datetime('now'), %u, " [ 21s] | ~^ [ 21s] | | [ 21s] | unsigned int [ 21s] | %s [ 21s] CC gsm_04_14.o [ 21s] CC gsm_04_80.o [ 21s] CC gsm_subscriber.o [ 21s] CC mncc.o [ 21s] gsm_04_80.c: In function 'msc_send_ussd_release_complete': [ 21s] gsm_04_80.c:142:9: warning: 'gsm0480_create_ussd_release_complete' is deprecated: Use gsm0480_create_release_complete() instead. [-Wdeprecated-declarations] [ 21s] 142 | struct msgb *msg = gsm0480_create_ussd_release_complete(); [ 21s] | ^~~~ [ 21s] In file included from ../../include/openbsc/gsm_04_80.h:5, [ 21s] from gsm_04_80.c:34: [ 21s] /usr/include/libosmocore/osmocom/gsm/gsm0480.h:120:14: note: declared here [ 21s] 120 | struct msgb *gsm0480_create_ussd_release_complete(void) [ 21s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 21s] CC mncc_builtin.o [ 21s] CC mncc_sock.o [ 21s] CC rrlp.o [ 21s] CC silent_call.o [ 21s] CC sms_queue.o [ 21s] CC token_auth.o [ 21s] CC ussd.o [ 21s] silent_call.c:91:31: warning: 'silent_call_accept' defined but not used [-Wunused-const-variable=] [ 21s] 91 | static const struct msg_match silent_call_accept[] = { [ 21s] | ^~~~~~~~~~~~~~~~~~ [ 21s] CC vty_interface_layer3.o [ 21s] CC transaction.o [ 21s] CC osmo_msc.o [ 21s] CC ctrl_commands.o [ 21s] CC meas_feed.o [ 21s] CC smpp_smsc.o [ 21s] CC smpp_openbsc.o [ 21s] CC smpp_vty.o [ 21s] smpp_openbsc.c: In function 'submit_to_sms': [ 21s] smpp_openbsc.c:168:2: warning: #warning Implement reply path [-Wcpp] [ 21s] 168 | #warning Implement reply path [ 21s] | ^~~~~~~ [ 21s] CC smpp_utils.o [ 21s] AR libmsc.a [ 21s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/src/libmsc' [ 21s] Making all in libtrau [ 21s] make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/src/libtrau' [ 21s] CC rtp_proxy.o [ 21s] CC trau_mux.o [ 21s] CC trau_upqueue.o [ 21s] AR libtrau.a [ 21s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/src/libtrau' [ 21s] Making all in libfilter [ 21s] make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/src/libfilter' [ 21s] CC bsc_msg_filter.o [ 21s] CC bsc_msg_acc.o [ 21s] CC bsc_msg_vty.o [ 22s] AR libfilter.a [ 22s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/src/libfilter' [ 22s] Making all in libcommon-cs [ 22s] make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/src/libcommon-cs' [ 22s] CC common_cs.o [ 22s] CC common_cs_vty.o [ 22s] common_cs.c: In function 'gsm_network_init': [ 22s] common_cs.c:84:2: warning: 'osmo_counter_alloc' is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] [ 22s] 84 | net->active_calls = osmo_counter_alloc("msc.active_calls"); [ 22s] | ^~~ [ 22s] In file included from /usr/include/libosmocore/osmocom/core/statistics.h:2, [ 22s] from ../../include/openbsc/gsm_data_shared.h:10, [ 22s] from ../../include/openbsc/gsm_data.h:178, [ 22s] from common_cs.c:28: [ 22s] /usr/include/libosmocore/osmocom/core/counter.h:47:22: note: declared here [ 22s] 47 | struct osmo_counter *osmo_counter_alloc(const char *name) [ 22s] | ^~~~~~~~~~~~~~~~~~ [ 22s] AR libcommon-cs.a [ 22s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/src/libcommon-cs' [ 22s] Making all in osmo-nitb [ 22s] make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/src/osmo-nitb' [ 22s] CC bsc_hack.o [ 22s] bsc_hack.c: In function 'main': [ 22s] bsc_hack.c:268:2: warning: 'osmo_init_logging' is deprecated: use osmo_init_logging2() instead to avoid a NULL talloc ctx [-Wdeprecated-declarations] [ 22s] 268 | osmo_init_logging(&log_info); [ 22s] | ^~~~~~~~~~~~~~~~~ [ 22s] In file included from bsc_hack.c:33: [ 22s] /usr/include/libosmocore/osmocom/core/application.h:20:5: note: declared here [ 22s] 20 | int osmo_init_logging(const struct log_info *) [ 22s] | ^~~~~~~~~~~~~~~~~ [ 22s] CCLD osmo-nitb [ 25s] gsm_04_08.c: In function 'gsm0408_dispatch': [ 25s] gsm_04_08.c:1464:2: error: 'mi_type' may be used uninitialized in this function [-Werror=maybe-uninitialized] [ 25s] gsm_04_08.c:1451:10: note: 'mi_type' was declared here [ 25s] lto1: some warnings being treated as errors [ 25s] make[4]: *** [/tmp/ccqITEzH.mk:5: /tmp/osmo-nitb.yBbGSt.ltrans1.ltrans.o] Error 1 [ 25s] make[4]: *** Waiting for unfinished jobs.... [ 25s] bsc_vty.c: In function 'cfg_bts': [ 25s] ../../include/openbsc/acc_ramp.h:90:32: error: potential null pointer dereference [-Werror=null-dereference] [ 25s] 90 | acc_ramp->acc_ramping_enabled = enable; [ 25s] | ^ [ 25s] acc_ramp.c:279:22: error: potential null pointer dereference [-Werror=null-dereference] [ 25s] acc_ramp.c:280:30: error: potential null pointer dereference [-Werror=null-dereference] [ 25s] acc_ramp.c:281:35: error: potential null pointer dereference [-Werror=null-dereference] [ 25s] acc_ramp.c:277:16: error: potential null pointer dereference [-Werror=null-dereference] [ 25s] ../../include/openbsc/acc_ramp.h:90:32: error: potential null pointer dereference [-Werror=null-dereference] [ 25s] 90 | acc_ramp->acc_ramping_enabled = enable; [ 25s] | ^ [ 25s] acc_ramp.c:279:22: error: potential null pointer dereference [-Werror=null-dereference] [ 25s] acc_ramp.c:280:30: error: potential null pointer dereference [-Werror=null-dereference] [ 25s] acc_ramp.c:281:35: error: potential null pointer dereference [-Werror=null-dereference] [ 25s] acc_ramp.c:277:16: error: potential null pointer dereference [-Werror=null-dereference] [ 25s] lto1: some warnings being treated as errors [ 25s] make[4]: *** [/tmp/ccqITEzH.mk:11: /tmp/osmo-nitb.yBbGSt.ltrans3.ltrans.o] Error 1 [ 25s] lto-wrapper: fatal error: make returned 2 exit status [ 25s] compilation terminated. [ 25s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: error: lto-wrapper failed [ 25s] collect2: error: ld returned 1 exit status [ 25s] make[3]: *** [Makefile:469: osmo-nitb] Error 1 [ 25s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/src/osmo-nitb' [ 25s] make[2]: *** [Makefile:428: all-recursive] Error 1 [ 25s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc/src' [ 25s] make[1]: *** [Makefile:454: all-recursive] Error 1 [ 25s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/openbsc-1.3.0.0/openbsc' [ 25s] make: *** [Makefile:386: all] Error 2 [ 25s] error: Bad exit status from /var/tmp/rpm-tmp.itMHwS (%build) [ 25s] [ 25s] [ 25s] RPM build errors: [ 25s] Bad exit status from /var/tmp/rpm-tmp.itMHwS (%build) [ 25s] [ 25s] build failed "build openbsc.spec" at Wed Jul 17 21:15:38 UTC 2019. [ 25s]