[sr-dev] Build failed in Jenkins: kamailiodev-nightly-binaries » i386,trusty,slave #1076

jenkins at sipwise.com jenkins at sipwise.com
Tue Apr 10 05:10:34 CEST 2018


See <https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=i386,distribution=trusty,label=slave/1076/display/redirect>

------------------------------------------
[...truncated 294.06 KB...]
make[2]: Leaving directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty/src'
make[1]: Leaving directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty'
/usr/bin/make every-module group_include="kperl"
make[1]: Entering directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty/src'
CC (gcc) [M app_perl.so]		app_perl_mod.o
CC (gcc) [M app_perl.so]		perlfunc.o
xsubpp -typemap `perl -MConfig -e 'print $Config{installprivlib}'`/ExtUtils/typemap -typemap typemap kamailioxs.xs > kamailioxs.c
CC (gcc) [M app_perl.so]		kamailioxs.o
LD (gcc) [M app_perl.so]		app_perl.so
CC (gcc) [M db_perlvdb.so]		db_perlvdb.o
CC (gcc) [M db_perlvdb.so]		perlvdb_conv.o
CC (gcc) [M db_perlvdb.so]		perlvdb_oohelpers.o
CC (gcc) [M db_perlvdb.so]		perlvdbfunc.o
make[4]: `libsrdb1.so.1.0' is up to date.
LD (gcc) [M db_perlvdb.so]		db_perlvdb.so
make[2]: Leaving directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty/src'
make[1]: Leaving directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty'
/usr/bin/make every-module group_include="kutils"
make[1]: Entering directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty/src'
CC (gcc) [M utils.so]		conf.o
CC (gcc) [M utils.so]		pidf.o
CC (gcc) [M utils.so]		utils.o
CC (gcc) [M utils.so]		xcap_auth.o
make[4]: `libsrdb1.so.1.0' is up to date.
LD (gcc) [M utils.so]		utils.so
CC (gcc) [M http_client.so]		curl_api.o
CC (gcc) [M http_client.so]		curlcon.o
CC (gcc) [M http_client.so]		curlrpc.o
CC (gcc) [M http_client.so]		functions.o
CC (gcc) [M http_client.so]		http_client.o
LD (gcc) [M http_client.so]		http_client.so
make[2]: Leaving directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty/src'
make[1]: Leaving directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty'
/usr/bin/make every-module group_include="klua"
make[1]: Entering directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty/src'
CC (gcc) [M app_lua.so]		app_lua_api.o
CC (gcc) [M app_lua.so]		app_lua_exp.o
CC (gcc) [M app_lua.so]		app_lua_kemi_export.o
CC (gcc) [M app_lua.so]		app_lua_mod.o
CC (gcc) [M app_lua.so]		app_lua_sr.o
LD (gcc) [M app_lua.so]		app_lua.so
make[2]: Leaving directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty/src'
make[1]: Leaving directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty'
/usr/bin/make every-module group_include="kmemcached"
make[1]: Entering directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty/src'
CC (gcc) [M memcached.so]		mcd_var.o
CC (gcc) [M memcached.so]		memcached.o
LD (gcc) [M memcached.so]		memcached.so
make[2]: Leaving directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty/src'
make[1]: Leaving directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty'
/usr/bin/make every-module group_include="ksnmpstats"
make[1]: Entering directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty/src'
CC (gcc) [M snmpstats.so]		alarm_checks.o
CC (gcc) [M snmpstats.so]		hashTable.o
CC (gcc) [M snmpstats.so]		interprocess_buffer.o
CC (gcc) [M snmpstats.so]		kamailioNet.o
CC (gcc) [M snmpstats.so]		kamailioNetConfig.o
CC (gcc) [M snmpstats.so]		kamailioServer.o
CC (gcc) [M snmpstats.so]		snmpMIBNotifications.o
CC (gcc) [M snmpstats.so]		snmpObjects.o
CC (gcc) [M snmpstats.so]		snmpSIPCommonObjects.o
CC (gcc) [M snmpstats.so]		snmpSIPContactTable.o
CC (gcc) [M snmpstats.so]		snmpSIPMethodSupportedTable.o
CC (gcc) [M snmpstats.so]		snmpSIPPortTable.o
CC (gcc) [M snmpstats.so]		snmpSIPRegUserLookupTable.o
CC (gcc) [M snmpstats.so]		snmpSIPRegUserTable.o
CC (gcc) [M snmpstats.so]		snmpSIPServerObjects.o
CC (gcc) [M snmpstats.so]		snmpSIPStatusCodesTable.o
CC (gcc) [M snmpstats.so]		snmp_statistics.o
CC (gcc) [M snmpstats.so]		snmpstats.o
CC (gcc) [M snmpstats.so]		sub_agent.o
CC (gcc) [M snmpstats.so]		utilities.o
LD (gcc) [M snmpstats.so]		snmpstats.so
make[2]: Leaving directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty/src'
make[1]: Leaving directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty'
/usr/bin/make every-module group_include="kcarrierroute"
make[1]: Entering directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty/src'
make[2]: Nothing to be done for `every-module'.
make[2]: Leaving directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty/src'
make[1]: Leaving directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty'
/usr/bin/make every-module group_include="kxmpp"
make[1]: Entering directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty/src'
CC (gcc) [M xmpp.so]		network.o
CC (gcc) [M xmpp.so]		sha.o
CC (gcc) [M xmpp.so]		util.o
CC (gcc) [M xmpp.so]		xmpp.o
CC (gcc) [M xmpp.so]		xmpp_api.o
CC (gcc) [M xmpp.so]		xmpp_component.o
CC (gcc) [M xmpp.so]		xmpp_server.o
CC (gcc) [M xmpp.so]		xode.o
CC (gcc) [M xmpp.so]		xode_from.o
CC (gcc) [M xmpp.so]		xode_str.o
CC (gcc) [M xmpp.so]		xpool.o
CC (gcc) [M xmpp.so]		xsnprintf.o
CC (gcc) [M xmpp.so]		xstream.o
LD (gcc) [M xmpp.so]		xmpp.so
make[2]: Leaving directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty/src'
make[1]: Leaving directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty'
/usr/bin/make every-module group_include="kcpl"
make[1]: Entering directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty/src'
CC (gcc) [M cplc.so]		cpl_db.o
CC (gcc) [M cplc.so]		cpl_loader.o
CC (gcc) [M cplc.so]		cpl_log.o
CC (gcc) [M cplc.so]		cpl_nonsig.o
CC (gcc) [M cplc.so]		cpl_parser.o
CC (gcc) [M cplc.so]		cpl_run.o
CC (gcc) [M cplc.so]		cpl_sig.o
CC (gcc) [M cplc.so]		cpl_time.o
CC (gcc) [M cplc.so]		cplc.o
CC (gcc) [M cplc.so]		sub_list.o
make[4]: `libsrdb1.so.1.0' is up to date.
LD (gcc) [M cplc.so]		cplc.so
make[2]: Leaving directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty/src'
make[1]: Leaving directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty'
/usr/bin/make every-module group_include="kredis"
make[1]: Entering directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty'
/usr/bin/make -C src/ every-module 
make[2]: Entering directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty/src'
CC (gcc) [M db_redis.so]		db_redis_mod.o
CC (gcc) [M db_redis.so]		redis_connection.o
CC (gcc) [M db_redis.so]		redis_dbase.o
redis_dbase.c: In function 'db_redis_dump_reply':
redis_dbase.c:39:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 10 has type 'size_t' [-Wformat=]
         LM_DBG("printing %lu elements in array reply\n", reply->elements);
         ^
