Skipping 27 KB..
Full Logosmo-bsc/tests/handover/test_balance_congestion.ho_vty
osmo-bsc/tests/handover/test_balance_congestion_2.ho_vty
osmo-bsc/tests/handover/test_balance_congestion_by_percentage.ho_vty
osmo-bsc/tests/handover/test_balance_congestion_tchf_tchh.ho_vty
osmo-bsc/tests/handover/test_bs_power.ho_vty
osmo-bsc/tests/handover/test_congestion.ho_vty
osmo-bsc/tests/handover/test_congestion_favor_best_target_rxlev.ho_vty
osmo-bsc/tests/handover/test_congestion_intra_vs_inter_cell.ho_vty
osmo-bsc/tests/handover/test_congestion_no_oscillation.ho_vty
osmo-bsc/tests/handover/test_congestion_no_oscillation2.ho_vty
osmo-bsc/tests/handover/test_disabled_ho_and_as.ho_vty
osmo-bsc/tests/handover/test_dyn_ts_amr_tch_f_to_h_congestion_assignment.ho_vty
osmo-bsc/tests/handover/test_dyn_ts_amr_tch_f_to_h_congestion_assignment_2.ho_vty
osmo-bsc/tests/handover/test_dyn_ts_amr_tch_h_to_f_congestion_assignment_2.ho_vty
osmo-bsc/tests/handover/test_dyn_ts_balance_congestion.ho_vty
osmo-bsc/tests/handover/test_dyn_ts_congestion_tch_f_vs_tch_h.ho_vty
osmo-bsc/tests/handover/test_dyn_ts_congestion_tch_f_vs_tch_h_2.ho_vty
osmo-bsc/tests/handover/test_dyn_ts_favor_half_used_tch_h_as_target.ho_vty
osmo-bsc/tests/handover/test_dyn_ts_favor_moving_half_used_tch_h.ho_vty
osmo-bsc/tests/handover/test_dyn_ts_favor_static_ts_as_target.ho_vty
osmo-bsc/tests/handover/test_ho_to_better_cell.ho_vty
osmo-bsc/tests/handover/test_ho_to_better_cell_2.ho_vty
osmo-bsc/tests/handover/test_hysteresis.ho_vty
osmo-bsc/tests/handover/test_insufficient_measurements.ho_vty
osmo-bsc/tests/handover/test_keep_efr_codec.ho_vty
osmo-bsc/tests/handover/test_keep_fr_codec.ho_vty
osmo-bsc/tests/handover/test_keep_hr_codec.ho_vty
osmo-bsc/tests/handover/test_max_handovers.ho_vty
osmo-bsc/tests/handover/test_max_ta.ho_vty
osmo-bsc/tests/handover/test_meas_rep_multi_band.ho_vty
osmo-bsc/tests/handover/test_min_rxlev_vs_congestion.ho_vty
osmo-bsc/tests/handover/test_min_rxlev_vs_hysteresis.ho_vty
osmo-bsc/tests/handover/test_neighbor_congested.ho_vty
osmo-bsc/tests/handover/test_neighbor_full.ho_vty
osmo-bsc/tests/handover/test_no_congestion.ho_vty
osmo-bsc/tests/handover/test_penalty_timer.ho_vty
osmo-bsc/tests/handover/test_resource_indication.ho_vty
osmo-bsc/tests/handover/test_rxqual.ho_vty
osmo-bsc/tests/handover/test_rxqual_vs_congestion.ho_vty
osmo-bsc/tests/handover/test_stay_in_better_cell.ho_vty
osmo-bsc/tests/handover/test_stay_in_better_cell_2.ho_vty
osmo-bsc/tests/handover/test_story.ho_vty
osmo-bsc/tests/handover_cfg.vty
osmo-bsc/tests/interf_meas.vty
osmo-bsc/tests/msc.vty
osmo-bsc/tests/nanobts_omlattr/
osmo-bsc/tests/nanobts_omlattr/Makefile.am
osmo-bsc/tests/nanobts_omlattr/nanobts_omlattr_test.c
osmo-bsc/tests/nanobts_omlattr/nanobts_omlattr_test.ok
osmo-bsc/tests/neighbor_ident.vty
osmo-bsc/tests/nri_cfg.vty
osmo-bsc/tests/osmo-bsc.vty
osmo-bsc/tests/paging/
osmo-bsc/tests/paging/Makefile.am
osmo-bsc/tests/paging/paging_test.c
osmo-bsc/tests/paging/paging_test.ok
osmo-bsc/tests/power_ctrl.vty
osmo-bsc/tests/si2quater_neighbor_list.vty
osmo-bsc/tests/smlc.vty
osmo-bsc/tests/subscr/
osmo-bsc/tests/subscr/Makefile.am
osmo-bsc/tests/subscr/bsc_subscr_test.c
osmo-bsc/tests/subscr/bsc_subscr_test.err
osmo-bsc/tests/subscr/bsc_subscr_test.ok
osmo-bsc/tests/testsuite.at
osmo-bsc/tests/timer.vty
osmo-bsc/tests/timeslot.vty
osmo-bsc/tests/vty_test_runner.py
+ cd _temp/binpkgs/osmo-bsc
+ apt-get -y update
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian-security buster/updates InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Get:4 https://downloads.osmocom.org/packages/osmocom:/master/Debian_10 ./ InRelease [1553 B]
Get:5 https://downloads.osmocom.org/packages/osmocom:/master/Debian_10 ./ Packages [57.7 kB]
Fetched 59.2 kB in 0s (220 kB/s)
Reading package lists...
+ apt-get -y build-dep .
Note, using directory '.' to get the build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
autoconf automake autopoint autotools-dev bsdmainutils debhelper
dh-autoreconf dh-strip-nondeterminism dwz file gettext gettext-base
groff-base intltool-debian libarchive-zip-perl libbctoolbox1 libcdk5-dev
libcdk5nc6 libfile-stripnondeterminism-perl libmagic-mgc libmagic1
libmbedcrypto3 libmbedtls12 libmbedx509-0 libmnl-dev libncurses-dev
libncurses6 libortp13 libosmo-abis-dev libosmo-mgcp-client-dev
libosmo-mgcp-client14 libosmo-netif-dev libosmo-sigtran-dev
libosmo-sigtran10 libosmoabis13 libosmocodec4 libosmocoding0 libosmocore
libosmocore-dev libosmocore22 libosmoctrl0 libosmogb14 libosmogsm20
libosmoisdn0 libosmonetif11 libosmosim2 libosmotrau10 libosmousb0
libosmovty13 libpcsclite1 libpipeline1 libsctp-dev libsctp1 libsigsegv2
libtalloc-dev libtalloc2 libtool libuchardet0 libusb-1.0-0 libusb-1.0-0-dev
m4 man-db pkg-config po-debconf
0 upgraded, 64 newly installed, 0 to remove and 1 not upgraded.
Need to get 13.5 MB of archives.
After this operation, 49.6 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 bsdmainutils amd64 11.1.2+b1 [191 kB]
Get:2 https://downloads.osmocom.org/packages/osmocom:/master/Debian_10 ./ libosmocore22 1.10.0.65.d581 [179 kB]
Get:3 https://downloads.osmocom.org/packages/osmocom:/master/Debian_10 ./ libosmocodec4 1.10.0.65.d581 [65.3 kB]
Get:4 https://downloads.osmocom.org/packages/osmocom:/master/Debian_10 ./ libosmoisdn0 1.10.0.65.d581 [84.2 kB]
Get:5 https://downloads.osmocom.org/packages/osmocom:/master/Debian_10 ./ libosmogsm20 1.10.0.65.d581 [239 kB]
Get:6 https://downloads.osmocom.org/packages/osmocom:/master/Debian_10 ./ libosmovty13 1.10.0.65.d581 [116 kB]
Get:7 https://downloads.osmocom.org/packages/osmocom:/master/Debian_10 ./ libosmotrau10 1.6.0.50.58dd [34.8 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 libuchardet0 amd64 0.0.6-3 [64.9 kB]
Get:9 https://downloads.osmocom.org/packages/osmocom:/master/Debian_10 ./ libosmonetif11 1.5.1.34.ada6 [60.7 kB]
Get:10 https://downloads.osmocom.org/packages/osmocom:/master/Debian_10 ./ libosmoabis13 1.6.0.50.58dd [71.7 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 groff-base amd64 1.22.4-3+deb10u1 [916 kB]
Get:12 https://downloads.osmocom.org/packages/osmocom:/master/Debian_10 ./ libosmocoding0 1.10.0.65.d581 [83.4 kB]
Get:13 https://downloads.osmocom.org/packages/osmocom:/master/Debian_10 ./ libosmogb14 1.10.0.65.d581 [192 kB]
Get:14 https://downloads.osmocom.org/packages/osmocom:/master/Debian_10 ./ libosmoctrl0 1.10.0.65.d581 [73.9 kB]
Get:15 https://downloads.osmocom.org/packages/osmocom:/master/Debian_10 ./ libosmosim2 1.10.0.65.d581 [77.6 kB]
Get:16 http://deb.debian.org/debian buster/main amd64 libpipeline1 amd64 1.5.1-2 [31.2 kB]
Get:17 http://deb.debian.org/debian-security buster/updates/main amd64 man-db amd64 2.8.5-2+deb10u1 [1274 kB]
Get:18 https://downloads.osmocom.org/packages/osmocom:/master/Debian_10 ./ libosmousb0 1.10.0.65.d581 [64.3 kB]
Get:19 https://downloads.osmocom.org/packages/osmocom:/master/Debian_10 ./ libosmocore 1.10.0.65.d581 [57.6 kB]
Get:20 https://downloads.osmocom.org/packages/osmocom:/master/Debian_10 ./ libosmocore-dev 1.10.0.65.d581 [849 kB]
Get:21 https://downloads.osmocom.org/packages/osmocom:/master/Debian_10 ./ libosmo-netif-dev 1.5.1.34.ada6 [73.3 kB]
Get:22 https://downloads.osmocom.org/packages/osmocom:/master/Debian_10 ./ libosmo-abis-dev 1.6.0.50.58dd [114 kB]
Get:23 https://downloads.osmocom.org/packages/osmocom:/master/Debian_10 ./ libosmo-sigtran10 2.0.0.54.c4a0 [129 kB]
Get:24 https://downloads.osmocom.org/packages/osmocom:/master/Debian_10 ./ libosmo-sigtran-dev 2.0.0.54.c4a0 [610 kB]
Get:25 http://deb.debian.org/debian buster/main amd64 libmagic-mgc amd64 1:5.35-4+deb10u2 [242 kB]
Get:26 http://deb.debian.org/debian buster/main amd64 libmagic1 amd64 1:5.35-4+deb10u2 [118 kB]
Get:27 http://deb.debian.org/debian buster/main amd64 file amd64 1:5.35-4+deb10u2 [66.4 kB]
Get:28 http://deb.debian.org/debian buster/main amd64 gettext-base amd64 0.19.8.1-9 [123 kB]
Get:29 http://deb.debian.org/debian buster/main amd64 libsigsegv2 amd64 2.12-2 [32.8 kB]
Get:30 http://deb.debian.org/debian buster/main amd64 m4 amd64 1.4.18-2 [203 kB]
Get:31 http://deb.debian.org/debian buster/main amd64 autoconf all 2.69-11 [341 kB]
Get:32 https://downloads.osmocom.org/packages/osmocom:/master/Debian_10 ./ libosmo-mgcp-client14 1.13.1.38.78ee9 [62.3 kB]
Get:33 http://deb.debian.org/debian buster/main amd64 autotools-dev all 20180224.1 [77.0 kB]
Get:34 https://downloads.osmocom.org/packages/osmocom:/master/Debian_10 ./ libosmo-mgcp-client-dev 1.13.1.38.78ee9 [71.0 kB]
Get:35 http://deb.debian.org/debian buster/main amd64 automake all 1:1.16.1-4 [771 kB]
Get:36 http://deb.debian.org/debian buster/main amd64 autopoint all 0.19.8.1-9 [434 kB]
Get:37 http://deb.debian.org/debian buster/main amd64 libtool all 2.4.6-9 [547 kB]
Get:38 http://deb.debian.org/debian buster/main amd64 dh-autoreconf all 19 [16.9 kB]
Get:39 http://deb.debian.org/debian buster/main amd64 libarchive-zip-perl all 1.64-1 [96.8 kB]
Get:40 http://deb.debian.org/debian buster/main amd64 libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB]
Get:41 http://deb.debian.org/debian buster/main amd64 dh-strip-nondeterminism all 1.1.2-1 [13.0 kB]
Get:42 http://deb.debian.org/debian buster/main amd64 dwz amd64 0.12-3 [78.0 kB]
Get:43 http://deb.debian.org/debian-security buster/updates/main amd64 libncurses6 amd64 6.1+20181013-2+deb10u5 [102 kB]
Get:44 http://deb.debian.org/debian buster/main amd64 gettext amd64 0.19.8.1-9 [1303 kB]
Get:45 http://deb.debian.org/debian buster/main amd64 intltool-debian all 0.35.0+20060710.5 [26.8 kB]
Get:46 http://deb.debian.org/debian buster/main amd64 po-debconf all 1.0.21 [248 kB]
Get:47 http://deb.debian.org/debian buster/main amd64 debhelper all 12.1.1 [1016 kB]
Get:48 http://deb.debian.org/debian-security buster/updates/main amd64 libmbedcrypto3 amd64 2.16.9-0~deb10u1 [220 kB]
Get:49 http://deb.debian.org/debian-security buster/updates/main amd64 libmbedx509-0 amd64 2.16.9-0~deb10u1 [109 kB]
Get:50 http://deb.debian.org/debian-security buster/updates/main amd64 libmbedtls12 amd64 2.16.9-0~deb10u1 [140 kB]
Get:51 http://deb.debian.org/debian buster/main amd64 libbctoolbox1 amd64 0.6.0-2+b2 [48.6 kB]
Get:52 http://deb.debian.org/debian buster/main amd64 libcdk5nc6 amd64 5.0.20180306-3 [129 kB]
Get:53 http://deb.debian.org/debian-security buster/updates/main amd64 libncurses-dev amd64 6.1+20181013-2+deb10u5 [333 kB]
Get:54 http://deb.debian.org/debian buster/main amd64 libcdk5-dev amd64 5.0.20180306-3 [299 kB]
Get:55 http://deb.debian.org/debian buster/main amd64 libmnl-dev amd64 1.0.4-2 [13.3 kB]
Get:56 http://deb.debian.org/debian buster/main amd64 libortp13 amd64 1:1.0.2-1 [74.4 kB]
Get:57 http://deb.debian.org/debian buster/main amd64 libsctp1 amd64 1.0.18+dfsg-1 [28.3 kB]
Get:58 http://deb.debian.org/debian buster/main amd64 libtalloc2 amd64 2.1.14-2 [35.4 kB]
Get:59 http://deb.debian.org/debian buster/main amd64 libpcsclite1 amd64 1.8.24-1 [58.5 kB]
Get:60 http://deb.debian.org/debian buster/main amd64 libusb-1.0-0 amd64 2:1.0.22-2 [55.3 kB]
Get:61 http://deb.debian.org/debian buster/main amd64 pkg-config amd64 0.29-6 [63.5 kB]
Get:62 http://deb.debian.org/debian buster/main amd64 libtalloc-dev amd64 2.1.14-2 [61.1 kB]
Get:63 http://deb.debian.org/debian buster/main amd64 libsctp-dev amd64 1.0.18+dfsg-1 [81.5 kB]
Get:64 http://deb.debian.org/debian buster/main amd64 libusb-1.0-0-dev amd64 2:1.0.22-2 [74.5 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 13.5 MB in 0s (68.6 MB/s)
Selecting previously unselected package bsdmainutils.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 62818 files and directories currently installed.)
Preparing to unpack .../00-bsdmainutils_11.1.2+b1_amd64.deb ...
Unpacking bsdmainutils (11.1.2+b1) ...
Selecting previously unselected package libuchardet0:amd64.
Preparing to unpack .../01-libuchardet0_0.0.6-3_amd64.deb ...
Unpacking libuchardet0:amd64 (0.0.6-3) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../02-groff-base_1.22.4-3+deb10u1_amd64.deb ...
Unpacking groff-base (1.22.4-3+deb10u1) ...
Selecting previously unselected package libpipeline1:amd64.
Preparing to unpack .../03-libpipeline1_1.5.1-2_amd64.deb ...
Unpacking libpipeline1:amd64 (1.5.1-2) ...
Selecting previously unselected package man-db.
Preparing to unpack .../04-man-db_2.8.5-2+deb10u1_amd64.deb ...
Unpacking man-db (2.8.5-2+deb10u1) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../05-libmagic-mgc_1%3a5.35-4+deb10u2_amd64.deb ...
Unpacking libmagic-mgc (1:5.35-4+deb10u2) ...
Selecting previously unselected package libmagic1:amd64.
Preparing to unpack .../06-libmagic1_1%3a5.35-4+deb10u2_amd64.deb ...
Unpacking libmagic1:amd64 (1:5.35-4+deb10u2) ...
Selecting previously unselected package file.
Preparing to unpack .../07-file_1%3a5.35-4+deb10u2_amd64.deb ...
Unpacking file (1:5.35-4+deb10u2) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../08-gettext-base_0.19.8.1-9_amd64.deb ...
Unpacking gettext-base (0.19.8.1-9) ...
Selecting previously unselected package libsigsegv2:amd64.
Preparing to unpack .../09-libsigsegv2_2.12-2_amd64.deb ...
Unpacking libsigsegv2:amd64 (2.12-2) ...
Selecting previously unselected package m4.
Preparing to unpack .../10-m4_1.4.18-2_amd64.deb ...
Unpacking m4 (1.4.18-2) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../11-autoconf_2.69-11_all.deb ...
Unpacking autoconf (2.69-11) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../12-autotools-dev_20180224.1_all.deb ...
Unpacking autotools-dev (20180224.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../13-automake_1%3a1.16.1-4_all.deb ...
Unpacking automake (1:1.16.1-4) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../14-autopoint_0.19.8.1-9_all.deb ...
Unpacking autopoint (0.19.8.1-9) ...
Selecting previously unselected package libtool.
Preparing to unpack .../15-libtool_2.4.6-9_all.deb ...
Unpacking libtool (2.4.6-9) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../16-dh-autoreconf_19_all.deb ...
Unpacking dh-autoreconf (19) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../17-libarchive-zip-perl_1.64-1_all.deb ...
Unpacking libarchive-zip-perl (1.64-1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../18-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../19-dh-strip-nondeterminism_1.1.2-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.1.2-1) ...
Selecting previously unselected package dwz.
Preparing to unpack .../20-dwz_0.12-3_amd64.deb ...
Unpacking dwz (0.12-3) ...
Selecting previously unselected package libncurses6:amd64.
Preparing to unpack .../21-libncurses6_6.1+20181013-2+deb10u5_amd64.deb ...
Unpacking libncurses6:amd64 (6.1+20181013-2+deb10u5) ...
Selecting previously unselected package gettext.
Preparing to unpack .../22-gettext_0.19.8.1-9_amd64.deb ...
Unpacking gettext (0.19.8.1-9) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../23-intltool-debian_0.35.0+20060710.5_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.5) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../24-po-debconf_1.0.21_all.deb ...
Unpacking po-debconf (1.0.21) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../25-debhelper_12.1.1_all.deb ...
Unpacking debhelper (12.1.1) ...
Selecting previously unselected package libmbedcrypto3:amd64.
Preparing to unpack .../26-libmbedcrypto3_2.16.9-0~deb10u1_amd64.deb ...
Unpacking libmbedcrypto3:amd64 (2.16.9-0~deb10u1) ...
Selecting previously unselected package libmbedx509-0:amd64.
Preparing to unpack .../27-libmbedx509-0_2.16.9-0~deb10u1_amd64.deb ...
Unpacking libmbedx509-0:amd64 (2.16.9-0~deb10u1) ...
Selecting previously unselected package libmbedtls12:amd64.
Preparing to unpack .../28-libmbedtls12_2.16.9-0~deb10u1_amd64.deb ...
Unpacking libmbedtls12:amd64 (2.16.9-0~deb10u1) ...
Selecting previously unselected package libbctoolbox1:amd64.
Preparing to unpack .../29-libbctoolbox1_0.6.0-2+b2_amd64.deb ...
Unpacking libbctoolbox1:amd64 (0.6.0-2+b2) ...
Selecting previously unselected package libcdk5nc6:amd64.
Preparing to unpack .../30-libcdk5nc6_5.0.20180306-3_amd64.deb ...
Unpacking libcdk5nc6:amd64 (5.0.20180306-3) ...
Selecting previously unselected package libncurses-dev:amd64.
Preparing to unpack .../31-libncurses-dev_6.1+20181013-2+deb10u5_amd64.deb ...
Unpacking libncurses-dev:amd64 (6.1+20181013-2+deb10u5) ...
Selecting previously unselected package libcdk5-dev.
Preparing to unpack .../32-libcdk5-dev_5.0.20180306-3_amd64.deb ...
Unpacking libcdk5-dev (5.0.20180306-3) ...
Selecting previously unselected package libmnl-dev.
Preparing to unpack .../33-libmnl-dev_1.0.4-2_amd64.deb ...
Unpacking libmnl-dev (1.0.4-2) ...
Selecting previously unselected package libortp13:amd64.
Preparing to unpack .../34-libortp13_1%3a1.0.2-1_amd64.deb ...
Unpacking libortp13:amd64 (1:1.0.2-1) ...
Selecting previously unselected package libsctp1:amd64.
Preparing to unpack .../35-libsctp1_1.0.18+dfsg-1_amd64.deb ...
Unpacking libsctp1:amd64 (1.0.18+dfsg-1) ...
Selecting previously unselected package libtalloc2:amd64.
Preparing to unpack .../36-libtalloc2_2.1.14-2_amd64.deb ...
Unpacking libtalloc2:amd64 (2.1.14-2) ...
Selecting previously unselected package libosmocore22:amd64.
Preparing to unpack .../37-libosmocore22_1.10.0.65.d581_amd64.deb ...
Unpacking libosmocore22:amd64 (1.10.0.65.d581) ...
Selecting previously unselected package libosmocodec4:amd64.
Preparing to unpack .../38-libosmocodec4_1.10.0.65.d581_amd64.deb ...
Unpacking libosmocodec4:amd64 (1.10.0.65.d581) ...
Selecting previously unselected package libosmoisdn0:amd64.
Preparing to unpack .../39-libosmoisdn0_1.10.0.65.d581_amd64.deb ...
Unpacking libosmoisdn0:amd64 (1.10.0.65.d581) ...
Selecting previously unselected package libosmogsm20:amd64.
Preparing to unpack .../40-libosmogsm20_1.10.0.65.d581_amd64.deb ...
Unpacking libosmogsm20:amd64 (1.10.0.65.d581) ...
Selecting previously unselected package libosmovty13:amd64.
Preparing to unpack .../41-libosmovty13_1.10.0.65.d581_amd64.deb ...
Unpacking libosmovty13:amd64 (1.10.0.65.d581) ...
Selecting previously unselected package libosmotrau10:amd64.
Preparing to unpack .../42-libosmotrau10_1.6.0.50.58dd_amd64.deb ...
Unpacking libosmotrau10:amd64 (1.6.0.50.58dd) ...
Selecting previously unselected package libosmonetif11:amd64.
Preparing to unpack .../43-libosmonetif11_1.5.1.34.ada6_amd64.deb ...
Unpacking libosmonetif11:amd64 (1.5.1.34.ada6) ...
Selecting previously unselected package libosmoabis13:amd64.
Preparing to unpack .../44-libosmoabis13_1.6.0.50.58dd_amd64.deb ...
Unpacking libosmoabis13:amd64 (1.6.0.50.58dd) ...
Selecting previously unselected package libosmocoding0:amd64.
Preparing to unpack .../45-libosmocoding0_1.10.0.65.d581_amd64.deb ...
Unpacking libosmocoding0:amd64 (1.10.0.65.d581) ...
Selecting previously unselected package libosmogb14:amd64.
Preparing to unpack .../46-libosmogb14_1.10.0.65.d581_amd64.deb ...
Unpacking libosmogb14:amd64 (1.10.0.65.d581) ...
Selecting previously unselected package libosmoctrl0:amd64.
Preparing to unpack .../47-libosmoctrl0_1.10.0.65.d581_amd64.deb ...
Unpacking libosmoctrl0:amd64 (1.10.0.65.d581) ...
Selecting previously unselected package libpcsclite1:amd64.
Preparing to unpack .../48-libpcsclite1_1.8.24-1_amd64.deb ...
Unpacking libpcsclite1:amd64 (1.8.24-1) ...
Selecting previously unselected package libosmosim2:amd64.
Preparing to unpack .../49-libosmosim2_1.10.0.65.d581_amd64.deb ...
Unpacking libosmosim2:amd64 (1.10.0.65.d581) ...
Selecting previously unselected package libusb-1.0-0:amd64.
Preparing to unpack .../50-libusb-1.0-0_2%3a1.0.22-2_amd64.deb ...
Unpacking libusb-1.0-0:amd64 (2:1.0.22-2) ...
Selecting previously unselected package libosmousb0:amd64.
Preparing to unpack .../51-libosmousb0_1.10.0.65.d581_amd64.deb ...
Unpacking libosmousb0:amd64 (1.10.0.65.d581) ...
Selecting previously unselected package libosmocore.
Preparing to unpack .../52-libosmocore_1.10.0.65.d581_amd64.deb ...
Unpacking libosmocore (1.10.0.65.d581) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../53-pkg-config_0.29-6_amd64.deb ...
Unpacking pkg-config (0.29-6) ...
Selecting previously unselected package libtalloc-dev:amd64.
Preparing to unpack .../54-libtalloc-dev_2.1.14-2_amd64.deb ...
Unpacking libtalloc-dev:amd64 (2.1.14-2) ...
Selecting previously unselected package libsctp-dev:amd64.
Preparing to unpack .../55-libsctp-dev_1.0.18+dfsg-1_amd64.deb ...
Unpacking libsctp-dev:amd64 (1.0.18+dfsg-1) ...
Selecting previously unselected package libusb-1.0-0-dev:amd64.
Preparing to unpack .../56-libusb-1.0-0-dev_2%3a1.0.22-2_amd64.deb ...
Unpacking libusb-1.0-0-dev:amd64 (2:1.0.22-2) ...
Selecting previously unselected package libosmocore-dev:amd64.
Preparing to unpack .../57-libosmocore-dev_1.10.0.65.d581_amd64.deb ...
Unpacking libosmocore-dev:amd64 (1.10.0.65.d581) ...
Selecting previously unselected package libosmo-netif-dev:amd64.
Preparing to unpack .../58-libosmo-netif-dev_1.5.1.34.ada6_amd64.deb ...
Unpacking libosmo-netif-dev:amd64 (1.5.1.34.ada6) ...
Selecting previously unselected package libosmo-abis-dev:amd64.
Preparing to unpack .../59-libosmo-abis-dev_1.6.0.50.58dd_amd64.deb ...
Unpacking libosmo-abis-dev:amd64 (1.6.0.50.58dd) ...
Selecting previously unselected package libosmo-sigtran10:amd64.
Preparing to unpack .../60-libosmo-sigtran10_2.0.0.54.c4a0_amd64.deb ...
Unpacking libosmo-sigtran10:amd64 (2.0.0.54.c4a0) ...
Selecting previously unselected package libosmo-sigtran-dev:amd64.
Preparing to unpack .../61-libosmo-sigtran-dev_2.0.0.54.c4a0_amd64.deb ...
Unpacking libosmo-sigtran-dev:amd64 (2.0.0.54.c4a0) ...
Selecting previously unselected package libosmo-mgcp-client14:amd64.
Preparing to unpack .../62-libosmo-mgcp-client14_1.13.1.38.78ee9_amd64.deb ...
Unpacking libosmo-mgcp-client14:amd64 (1.13.1.38.78ee9) ...
Selecting previously unselected package libosmo-mgcp-client-dev:amd64.
Preparing to unpack .../63-libosmo-mgcp-client-dev_1.13.1.38.78ee9_amd64.deb ...
Unpacking libosmo-mgcp-client-dev:amd64 (1.13.1.38.78ee9) ...
Setting up libpipeline1:amd64 (1.5.1-2) ...
Setting up libmagic-mgc (1:5.35-4+deb10u2) ...
Setting up libarchive-zip-perl (1.64-1) ...
Setting up libmagic1:amd64 (1:5.35-4+deb10u2) ...
Setting up gettext-base (0.19.8.1-9) ...
Setting up file (1:5.35-4+deb10u2) ...
Setting up libtalloc2:amd64 (2.1.14-2) ...
Setting up autotools-dev (20180224.1) ...
Setting up libmnl-dev (1.0.4-2) ...
Setting up libncurses6:amd64 (6.1+20181013-2+deb10u5) ...
Setting up libsigsegv2:amd64 (2.12-2) ...
Setting up bsdmainutils (11.1.2+b1) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/write.1.gz because associated file /usr/share/man/man1/bsd-write.1.gz (of link group write) doesn't exist
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/from.1.gz because associated file /usr/share/man/man1/bsd-from.1.gz (of link group from) doesn't exist
Setting up autopoint (0.19.8.1-9) ...
Setting up pkg-config (0.29-6) ...
Setting up libpcsclite1:amd64 (1.8.24-1) ...
Setting up dwz (0.12-3) ...
Setting up libsctp1:amd64 (1.0.18+dfsg-1) ...
Setting up libosmocore22:amd64 (1.10.0.65.d581) ...
Setting up libosmocodec4:amd64 (1.10.0.65.d581) ...
Setting up libuchardet0:amd64 (0.0.6-3) ...
Setting up libmbedcrypto3:amd64 (2.16.9-0~deb10u1) ...
Setting up libusb-1.0-0:amd64 (2:1.0.22-2) ...
Setting up libfile-stripnondeterminism-perl (1.1.2-1) ...
Setting up libncurses-dev:amd64 (6.1+20181013-2+deb10u5) ...
Setting up gettext (0.19.8.1-9) ...
Setting up libosmovty13:amd64 (1.10.0.65.d581) ...
Setting up libtool (2.4.6-9) ...
Setting up libosmoisdn0:amd64 (1.10.0.65.d581) ...
Setting up libmbedx509-0:amd64 (2.16.9-0~deb10u1) ...
Setting up libmbedtls12:amd64 (2.16.9-0~deb10u1) ...
Setting up libusb-1.0-0-dev:amd64 (2:1.0.22-2) ...
Setting up m4 (1.4.18-2) ...
Setting up libcdk5nc6:amd64 (5.0.20180306-3) ...
Setting up libcdk5-dev (5.0.20180306-3) ...
Setting up intltool-debian (0.35.0+20060710.5) ...
Setting up libtalloc-dev:amd64 (2.1.14-2) ...
Setting up libsctp-dev:amd64 (1.0.18+dfsg-1) ...
Setting up libosmousb0:amd64 (1.10.0.65.d581) ...
Setting up autoconf (2.69-11) ...
Setting up libosmo-mgcp-client14:amd64 (1.13.1.38.78ee9) ...
Setting up groff-base (1.22.4-3+deb10u1) ...
Setting up libosmogsm20:amd64 (1.10.0.65.d581) ...
Setting up automake (1:1.16.1-4) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/automake.1.gz because associated file /usr/share/man/man1/automake-1.16.1.gz (of link group automake) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/aclocal.1.gz because associated file /usr/share/man/man1/aclocal-1.16.1.gz (of link group automake) doesn't exist
Setting up libosmoctrl0:amd64 (1.10.0.65.d581) ...
Setting up libosmogb14:amd64 (1.10.0.65.d581) ...
Setting up libbctoolbox1:amd64 (0.6.0-2+b2) ...
Setting up po-debconf (1.0.21) ...
Setting up man-db (2.8.5-2+deb10u1) ...
Building database of manual pages ...
Created symlink /etc/systemd/system/timers.target.wants/man-db.timer → /lib/systemd/system/man-db.timer.
Setting up libosmonetif11:amd64 (1.5.1.34.ada6) ...
Setting up libosmo-mgcp-client-dev:amd64 (1.13.1.38.78ee9) ...
Setting up libosmocoding0:amd64 (1.10.0.65.d581) ...
Setting up libosmosim2:amd64 (1.10.0.65.d581) ...
Setting up libosmocore (1.10.0.65.d581) ...
Setting up libortp13:amd64 (1:1.0.2-1) ...
Setting up libosmoabis13:amd64 (1.6.0.50.58dd) ...
Setting up libosmo-sigtran10:amd64 (2.0.0.54.c4a0) ...
Setting up libosmotrau10:amd64 (1.6.0.50.58dd) ...
Setting up libosmocore-dev:amd64 (1.10.0.65.d581) ...
Setting up libosmo-netif-dev:amd64 (1.5.1.34.ada6) ...
Setting up libosmo-sigtran-dev:amd64 (2.0.0.54.c4a0) ...
Setting up libosmo-abis-dev:amd64 (1.6.0.50.58dd) ...
Setting up dh-autoreconf (19) ...
Setting up debhelper (12.1.1) ...
Setting up dh-strip-nondeterminism (1.1.2-1) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for libc-bin (2.28-10+deb10u3) ...
+ [ -n 1 ]
+ ip link set eth0 down
+ su user -c dpkg-buildpackage -us -uc -j21
dpkg-buildpackage: info: source package osmo-bsc
dpkg-buildpackage: info: source version 1.12.1.48.c9c7
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Osmocom OBS scripts <info@osmocom.org>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
dh clean --with autoreconf
dh_clean
dpkg-source -b .
dpkg-source: info: using source format '3.0 (native)'
dpkg-source: info: building osmo-bsc in osmo-bsc_1.12.1.48.c9c7.tar.xz
dpkg-source: info: building osmo-bsc in osmo-bsc_1.12.1.48.c9c7.dsc
debian/rules build
dh build --with autoreconf
dh_update_autotools_config
dh_autoreconf
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
configure.ac:23: installing './compile'
configure.ac:25: installing './config.guess'
configure.ac:25: installing './config.sub'
configure.ac:9: installing './install-sh'
configure.ac:9: installing './missing'
doc/Makefile.am:34: warning: '%'-style pattern rules are a GNU make extension
doc/Makefile.am:37: warning: '%'-style pattern rules are a GNU make extension
src/ipaccess/Makefile.am: installing './depcomp'
debian/rules override_dh_auto_configure
make[1]: Entering directory '/obs/_temp/binpkgs/osmo-bsc'
dh_auto_configure -- --enable-manuals --enable-meas-vis --with-systemdsystemunitdir=/lib/systemd/system
./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --enable-manuals --enable-meas-vis --with-systemdsystemunitdir=/lib/systemd/system
configure: WARNING: unrecognized options: --disable-maintainer-mode
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.20... yes
checking for LIBOSMOCORE... yes
checking for LIBOSMOVTY... yes
checking for LIBOSMOCTRL... yes
checking for LIBOSMOGSM... yes
checking for LIBOSMOABIS... yes
checking for LIBOSMONETIF... yes
checking for LIBOSMOSIGTRAN... yes
checking for LIBOSMOMGCPCLIENT... yes
checking for ANSI C header files... (cached) yes
checking cdk/cdk.h usability... yes
checking cdk/cdk.h presence... yes
checking for cdk/cdk.h... yes
checking if gcc supports -fvisibility=hidden... yes
checking whether to enable code coverage support... no
checking whether to enable VTY/CTRL tests... no
checking for OSMO_GSM_MANUALS_DIR... /usr/share/osmo-gsm-manuals (from pkg-conf)
All dependencies installed!
CFLAGS="-g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11"
CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2"
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating include/osmocom/Makefile
config.status: creating include/osmocom/bsc/Makefile
config.status: creating src/Makefile
config.status: creating src/osmo-bsc/Makefile
config.status: creating src/ipaccess/Makefile
config.status: creating src/utils/Makefile
config.status: creating tests/Makefile
config.status: creating tests/atlocal
config.status: creating tests/abis/Makefile
config.status: creating tests/acc/Makefile
config.status: creating tests/bsc/Makefile
config.status: creating tests/codec_pref/Makefile
config.status: creating tests/gsm0408/Makefile
config.status: creating tests/handover/Makefile
config.status: creating tests/nanobts_omlattr/Makefile
config.status: creating tests/paging/Makefile
config.status: creating tests/subscr/Makefile
config.status: creating doc/Makefile
config.status: creating doc/examples/Makefile
config.status: creating doc/manuals/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/systemd/Makefile
config.status: creating Makefile
config.status: creating bscconfig.h
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-maintainer-mode
make[1]: Leaving directory '/obs/_temp/binpkgs/osmo-bsc'
dh_auto_build
make -j21
make[1]: Entering directory '/obs/_temp/binpkgs/osmo-bsc'
echo 1.12.1.48-c9c7 > .version-t && mv .version-t .version
make all-recursive
make[2]: Entering directory '/obs/_temp/binpkgs/osmo-bsc'
Making all in include
make[3]: Entering directory '/obs/_temp/binpkgs/osmo-bsc/include'
Making all in osmocom
make[4]: Entering directory '/obs/_temp/binpkgs/osmo-bsc/include/osmocom'
Making all in bsc
make[5]: Entering directory '/obs/_temp/binpkgs/osmo-bsc/include/osmocom/bsc'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/obs/_temp/binpkgs/osmo-bsc/include/osmocom/bsc'
make[5]: Entering directory '/obs/_temp/binpkgs/osmo-bsc/include/osmocom'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/obs/_temp/binpkgs/osmo-bsc/include/osmocom'
make[4]: Leaving directory '/obs/_temp/binpkgs/osmo-bsc/include/osmocom'
make[4]: Entering directory '/obs/_temp/binpkgs/osmo-bsc/include'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/obs/_temp/binpkgs/osmo-bsc/include'
make[3]: Leaving directory '/obs/_temp/binpkgs/osmo-bsc/include'
Making all in src
make[3]: Entering directory '/obs/_temp/binpkgs/osmo-bsc/src'
Making all in osmo-bsc
make[4]: Entering directory '/obs/_temp/binpkgs/osmo-bsc/src/osmo-bsc'
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o osmo_bsc_main.o osmo_bsc_main.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o a_reset.lo a_reset.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o abis_nm.lo abis_nm.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o abis_nm_vty.lo abis_nm_vty.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o abis_om2000.lo abis_om2000.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o abis_om2000_vty.lo abis_om2000_vty.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o abis_osmo.lo abis_osmo.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o abis_rsl.lo abis_rsl.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o acc.lo acc.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o assignment_fsm.lo assignment_fsm.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o bsc_ctrl.lo bsc_ctrl.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o bsc_ctrl_lookup.lo bsc_ctrl_lookup.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o bsc_init.lo bsc_init.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o bsc_rf_ctrl.lo bsc_rf_ctrl.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o bsc_rll.lo bsc_rll.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o bsc_sccp.lo bsc_sccp.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o bsc_stats.lo bsc_stats.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o bsc_subscr_conn_fsm.lo bsc_subscr_conn_fsm.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o bsc_subscriber.lo bsc_subscriber.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o bsc_vty.lo bsc_vty.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o bts.lo bts.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c abis_om2000_vty.c -fPIC -DPIC -o .libs/abis_om2000_vty.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bsc_init.c -fPIC -DPIC -o .libs/bsc_init.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c abis_osmo.c -fPIC -DPIC -o .libs/abis_osmo.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bsc_ctrl_lookup.c -fPIC -DPIC -o .libs/bsc_ctrl_lookup.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c abis_rsl.c -fPIC -DPIC -o .libs/abis_rsl.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c abis_nm_vty.c -fPIC -DPIC -o .libs/abis_nm_vty.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c abis_nm.c -fPIC -DPIC -o .libs/abis_nm.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bsc_rf_ctrl.c -fPIC -DPIC -o .libs/bsc_rf_ctrl.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bsc_rll.c -fPIC -DPIC -o .libs/bsc_rll.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c a_reset.c -fPIC -DPIC -o .libs/a_reset.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c acc.c -fPIC -DPIC -o .libs/acc.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bsc_subscriber.c -fPIC -DPIC -o .libs/bsc_subscriber.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c assignment_fsm.c -fPIC -DPIC -o .libs/assignment_fsm.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bsc_ctrl.c -fPIC -DPIC -o .libs/bsc_ctrl.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bsc_stats.c -fPIC -DPIC -o .libs/bsc_stats.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c abis_om2000.c -fPIC -DPIC -o .libs/abis_om2000.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bts.c -fPIC -DPIC -o .libs/bts.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bsc_vty.c -fPIC -DPIC -o .libs/bsc_vty.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bsc_sccp.c -fPIC -DPIC -o .libs/bsc_sccp.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bsc_subscr_conn_fsm.c -fPIC -DPIC -o .libs/bsc_subscr_conn_fsm.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bsc_rll.c -o bsc_rll.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bsc_ctrl_lookup.c -o bsc_ctrl_lookup.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c abis_nm_vty.c -o abis_nm_vty.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c a_reset.c -o a_reset.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bsc_init.c -o bsc_init.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c abis_osmo.c -o abis_osmo.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bsc_subscriber.c -o bsc_subscriber.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bsc_stats.c -o bsc_stats.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bsc_sccp.c -o bsc_sccp.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o bts_trx.lo bts_trx.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o bts_trx_ctrl.lo bts_trx_ctrl.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o bts_trx_ts_ctrl.lo bts_trx_ts_ctrl.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o bts_trx_ts_lchan_ctrl.lo bts_trx_ts_lchan_ctrl.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bsc_rf_ctrl.c -o bsc_rf_ctrl.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o bts_ericsson_rbs2000.lo bts_ericsson_rbs2000.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c acc.c -o acc.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bts.c -o bts.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bts_ericsson_rbs2000.c -fPIC -DPIC -o .libs/bts_ericsson_rbs2000.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bsc_ctrl.c -o bsc_ctrl.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o bts_init.lo bts_init.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bts_trx_ts_ctrl.c -fPIC -DPIC -o .libs/bts_trx_ts_ctrl.o
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o bts_ipaccess_nanobts.lo bts_ipaccess_nanobts.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bts_trx_ts_lchan_ctrl.c -fPIC -DPIC -o .libs/bts_trx_ts_lchan_ctrl.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bts_trx.c -fPIC -DPIC -o .libs/bts_trx.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bts_trx_ctrl.c -fPIC -DPIC -o .libs/bts_trx_ctrl.o
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o bts_ipaccess_nanobts_omlattr.lo bts_ipaccess_nanobts_omlattr.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o bts_nokia_site.lo bts_nokia_site.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c abis_om2000_vty.c -o abis_om2000_vty.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bts_ipaccess_nanobts.c -fPIC -DPIC -o .libs/bts_ipaccess_nanobts.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bts_nokia_site.c -fPIC -DPIC -o .libs/bts_nokia_site.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bts_ericsson_rbs2000.c -o bts_ericsson_rbs2000.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bts_init.c -fPIC -DPIC -o .libs/bts_init.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bts_ipaccess_nanobts_omlattr.c -fPIC -DPIC -o .libs/bts_ipaccess_nanobts_omlattr.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bts_trx_ts_ctrl.c -o bts_trx_ts_ctrl.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o bts_siemens_bs11.lo bts_siemens_bs11.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bts_trx_ctrl.c -o bts_trx_ctrl.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c -o bts_sm.lo bts_sm.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bts_trx_ts_lchan_ctrl.c -o bts_trx_ts_lchan_ctrl.o >/dev/null 2>&1
bts_nokia_site.c: In function 'abis_nm_rcvmsg_fom':
bts_nokia_site.c:1716:78: error: lvalue required as unary '&' operand
#define FIND_ELEM(data, data_len, ei, var) (find_element(data, data_len, ei, &var, sizeof(var)) == sizeof(var))
^
bts_nokia_site.c:1755:7: note: in expansion of macro 'FIND_ELEM'
if (FIND_ELEM(noh->data, len_data, NOKIA_EI_BTS_TYPE, &bts->nokia.bts_type)) {
^~~~~~~~~
bts_nokia_site.c:1716:78: error: lvalue required as unary '&' operand
#define FIND_ELEM(data, data_len, ei, var) (find_element(data, data_len, ei, &var, sizeof(var)) == sizeof(var))
^
bts_nokia_site.c:1762:7: note: in expansion of macro 'FIND_ELEM'
if (FIND_ELEM(noh->data, len_data, NOKIA_EI_RESET_TYPE, &reset_type)) {
^~~~~~~~~
bts_nokia_site.c:1716:78: error: lvalue required as unary '&' operand
#define FIND_ELEM(data, data_len, ei, var) (find_element(data, data_len, ei, &var, sizeof(var)) == sizeof(var))
^
bts_nokia_site.c:1782:7: note: in expansion of macro 'FIND_ELEM'
if (FIND_ELEM(noh->data, len_data, NOKIA_EI_ACK, &ack)) {
^~~~~~~~~
bts_nokia_site.c:1716:78: warning: passing argument 4 of 'find_element' from incompatible pointer type [-Wincompatible-pointer-types]
#define FIND_ELEM(data, data_len, ei, var) (find_element(data, data_len, ei, &var, sizeof(var)) == sizeof(var))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
static int abis_nm_rcvmsg_fom(struct msgb *mb)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{
~
struct e1inp_sign_link *sign_link = (struct e1inp_sign_link *)mb->dst;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
struct gsm_bts *bts = sign_link->trx->bts;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
struct abis_om_hdr *oh = msgb_l2(mb);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
struct abis_om_nokia_hdr *noh = msgb_l3(mb);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uint8_t mt = noh->msg_type;
~~~~~~~~~~~~~~~~~~~~~~~~~~~
int ret = 0;
~~~~~~~~~~~~
uint16_t ref = ntohs(noh->reference);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uint8_t info[256];
~~~~~~~~~~~~~~~~~~
uint8_t ack = 0xFF;
~~~~~~~~~~~~~~~~~~~
uint8_t severity = 0xFF;
~~~~~~~~~~~~~~~~~~~~~~~~
uint8_t reset_type = 0xFF;
~~~~~~~~~~~~~~~~~~~~~~~~~~
uint8_t object_identity[4] = {0};
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uint8_t object_state = 0xFF;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uint8_t object_id_state[11] = {0};
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int str_len;
~~~~~~~~~~~~
int len_data;
~~~~~~~~~~~~~
if (bts->nokia.wait_reset) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_INFO, "Ignoring message while waiting for reset: %s\n", msgb_hexdump(mb));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
return ret;
~~~~~~~~~~~
}
~
if (oh->length < sizeof(struct abis_om_nokia_hdr)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_ERROR, "Message too short: %s\n", msgb_hexdump(mb));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
return -EINVAL;
~~~~~~~~~~~~~~~
}
~
len_data = oh->length - sizeof(struct abis_om_nokia_hdr);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_INFO, "Rx (0x%02X) %s\n", mt, get_msg_type_name_string(mt));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#if 0 /* debugging */
~~~~~~~~~~~~~~~~~~~~~~~~
dump_elements(noh->data, len_data);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#endif
~~~~~~
switch (mt) {
~~~~~~~~~~~~~
case NOKIA_MSG_OMU_STARTED:
~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (FIND_ELEM(noh->data, len_data, NOKIA_EI_BTS_TYPE, &bts->nokia.bts_type)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_INFO, "Rx BTS type = %d (%s)\n",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bts->nokia.bts_type,
~~~~~~~~~~~~~~~~~~~~
get_bts_type_string(bts->nokia.bts_type));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
} else {
~~~~~~~~
LOG_BTS(bts, DNM, LOGL_ERROR, "BTS type not found in NOKIA_MSG_OMU_STARTED\n");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
~
if (FIND_ELEM(noh->data, len_data, NOKIA_EI_RESET_TYPE, &reset_type)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_INFO, "Rx BTS reset type = '%s'\n",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
get_reset_type_string(reset_type));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
} else {
~~~~~~~~
LOG_BTS(bts, DNM, LOGL_ERROR, "BTS reset type not found in NOKIA_MSG_OMU_STARTED\n");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
~
/* send START_DOWNLOAD_REQ */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
abis_nm_download_req(bts, ref);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
break;
~~~~~~
case NOKIA_MSG_MF_REQ:
~~~~~~~~~~~~~~~~~~~~~~
break;
~~~~~~
case NOKIA_MSG_CONF_REQ:
~~~~~~~~~~~~~~~~~~~~~~~~
/* send ACK */
~~~~~~~~~~~~~~
abis_nm_ack(bts, ref);
~~~~~~~~~~~~~~~~~~~~~~
nokia_abis_nm_queue_send_next(bts);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* send CONF_DATA */
~~~~~~~~~~~~~~~~~~~~
abis_nm_send_config(bts, bts->nokia.bts_type);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bts->nokia.configured = 1;
~~~~~~~~~~~~~~~~~~~~~~~~~~
break;
~~~~~~
case NOKIA_MSG_ACK:
~~~~~~~~~~~~~~~~~~~
if (FIND_ELEM(noh->data, len_data, NOKIA_EI_ACK, &ack)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_INFO, "Rx ACK = %u\n", ack);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (ack != 1) {
~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_ERROR, "Rx No ACK (%u): don't know how to proceed\n", ack);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* TODO: properly handle failures (NACK) */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
~
} else
~~~~~~
LOG_BTS(bts, DNM, LOGL_ERROR, "Rx MSG_ACK but no EI_ACK found: %s\n", msgb_hexdump(mb));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* TODO: the assumption for the following is that no NACK was received */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* ACK for reset message ? */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (!bts->nokia.did_reset) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bts->nokia.did_reset = 1;
~~~~~~~~~~~~~~~~~~~~~~~~~
/*
~~
TODO: For the InSite processing the received data is
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
blocked in the driver during reset.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Otherwise the LAPD module might assert because the InSite
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sends garbage on the E1 line during reset.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This is done by looking at "wait_reset" in the driver
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(function handle_ts1_read()) and ignoring the received data.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It seems to be necessary for the MetroSite too.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
~~
/* we cannot delete / stop the OML LAPD SAP right here, as we are in
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* the middle of processing an LAPD I frame and are subsequently returning
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* back to the LAPD I frame processing code that assumes the SAP is still
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* active. So we first schedule the timer at 0ms in the future, where we
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* kill all LAPD SAP and re-arm the timer for the reset duration, after which
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* we re-create them */
~~~~~~~~~~~~~~~~~~~~~~
bts->nokia.wait_reset = RESET_T_STOP_LAPD;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
osmo_timer_setup(&bts->nokia.reset_timer, reset_timer_cb, bts);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
osmo_timer_schedule(&bts->nokia.reset_timer, 0, 0);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
~
break;
~~~~~~
case NOKIA_MSG_STATE_CHANGED:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* send ACK */
~~~~~~~~~~~~~~
abis_nm_ack(bts, ref);
~~~~~~~~~~~~~~~~~~~~~~
if (!FIND_ELEM(noh->data, len_data, NOKIA_EI_OBJ_ID_STATE, object_id_state)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bts_nokia_site.c:1821:8: note: in expansion of macro 'FIND_ELEM'
if (!FIND_ELEM(noh->data, len_data, NOKIA_EI_OBJ_ID_STATE, object_id_state)) {
^~~~~~~~~
bts_nokia_site.c:1497:73: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'uint8_t (*)[11]' {aka 'unsigned char (*)[11]'}
static int find_element(uint8_t * data, int len, uint16_t id, uint8_t * value,
~~~~~~~~~~^~~~~
bts_nokia_site.c:1716:78: warning: passing argument 4 of 'find_element' from incompatible pointer type [-Wincompatible-pointer-types]
#define FIND_ELEM(data, data_len, ei, var) (find_element(data, data_len, ei, &var, sizeof(var)) == sizeof(var))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
static int abis_nm_rcvmsg_fom(struct msgb *mb)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{
~
struct e1inp_sign_link *sign_link = (struct e1inp_sign_link *)mb->dst;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
struct gsm_bts *bts = sign_link->trx->bts;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
struct abis_om_hdr *oh = msgb_l2(mb);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
struct abis_om_nokia_hdr *noh = msgb_l3(mb);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uint8_t mt = noh->msg_type;
~~~~~~~~~~~~~~~~~~~~~~~~~~~
int ret = 0;
~~~~~~~~~~~~
uint16_t ref = ntohs(noh->reference);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uint8_t info[256];
~~~~~~~~~~~~~~~~~~
uint8_t ack = 0xFF;
~~~~~~~~~~~~~~~~~~~
uint8_t severity = 0xFF;
~~~~~~~~~~~~~~~~~~~~~~~~
uint8_t reset_type = 0xFF;
~~~~~~~~~~~~~~~~~~~~~~~~~~
uint8_t object_identity[4] = {0};
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uint8_t object_state = 0xFF;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uint8_t object_id_state[11] = {0};
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int str_len;
~~~~~~~~~~~~
int len_data;
~~~~~~~~~~~~~
if (bts->nokia.wait_reset) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_INFO, "Ignoring message while waiting for reset: %s\n", msgb_hexdump(mb));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
return ret;
~~~~~~~~~~~
}
~
if (oh->length < sizeof(struct abis_om_nokia_hdr)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_ERROR, "Message too short: %s\n", msgb_hexdump(mb));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
return -EINVAL;
~~~~~~~~~~~~~~~
}
~
len_data = oh->length - sizeof(struct abis_om_nokia_hdr);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_INFO, "Rx (0x%02X) %s\n", mt, get_msg_type_name_string(mt));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#if 0 /* debugging */
~~~~~~~~~~~~~~~~~~~~~~~~
dump_elements(noh->data, len_data);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#endif
~~~~~~
switch (mt) {
~~~~~~~~~~~~~
case NOKIA_MSG_OMU_STARTED:
~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (FIND_ELEM(noh->data, len_data, NOKIA_EI_BTS_TYPE, &bts->nokia.bts_type)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_INFO, "Rx BTS type = %d (%s)\n",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bts->nokia.bts_type,
~~~~~~~~~~~~~~~~~~~~
get_bts_type_string(bts->nokia.bts_type));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
} else {
~~~~~~~~
LOG_BTS(bts, DNM, LOGL_ERROR, "BTS type not found in NOKIA_MSG_OMU_STARTED\n");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
~
if (FIND_ELEM(noh->data, len_data, NOKIA_EI_RESET_TYPE, &reset_type)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_INFO, "Rx BTS reset type = '%s'\n",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
get_reset_type_string(reset_type));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
} else {
~~~~~~~~
LOG_BTS(bts, DNM, LOGL_ERROR, "BTS reset type not found in NOKIA_MSG_OMU_STARTED\n");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
~
/* send START_DOWNLOAD_REQ */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
abis_nm_download_req(bts, ref);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
break;
~~~~~~
case NOKIA_MSG_MF_REQ:
~~~~~~~~~~~~~~~~~~~~~~
break;
~~~~~~
case NOKIA_MSG_CONF_REQ:
~~~~~~~~~~~~~~~~~~~~~~~~
/* send ACK */
~~~~~~~~~~~~~~
abis_nm_ack(bts, ref);
~~~~~~~~~~~~~~~~~~~~~~
nokia_abis_nm_queue_send_next(bts);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* send CONF_DATA */
~~~~~~~~~~~~~~~~~~~~
abis_nm_send_config(bts, bts->nokia.bts_type);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bts->nokia.configured = 1;
~~~~~~~~~~~~~~~~~~~~~~~~~~
break;
~~~~~~
case NOKIA_MSG_ACK:
~~~~~~~~~~~~~~~~~~~
if (FIND_ELEM(noh->data, len_data, NOKIA_EI_ACK, &ack)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_INFO, "Rx ACK = %u\n", ack);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (ack != 1) {
~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_ERROR, "Rx No ACK (%u): don't know how to proceed\n", ack);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* TODO: properly handle failures (NACK) */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
~
} else
~~~~~~
LOG_BTS(bts, DNM, LOGL_ERROR, "Rx MSG_ACK but no EI_ACK found: %s\n", msgb_hexdump(mb));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* TODO: the assumption for the following is that no NACK was received */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* ACK for reset message ? */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (!bts->nokia.did_reset) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bts->nokia.did_reset = 1;
~~~~~~~~~~~~~~~~~~~~~~~~~
/*
~~
TODO: For the InSite processing the received data is
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
blocked in the driver during reset.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Otherwise the LAPD module might assert because the InSite
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sends garbage on the E1 line during reset.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This is done by looking at "wait_reset" in the driver
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(function handle_ts1_read()) and ignoring the received data.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It seems to be necessary for the MetroSite too.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
~~
/* we cannot delete / stop the OML LAPD SAP right here, as we are in
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* the middle of processing an LAPD I frame and are subsequently returning
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* back to the LAPD I frame processing code that assumes the SAP is still
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* active. So we first schedule the timer at 0ms in the future, where we
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* kill all LAPD SAP and re-arm the timer for the reset duration, after which
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* we re-create them */
~~~~~~~~~~~~~~~~~~~~~~
bts->nokia.wait_reset = RESET_T_STOP_LAPD;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
osmo_timer_setup(&bts->nokia.reset_timer, reset_timer_cb, bts);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
osmo_timer_schedule(&bts->nokia.reset_timer, 0, 0);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
~
break;
~~~~~~
case NOKIA_MSG_STATE_CHANGED:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* send ACK */
~~~~~~~~~~~~~~
abis_nm_ack(bts, ref);
~~~~~~~~~~~~~~~~~~~~~~
if (!FIND_ELEM(noh->data, len_data, NOKIA_EI_OBJ_ID_STATE, object_id_state)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_NOTICE, "Missing NOKIA_EI_OBJ_ID_STATE\n");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
return -EINVAL;
~~~~~~~~~~~~~~~
}
~
LOG_BTS(bts, DNM, LOGL_NOTICE, "State changed: %s=%d, %s\n",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
get_object_identity_string(object_id_state[4]),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
object_id_state[5],
~~~~~~~~~~~~~~~~~~~
get_object_state_string(object_id_state[10]));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
break;
~~~~~~
case NOKIA_MSG_CONF_COMPLETE:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* send ACK */
~~~~~~~~~~~~~~
abis_nm_ack(bts, ref);
~~~~~~~~~~~~~~~~~~~~~~
if (bts->nokia.configured != 0) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* start TRX (RSL link) */
~~~~~~~~~~~~~~~~~~~~~~~~~~~
struct gsm_e1_subslot *e1_link = &sign_link->trx->rsl_e1_link;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
struct e1inp_line *line;
~~~~~~~~~~~~~~~~~~~~~~~~
bts->nokia.configured = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~
/* RSL Link */
~~~~~~~~~~~~~~
line = e1inp_line_find(e1_link->e1_nr);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (!line) {
~~~~~~~~~~~~
LOG_BTS(bts, DLINP, LOGL_ERROR, "RSL link referring to "
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"non-existing E1 line %u\n", e1_link->e1_nr);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
return -ENOMEM;
~~~~~~~~~~~~~~~
}
~
/* start TRX */
~~~~~~~~~~~~~~~
start_sabm_in_line(line, 1, SAPI_RSL); /* start only RSL */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
~
/* fake 12.21 OM */
~~~~~~~~~~~~~~~~~~~
nokia_abis_nm_fake_1221_ok(bts);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
break;
~~~~~~
case NOKIA_MSG_BLOCK_CTRL_REQ: /* BTS uses this scenario to block an object in BSC */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* TODO: implement block function */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* send ACK */
~~~~~~~~~~~~~~
abis_nm_ack(bts, ref);
~~~~~~~~~~~~~~~~~~~~~~
break;
~~~~~~
case NOKIA_MSG_ALARM:
~~~~~~~~~~~~~~~~~~~~~
if (!FIND_ELEM(noh->data, len_data, NOKIA_EI_OBJ_ID, object_identity) ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bts_nokia_site.c:1857:8: note: in expansion of macro 'FIND_ELEM'
if (!FIND_ELEM(noh->data, len_data, NOKIA_EI_OBJ_ID, object_identity) ||
^~~~~~~~~
bts_nokia_site.c:1497:73: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'uint8_t (*)[4]' {aka 'unsigned char (*)[4]'}
static int find_element(uint8_t * data, int len, uint16_t id, uint8_t * value,
~~~~~~~~~~^~~~~
bts_nokia_site.c:1716:78: error: lvalue required as unary '&' operand
#define FIND_ELEM(data, data_len, ei, var) (find_element(data, data_len, ei, &var, sizeof(var)) == sizeof(var))
^
bts_nokia_site.c:1858:8: note: in expansion of macro 'FIND_ELEM'
!FIND_ELEM(noh->data, len_data, NOKIA_EI_OBJ_STATE, &object_state)) {
^~~~~~~~~
bts_nokia_site.c:1716:78: warning: passing argument 4 of 'find_element' from incompatible pointer type [-Wincompatible-pointer-types]
#define FIND_ELEM(data, data_len, ei, var) (find_element(data, data_len, ei, &var, sizeof(var)) == sizeof(var))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
static int abis_nm_rcvmsg_fom(struct msgb *mb)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{
~
struct e1inp_sign_link *sign_link = (struct e1inp_sign_link *)mb->dst;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
struct gsm_bts *bts = sign_link->trx->bts;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
struct abis_om_hdr *oh = msgb_l2(mb);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
struct abis_om_nokia_hdr *noh = msgb_l3(mb);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uint8_t mt = noh->msg_type;
~~~~~~~~~~~~~~~~~~~~~~~~~~~
int ret = 0;
~~~~~~~~~~~~
uint16_t ref = ntohs(noh->reference);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uint8_t info[256];
~~~~~~~~~~~~~~~~~~
uint8_t ack = 0xFF;
~~~~~~~~~~~~~~~~~~~
uint8_t severity = 0xFF;
~~~~~~~~~~~~~~~~~~~~~~~~
uint8_t reset_type = 0xFF;
~~~~~~~~~~~~~~~~~~~~~~~~~~
uint8_t object_identity[4] = {0};
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uint8_t object_state = 0xFF;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uint8_t object_id_state[11] = {0};
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int str_len;
~~~~~~~~~~~~
int len_data;
~~~~~~~~~~~~~
if (bts->nokia.wait_reset) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_INFO, "Ignoring message while waiting for reset: %s\n", msgb_hexdump(mb));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
return ret;
~~~~~~~~~~~
}
~
if (oh->length < sizeof(struct abis_om_nokia_hdr)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_ERROR, "Message too short: %s\n", msgb_hexdump(mb));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
return -EINVAL;
~~~~~~~~~~~~~~~
}
~
len_data = oh->length - sizeof(struct abis_om_nokia_hdr);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_INFO, "Rx (0x%02X) %s\n", mt, get_msg_type_name_string(mt));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#if 0 /* debugging */
~~~~~~~~~~~~~~~~~~~~~~~~
dump_elements(noh->data, len_data);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#endif
~~~~~~
switch (mt) {
~~~~~~~~~~~~~
case NOKIA_MSG_OMU_STARTED:
~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (FIND_ELEM(noh->data, len_data, NOKIA_EI_BTS_TYPE, &bts->nokia.bts_type)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_INFO, "Rx BTS type = %d (%s)\n",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bts->nokia.bts_type,
~~~~~~~~~~~~~~~~~~~~
get_bts_type_string(bts->nokia.bts_type));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
} else {
~~~~~~~~
LOG_BTS(bts, DNM, LOGL_ERROR, "BTS type not found in NOKIA_MSG_OMU_STARTED\n");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
~
if (FIND_ELEM(noh->data, len_data, NOKIA_EI_RESET_TYPE, &reset_type)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_INFO, "Rx BTS reset type = '%s'\n",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
get_reset_type_string(reset_type));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
} else {
~~~~~~~~
LOG_BTS(bts, DNM, LOGL_ERROR, "BTS reset type not found in NOKIA_MSG_OMU_STARTED\n");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
~
/* send START_DOWNLOAD_REQ */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
abis_nm_download_req(bts, ref);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
break;
~~~~~~
case NOKIA_MSG_MF_REQ:
~~~~~~~~~~~~~~~~~~~~~~
break;
~~~~~~
case NOKIA_MSG_CONF_REQ:
~~~~~~~~~~~~~~~~~~~~~~~~
/* send ACK */
~~~~~~~~~~~~~~
abis_nm_ack(bts, ref);
~~~~~~~~~~~~~~~~~~~~~~
nokia_abis_nm_queue_send_next(bts);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* send CONF_DATA */
~~~~~~~~~~~~~~~~~~~~
abis_nm_send_config(bts, bts->nokia.bts_type);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bts->nokia.configured = 1;
~~~~~~~~~~~~~~~~~~~~~~~~~~
break;
~~~~~~
case NOKIA_MSG_ACK:
~~~~~~~~~~~~~~~~~~~
if (FIND_ELEM(noh->data, len_data, NOKIA_EI_ACK, &ack)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_INFO, "Rx ACK = %u\n", ack);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (ack != 1) {
~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_ERROR, "Rx No ACK (%u): don't know how to proceed\n", ack);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* TODO: properly handle failures (NACK) */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
~
} else
~~~~~~
LOG_BTS(bts, DNM, LOGL_ERROR, "Rx MSG_ACK but no EI_ACK found: %s\n", msgb_hexdump(mb));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* TODO: the assumption for the following is that no NACK was received */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* ACK for reset message ? */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (!bts->nokia.did_reset) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bts->nokia.did_reset = 1;
~~~~~~~~~~~~~~~~~~~~~~~~~
/*
~~
TODO: For the InSite processing the received data is
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
blocked in the driver during reset.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Otherwise the LAPD module might assert because the InSite
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sends garbage on the E1 line during reset.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This is done by looking at "wait_reset" in the driver
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(function handle_ts1_read()) and ignoring the received data.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It seems to be necessary for the MetroSite too.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
~~
/* we cannot delete / stop the OML LAPD SAP right here, as we are in
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* the middle of processing an LAPD I frame and are subsequently returning
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* back to the LAPD I frame processing code that assumes the SAP is still
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* active. So we first schedule the timer at 0ms in the future, where we
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* kill all LAPD SAP and re-arm the timer for the reset duration, after which
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* we re-create them */
~~~~~~~~~~~~~~~~~~~~~~
bts->nokia.wait_reset = RESET_T_STOP_LAPD;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
osmo_timer_setup(&bts->nokia.reset_timer, reset_timer_cb, bts);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
osmo_timer_schedule(&bts->nokia.reset_timer, 0, 0);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
~
break;
~~~~~~
case NOKIA_MSG_STATE_CHANGED:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* send ACK */
~~~~~~~~~~~~~~
abis_nm_ack(bts, ref);
~~~~~~~~~~~~~~~~~~~~~~
if (!FIND_ELEM(noh->data, len_data, NOKIA_EI_OBJ_ID_STATE, object_id_state)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_NOTICE, "Missing NOKIA_EI_OBJ_ID_STATE\n");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
return -EINVAL;
~~~~~~~~~~~~~~~
}
~
LOG_BTS(bts, DNM, LOGL_NOTICE, "State changed: %s=%d, %s\n",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
get_object_identity_string(object_id_state[4]),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
object_id_state[5],
~~~~~~~~~~~~~~~~~~~
get_object_state_string(object_id_state[10]));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
break;
~~~~~~
case NOKIA_MSG_CONF_COMPLETE:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* send ACK */
~~~~~~~~~~~~~~
abis_nm_ack(bts, ref);
~~~~~~~~~~~~~~~~~~~~~~
if (bts->nokia.configured != 0) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* start TRX (RSL link) */
~~~~~~~~~~~~~~~~~~~~~~~~~~~
struct gsm_e1_subslot *e1_link = &sign_link->trx->rsl_e1_link;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
struct e1inp_line *line;
~~~~~~~~~~~~~~~~~~~~~~~~
bts->nokia.configured = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~
/* RSL Link */
~~~~~~~~~~~~~~
line = e1inp_line_find(e1_link->e1_nr);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (!line) {
~~~~~~~~~~~~
LOG_BTS(bts, DLINP, LOGL_ERROR, "RSL link referring to "
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"non-existing E1 line %u\n", e1_link->e1_nr);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
return -ENOMEM;
~~~~~~~~~~~~~~~
}
~
/* start TRX */
~~~~~~~~~~~~~~~
start_sabm_in_line(line, 1, SAPI_RSL); /* start only RSL */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
~
/* fake 12.21 OM */
~~~~~~~~~~~~~~~~~~~
nokia_abis_nm_fake_1221_ok(bts);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
break;
~~~~~~
case NOKIA_MSG_BLOCK_CTRL_REQ: /* BTS uses this scenario to block an object in BSC */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* TODO: implement block function */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* send ACK */
~~~~~~~~~~~~~~
abis_nm_ack(bts, ref);
~~~~~~~~~~~~~~~~~~~~~~
break;
~~~~~~
case NOKIA_MSG_ALARM:
~~~~~~~~~~~~~~~~~~~~~
if (!FIND_ELEM(noh->data, len_data, NOKIA_EI_OBJ_ID, object_identity) ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!FIND_ELEM(noh->data, len_data, NOKIA_EI_OBJ_STATE, &object_state)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (!FIND_ELEM(noh->data, len_data, NOKIA_EI_OBJ_ID_STATE, object_id_state)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bts_nokia_site.c:1859:9: note: in expansion of macro 'FIND_ELEM'
if (!FIND_ELEM(noh->data, len_data, NOKIA_EI_OBJ_ID_STATE, object_id_state)) {
^~~~~~~~~
bts_nokia_site.c:1497:73: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'uint8_t (*)[11]' {aka 'unsigned char (*)[11]'}
static int find_element(uint8_t * data, int len, uint16_t id, uint8_t * value,
~~~~~~~~~~^~~~~
bts_nokia_site.c:1716:78: error: lvalue required as unary '&' operand
#define FIND_ELEM(data, data_len, ei, var) (find_element(data, data_len, ei, &var, sizeof(var)) == sizeof(var))
^
bts_nokia_site.c:1867:7: note: in expansion of macro 'FIND_ELEM'
if (FIND_ELEM(noh->data, len_data, NOKIA_EI_SEVERITY, &severity)) {
^~~~~~~~~
bts_nokia_site.c:1716:78: warning: passing argument 4 of 'find_element' from incompatible pointer type [-Wincompatible-pointer-types]
#define FIND_ELEM(data, data_len, ei, var) (find_element(data, data_len, ei, &var, sizeof(var)) == sizeof(var))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
static int abis_nm_rcvmsg_fom(struct msgb *mb)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{
~
struct e1inp_sign_link *sign_link = (struct e1inp_sign_link *)mb->dst;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
struct gsm_bts *bts = sign_link->trx->bts;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
struct abis_om_hdr *oh = msgb_l2(mb);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
struct abis_om_nokia_hdr *noh = msgb_l3(mb);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uint8_t mt = noh->msg_type;
~~~~~~~~~~~~~~~~~~~~~~~~~~~
int ret = 0;
~~~~~~~~~~~~
uint16_t ref = ntohs(noh->reference);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uint8_t info[256];
~~~~~~~~~~~~~~~~~~
uint8_t ack = 0xFF;
~~~~~~~~~~~~~~~~~~~
uint8_t severity = 0xFF;
~~~~~~~~~~~~~~~~~~~~~~~~
uint8_t reset_type = 0xFF;
~~~~~~~~~~~~~~~~~~~~~~~~~~
uint8_t object_identity[4] = {0};
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uint8_t object_state = 0xFF;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uint8_t object_id_state[11] = {0};
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int str_len;
~~~~~~~~~~~~
int len_data;
~~~~~~~~~~~~~
if (bts->nokia.wait_reset) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_INFO, "Ignoring message while waiting for reset: %s\n", msgb_hexdump(mb));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
return ret;
~~~~~~~~~~~
}
~
if (oh->length < sizeof(struct abis_om_nokia_hdr)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_ERROR, "Message too short: %s\n", msgb_hexdump(mb));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
return -EINVAL;
~~~~~~~~~~~~~~~
}
~
len_data = oh->length - sizeof(struct abis_om_nokia_hdr);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_INFO, "Rx (0x%02X) %s\n", mt, get_msg_type_name_string(mt));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#if 0 /* debugging */
~~~~~~~~~~~~~~~~~~~~~~~~
dump_elements(noh->data, len_data);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#endif
~~~~~~
switch (mt) {
~~~~~~~~~~~~~
case NOKIA_MSG_OMU_STARTED:
~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (FIND_ELEM(noh->data, len_data, NOKIA_EI_BTS_TYPE, &bts->nokia.bts_type)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_INFO, "Rx BTS type = %d (%s)\n",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bts->nokia.bts_type,
~~~~~~~~~~~~~~~~~~~~
get_bts_type_string(bts->nokia.bts_type));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
} else {
~~~~~~~~
LOG_BTS(bts, DNM, LOGL_ERROR, "BTS type not found in NOKIA_MSG_OMU_STARTED\n");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
~
if (FIND_ELEM(noh->data, len_data, NOKIA_EI_RESET_TYPE, &reset_type)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_INFO, "Rx BTS reset type = '%s'\n",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
get_reset_type_string(reset_type));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
} else {
~~~~~~~~
LOG_BTS(bts, DNM, LOGL_ERROR, "BTS reset type not found in NOKIA_MSG_OMU_STARTED\n");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
~
/* send START_DOWNLOAD_REQ */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
abis_nm_download_req(bts, ref);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
break;
~~~~~~
case NOKIA_MSG_MF_REQ:
~~~~~~~~~~~~~~~~~~~~~~
break;
~~~~~~
case NOKIA_MSG_CONF_REQ:
~~~~~~~~~~~~~~~~~~~~~~~~
/* send ACK */
~~~~~~~~~~~~~~
abis_nm_ack(bts, ref);
~~~~~~~~~~~~~~~~~~~~~~
nokia_abis_nm_queue_send_next(bts);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* send CONF_DATA */
~~~~~~~~~~~~~~~~~~~~
abis_nm_send_config(bts, bts->nokia.bts_type);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bts->nokia.configured = 1;
~~~~~~~~~~~~~~~~~~~~~~~~~~
break;
~~~~~~
case NOKIA_MSG_ACK:
~~~~~~~~~~~~~~~~~~~
if (FIND_ELEM(noh->data, len_data, NOKIA_EI_ACK, &ack)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_INFO, "Rx ACK = %u\n", ack);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (ack != 1) {
~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_ERROR, "Rx No ACK (%u): don't know how to proceed\n", ack);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* TODO: properly handle failures (NACK) */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
~
} else
~~~~~~
LOG_BTS(bts, DNM, LOGL_ERROR, "Rx MSG_ACK but no EI_ACK found: %s\n", msgb_hexdump(mb));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* TODO: the assumption for the following is that no NACK was received */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* ACK for reset message ? */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (!bts->nokia.did_reset) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bts->nokia.did_reset = 1;
~~~~~~~~~~~~~~~~~~~~~~~~~
/*
~~
TODO: For the InSite processing the received data is
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
blocked in the driver during reset.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Otherwise the LAPD module might assert because the InSite
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sends garbage on the E1 line during reset.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This is done by looking at "wait_reset" in the driver
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(function handle_ts1_read()) and ignoring the received data.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It seems to be necessary for the MetroSite too.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
~~
/* we cannot delete / stop the OML LAPD SAP right here, as we are in
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* the middle of processing an LAPD I frame and are subsequently returning
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* back to the LAPD I frame processing code that assumes the SAP is still
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* active. So we first schedule the timer at 0ms in the future, where we
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* kill all LAPD SAP and re-arm the timer for the reset duration, after which
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* we re-create them */
~~~~~~~~~~~~~~~~~~~~~~
bts->nokia.wait_reset = RESET_T_STOP_LAPD;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
osmo_timer_setup(&bts->nokia.reset_timer, reset_timer_cb, bts);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
osmo_timer_schedule(&bts->nokia.reset_timer, 0, 0);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
~
break;
~~~~~~
case NOKIA_MSG_STATE_CHANGED:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* send ACK */
~~~~~~~~~~~~~~
abis_nm_ack(bts, ref);
~~~~~~~~~~~~~~~~~~~~~~
if (!FIND_ELEM(noh->data, len_data, NOKIA_EI_OBJ_ID_STATE, object_id_state)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_NOTICE, "Missing NOKIA_EI_OBJ_ID_STATE\n");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
return -EINVAL;
~~~~~~~~~~~~~~~
}
~
LOG_BTS(bts, DNM, LOGL_NOTICE, "State changed: %s=%d, %s\n",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
get_object_identity_string(object_id_state[4]),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
object_id_state[5],
~~~~~~~~~~~~~~~~~~~
get_object_state_string(object_id_state[10]));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
break;
~~~~~~
case NOKIA_MSG_CONF_COMPLETE:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* send ACK */
~~~~~~~~~~~~~~
abis_nm_ack(bts, ref);
~~~~~~~~~~~~~~~~~~~~~~
if (bts->nokia.configured != 0) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* start TRX (RSL link) */
~~~~~~~~~~~~~~~~~~~~~~~~~~~
struct gsm_e1_subslot *e1_link = &sign_link->trx->rsl_e1_link;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
struct e1inp_line *line;
~~~~~~~~~~~~~~~~~~~~~~~~
bts->nokia.configured = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~
/* RSL Link */
~~~~~~~~~~~~~~
line = e1inp_line_find(e1_link->e1_nr);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (!line) {
~~~~~~~~~~~~
LOG_BTS(bts, DLINP, LOGL_ERROR, "RSL link referring to "
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"non-existing E1 line %u\n", e1_link->e1_nr);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
return -ENOMEM;
~~~~~~~~~~~~~~~
}
~
/* start TRX */
~~~~~~~~~~~~~~~
start_sabm_in_line(line, 1, SAPI_RSL); /* start only RSL */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
~
/* fake 12.21 OM */
~~~~~~~~~~~~~~~~~~~
nokia_abis_nm_fake_1221_ok(bts);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
break;
~~~~~~
case NOKIA_MSG_BLOCK_CTRL_REQ: /* BTS uses this scenario to block an object in BSC */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* TODO: implement block function */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* send ACK */
~~~~~~~~~~~~~~
abis_nm_ack(bts, ref);
~~~~~~~~~~~~~~~~~~~~~~
break;
~~~~~~
case NOKIA_MSG_ALARM:
~~~~~~~~~~~~~~~~~~~~~
if (!FIND_ELEM(noh->data, len_data, NOKIA_EI_OBJ_ID, object_identity) ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!FIND_ELEM(noh->data, len_data, NOKIA_EI_OBJ_STATE, &object_state)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (!FIND_ELEM(noh->data, len_data, NOKIA_EI_OBJ_ID_STATE, object_id_state)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_NOTICE, "Missing NOKIA_EI_OBJ_ID & NOKIA_EI_OBJ_STATE or NOKIA_EI_OBJ_ID_STATE\n");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
return -EINVAL;
~~~~~~~~~~~~~~~
}
~
object_identity[1] = object_id_state[4];
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
object_identity[2] = object_id_state[5];
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
object_state = object_id_state[10];
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}
~
if (FIND_ELEM(noh->data, len_data, NOKIA_EI_SEVERITY, &severity)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* TODO: there might be alarms with both elements set */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
str_len = find_element(noh->data, len_data, NOKIA_EI_ADD_INFO, info, sizeof(info));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (str_len > 0) {
~~~~~~~~~~~~~~~~~~
info[str_len] = 0;
~~~~~~~~~~~~~~~~~~
LOG_BTS(bts, DNM, LOGL_NOTICE, "Rx ALARM (%s=%d(%s)) Severity %s (%d) : %s\n",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
get_object_identity_string(object_identity[1]),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
object_identity[2],
~~~~~~~~~~~~~~~~~~~
get_object_state_string(object_state),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
get_severity_string(severity),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
severity,
~~~~~~~~~
info);
~~~~~~
} else { /* nothing found, try details */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (FIND_ELEM(noh->data, len_data, NOKIA_EI_ALARM_DETAIL, info)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bts_nokia_site.c:1880:9: note: in expansion of macro 'FIND_ELEM'
if (FIND_ELEM(noh->data, len_data, NOKIA_EI_ALARM_DETAIL, info)) {
^~~~~~~~~
bts_nokia_site.c:1497:73: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'uint8_t (*)[256]' {aka 'unsigned char (*)[256]'}
static int find_element(uint8_t * data, int len, uint16_t id, uint8_t * value,
~~~~~~~~~~^~~~~
make[4]: *** [Makefile:796: bts_nokia_site.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bsc_subscr_conn_fsm.c -o bsc_subscr_conn_fsm.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bts_trx.c -o bts_trx.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bts_sm.c -fPIC -DPIC -o .libs/bts_sm.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bts_init.c -o bts_init.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bts_siemens_bs11.c -fPIC -DPIC -o .libs/bts_siemens_bs11.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bts_sm.c -o bts_sm.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bts_siemens_bs11.c -o bts_siemens_bs11.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c abis_om2000.c -o abis_om2000.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bts_ipaccess_nanobts_omlattr.c -o bts_ipaccess_nanobts_omlattr.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bts_ipaccess_nanobts.c -o bts_ipaccess_nanobts.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c bsc_vty.c -o bsc_vty.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c abis_nm.c -o abis_nm.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c assignment_fsm.c -o assignment_fsm.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -pthread -I/usr/include/ -pthread -I/usr/include/ -I/usr/include/ -g -O2 -fdebug-prefix-map=/obs/_temp/binpkgs/osmo-bsc=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu11 -c abis_rsl.c -o abis_rsl.o >/dev/null 2>&1
make[4]: Leaving directory '/obs/_temp/binpkgs/osmo-bsc/src/osmo-bsc'
make[3]: Leaving directory '/obs/_temp/binpkgs/osmo-bsc/src'
make[3]: *** [Makefile:398: all-recursive] Error 1
make[2]: *** [Makefile:454: all-recursive] Error 1
make[2]: Leaving directory '/obs/_temp/binpkgs/osmo-bsc'
make[1]: *** [Makefile:386: all] Error 2
make[1]: Leaving directory '/obs/_temp/binpkgs/osmo-bsc'
dh_auto_build: make -j21 returned exit code 2
make: *** [debian/rules:3: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
ERROR: build failed!
docker: running: data/build.sh inside docker
---
NOTE: if the build failed because dependencies are outdated, see the status here:
https://obs.osmocom.org/project/show/osmocom:master
---
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 832693 killed;
[ssh-agent] Stopped.
Finished: FAILURE