Changes:
[Oliver Smith] contrib/jenkins: fix a typo
[Oliver Smith] ccid_gen_notify_slot_status: add msgb_put cast
[Oliver Smith] ccid_host: fix read_timeout defined but not used
------------------------------------------ [...truncated 66.10 KiB...] make[3]: Leaving directory '/build/deps/libosmocore/src/sim' Making install in usb make[3]: Entering directory '/build/deps/libosmocore/src/usb' CC osmo_libusb.lo CCLD libosmousb.la make[4]: Entering directory '/build/deps/libosmocore/src/usb' make[4]: Nothing to be done for 'install-data-am'. /usr/bin/mkdir -p '/build/install/stow/libosmocore/lib' /bin/bash ../../libtool --mode=install /usr/bin/install -c libosmousb.la '/build/install/stow/libosmocore/lib' libtool: warning: relinking 'libosmousb.la' libtool: install: (cd /build/deps/libosmocore/src/usb; /bin/bash "/build/deps/libosmocore/libtool" --silent --tag CC --mode=relink gcc -fPIC -Wall -I/usr/include/libusb-1.0 -g -std=gnu11 -DBUILDING_LIBOSMOCORE -Wall -version-info 0:1:0 -no-undefined -o libosmousb.la -rpath /build/install/stow/libosmocore/lib osmo_libusb.lo ../../src/core/libosmocore.la -ltalloc -lusb-1.0 ) libtool: install: /usr/bin/install -c .libs/libosmousb.so.0.0.1T /build/install/stow/libosmocore/lib/libosmousb.so.0.0.1 libtool: install: (cd /build/install/stow/libosmocore/lib && { ln -s -f libosmousb.so.0.0.1 libosmousb.so.0 || { rm -f libosmousb.so.0 && ln -s libosmousb.so.0.0.1 libosmousb.so.0; }; }) libtool: install: (cd /build/install/stow/libosmocore/lib && { ln -s -f libosmousb.so.0.0.1 libosmousb.so || { rm -f libosmousb.so && ln -s libosmousb.so.0.0.1 libosmousb.so; }; }) libtool: install: /usr/bin/install -c .libs/libosmousb.lai /build/install/stow/libosmocore/lib/libosmousb.la libtool: finish: PATH="/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /build/install/stow/libosmocore/lib ---------------------------------------------------------------------- Libraries have been installed in: /build/install/stow/libosmocore/lib
If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[4]: Leaving directory '/build/deps/libosmocore/src/usb' make[3]: Leaving directory '/build/deps/libosmocore/src/usb' make[3]: Entering directory '/build/deps/libosmocore/src' make[4]: Entering directory '/build/deps/libosmocore/src' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/build/deps/libosmocore/src' make[3]: Leaving directory '/build/deps/libosmocore/src' make[2]: Leaving directory '/build/deps/libosmocore/src' Making install in utils make[2]: Entering directory '/build/deps/libosmocore/utils' make[3]: Entering directory '/build/deps/libosmocore/utils' CC osmo-arfcn.o CC osmo-auc-gen.o CC osmo-config-merge.o CC osmo-aka-verify.o CC gsmtap-logsend.o CC osmo_sim_test-osmo-sim-test.o CC osmo-ns-dummy.o CC osmo-ns-dummy-vty.o CCLD osmo-sim-test CCLD osmo-gsmtap-logsend CCLD osmo-auc-gen CCLD osmo-ns-dummy CCLD osmo-aka-verify CCLD osmo-arfcn CCLD osmo-config-merge make[4]: Entering directory '/build/deps/libosmocore/utils' make[4]: Nothing to be done for 'install-data-am'. /usr/bin/mkdir -p '/build/install/stow/libosmocore/bin' /bin/bash ../libtool --mode=install /usr/bin/install -c osmo-arfcn osmo-auc-gen osmo-config-merge osmo-aka-verify osmo-gsmtap-logsend '/build/install/stow/libosmocore/bin' libtool: install: /usr/bin/install -c .libs/osmo-arfcn /build/install/stow/libosmocore/bin/osmo-arfcn libtool: install: /usr/bin/install -c .libs/osmo-auc-gen /build/install/stow/libosmocore/bin/osmo-auc-gen libtool: install: /usr/bin/install -c .libs/osmo-config-merge /build/install/stow/libosmocore/bin/osmo-config-merge libtool: install: /usr/bin/install -c .libs/osmo-aka-verify /build/install/stow/libosmocore/bin/osmo-aka-verify libtool: install: /usr/bin/install -c .libs/osmo-gsmtap-logsend /build/install/stow/libosmocore/bin/osmo-gsmtap-logsend make[4]: Leaving directory '/build/deps/libosmocore/utils' make[3]: Leaving directory '/build/deps/libosmocore/utils' make[2]: Leaving directory '/build/deps/libosmocore/utils' Making install in tapset make[2]: Entering directory '/build/deps/libosmocore/tapset' make[3]: Entering directory '/build/deps/libosmocore/tapset' make[3]: Nothing to be done for 'install-exec-am'. make install-data-hook make[4]: Entering directory '/build/deps/libosmocore/tapset' make[4]: Nothing to be done for 'install-data-hook'. make[4]: Leaving directory '/build/deps/libosmocore/tapset' make[3]: Leaving directory '/build/deps/libosmocore/tapset' make[2]: Leaving directory '/build/deps/libosmocore/tapset' Making install in tests make[2]: Entering directory '/build/deps/libosmocore/tests' GEN conv/gsm0503_test_vectors.c Generating test vectors... Generate 'xcch' test vector Generate 'tch_f24' test vector Generate 'tch_h24' test vector Generate 'tch_f48' test vector Generate 'tch_f96' test vector Generate 'tch_f144' test vector Generate 'rach' test vector Generate 'rach_ext' test vector Generate 'sch' test vector Generate 'cs2' test vector Generate 'cs3' test vector Generate 'cs2_np' test vector Generate 'cs3_np' test vector Generate 'tch_afs_12_2' test vector Generate 'tch_afs_10_2' test vector Generate 'tch_afs_7_95' test vector Generate 'tch_afs_7_4' test vector Generate 'tch_afs_6_7' test vector Generate 'tch_afs_5_9' test vector Generate 'tch_afs_5_15' test vector Generate 'tch_afs_4_75' test vector Generate 'tch_fr' test vector Generate 'tch_hr' test vector Generate 'tch_ahs_7_95' test vector Generate 'tch_ahs_7_4' test vector Generate 'tch_ahs_6_7' test vector Generate 'tch_ahs_5_9' test vector Generate 'tch_ahs_5_15' test vector Generate 'tch_ahs_4_75' test vector Generate 'tch_axs_sid_update' test vector Generate 'mcs1_dl_hdr' test vector Generate 'mcs1_ul_hdr' test vector Generate 'mcs1' test vector Generate 'mcs2' test vector Generate 'mcs3' test vector Generate 'mcs4' test vector Generate 'mcs5_dl_hdr' test vector Generate 'mcs5_ul_hdr' test vector Generate 'mcs5' test vector Generate 'mcs6' test vector Generate 'mcs7_dl_hdr' test vector Generate 'mcs7_ul_hdr' test vector Generate 'mcs7' test vector Generate 'mcs8' test vector Generate 'mcs9' test vector Generation complete. make install-recursive make[3]: Entering directory '/build/deps/libosmocore/tests' Making install in . make[4]: Entering directory '/build/deps/libosmocore/tests' make[5]: Entering directory '/build/deps/libosmocore/tests' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/build/deps/libosmocore/tests' make[4]: Leaving directory '/build/deps/libosmocore/tests' Making install in osmo-config-merge make[4]: Entering directory '/build/deps/libosmocore/tests/osmo-config-merge' make[5]: Entering directory '/build/deps/libosmocore/tests/osmo-config-merge' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/build/deps/libosmocore/tests/osmo-config-merge' make[4]: Leaving directory '/build/deps/libosmocore/tests/osmo-config-merge' make[3]: Leaving directory '/build/deps/libosmocore/tests' make[2]: Leaving directory '/build/deps/libosmocore/tests' make[2]: Entering directory '/build/deps/libosmocore' make[3]: Entering directory '/build/deps/libosmocore' /usr/bin/mkdir -p '/build/install/stow/libosmocore/bin' /usr/bin/mkdir -p '/build/install/stow/libosmocore/share/aclocal' /usr/bin/mkdir -p '/build/install/stow/libosmocore/lib/pkgconfig' /usr/bin/mkdir -p '/build/install/stow/libosmocore/include' /usr/bin/install -c -m 644 m4/osmo_ac_code_coverage.m4 m4/osmo_ax_code_coverage.m4 '/build/install/stow/libosmocore/share/aclocal' /usr/bin/install -c -m 644 libosmocore.pc libosmocodec.pc libosmovty.pc libosmogsm.pc libosmogb.pc libosmoctrl.pc libosmocoding.pc libosmosim.pc libosmousb.pc libosmoisdn.pc '/build/install/stow/libosmocore/lib/pkgconfig' /usr/bin/install -c -m 644 osmo-release.mk '/build/install/stow/libosmocore/include' /usr/bin/install -c osmo-release.sh '/build/install/stow/libosmocore/bin' make install-data-hook make[4]: Entering directory '/build/deps/libosmocore' make[4]: Nothing to be done for 'install-data-hook'. make[4]: Leaving directory '/build/deps/libosmocore' make[3]: Leaving directory '/build/deps/libosmocore' make[2]: Leaving directory '/build/deps/libosmocore' make[1]: Leaving directory '/build/deps/libosmocore' + STOW_DIR=/build/install/stow stow --restow libosmocore + export PKG_CONFIG_PATH=/build/install/lib/pkgconfig: + PKG_CONFIG_PATH=/build/install/lib/pkgconfig: + export LD_LIBRARY_PATH=/build/install/lib + LD_LIBRARY_PATH=/build/install/lib + export PATH=/build/install/bin:/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + PATH=/build/install/bin:/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + echo + echo '=============== CCID usb_gadget build ===========' + cd /build/ccid_host + make clean
=============== CCID usb_gadget build =========== rm -f ccid_functionfs hub_functionfs cuart_test cuart_fsm_test *.o ++ find . -name '*.[hc]' + verify_value_string_arrays_are_terminated.py ./hub_main_functionfs.c ./cuart_driver_tty.c ./ccid_main_functionfs.c ./logging.c ./ccid_slot_sim.h ./logging.h ./utils_ringbuffer.c ./ccid_slot_sim.c ./cuart_test.c ./utils_ringbuffer.h ./cuart_fsm_test.c /usr/local/bin/verify_value_string_arrays_are_terminated.py:22: SyntaxWarning: invalid escape sequence '\s' terminator_re = re.compile('{\s*}|{\s*0\s*}|{\s*' + members + '(0|NULL)\s*,' /usr/local/bin/verify_value_string_arrays_are_terminated.py:22: SyntaxWarning: invalid escape sequence '\s' terminator_re = re.compile('{\s*}|{\s*0\s*}|{\s*' + members + '(0|NULL)\s*,' /usr/local/bin/verify_value_string_arrays_are_terminated.py:23: SyntaxWarning: invalid escape sequence '\s' '\s*' + members + '(0|NULL)\s*}') /usr/local/bin/verify_value_string_arrays_are_terminated.py:23: SyntaxWarning: invalid escape sequence '\s' '\s*' + members + '(0|NULL)\s*}') + make -j 12 cc -Wall -g -I/build/install/stow/libosmocore/include/ -pthread -I../ccid_common -I. -o ccid_main_functionfs.o -c ccid_main_functionfs.c cc -Wall -g -I/build/install/stow/libosmocore/include/ -pthread -I../ccid_common -I. -o cuart_driver_tty.o -c cuart_driver_tty.c cc -Wall -g -I/build/install/stow/libosmocore/include/ -pthread -I../ccid_common -I. -o utils_ringbuffer.o -c utils_ringbuffer.c cc -Wall -g -I/build/install/stow/libosmocore/include/ -pthread -I../ccid_common -I. -o logging.o -c logging.c cc -Wall -g -I/build/install/stow/libosmocore/include/ -pthread -I../ccid_common -I. -o hub_main_functionfs.o -c hub_main_functionfs.c cc -Wall -g -I/build/install/stow/libosmocore/include/ -pthread -I../ccid_common -I. -o cuart_test.o -c cuart_test.c cc -Wall -g -I/build/install/stow/libosmocore/include/ -pthread -I../ccid_common -I. -o cuart_fsm_test.o -c cuart_fsm_test.c cuart_driver_tty.c:62:13: warning: '_set_dtr' defined but not used [-Wunused-function] 62 | static void _set_dtr(int fd, bool dtr) | ^~~~~~~~ cuart_test.c: In function 'handle_event': cuart_test.c:35:9: warning: enumeration value 'CUART_E_RX_COMPLETE' not handled in switch [-Wswitch] 35 | switch (evt) { | ^~~~~~ cuart_test.c:35:9: warning: enumeration value 'CUART_E_RX_TIMEOUT' not handled in switch [-Wswitch] cuart_test.c:35:9: warning: enumeration value 'CUART_E_TX_COMPLETE' not handled in switch [-Wswitch] cuart_test.c:35:9: warning: enumeration value 'CUART_E_HW_ERROR' not handled in switch [-Wswitch] ccid_main_functionfs.c: In function 'signal_handler': ccid_main_functionfs.c:534:17: error: implicit declaration of function 'talloc_report_full' [-Wimplicit-function-declaration] 534 | talloc_report_full(g_tall_ctx, stderr); | ^~~~~~~~~~~~~~~~~~ hub_main_functionfs.c: In function 'hub_handle_ctrl': hub_main_functionfs.c:231:13: warning: unused variable 'rc' [-Wunused-variable] 231 | int rc; | ^~ hub_main_functionfs.c: In function 'ep_0_cb': hub_main_functionfs.c:342:30: warning: unused variable 'uh' [-Wunused-variable] 342 | struct ufunc_handle *uh = (struct ufunc_handle *) ofd->data; | ^~ hub_main_functionfs.c: In function 'evfd_cb': hub_main_functionfs.c:392:22: warning: unused variable 'msg' [-Wunused-variable] 392 | struct msgb *msg; | ^~~ hub_main_functionfs.c: In function 'signal_handler': hub_main_functionfs.c:492:17: error: implicit declaration of function 'talloc_report_full' [-Wimplicit-function-declaration] 492 | talloc_report_full(g_tall_ctx, stderr); | ^~~~~~~~~~~~~~~~~~ cuart_fsm_test.c: In function 'signal_handler': cuart_fsm_test.c:66:17: error: implicit declaration of function 'talloc_report_full' [-Wimplicit-function-declaration] 66 | talloc_report_full(g_tall_ctx, stderr); | ^~~~~~~~~~~~~~~~~~ cuart_fsm_test.c: In function 'main': cuart_fsm_test.c:74:17: warning: unused variable 'atr' [-Wunused-variable] 74 | uint8_t atr[64]; | ^~~ make: *** [Makefile:37: hub_main_functionfs.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [Makefile:37: cuart_fsm_test.o] Error 1 make: *** [Makefile:37: ccid_main_functionfs.o] Error 1 Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 1650198 killed; [ssh-agent] Stopped. Archiving artifacts