redis_dbase.c:39:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' [-Wformat=]
redis_dbase.c: In function 'db_redis_scan_query_keys':
redis_dbase.c:685:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 12 has type 'size_t' [-Wformat=]
             LM_ERR("Invalid number of reply elements for scan on table '%.*s', expected 2, got %lu\n",
             ^
redis_dbase.c:685:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 10 has type 'size_t' [-Wformat=]
redis_dbase.c:717:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 10 has type 'size_t' [-Wformat=]
                 LM_ERR("Invalid null key at cursor result index %lu while scanning table '%.*s'\n",
                 ^
redis_dbase.c:717:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' [-Wformat=]
redis_dbase.c:722:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 10 has type 'size_t' [-Wformat=]
                 LM_ERR("Invalid key type at cursor result index %lu while scanning table '%.*s', expected string\n",
                 ^
redis_dbase.c:722:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' [-Wformat=]
redis_dbase.c: In function 'db_redis_convert_row':
redis_dbase.c:986:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 10 has type 'size_t' [-Wformat=]
                 LM_DBG("column %lu does not match, ignore row\n", col);
                 ^
redis_dbase.c:986:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' [-Wformat=]
redis_dbase.c:1001:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 13 has type 'size_t' [-Wformat=]
         LM_ERR("Invalid number of columns at row %d/%d, expecting %d, got %lu\n",
         ^
redis_dbase.c:1001:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 11 has type 'size_t' [-Wformat=]
redis_dbase.c:1012:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 10 has type 'size_t' [-Wformat=]
         LM_DBG("converting column #%lu of row #%d", colidx, RES_ROW_N(_r));
         ^
redis_dbase.c:1012:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' [-Wformat=]
redis_dbase.c: In function 'db_redis_perform_delete':
redis_dbase.c:1317:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 10 has type 'size_t' [-Wformat=]
                     LM_DBG("column %lu does not match, ignore row\n", col);
                     ^
redis_dbase.c:1317:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' [-Wformat=]
redis_dbase.c: In function 'db_redis_perform_update':
redis_dbase.c:1571:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 10 has type 'size_t' [-Wformat=]
                     LM_DBG("column %lu does not match, ignore row\n", col);
                     ^
redis_dbase.c:1571:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'size_t' [-Wformat=]
CC (gcc) [M db_redis.so]		redis_table.o
make[4]: `libsrdb2.so.1.0' is up to date.
make[4]: `libsrdb1.so.1.0' is up to date.
LD (gcc) [M db_redis.so]		db_redis.so
CC (gcc) [M ndb_redis.so]		ndb_redis_mod.o
CC (gcc) [M ndb_redis.so]		redis_client.o
redis_client.c: In function 'redisc_init':
redis_client.c:141:4: error: 'for' loop initial declarations are only allowed in C99 mode
    for(int i= 0; i< sentinels_count; i++) {
    ^
redis_client.c:141:4: note: use option -std=c99 or -std=gnu99 to compile your code
redis_client.c:169:8: error: 'for' loop initial declarations are only allowed in C99 mode
        for(int row = 0; row< res->elements; row++){
        ^
redis_client.c:172:9: error: 'for' loop initial declarations are only allowed in C99 mode
         for(int i= 0; i< res2->elements; i+= 2) {
         ^
make[3]: *** [redis_client.o] Error 1
make[2]: *** [modules] Error 1
make[2]: Leaving directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty/src'
make[1]: *** [every-module] Error 2
make[1]: Leaving directory `/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005638.1092+trusty'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
E: Failed autobuilding of package
I: user script /var/cache/pbuilder/build/cow.7542/tmp/hooks/C10shell starting
  ┌──────────────────────────────────────────────────────────────────────────────┐
  │  FTBFS - problem with building Debian package                                │
  └──────────────────────────────────────────────────────────────────────────────┘
  ┌──────────────────────────────────────────────────────────────────────────────┐
  │  DEB_KEEP_BUILD_ENV is not set to 'true', not keeping build environment      │
  └──────────────────────────────────────────────────────────────────────────────┘
I: user script /var/cache/pbuilder/build/cow.7542/tmp/hooks/C10shell finished
I: unmounting /tmp/apt-jdg_EEqVRA filesystem
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
 -> Cleaning COW directory
  forking: rm -rf /var/cache/pbuilder/build//cow.7542 
+ '[' 1 -eq 0 ']'
+ bailout 1 'Error: Failed to build with cowbuilder.'
+ '[' -n 1 ']'
+ EXIT=1
+ '[' -n 'Error: Failed to build with cowbuilder.' ']'
+ echo 'Error: Failed to build with cowbuilder.'
Error: Failed to build with cowbuilder.
+ rm -f /var/run/lock/trusty-i386.building.2012
+ '[' -r /var/run/lock/trusty-i386.update.2012 ']'
+ '[' '' = true ']'
+ echo '*** Getting rid of files in <https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=i386,distribution=trusty,label=slave/ws/binaries/> to avoid problems in next run. ***'
*** Getting rid of files in <https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=i386,distribution=trusty,label=slave/ws/binaries/> to avoid problems in next run. ***
+ rm -f '<https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=i386,distribution=trusty,label=slave/ws/binaries/*'>
+ '[' -n /tmp/tmp.sRvqBWAYtR ']'
+ rm -rf /tmp/tmp.sRvqBWAYtR
+ '[' -n /tmp/apt-jdg_EEqVRA ']'
+ sudo rm -rf /tmp/apt-jdg_EEqVRA
+ '[' -n 6885 ']'
++ sed -e 's/^\([0-9]*\).*/\1/'
+ SECONDS=278
++ date
+ echo '*** Finished execution of /usr/bin/build-and-provide-package at Tue Apr 10 03:10:32 UTC 2018 [running 278 seconds] ***'
*** Finished execution of /usr/bin/build-and-provide-package at Tue Apr 10 03:10:32 UTC 2018 [running 278 seconds] ***
+ exit 1
Build step 'Execute shell' marked build as failure
Archiving artifacts
Recording fingerprints
TAP Reports Processing: START
Looking for TAP results report in workspace using pattern: report/*.tap
Did not find any matching files.
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?



More information about the sr-dev mailing list