See
<https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=i386,distribution=jessie,label=slave/1040/display/redirect>
------------------------------------------
[...truncated 291.56 KB...]
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~dev3+0~20180215005653.1045+jessie/src'
make[1]: Leaving directory
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie'
/usr/bin/make every-module group_include="kcpl"
make[1]: Entering directory
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie'
/usr/bin/make -C src/ every-module
make[2]: Entering directory
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+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~dev3+0~20180215005653.1045+jessie/src'
make[1]: Leaving directory
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie'
/usr/bin/make every-module group_include="kredis"
make[1]: Entering directory
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie'
/usr/bin/make -C src/ every-module
make[2]: Entering directory
'/tmp/buildd/kamailio-5.2.0~dev3+0~20180215005653.1045+jessie/src'
CC (gcc) [M db_redis.so] redis_dbase.o
redis_dbase.c: In function 'db_redis_dump_reply':
redis_dbase.c:38: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:38:9: warning: format '%lu' expects argument of type 'long
unsigned int', but argument 8 has type 'size_t' [-Wformat=]
redis_dbase.c:39:9: error: 'for' loop initial declarations are only allowed in C99
or C11 mode
for(int i = 0; i < reply->elements; ++i) {
^
redis_dbase.c:39:9: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to
compile your code
redis_dbase.c: In function 'db_redis_build_entry_manual_keys':
redis_dbase.c:238:9: error: 'for' loop initial declarations are only allowed in
C99 or C11 mode
for (int i = 0; i < _n; ++i) {
^
redis_dbase.c: In function 'db_redis_find_query_key':
redis_dbase.c:276:9: error: 'for' loop initial declarations are only allowed in
C99 or C11 mode
for (int i = 0; i < _n; ++i) {
^
redis_dbase.c: In function 'db_redis_build_query_keys':
redis_dbase.c:563:25: error: 'for' loop initial declarations are only allowed in
C99 or C11 mode
for (int i = 0; i < reply->elements; ++i) {
^
redis_dbase.c: In function 'db_redis_scan_query_keys':
redis_dbase.c:670: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:670:13: warning: format '%lu' expects argument of type 'long
unsigned int', but argument 10 has type 'size_t' [-Wformat=]
redis_dbase.c:699:9: error: 'for' loop initial declarations are only allowed in
C99 or C11 mode
for (size_t j = 0; j < reply->element[1]->elements; ++i, ++j) {
^
redis_dbase.c:702: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:702:17: warning: format '%lu' expects argument of type 'long
unsigned int', but argument 8 has type 'size_t' [-Wformat=]
redis_dbase.c:707: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:707:17: warning: format '%lu' expects argument of type 'long
unsigned int', but argument 8 has type 'size_t' [-Wformat=]
redis_dbase.c:727:14: error: conflicting types for 'i'
for (int i = 0; i < _n; ++i) {
^
redis_dbase.c:619:12: note: previous definition of 'i' was here
size_t i = 0;
^
redis_dbase.c:727:5: error: 'for' loop initial declarations are only allowed in
C99 or C11 mode
for (int i = 0; i < _n; ++i) {
^
redis_dbase.c: In function 'db_redis_convert_row':
redis_dbase.c:961:5: error: 'for' loop initial declarations are only allowed in
C99 or C11 mode
for (size_t col = 0; col < reply->elements; ++col) {
^
redis_dbase.c:970: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:970:17: warning: format '%lu' expects argument of type 'long
unsigned int', but argument 8 has type 'size_t' [-Wformat=]
redis_dbase.c:985: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:985:9: warning: format '%lu' expects argument of type 'long
unsigned int', but argument 11 has type 'size_t' [-Wformat=]
redis_dbase.c:989:17: error: redefinition of 'col'
for (size_t col = manual_keys_count; col < reply->elements; ++col) {
^
redis_dbase.c:961:17: note: previous definition of 'col' was here
for (size_t col = 0; col < reply->elements; ++col) {
^
redis_dbase.c:989:5: error: 'for' loop initial declarations are only allowed in
C99 or C11 mode
for (size_t col = manual_keys_count; col < reply->elements; ++col) {
^
redis_dbase.c:996: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:996: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_query':
redis_dbase.c:1063:5: error: 'for' loop initial declarations are only allowed in
C99 or C11 mode
for (redis_key_t *key = *keys; key; key = key->next) {
^
redis_dbase.c:1102:9: error: 'for' loop initial declarations are only allowed in
C99 or C11 mode
for (int j = 0; j < *manual_keys_count; ++j) {
^
redis_dbase.c:1110:18: error: redefinition of 'j'
for (int j = 0; j < _nc; ++j) {
^
redis_dbase.c:1102:18: note: previous definition of 'j' was here
for (int j = 0; j < *manual_keys_count; ++j) {
^
redis_dbase.c:1110:9: error: 'for' loop initial declarations are only allowed in
C99 or C11 mode
for (int j = 0; j < _nc; ++j) {
^
redis_dbase.c:1137:23: error: redefinition of 'key'
for (redis_key_t *key = *keys; key; key = key->next) {
^
redis_dbase.c:1063:23: note: previous definition of 'key' was here
for (redis_key_t *key = *keys; key; key = key->next) {
^
redis_dbase.c:1137:5: error: 'for' loop initial declarations are only allowed in
C99 or C11 mode
for (redis_key_t *key = *keys; key; key = key->next) {
^
redis_dbase.c: In function 'db_redis_perform_delete':
redis_dbase.c:1288:9: error: 'for' loop initial declarations are only allowed in
C99 or C11 mode
for (size_t col = 0; col < reply->elements; ++col) {
^
redis_dbase.c:1297: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:1297:21: warning: format '%lu' expects argument of type 'long
unsigned int', but argument 8 has type 'size_t' [-Wformat=]
redis_dbase.c:1360:9: error: 'for' loop initial declarations are only allowed in
C99 or C11 mode
for (redis_key_t *type_key = type_keys; type_key; type_key = type_key->next)
{
^
redis_dbase.c: In function 'db_redis_perform_update':
redis_dbase.c:1422:5: error: 'for' loop initial declarations are only allowed in
C99 or C11 mode
for (redis_key_t *key = *keys; key; key = key->next) {
^
redis_dbase.c:1462:9: error: 'for' loop initial declarations are only allowed in
C99 or C11 mode
for (int j = 0; j < *manual_keys_count; ++j) {
^
redis_dbase.c:1495:23: error: redefinition of 'key'
for (redis_key_t *key = *keys; key; key = key->next) {
^
redis_dbase.c:1422:23: note: previous definition of 'key' was here
for (redis_key_t *key = *keys; key; key = key->next) {
^
redis_dbase.c:1495:5: error: 'for' loop initial declarations are only allowed in
C99 or C11 mode
for (redis_key_t *key = *keys; key; key = key->next) {
^
redis_dbase.c:1536:9: error: 'for' loop initial declarations are only allowed in
C99 or C11 mode
for (size_t col = 0; col < reply->elements; ++col) {
^
redis_dbase.c:1545: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:1545:21: warning: format '%lu' expects argument of type 'long
unsigned int', but argument 8 has type 'size_t' [-Wformat=]
redis_dbase.c:1567:9: error: 'for' loop initial declarations are only allowed in
C99 or C11 mode
for (int i = 0; i < _nu; ++i) {
^
redis_dbase.c:1596:5: error: 'for' loop initial declarations are only allowed in
C99 or C11 mode
for (int i = 0; i < update_queries; ++i) {
^
redis_dbase.c: In function 'db_redis_query':
redis_dbase.c:1692:9: error: 'for' loop initial declarations are only allowed in
C99 or C11 mode
for (int i = 0; i < _n; ++i) {
^
redis_dbase.c: In function 'db_redis_insert':
redis_dbase.c:1816:5: error: 'for' loop initial declarations are only allowed in
C99 or C11 mode
for (int i = 0; i < _n; ++i) {
^
redis_dbase.c:1840:5: error: 'for' loop initial declarations are only allowed in
C99 or C11 mode
for (redis_key_t *k = type_keys; k; k = k->next) {
^
redis_dbase.c: In function 'db_redis_delete':
redis_dbase.c:1937:9: error: 'for' loop initial declarations are only allowed in
C99 or C11 mode
for (int i = 0; i < _n; ++i) {
^
redis_dbase.c: In function 'db_redis_update':
redis_dbase.c:2048:9: error: 'for' loop initial declarations are only allowed in
C99 or C11 mode
for (int i = 0; i < _n; ++i) {
^
../../Makefile.rules:100: recipe for target 'redis_dbase.o' failed
make[3]: *** [redis_dbase.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~dev3+0~20180215005653.1045+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~dev3+0~20180215005653.1045+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.11579/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.11579/tmp/hooks/C10shell finished
I: unmounting /tmp/apt-jdg_kV45dE 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.11579
+ '[' 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.9191
+ '[' -r /var/run/lock/jessie-i386.update.9191 ']'
+ '[' '' = true ']'
+ echo '*** Getting rid of files in
<https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=i386,distribution=jessie,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=jessie,label=slave/ws/binaries/>
to avoid problems in next run. ***
+ rm -f
'<https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=i386,distribution=jessie,label=slave/ws/binaries/*'>
+ '[' -n /tmp/tmp.AJKo5E1j1f ']'
+ rm -rf /tmp/tmp.AJKo5E1j1f
+ '[' -n /tmp/apt-jdg_kV45dE ']'
+ sudo rm -rf /tmp/apt-jdg_kV45dE
+ '[' -n 3128 ']'
++ sed -e 's/^\([0-9]*\).*/\1/'
+ SECONDS=319
++ date
+ echo '*** Finished execution of /usr/bin/build-and-provide-package at Thu Feb 15
02:09:09 UTC 2018 [running 319 seconds] ***'
*** Finished execution of /usr/bin/build-and-provide-package at Thu Feb 15 02:09:09 UTC
2018 [running 319 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?