See
<https://jenkins.osmocom.org/jenkins/job/master-libosmo-sccp/a1=default,a2=default,a3=default,a4=default,label=osmocom-master/11605/display/redirect>
Changes:
------------------------------------------
[...truncated 173.09 KB...]
checking for fgrep... /usr/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 file... file
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... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.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 >= 1.9.0... yes
checking for libosmovty >= 1.9.0... yes
checking for libosmogsm >= 1.9.0... yes
checking for libosmo-netif >= 1.4.0... yes
checking for library containing sctp_recvmsg... -lsctp
checking if gcc supports -fvisibility=hidden... yes
checking for doxygen... /usr/bin/doxygen
checking for OSMO_GSM_MANUALS_DIR... /opt/osmo-gsm-manuals (from env)
All dependencies installed!
checking for python... no
checking for python2... no
checking for python3... /usr/bin/python3
checking for python version... 3.11
checking for python platform... linux
checking for GNU default python prefix... ${prefix}
checking for GNU default python exec_prefix... ${exec_prefix}
checking for python script directory (pythondir)...
${PYTHON_PREFIX}/lib/python3.11/site-packages
checking for python extension module directory (pyexecdir)...
${PYTHON_EXEC_PREFIX}/lib/python3.11/site-packages
checking for osmo_verify_transcript_vty.py... yes
checking whether to enable VTY/CTRL tests... yes
CFLAGS=" -std=gnu11 -fsanitize=address -fsanitize=undefined -Werror
-Wno-error=deprecated -Wno-error=deprecated-declarations -Werror=implicit-int
-Werror=int-conversion -Werror=old-style-definition -Wno-error=cpp -Wall"
CPPFLAGS=" -fsanitize=address -fsanitize=undefined -Werror -Wno-error=deprecated
-Wno-error=deprecated-declarations -Werror=implicit-int -Werror=int-conversion
-Werror=old-style-definition -Wno-error=cpp -Wall"
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libosmo-sigtran.pc
config.status: creating libosmo-sccp.pc
config.status: creating libosmo-mtp.pc
config.status: creating libosmo-xua.pc
config.status: creating include/osmocom/Makefile
config.status: creating include/osmocom/sccp/Makefile
config.status: creating include/osmocom/mtp/Makefile
config.status: creating include/osmocom/sigtran/Makefile
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating tests/sccp/Makefile
config.status: creating tests/mtp/Makefile
config.status: creating tests/m2ua/Makefile
config.status: creating tests/xua/Makefile
config.status: creating tests/ss7/Makefile
config.status: creating tests/vty/Makefile
config.status: creating examples/Makefile
config.status: creating stp/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 contrib/libosmo-sccp.spec
config.status: creating Doxyfile
config.status: creating Makefile
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
+ make -j 8
echo 1.8.0.61-ef237 > .version-t && mv .version-t .version
make all-recursive
make[1]: Entering directory '/build'
Making all in include
make[2]: Entering directory '/build/include'
Making all in osmocom
make[3]: Entering directory '/build/include/osmocom'
Making all in mtp
make[4]: Entering directory '/build/include/osmocom/mtp'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/build/include/osmocom/mtp'
Making all in sccp
make[4]: Entering directory '/build/include/osmocom/sccp'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/build/include/osmocom/sccp'
Making all in sigtran
make[4]: Entering directory '/build/include/osmocom/sigtran'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/build/include/osmocom/sigtran'
make[4]: Entering directory '/build/include/osmocom'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/build/include/osmocom'
make[3]: Leaving directory '/build/include/osmocom'
make[3]: Entering directory '/build/include'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build/include'
make[2]: Leaving directory '/build/include'
Making all in src
make[2]: Entering directory '/build/src'
CC sccp.o
CC ipa.lo
CC mtp_pcap.o
CC m3ua.lo
CC libxua_a-xua_msg.o
CC osmo_ss7.lo
CC osmo_ss7_as.lo
CC osmo_ss7_asp.lo
CC osmo_ss7_asp_peer.lo
CC osmo_ss7_hmrt.lo
CC osmo_ss7_vty.lo
CC osmo_ss7_xua_srv.lo
CC sccp2sua.lo
CC sccp_helpers.lo
CC sccp_lbcs.lo
CC sccp_sap.lo
CC sccp_sclc.lo
CC sccp_scmg.lo
CC sccp_scrc.lo
CC sccp_scoc.lo
CC sccp_types.lo
sccp_scoc.c: In function 'scoc_fsm_active':
sccp_scoc.c:1200:9: note: '#pragma message: TODO: internal disco: send
N-DISCONNECT.ind to user'
1200 | #pragma message ("TODO: internal disco: send N-DISCONNECT.ind to user")
| ^~~~~~~
CC sccp_user.lo
CC sccp_vty.lo
CC sua.lo
osmo_ss7_xua_srv.c: In function 'xua_accept_cb':
osmo_ss7_xua_srv.c:88:50: error: passing argument 2 of
'osmo_stream_srv_set_read_cb' from incompatible pointer type
[-Werror=incompatible-pointer-types]
88 | osmo_stream_srv_set_read_cb(srv, ss7_asp_ipa_srv_conn_rx_cb);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int (*)(struct osmo_stream_srv *,
struct msgb *)
In file included from osmo_ss7_xua_srv.c:48:
/build/deps/install/stow/libosmo-netif/include/osmocom/netif/stream.h:122:91: note:
expected 'osmo_stream_srv_read_cb2_t' {aka 'int (*)(struct osmo_stream_srv *,
int, struct msgb *)'} but argument is of type 'int (*)(struct osmo_stream_srv *,
struct msgb *)'
122 | void osmo_stream_srv_set_read_cb(struct osmo_stream_srv *conn,
osmo_stream_srv_read_cb2_t read_cb);
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
osmo_ss7_xua_srv.c:93:58: error: passing argument 2 of
'osmo_stream_srv_set_read_cb' from incompatible pointer type
[-Werror=incompatible-pointer-types]
93 | osmo_stream_srv_set_read_cb(srv,
&ss7_asp_xua_srv_conn_rx_cb);
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int (*)(struct
osmo_stream_srv *, struct msgb *)
/build/deps/install/stow/libosmo-netif/include/osmocom/netif/stream.h:122:91: note:
expected 'osmo_stream_srv_read_cb2_t' {aka 'int (*)(struct osmo_stream_srv *,
int, struct msgb *)'} but argument is of type 'int (*)(struct osmo_stream_srv *,
struct msgb *)'
122 | void osmo_stream_srv_set_read_cb(struct osmo_stream_srv *conn,
osmo_stream_srv_read_cb2_t read_cb);
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
osmo_ss7_xua_srv.c:95:58: error: passing argument 2 of
'osmo_stream_srv_set_read_cb' from incompatible pointer type
[-Werror=incompatible-pointer-types]
95 | osmo_stream_srv_set_read_cb(srv,
&ss7_asp_m3ua_tcp_srv_conn_rx_cb);
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int (*)(struct
osmo_stream_srv *, struct msgb *)
/build/deps/install/stow/libosmo-netif/include/osmocom/netif/stream.h:122:91: note:
expected 'osmo_stream_srv_read_cb2_t' {aka 'int (*)(struct osmo_stream_srv *,
int, struct msgb *)'} but argument is of type 'int (*)(struct osmo_stream_srv *,
struct msgb *)'
122 | void osmo_stream_srv_set_read_cb(struct osmo_stream_srv *conn,
osmo_stream_srv_read_cb2_t read_cb);
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
osmo_ss7_xua_srv.c:102:50: error: passing argument 2 of
'osmo_stream_srv_set_read_cb' from incompatible pointer type
[-Werror=incompatible-pointer-types]
102 | osmo_stream_srv_set_read_cb(srv,
&ss7_asp_xua_srv_conn_rx_cb);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int (*)(struct osmo_stream_srv *,
struct msgb *)
/build/deps/install/stow/libosmo-netif/include/osmocom/netif/stream.h:122:91: note:
expected 'osmo_stream_srv_read_cb2_t' {aka 'int (*)(struct osmo_stream_srv *,
int, struct msgb *)'} but argument is of type 'int (*)(struct osmo_stream_srv *,
struct msgb *)'
122 | void osmo_stream_srv_set_read_cb(struct osmo_stream_srv *conn,
osmo_stream_srv_read_cb2_t read_cb);
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:647: osmo_ss7_xua_srv.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
osmo_ss7_asp.c: In function 'osmo_ss7_asp_restart':
osmo_ss7_asp.c:651:67: error: passing argument 2 of 'osmo_stream_cli_set_read_cb2'
from incompatible pointer type [-Werror=incompatible-pointer-types]
651 | osmo_stream_cli_set_read_cb2(asp->client,
ipa_cli_read_cb);
| ^~~~~~~~~~~~~~~
| |
| int (*)(struct
osmo_stream_cli *, struct msgb *)
In file included from osmo_ss7_asp.c:48:
/build/deps/install/stow/libosmo-netif/include/osmocom/netif/stream.h:214:91: note:
expected 'osmo_stream_cli_read_cb2_t' {aka 'int (*)(struct osmo_stream_cli *,
int, struct msgb *)'} but argument is of type 'int (*)(struct osmo_stream_cli *,
struct msgb *)'
214 | void osmo_stream_cli_set_read_cb2(struct osmo_stream_cli *cli,
osmo_stream_cli_read_cb2_t read_cb);
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
osmo_ss7_asp.c:656:75: error: passing argument 2 of 'osmo_stream_cli_set_read_cb2'
from incompatible pointer type [-Werror=incompatible-pointer-types]
656 | osmo_stream_cli_set_read_cb2(asp->client,
xua_cli_read_cb);
|
^~~~~~~~~~~~~~~
| |
| int
(*)(struct osmo_stream_cli *, struct msgb *)
/build/deps/install/stow/libosmo-netif/include/osmocom/netif/stream.h:214:91: note:
expected 'osmo_stream_cli_read_cb2_t' {aka 'int (*)(struct osmo_stream_cli *,
int, struct msgb *)'} but argument is of type 'int (*)(struct osmo_stream_cli *,
struct msgb *)'
214 | void osmo_stream_cli_set_read_cb2(struct osmo_stream_cli *cli,
osmo_stream_cli_read_cb2_t read_cb);
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
osmo_ss7_asp.c:659:75: error: passing argument 2 of 'osmo_stream_cli_set_read_cb2'
from incompatible pointer type [-Werror=incompatible-pointer-types]
659 | osmo_stream_cli_set_read_cb2(asp->client,
m3ua_tcp_cli_read_cb);
|
^~~~~~~~~~~~~~~~~~~~
| |
| int
(*)(struct osmo_stream_cli *, struct msgb *)
/build/deps/install/stow/libosmo-netif/include/osmocom/netif/stream.h:214:91: note:
expected 'osmo_stream_cli_read_cb2_t' {aka 'int (*)(struct osmo_stream_cli *,
int, struct msgb *)'} but argument is of type 'int (*)(struct osmo_stream_cli *,
struct msgb *)'
214 | void osmo_stream_cli_set_read_cb2(struct osmo_stream_cli *cli,
osmo_stream_cli_read_cb2_t read_cb);
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
osmo_ss7_asp.c:666:67: error: passing argument 2 of 'osmo_stream_cli_set_read_cb2'
from incompatible pointer type [-Werror=incompatible-pointer-types]
666 | osmo_stream_cli_set_read_cb2(asp->client,
xua_cli_read_cb);
| ^~~~~~~~~~~~~~~
| |
| int (*)(struct
osmo_stream_cli *, struct msgb *)
/build/deps/install/stow/libosmo-netif/include/osmocom/netif/stream.h:214:91: note:
expected 'osmo_stream_cli_read_cb2_t' {aka 'int (*)(struct osmo_stream_cli *,
int, struct msgb *)'} but argument is of type 'int (*)(struct osmo_stream_cli *,
struct msgb *)'
214 | void osmo_stream_cli_set_read_cb2(struct osmo_stream_cli *cli,
osmo_stream_cli_read_cb2_t read_cb);
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:647: osmo_ss7_asp.lo] Error 1
make[2]: Leaving directory '/build/src'
make[1]: Leaving directory '/build'
make[1]: *** [Makefile:510: all-recursive] Error 1
make: *** [Makefile:405: 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 3970788 killed;
[ssh-agent] Stopped.
Archiving artifacts