See
<https://jenkins.osmocom.org/jenkins/job/master-osmo-bts/BTS_MODEL=oc2g,FIRMWARE_VERSION=origin%2Fnrw%2Foc2g,WITH_MANUALS=0,a4=default,label=osmocom-master/11000/display/redirect>
Changes:
------------------------------------------
[...truncated 155.65 KiB...]
836 | LOGP(DL1C, LOGL_ERROR,
| ^~~~
oml.c:837:68: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
837 | "Failed to find lchan for hLayer3=0x%x\n",
(uint32_t)ic->hLayer3);
| ^
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:114:83: note: in
definition of macro 'LOGPSRCC'
114 | logp2(ss, level, __FILE__, __LINE__, cont, fmt,
##args); \
|
^~~~
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:50:9: note: in
expansion of macro 'LOGPSRC'
50 | LOGPSRC(ss, level, NULL, 0, fmt, ## args)
| ^~~~~~~
oml.c:836:17: note: in expansion of macro 'LOGP'
836 | LOGP(DL1C, LOGL_ERROR,
| ^~~~
oml.c: In function 'mph_send_activate_req':
oml.c:1057:28: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
1057 | act_req->hLayer2 = (HANDLE *)l1if_lchan_to_hLayer(lchan);
| ^
oml.c:1106:19: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
1106 | (uint32_t)act_req->hLayer2,
get_value_string(oc2gbts_l1sapi_names, act_req->sapi));
| ^
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:105:82: note: in
definition of macro 'LOGPSRCC'
105 | logp_stub(caller_file, caller_line, cont, fmt,
##args); \
|
^~~~
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:50:9: note: in
expansion of macro 'LOGPSRC'
50 | LOGPSRC(ss, level, NULL, 0, fmt, ## args)
| ^~~~~~~
../../include/osmo-bts/lchan.h:24:49: note: in expansion of macro 'LOGP'
24 | #define LOGPLCHAN(lchan, ss, lvl, fmt, args...) LOGP(ss, lvl, "%s " fmt,
gsm_lchan_name(lchan), ## args)
| ^~~~
oml.c:1105:9: note: in expansion of macro 'LOGPLCHAN'
1105 | LOGPLCHAN(lchan, DL1C, LOGL_INFO, "MPH-ACTIVATE.req (hL2=0x%08x, %s
",
| ^~~~~~~~~
oml.c:1106:19: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
1106 | (uint32_t)act_req->hLayer2,
get_value_string(oc2gbts_l1sapi_names, act_req->sapi));
| ^
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:107:76: note: in
definition of macro 'LOGPSRCC'
107 | logp_stub(__FILE__, __LINE__, cont, fmt, ##args);
\
| ^~~~
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:50:9: note: in
expansion of macro 'LOGPSRC'
50 | LOGPSRC(ss, level, NULL, 0, fmt, ## args)
| ^~~~~~~
../../include/osmo-bts/lchan.h:24:49: note: in expansion of macro 'LOGP'
24 | #define LOGPLCHAN(lchan, ss, lvl, fmt, args...) LOGP(ss, lvl, "%s " fmt,
gsm_lchan_name(lchan), ## args)
| ^~~~
oml.c:1105:9: note: in expansion of macro 'LOGPLCHAN'
1105 | LOGPLCHAN(lchan, DL1C, LOGL_INFO, "MPH-ACTIVATE.req (hL2=0x%08x, %s
",
| ^~~~~~~~~
oml.c:1106:19: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
1106 | (uint32_t)act_req->hLayer2,
get_value_string(oc2gbts_l1sapi_names, act_req->sapi));
| ^
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:112:89: note: in
definition of macro 'LOGPSRCC'
112 | logp2(ss, level, caller_file, caller_line, cont,
fmt, ##args); \
|
^~~~
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:50:9: note: in
expansion of macro 'LOGPSRC'
50 | LOGPSRC(ss, level, NULL, 0, fmt, ## args)
| ^~~~~~~
../../include/osmo-bts/lchan.h:24:49: note: in expansion of macro 'LOGP'
24 | #define LOGPLCHAN(lchan, ss, lvl, fmt, args...) LOGP(ss, lvl, "%s " fmt,
gsm_lchan_name(lchan), ## args)
| ^~~~
oml.c:1105:9: note: in expansion of macro 'LOGPLCHAN'
1105 | LOGPLCHAN(lchan, DL1C, LOGL_INFO, "MPH-ACTIVATE.req (hL2=0x%08x, %s
",
| ^~~~~~~~~
oml.c:1106:19: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
1106 | (uint32_t)act_req->hLayer2,
get_value_string(oc2gbts_l1sapi_names, act_req->sapi));
| ^
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:114:83: note: in
definition of macro 'LOGPSRCC'
114 | logp2(ss, level, __FILE__, __LINE__, cont, fmt,
##args); \
|
^~~~
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:50:9: note: in
expansion of macro 'LOGPSRC'
50 | LOGPSRC(ss, level, NULL, 0, fmt, ## args)
| ^~~~~~~
../../include/osmo-bts/lchan.h:24:49: note: in expansion of macro 'LOGP'
24 | #define LOGPLCHAN(lchan, ss, lvl, fmt, args...) LOGP(ss, lvl, "%s " fmt,
gsm_lchan_name(lchan), ## args)
| ^~~~
oml.c:1105:9: note: in expansion of macro 'LOGPLCHAN'
1105 | LOGPLCHAN(lchan, DL1C, LOGL_INFO, "MPH-ACTIVATE.req (hL2=0x%08x, %s
",
| ^~~~~~~~~
oml.c: In function 'chmod_modif_compl_cb':
oml.c:1328:43: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
1328 | lchan = l1if_hLayer_to_lchan(trx, (uint32_t)cc->hLayer3);
| ^
oml.c:1331:68: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
1331 | "Failed to find lchan for hLayer3=0x%x\n",
(uint32_t)cc->hLayer3);
| ^
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:105:82: note: in
definition of macro 'LOGPSRCC'
105 | logp_stub(caller_file, caller_line, cont, fmt,
##args); \
|
^~~~
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:50:9: note: in
expansion of macro 'LOGPSRC'
50 | LOGPSRC(ss, level, NULL, 0, fmt, ## args)
| ^~~~~~~
oml.c:1330:17: note: in expansion of macro 'LOGP'
1330 | LOGP(DL1C, LOGL_ERROR,
| ^~~~
oml.c:1331:68: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
1331 | "Failed to find lchan for hLayer3=0x%x\n",
(uint32_t)cc->hLayer3);
| ^
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:107:76: note: in
definition of macro 'LOGPSRCC'
107 | logp_stub(__FILE__, __LINE__, cont, fmt, ##args);
\
| ^~~~
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:50:9: note: in
expansion of macro 'LOGPSRC'
50 | LOGPSRC(ss, level, NULL, 0, fmt, ## args)
| ^~~~~~~
oml.c:1330:17: note: in expansion of macro 'LOGP'
1330 | LOGP(DL1C, LOGL_ERROR,
| ^~~~
oml.c:1331:68: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
1331 | "Failed to find lchan for hLayer3=0x%x\n",
(uint32_t)cc->hLayer3);
| ^
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:112:89: note: in
definition of macro 'LOGPSRCC'
112 | logp2(ss, level, caller_file, caller_line, cont,
fmt, ##args); \
|
^~~~
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:50:9: note: in
expansion of macro 'LOGPSRC'
50 | LOGPSRC(ss, level, NULL, 0, fmt, ## args)
| ^~~~~~~
oml.c:1330:17: note: in expansion of macro 'LOGP'
1330 | LOGP(DL1C, LOGL_ERROR,
| ^~~~
oml.c:1331:68: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
1331 | "Failed to find lchan for hLayer3=0x%x\n",
(uint32_t)cc->hLayer3);
| ^
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:114:83: note: in
definition of macro 'LOGPSRCC'
114 | logp2(ss, level, __FILE__, __LINE__, cont, fmt,
##args); \
|
^~~~
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:50:9: note: in
expansion of macro 'LOGPSRC'
50 | LOGPSRC(ss, level, NULL, 0, fmt, ## args)
| ^~~~~~~
oml.c:1330:17: note: in expansion of macro 'LOGP'
1330 | LOGP(DL1C, LOGL_ERROR,
| ^~~~
oml.c: In function 'mph_send_config_logchpar':
oml.c:1405:29: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
1405 | conf_req->hLayer3 = (HANDLE)l1if_lchan_to_hLayer(lchan);
| ^
oml.c: In function 'mph_send_config_ciphering':
oml.c:1522:25: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
1522 | cfgr->hLayer3 = (HANDLE)l1if_lchan_to_hLayer(lchan);
| ^
oml.c: In function 'lchan_deact_compl_cb':
oml.c:1601:43: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
1601 | lchan = l1if_hLayer_to_lchan(trx, (uint32_t)ic->hLayer3);
| ^
oml.c:1604:68: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
1604 | "Failed to find lchan for hLayer3=0x%x\n",
(uint32_t)ic->hLayer3);
| ^
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:105:82: note: in
definition of macro 'LOGPSRCC'
105 | logp_stub(caller_file, caller_line, cont, fmt,
##args); \
|
^~~~
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:50:9: note: in
expansion of macro 'LOGPSRC'
50 | LOGPSRC(ss, level, NULL, 0, fmt, ## args)
| ^~~~~~~
oml.c:1603:17: note: in expansion of macro 'LOGP'
1603 | LOGP(DL1C, LOGL_ERROR,
| ^~~~
oml.c:1604:68: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
1604 | "Failed to find lchan for hLayer3=0x%x\n",
(uint32_t)ic->hLayer3);
| ^
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:107:76: note: in
definition of macro 'LOGPSRCC'
107 | logp_stub(__FILE__, __LINE__, cont, fmt, ##args);
\
| ^~~~
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:50:9: note: in
expansion of macro 'LOGPSRC'
50 | LOGPSRC(ss, level, NULL, 0, fmt, ## args)
| ^~~~~~~
oml.c:1603:17: note: in expansion of macro 'LOGP'
1603 | LOGP(DL1C, LOGL_ERROR,
| ^~~~
oml.c:1604:68: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
1604 | "Failed to find lchan for hLayer3=0x%x\n",
(uint32_t)ic->hLayer3);
| ^
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:112:89: note: in
definition of macro 'LOGPSRCC'
112 | logp2(ss, level, caller_file, caller_line, cont,
fmt, ##args); \
|
^~~~
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:50:9: note: in
expansion of macro 'LOGPSRC'
50 | LOGPSRC(ss, level, NULL, 0, fmt, ## args)
| ^~~~~~~
oml.c:1603:17: note: in expansion of macro 'LOGP'
1603 | LOGP(DL1C, LOGL_ERROR,
| ^~~~
oml.c:1604:68: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
1604 | "Failed to find lchan for hLayer3=0x%x\n",
(uint32_t)ic->hLayer3);
| ^
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:114:83: note: in
definition of macro 'LOGPSRCC'
114 | logp2(ss, level, __FILE__, __LINE__, cont, fmt,
##args); \
|
^~~~
/build/deps/install/stow/libosmocore/include/osmocom/core/logging.h:50:9: note: in
expansion of macro 'LOGPSRC'
50 | LOGPSRC(ss, level, NULL, 0, fmt, ## args)
| ^~~~~~~
oml.c:1603:17: note: in expansion of macro 'LOGP'
1603 | LOGP(DL1C, LOGL_ERROR,
| ^~~~
oml.c: In function 'mph_send_deactivate_req':
oml.c:1662:30: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
1662 | deact_req->hLayer3 = (HANDLE)l1if_lchan_to_hLayer(lchan);
| ^
oml.c: In function 'bts_model_opstart':
oml.c:1865:32: warning: unused variable 'bb_transc' [-Wunused-variable]
1865 | struct gsm_bts_bb_trx *bb_transc;
| ^~~~~~~~~
make[3]: *** [Makefile:635: oml.o] Error 1
make[3]: *** Waiting for unfinished jobs....
misc/oc2gbts_mgr_nl.c: In function 'respond_to':
misc/oc2gbts_mgr_nl.c:126:61: warning: ' Rev ' directive output may be truncated
writing 5 bytes into a region of size between 1 and 64 [-Wformat-truncation=]
126 | snprintf(model_name, sizeof(model_name), "%s Rev
%c.%c",
| ^~~~~
misc/oc2gbts_mgr_nl.c:126:17: note: 'snprintf' output between 9 and 72 bytes into
a destination of size 64
126 | snprintf(model_name, sizeof(model_name), "%s Rev
%c.%c",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
127 | model_name, rev_maj, rev_min);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
misc/oc2gbts_mgr_nl.c:126:17: warning: 'snprintf' argument 4 overlaps destination
object 'model_name' [-Wrestrict]
misc/oc2gbts_mgr_nl.c:92:21: note: destination object referenced by
'restrict'-qualified argument 1 was declared here
92 | static char model_name[64] = {0, };
| ^~~~~~~~~~
misc/oc2gbts_mgr_nl.c:131:69: warning: ' (' directive output may be truncated
writing 2 bytes into a region of size between 1 and 64 [-Wformat-truncation=]
131 | snprintf(model_name, sizeof(model_name), "%s
(%05X)",
| ^~
misc/oc2gbts_mgr_nl.c:131:66: note: directive argument in the range [0, 2147483647]
131 | snprintf(model_name, sizeof(model_name), "%s
(%05X)",
| ^~~~~~~~~~~
misc/oc2gbts_mgr_nl.c:131:25: note: 'snprintf' output between 9 and 75 bytes into
a destination of size 64
131 | snprintf(model_name, sizeof(model_name), "%s
(%05X)",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132 | model_name, model);
| ~~~~~~~~~~~~~~~~~~
misc/oc2gbts_mgr_nl.c:131:25: warning: 'snprintf' argument 4 overlaps destination
object 'model_name' [-Wrestrict]
misc/oc2gbts_mgr_nl.c:92:21: note: destination object referenced by
'restrict'-qualified argument 1 was declared here
92 | static char model_name[64] = {0, };
| ^~~~~~~~~~
misc/oc2gbts_mgr_calib.c: In function 'oc2gbts_mgr_control_init':
misc/oc2gbts_mgr_calib.c:721:9: warning: 'ipa_client_conn_create' is deprecated:
Use ipa_client_conn_create2() instead [-Wdeprecated-declarations]
721 | mgr->oc2gbts_ctrl.bts_conn = ipa_client_conn_create(tall_mgr_ctx, NULL,
0,
| ^~~
In file included from misc/oc2gbts_mgr_calib.c:46:
/build/deps/install/stow/libosmo-abis/include/osmocom/abis/ipa.h:91:1: note: declared
here
91 | ipa_client_conn_create(void *ctx, struct e1inp_ts *ts, int priv_nr,
| ^~~~~~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/build/src/osmo-bts-oc2g'
make[2]: *** [Makefile:396: all-recursive] Error 1
make[2]: Leaving directory '/build/src'
make[1]: *** [Makefile:451: all-recursive] Error 1
make[1]: Leaving directory '/build'
make: *** [Makefile:383: all] Error 2
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 4103862 killed;
[ssh-agent] Stopped.
Archiving artifacts