See <https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=…>
------------------------------------------
[...truncated 293.91 KB...]
make[1]: Entering directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie'
/usr/bin/make -C src/ every-module
make[2]: Entering directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie/src'
CC (gcc) [M app_perl.so] perlfunc.o
CC (gcc) [M app_perl.so] app_perl_mod.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] perlvdb_oohelpers.o
CC (gcc) [M db_perlvdb.so] perlvdb_conv.o
CC (gcc) [M db_perlvdb.so] db_perlvdb.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~20180410005855.1092+jessie/src'
make[1]: Leaving directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie'
/usr/bin/make every-module group_include="kutils"
make[1]: Entering directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie'
/usr/bin/make -C src/ every-module
make[2]: Entering directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie/src'
CC (gcc) [M utils.so] xcap_auth.o
CC (gcc) [M utils.so] pidf.o
CC (gcc) [M utils.so] conf.o
CC (gcc) [M utils.so] utils.o
make[4]: 'libsrdb1.so.1.0' is up to date.
LD (gcc) [M utils.so] utils.so
CC (gcc) [M http_client.so] http_client.o
CC (gcc) [M http_client.so] curlcon.o
CC (gcc) [M http_client.so] curlrpc.o
CC (gcc) [M http_client.so] curl_api.o
CC (gcc) [M http_client.so] functions.o
LD (gcc) [M http_client.so] http_client.so
make[2]: Leaving directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie/src'
make[1]: Leaving directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie'
/usr/bin/make every-module group_include="klua"
make[1]: Entering directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie'
/usr/bin/make -C src/ every-module
make[2]: Entering directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie/src'
CC (gcc) [M app_lua.so] app_lua_mod.o
CC (gcc) [M app_lua.so] app_lua_exp.o
CC (gcc) [M app_lua.so] app_lua_sr.o
CC (gcc) [M app_lua.so] app_lua_api.o
CC (gcc) [M app_lua.so] app_lua_kemi_export.o
LD (gcc) [M app_lua.so] app_lua.so
make[2]: Leaving directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie/src'
make[1]: Leaving directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie'
/usr/bin/make every-module group_include="kmemcached"
make[1]: Entering directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie'
/usr/bin/make -C src/ every-module
make[2]: Entering directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie/src'
CC (gcc) [M memcached.so] memcached.o
CC (gcc) [M memcached.so] mcd_var.o
LD (gcc) [M memcached.so] memcached.so
make[2]: Leaving directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie/src'
make[1]: Leaving directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie'
/usr/bin/make every-module group_include="ksnmpstats"
make[1]: Entering directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie'
/usr/bin/make -C src/ every-module
make[2]: Entering directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie/src'
CC (gcc) [M snmpstats.so] snmpSIPRegUserTable.o
CC (gcc) [M snmpstats.so] utilities.o
CC (gcc) [M snmpstats.so] snmpSIPContactTable.o
CC (gcc) [M snmpstats.so] snmpSIPMethodSupportedTable.o
CC (gcc) [M snmpstats.so] snmpSIPStatusCodesTable.o
CC (gcc) [M snmpstats.so] interprocess_buffer.o
CC (gcc) [M snmpstats.so] alarm_checks.o
CC (gcc) [M snmpstats.so] hashTable.o
CC (gcc) [M snmpstats.so] snmpSIPCommonObjects.o
CC (gcc) [M snmpstats.so] snmpSIPServerObjects.o
CC (gcc) [M snmpstats.so] kamailioServer.o
CC (gcc) [M snmpstats.so] snmp_statistics.o
CC (gcc) [M snmpstats.so] snmpObjects.o
CC (gcc) [M snmpstats.so] kamailioNetConfig.o
CC (gcc) [M snmpstats.so] snmpMIBNotifications.o
CC (gcc) [M snmpstats.so] snmpSIPPortTable.o
CC (gcc) [M snmpstats.so] kamailioNet.o
CC (gcc) [M snmpstats.so] snmpstats.o
CC (gcc) [M snmpstats.so] snmpSIPRegUserLookupTable.o
CC (gcc) [M snmpstats.so] sub_agent.o
LD (gcc) [M snmpstats.so] snmpstats.so
make[2]: Leaving directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie/src'
make[1]: Leaving directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie'
/usr/bin/make every-module group_include="kcarrierroute"
make[1]: Entering directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie'
/usr/bin/make -C src/ every-module
make[2]: Entering directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie/src'
make[2]: Nothing to be done for 'every-module'.
make[2]: Leaving directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie/src'
make[1]: Leaving directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie'
/usr/bin/make every-module group_include="kxmpp"
make[1]: Entering directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie'
/usr/bin/make -C src/ every-module
make[2]: Entering directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie/src'
CC (gcc) [M xmpp.so] sha.o
CC (gcc) [M xmpp.so] xmpp_server.o
CC (gcc) [M xmpp.so] xmpp_api.o
CC (gcc) [M xmpp.so] xpool.o
CC (gcc) [M xmpp.so] xode.o
CC (gcc) [M xmpp.so] xode_str.o
CC (gcc) [M xmpp.so] xmpp_component.o
CC (gcc) [M xmpp.so] xmpp.o
CC (gcc) [M xmpp.so] util.o
CC (gcc) [M xmpp.so] xsnprintf.o
CC (gcc) [M xmpp.so] xstream.o
CC (gcc) [M xmpp.so] xode_from.o
CC (gcc) [M xmpp.so] network.o
LD (gcc) [M xmpp.so] xmpp.so
make[2]: Leaving directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie/src'
make[1]: Leaving directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie'
/usr/bin/make every-module group_include="kcpl"
make[1]: Entering directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie'
/usr/bin/make -C src/ every-module
make[2]: Entering directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie/src'
CC (gcc) [M cplc.so] sub_list.o
CC (gcc) [M cplc.so] cpl_parser.o
CC (gcc) [M cplc.so] cpl_run.o
CC (gcc) [M cplc.so] cpl_time.o
CC (gcc) [M cplc.so] cpl_loader.o
CC (gcc) [M cplc.so] cpl_db.o
CC (gcc) [M cplc.so] cpl_nonsig.o
CC (gcc) [M cplc.so] cpl_log.o
CC (gcc) [M cplc.so] cplc.o
CC (gcc) [M cplc.so] cpl_sig.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~20180410005855.1092+jessie/src'
make[1]: Leaving directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie'
/usr/bin/make every-module group_include="kredis"
make[1]: Entering directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie'
/usr/bin/make -C src/ every-module
make[2]: Entering directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie/src'
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_connection.o
CC (gcc) [M db_redis.so] db_redis_mod.o
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] 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 or C11 mode
for(int i= 0; i< sentinels_count; i++) {
^
redis_client.c:141:4: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
redis_client.c:169:8: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int row = 0; row< res->elements; row++){
^
redis_client.c:172:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i= 0; i< res2->elements; i+= 2) {
^
../../Makefile.rules:100: recipe for target 'redis_client.o' failed
make[3]: *** [redis_client.o] Error 1
Makefile:511: recipe for target 'modules' failed
make[2]: *** [modules] Error 1
make[2]: Leaving directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie/src'
Makefile:27: recipe for target 'every-module' failed
make[1]: *** [every-module] Error 2
make[1]: Leaving directory '/tmp/buildd/kamailio-5.2.0~dev4+0~20180410005855.1092+jessie'
debian/rules:137: recipe for target 'build-stamp' failed
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.7680/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.7680/tmp/hooks/C10shell finished
I: unmounting /tmp/apt-jdg_IaYdDN 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.7680
+ '[' 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/jessie-i386.building.7528
+ '[' -r /var/run/lock/jessie-i386.update.7528 ']'
+ '[' '' = true ']'
+ echo '*** Getting rid of files in <https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=…> to avoid problems in next run. ***'
*** Getting rid of files in <https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=…> to avoid problems in next run. ***
+ rm -f '<https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=…'>
+ '[' -n /tmp/tmp.Kb7TGf3npB ']'
+ rm -rf /tmp/tmp.Kb7TGf3npB
+ '[' -n /tmp/apt-jdg_IaYdDN ']'
+ sudo rm -rf /tmp/apt-jdg_IaYdDN
+ '[' -n 1681 ']'
++ sed -e 's/^\([0-9]*\).*/\1/'
+ SECONDS=321
++ date
+ echo '*** Finished execution of /usr/bin/build-and-provide-package at Tue Apr 10 01:44:31 UTC 2018 [running 321 seconds] ***'
*** Finished execution of /usr/bin/build-and-provide-package at Tue Apr 10 01:44:31 UTC 2018 [running 321 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?
Hi,
I noticed a bunch of db_redis Wformat compile warnings in the jenkins
autobuild output:
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=]
Best regards,
Henning