See <https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=…>
------------------------------------------
[...truncated 2234 lines...]
Making maintainer-clean in kcore
Making maintainer-clean in kmi
Making maintainer-clean in presence
Making maintainer-clean in print
Making maintainer-clean in shm_regex
Making maintainer-clean in srdb1
Making maintainer-clean in srdb2
Making maintainer-clean in srutils
Making maintainer-clean in trie
Making maintainer-clean in xcap
rm …
[View More]-f config.mak
rm -f modules.lst
make[1]: Leaving directory `/tmp/buildd/kamailio-5.0.0~dev1+0~20160506005955.515+squeeze'
dh_clean
debian/rules build
dh_testdir
# Add here commands to configure the package.
/usr/bin/make FLAVOUR=kamailio cfg prefix=/usr cfg_prefix=/tmp/buildd/kamailio-5.0.0~dev1+0~20160506005955.515+squeeze/debian/kamailio \
cfg_target=/etc/kamailio/ \
BASEDIR=/tmp/buildd/kamailio-5.0.0~dev1+0~20160506005955.515+squeeze/debian/kamailio \
skip_modules=" bdb dbtext oracle pa iptrtpproxy java dnssec sctp purple redis mono kazoo cnxcc jansson" \
CC_EXTRA_OPTS=" -g -O2 -DVERSION_NODATE" \
LD_EXTRA_OPTS="" \
group_include="kstandard"
target architecture <i386>, host architecture <i386>
make[1]: Entering directory `/tmp/buildd/kamailio-5.0.0~dev1+0~20160506005955.515+squeeze'
making config...
rm -f modules.lst
/usr/bin/make --no-print-directory modules.lst
saving modules list...
make[1]: Leaving directory `/tmp/buildd/kamailio-5.0.0~dev1+0~20160506005955.515+squeeze'
touch configure-stamp
dh_testdir
# Add here commands to compile the package.
/usr/bin/make all
make[1]: Entering directory `/tmp/buildd/kamailio-5.0.0~dev1+0~20160506005955.515+squeeze'
generating autover.h ...
make[1]: Leaving directory `/tmp/buildd/kamailio-5.0.0~dev1+0~20160506005955.515+squeeze'
make[1]: Entering directory `/tmp/buildd/kamailio-5.0.0~dev1+0~20160506005955.515+squeeze'
CC (gcc) [kamailio] action.o
CC (gcc) [kamailio] async_task.o
CC (gcc) [kamailio] atomic_ops.o
CC (gcc) [kamailio] basex.o
CC (gcc) [kamailio] bit_count.o
CC (gcc) [kamailio] bit_scan.o
CC (gcc) [kamailio] cfg_core.o
CC (gcc) [kamailio] cfg_parser.o
CC (gcc) [kamailio] core_cmd.o
CC (gcc) [kamailio] counters.o
CC (gcc) [kamailio] crc.o
CC (gcc) [kamailio] daemonize.o
CC (gcc) [kamailio] data_lump.o
CC (gcc) [kamailio] data_lump_rpl.o
CC (gcc) [kamailio] dns_cache.o
CC (gcc) [kamailio] dns_func.o
CC (gcc) [kamailio] dprint.o
CC (gcc) [kamailio] dset.o
CC (gcc) [kamailio] dst_blacklist.o
CC (gcc) [kamailio] endianness.o
CC (gcc) [kamailio] error.o
CC (gcc) [kamailio] events.o
CC (gcc) [kamailio] flags.o
CC (gcc) [kamailio] fmsg.o
CC (gcc) [kamailio] forward.o
CC (gcc) [kamailio] hash_func.o
CC (gcc) [kamailio] id.o
CC (gcc) [kamailio] io_wait.o
CC (gcc) [kamailio] ip_addr.o
CC (gcc) [kamailio] kemi.o
CC (gcc) [kamailio] local_timer.o
CC (gcc) [kamailio] lock_ops.o
CC (gcc) [kamailio] lvalue.o
CC (gcc) [kamailio] main.o
CC (gcc) [kamailio] md5.o
CC (gcc) [kamailio] md5utils.o
CC (gcc) [kamailio] mod_fix.o
CC (gcc) [kamailio] modparam.o
CC (gcc) [kamailio] msg_translator.o
msg_translator.c: In function 'build_res_buf_from_sip_req':
msg_translator.c:2314: warning: 'pvia' may be used uninitialized in this function
CC (gcc) [kamailio] nonsip_hooks.o
CC (gcc) [kamailio] pass_fd.o
CC (gcc) [kamailio] ppcfg.o
CC (gcc) [kamailio] proxy.o
CC (gcc) [kamailio] pt.o
CC (gcc) [kamailio] pv_core.o
CC (gcc) [kamailio] pvapi.o
CC (gcc) [kamailio] qvalue.o
CC (gcc) [kamailio] raw_listener.o
CC (gcc) [kamailio] raw_sock.o
CC (gcc) [kamailio] re.o
CC (gcc) [kamailio] receive.o
CC (gcc) [kamailio] resolve.o
CC (gcc) [kamailio] route.o
CC (gcc) [kamailio] route_struct.o
CC (gcc) [kamailio] rpc_lookup.o
CC (gcc) [kamailio] rvalue.o
CC (gcc) [kamailio] script_cb.o
CC (gcc) [kamailio] sctp_core.o
CC (gcc) [kamailio] select.o
CC (gcc) [kamailio] select_buf.o
CC (gcc) [kamailio] select_core.o
CC (gcc) [kamailio] shm_init.o
CC (gcc) [kamailio] signals.o
CC (gcc) [kamailio] sip_msg_clone.o
CC (gcc) [kamailio] sock_ut.o
CC (gcc) [kamailio] socket_info.o
CC (gcc) [kamailio] sr_compat.o
CC (gcc) [kamailio] sr_module.o
CC (gcc) [kamailio] srapi.o
CC (gcc) [kamailio] stats.o
CC (gcc) [kamailio] str.o
CC (gcc) [kamailio] str_list.o
CC (gcc) [kamailio] stun.o
CC (gcc) [kamailio] switch.o
CC (gcc) [kamailio] tcp_main.o
CC (gcc) [kamailio] tcp_options.o
CC (gcc) [kamailio] tcp_read.o
CC (gcc) [kamailio] tcp_stats.o
CC (gcc) [kamailio] timer.o
CC (gcc) [kamailio] timer_proc.o
CC (gcc) [kamailio] tls_hooks.o
CC (gcc) [kamailio] tsend.o
CC (gcc) [kamailio] udp_server.o
CC (gcc) [kamailio] usr_avp.o
CC (gcc) [kamailio] ut.o
CC (gcc) [kamailio] ver.o
CC (gcc) [kamailio] xavp.o
CC (gcc) [kamailio] mem/dl_malloc.o
CC (gcc) [kamailio] mem/f_malloc.o
CC (gcc) [kamailio] mem/ll_malloc.o
CC (gcc) [kamailio] mem/mem.o
CC (gcc) [kamailio] mem/memtest.o
CC (gcc) [kamailio] mem/pkg.o
CC (gcc) [kamailio] mem/q_malloc.o
CC (gcc) [kamailio] mem/sf_malloc.o
CC (gcc) [kamailio] mem/shm.o
CC (gcc) [kamailio] mem/shm_mem.o
CC (gcc) [kamailio] mem/tlsf_malloc.o
mem/tlsf_malloc.c: In function 'tlsf_malloc_init_pkg_manager':
mem/tlsf_malloc.c:1353: warning: assignment from incompatible pointer type
mem/tlsf_malloc.c:1355: warning: assignment from incompatible pointer type
mem/tlsf_malloc.c:1358: warning: assignment from incompatible pointer type
mem/tlsf_malloc.c: In function 'tlsf_malloc_init_shm_manager':
mem/tlsf_malloc.c:1501: warning: assignment from incompatible pointer type
CC (gcc) [kamailio] parser/hf.o
CC (gcc) [kamailio] parser/msg_parser.o
CC (gcc) [kamailio] parser/parse_addr_spec.o
CC (gcc) [kamailio] parser/parse_allow.o
CC (gcc) [kamailio] parser/parse_body.o
CC (gcc) [kamailio] parser/parse_content.o
CC (gcc) [kamailio] parser/parse_cseq.o
CC (gcc) [kamailio] parser/parse_date.o
CC (gcc) [kamailio] parser/parse_disposition.o
CC (gcc) [kamailio] parser/parse_diversion.o
CC (gcc) [kamailio] parser/parse_event.o
CC (gcc) [kamailio] parser/parse_expires.o
CC (gcc) [kamailio] parser/parse_fline.o
CC (gcc) [kamailio] parser/parse_from.o
CC (gcc) [kamailio] parser/parse_hname2.o
CC (gcc) [kamailio] parser/parse_hostport.o
CC (gcc) [kamailio] parser/parse_identity.o
CC (gcc) [kamailio] parser/parse_identityinfo.o
CC (gcc) [kamailio] parser/parse_methods.o
CC (gcc) [kamailio] parser/parse_nameaddr.o
CC (gcc) [kamailio] parser/parse_option_tags.o
CC (gcc) [kamailio] parser/parse_param.o
CC (gcc) [kamailio] parser/parse_ppi_pai.o
CC (gcc) [kamailio] parser/parse_refer_to.o
CC (gcc) [kamailio] parser/parse_require.o
CC (gcc) [kamailio] parser/parse_retry_after.o
CC (gcc) [kamailio] parser/parse_rpid.o
CC (gcc) [kamailio] parser/parse_rr.o
CC (gcc) [kamailio] parser/parse_sipifmatch.o
CC (gcc) [kamailio] parser/parse_subscription_state.o
CC (gcc) [kamailio] parser/parse_supported.o
CC (gcc) [kamailio] parser/parse_to.o
CC (gcc) [kamailio] parser/parse_uri.o
CC (gcc) [kamailio] parser/parse_via.o
CC (gcc) [kamailio] parser/parser_f.o
CC (gcc) [kamailio] parser/digest/digest.o
CC (gcc) [kamailio] parser/digest/digest_parser.o
CC (gcc) [kamailio] parser/digest/param_parser.o
CC (gcc) [kamailio] parser/contact/contact.o
CC (gcc) [kamailio] parser/contact/parse_contact.o
CC (gcc) [kamailio] parser/sdp/sdp.o
CC (gcc) [kamailio] parser/sdp/sdp_helpr_funcs.o
CC (gcc) [kamailio] rand/fastrand.o
CC (gcc) [kamailio] rand/isaac/rand.o
CC (gcc) [kamailio] cfg/cfg.o
CC (gcc) [kamailio] cfg/cfg_ctx.o
CC (gcc) [kamailio] cfg/cfg_script.o
CC (gcc) [kamailio] cfg/cfg_select.o
CC (gcc) [kamailio] cfg/cfg_struct.o
bison -d -b cfg cfg.y
flex cfg.lex
CC (gcc) [kamailio] lex.yy.o
CC (gcc) [kamailio] cfg.tab.o
LD (gcc) [kamailio] kamailio
timer.o: In function `ser_clock_gettime':
/tmp/buildd/kamailio-5.0.0~dev1+0~20160506005955.515+squeeze/timer.c:1176: undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
make[1]: *** [kamailio] Error 1
make[1]: Leaving directory `/tmp/buildd/kamailio-5.0.0~dev1+0~20160506005955.515+squeeze'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: user script /var/cache/pbuilder/build/cow.2343/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.2343/tmp/hooks/C10shell finished
I: unmounting /tmp/apt-28650 filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
-> Cleaning COW directory
forking: rm -rf /var/cache/pbuilder/build//cow.2343
+ '[' 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/squeeze-i386.building.28650
+ '[' -r /var/run/lock/squeeze-i386.update.28650 ']'
+ '[' '' = 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=…'>
+ sudo rm -rf /tmp/apt-28650
+ '[' -n 1913 ']'
++ cut -d . -f 1 /proc/uptime
+ SECONDS=202
++ date
+ echo '*** Finished execution of /usr/bin/build-and-provide-package at Fri May 6 01:37:00 UTC 2016 [running 202 seconds] ***'
*** Finished execution of /usr/bin/build-and-provide-package at Fri May 6 01:37:00 UTC 2016 [running 202 seconds] ***
+ exit 1
Build step 'Execute shell' marked build as failure
Archiving artifacts
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?
Recording fingerprints
[View Less]
See <https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=…>
------------------------------------------
[...truncated 2848 lines...]
Making maintainer-clean in cds
Making maintainer-clean in ims
Making maintainer-clean in kcore
Making maintainer-clean in kmi
Making maintainer-clean in presence
Making maintainer-clean in print
Making maintainer-clean in shm_regex
Making maintainer-clean in srdb1
Making maintainer-clean in srdb2
Making maintainer-clean in srutils
…
[View More]Making maintainer-clean in trie
Making maintainer-clean in xcap
rm -f config.mak
rm -f modules.lst
make[1]: Leaving directory `/tmp/buildd/kamailio-5.0.0~dev1+0~20160506005557.515+precise'
dh_clean
debian/rules build
dh_testdir
# Add here commands to configure the package.
/usr/bin/make FLAVOUR=kamailio cfg prefix=/usr cfg_prefix=/tmp/buildd/kamailio-5.0.0~dev1+0~20160506005557.515+precise/debian/kamailio \
cfg_target=/etc/kamailio/ \
BASEDIR=/tmp/buildd/kamailio-5.0.0~dev1+0~20160506005557.515+precise/debian/kamailio \
skip_modules=" bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc" \
CC_EXTRA_OPTS="-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -DVERSION_NODATE" \
LD_EXTRA_OPTS="-Wl,-Bsymbolic-functions -Wl,-z,relro" \
group_include="kstandard"
target architecture <i386>, host architecture <i386>
make[1]: Entering directory `/tmp/buildd/kamailio-5.0.0~dev1+0~20160506005557.515+precise'
making config...
rm -f modules.lst
/usr/bin/make --no-print-directory modules.lst
saving modules list...
make[1]: Leaving directory `/tmp/buildd/kamailio-5.0.0~dev1+0~20160506005557.515+precise'
touch configure-stamp
dh_testdir
# Add here commands to compile the package.
/usr/bin/make all
make[1]: Entering directory `/tmp/buildd/kamailio-5.0.0~dev1+0~20160506005557.515+precise'
generating autover.h ...
make[1]: Leaving directory `/tmp/buildd/kamailio-5.0.0~dev1+0~20160506005557.515+precise'
make[1]: Entering directory `/tmp/buildd/kamailio-5.0.0~dev1+0~20160506005557.515+precise'
CC (gcc) [kamailio] action.o
CC (gcc) [kamailio] async_task.o
CC (gcc) [kamailio] atomic_ops.o
CC (gcc) [kamailio] basex.o
CC (gcc) [kamailio] bit_count.o
CC (gcc) [kamailio] bit_scan.o
CC (gcc) [kamailio] cfg_core.o
CC (gcc) [kamailio] cfg_parser.o
CC (gcc) [kamailio] core_cmd.o
CC (gcc) [kamailio] counters.o
CC (gcc) [kamailio] crc.o
CC (gcc) [kamailio] daemonize.o
CC (gcc) [kamailio] data_lump.o
CC (gcc) [kamailio] data_lump_rpl.o
CC (gcc) [kamailio] dns_cache.o
CC (gcc) [kamailio] dns_func.o
CC (gcc) [kamailio] dprint.o
CC (gcc) [kamailio] dset.o
CC (gcc) [kamailio] dst_blacklist.o
CC (gcc) [kamailio] endianness.o
CC (gcc) [kamailio] error.o
CC (gcc) [kamailio] events.o
CC (gcc) [kamailio] flags.o
CC (gcc) [kamailio] fmsg.o
CC (gcc) [kamailio] forward.o
CC (gcc) [kamailio] hash_func.o
CC (gcc) [kamailio] id.o
CC (gcc) [kamailio] io_wait.o
CC (gcc) [kamailio] ip_addr.o
CC (gcc) [kamailio] kemi.o
CC (gcc) [kamailio] local_timer.o
CC (gcc) [kamailio] lock_ops.o
CC (gcc) [kamailio] lvalue.o
CC (gcc) [kamailio] main.o
CC (gcc) [kamailio] md5.o
CC (gcc) [kamailio] md5utils.o
CC (gcc) [kamailio] mod_fix.o
CC (gcc) [kamailio] modparam.o
CC (gcc) [kamailio] msg_translator.o
CC (gcc) [kamailio] nonsip_hooks.o
CC (gcc) [kamailio] pass_fd.o
CC (gcc) [kamailio] ppcfg.o
CC (gcc) [kamailio] proxy.o
CC (gcc) [kamailio] pt.o
CC (gcc) [kamailio] pv_core.o
CC (gcc) [kamailio] pvapi.o
CC (gcc) [kamailio] qvalue.o
CC (gcc) [kamailio] raw_listener.o
CC (gcc) [kamailio] raw_sock.o
CC (gcc) [kamailio] re.o
CC (gcc) [kamailio] receive.o
CC (gcc) [kamailio] resolve.o
CC (gcc) [kamailio] route.o
CC (gcc) [kamailio] route_struct.o
CC (gcc) [kamailio] rpc_lookup.o
CC (gcc) [kamailio] rvalue.o
CC (gcc) [kamailio] script_cb.o
CC (gcc) [kamailio] sctp_core.o
CC (gcc) [kamailio] select.o
CC (gcc) [kamailio] select_buf.o
CC (gcc) [kamailio] select_core.o
CC (gcc) [kamailio] shm_init.o
CC (gcc) [kamailio] signals.o
CC (gcc) [kamailio] sip_msg_clone.o
CC (gcc) [kamailio] sock_ut.o
CC (gcc) [kamailio] socket_info.o
CC (gcc) [kamailio] sr_compat.o
CC (gcc) [kamailio] sr_module.o
CC (gcc) [kamailio] srapi.o
CC (gcc) [kamailio] stats.o
CC (gcc) [kamailio] str.o
CC (gcc) [kamailio] str_list.o
CC (gcc) [kamailio] stun.o
CC (gcc) [kamailio] switch.o
CC (gcc) [kamailio] tcp_main.o
CC (gcc) [kamailio] tcp_options.o
CC (gcc) [kamailio] tcp_read.o
CC (gcc) [kamailio] tcp_stats.o
CC (gcc) [kamailio] timer.o
CC (gcc) [kamailio] timer_proc.o
CC (gcc) [kamailio] tls_hooks.o
CC (gcc) [kamailio] tsend.o
CC (gcc) [kamailio] udp_server.o
CC (gcc) [kamailio] usr_avp.o
CC (gcc) [kamailio] ut.o
CC (gcc) [kamailio] ver.o
CC (gcc) [kamailio] xavp.o
CC (gcc) [kamailio] mem/dl_malloc.o
CC (gcc) [kamailio] mem/f_malloc.o
CC (gcc) [kamailio] mem/ll_malloc.o
CC (gcc) [kamailio] mem/mem.o
CC (gcc) [kamailio] mem/memtest.o
CC (gcc) [kamailio] mem/pkg.o
CC (gcc) [kamailio] mem/q_malloc.o
CC (gcc) [kamailio] mem/sf_malloc.o
CC (gcc) [kamailio] mem/shm.o
CC (gcc) [kamailio] mem/shm_mem.o
CC (gcc) [kamailio] mem/tlsf_malloc.o
mem/tlsf_malloc.c: In function 'tlsf_malloc_init_pkg_manager':
mem/tlsf_malloc.c:1353:16: warning: assignment from incompatible pointer type [enabled by default]
mem/tlsf_malloc.c:1355:16: warning: assignment from incompatible pointer type [enabled by default]
mem/tlsf_malloc.c:1358:16: warning: assignment from incompatible pointer type [enabled by default]
mem/tlsf_malloc.c: In function 'tlsf_malloc_init_shm_manager':
mem/tlsf_malloc.c:1501:20: warning: assignment from incompatible pointer type [enabled by default]
CC (gcc) [kamailio] parser/hf.o
CC (gcc) [kamailio] parser/msg_parser.o
CC (gcc) [kamailio] parser/parse_addr_spec.o
CC (gcc) [kamailio] parser/parse_allow.o
CC (gcc) [kamailio] parser/parse_body.o
CC (gcc) [kamailio] parser/parse_content.o
CC (gcc) [kamailio] parser/parse_cseq.o
CC (gcc) [kamailio] parser/parse_date.o
CC (gcc) [kamailio] parser/parse_disposition.o
CC (gcc) [kamailio] parser/parse_diversion.o
CC (gcc) [kamailio] parser/parse_event.o
CC (gcc) [kamailio] parser/parse_expires.o
CC (gcc) [kamailio] parser/parse_fline.o
CC (gcc) [kamailio] parser/parse_from.o
CC (gcc) [kamailio] parser/parse_hname2.o
CC (gcc) [kamailio] parser/parse_hostport.o
CC (gcc) [kamailio] parser/parse_identity.o
CC (gcc) [kamailio] parser/parse_identityinfo.o
CC (gcc) [kamailio] parser/parse_methods.o
CC (gcc) [kamailio] parser/parse_nameaddr.o
CC (gcc) [kamailio] parser/parse_option_tags.o
CC (gcc) [kamailio] parser/parse_param.o
CC (gcc) [kamailio] parser/parse_ppi_pai.o
CC (gcc) [kamailio] parser/parse_refer_to.o
CC (gcc) [kamailio] parser/parse_require.o
CC (gcc) [kamailio] parser/parse_retry_after.o
CC (gcc) [kamailio] parser/parse_rpid.o
CC (gcc) [kamailio] parser/parse_rr.o
CC (gcc) [kamailio] parser/parse_sipifmatch.o
CC (gcc) [kamailio] parser/parse_subscription_state.o
CC (gcc) [kamailio] parser/parse_supported.o
CC (gcc) [kamailio] parser/parse_to.o
CC (gcc) [kamailio] parser/parse_uri.o
CC (gcc) [kamailio] parser/parse_via.o
CC (gcc) [kamailio] parser/parser_f.o
CC (gcc) [kamailio] parser/digest/digest.o
CC (gcc) [kamailio] parser/digest/digest_parser.o
CC (gcc) [kamailio] parser/digest/param_parser.o
CC (gcc) [kamailio] parser/contact/contact.o
CC (gcc) [kamailio] parser/contact/parse_contact.o
CC (gcc) [kamailio] parser/sdp/sdp.o
CC (gcc) [kamailio] parser/sdp/sdp_helpr_funcs.o
CC (gcc) [kamailio] rand/fastrand.o
CC (gcc) [kamailio] rand/isaac/rand.o
CC (gcc) [kamailio] cfg/cfg.o
CC (gcc) [kamailio] cfg/cfg_ctx.o
CC (gcc) [kamailio] cfg/cfg_script.o
CC (gcc) [kamailio] cfg/cfg_select.o
CC (gcc) [kamailio] cfg/cfg_struct.o
bison -d -b cfg cfg.y
flex cfg.lex
CC (gcc) [kamailio] lex.yy.o
CC (gcc) [kamailio] cfg.tab.o
LD (gcc) [kamailio] kamailio
timer.o: In function `ser_clock_gettime':
/tmp/buildd/kamailio-5.0.0~dev1+0~20160506005557.515+precise/timer.c:1176: undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
make[1]: *** [kamailio] Error 1
make[1]: Leaving directory `/tmp/buildd/kamailio-5.0.0~dev1+0~20160506005557.515+precise'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: user script /var/cache/pbuilder/build/cow.10240/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.10240/tmp/hooks/C10shell finished
I: unmounting /tmp/apt-4623 filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
-> Cleaning COW directory
forking: rm -rf /var/cache/pbuilder/build//cow.10240
+ '[' 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/precise-i386.building.4623
+ '[' -r /var/run/lock/precise-i386.update.4623 ']'
+ '[' '' = 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=…'>
+ sudo rm -rf /tmp/apt-4623
+ '[' -n 1625 ']'
++ cut -d . -f 1 /proc/uptime
+ SECONDS=280
++ date
+ echo '*** Finished execution of /usr/bin/build-and-provide-package at Fri May 6 01:33:30 UTC 2016 [running 280 seconds] ***'
*** Finished execution of /usr/bin/build-and-provide-package at Fri May 6 01:33:30 UTC 2016 [running 280 seconds] ***
+ exit 1
Build step 'Execute shell' marked build as failure
Archiving artifacts
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?
Recording fingerprints
[View Less]
Does anybody know if there is an existing library function/s to copy a
sip_msg (typically request) from shm to pkg? I know there is already this
functionality in the tmx module but I think it would be useful to move this
into a library so it can be used by other modules? I am just wanting to
make sure before I replicate code...
*Reason for such functionality:*
The main reason is where modules need to access specific headers from a sip
request which they get from t->uas.request (generally …
[View More]in instances where
only the rpl message is accessible). We all know that t->uas.request sits
in SHM, so if any additional parsing is done on this message it's pointers
will be polluted with pvt memory addresses of the processing parsing the
request. This could ultimately lead to memory corruption and segfaults.
I would therefore propose moving the pv_t_copy_msg and associated functions
from tmx modules into the core library... any objections?
Cheers
Jason
[View Less]
Module: kamailio
Branch: master
Commit: 61421ec4164cd7774f0554eb6e4d3ef252273b43
URL: https://github.com/kamailio/kamailio/commit/61421ec4164cd7774f0554eb6e4d3ef…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-05-05T08:41:42+02:00
cdp: use internal alternative to clock_gettime() to compile on mac os x
---
Modified: modules/cdp/routing.c
---
Diff: https://github.com/kamailio/kamailio/commit/…
[View More]61421ec4164cd7774f0554eb6e4d3ef…
Patch: https://github.com/kamailio/kamailio/commit/61421ec4164cd7774f0554eb6e4d3ef…
---
diff --git a/modules/cdp/routing.c b/modules/cdp/routing.c
index 51f4190..91b11f8 100644
--- a/modules/cdp/routing.c
+++ b/modules/cdp/routing.c
@@ -1,25 +1,16 @@
/*
- * $Id$
- *
* Copyright (C) 2012 Smile Communications, jason.penton(a)smilecoms.com
* Copyright (C) 2012 Smile Communications, richard.good(a)smilecoms.com
- *
- * The initial version of this code was written by Dragos Vingarzan
- * (dragos(dot)vingarzan(at)fokus(dot)fraunhofer(dot)de and the
- * Fruanhofer Institute. It was and still is maintained in a separate
- * branch of the original SER. We are therefore migrating it to
- * Kamailio/SR and look forward to maintaining it from here on out.
- * 2011/2012 Smile Communications, Pty. Ltd.
- * ported/maintained/improved by
+ *
* Jason Penton (jason(dot)penton(at)smilecoms.com and
- * Richard Good (richard(dot)good(at)smilecoms.com) as part of an
+ * Richard Good (richard(dot)good(at)smilecoms.com) as part of an
* effort to add full IMS support to Kamailio/SR using a new and
* improved architecture
- *
+ *
* NB: Alot of this code was originally part of OpenIMSCore,
- * FhG Fokus.
+ * FhG Fokus.
* Copyright (C) 2004-2006 FhG Fokus
- * Thanks for great work! This is an effort to
+ * Thanks for great work! This is an effort to
* break apart the various CSCF functions into logically separate
* components. We hope this will drive wider use. We also feel
* that in this way the architecture is more complete and thereby easier
@@ -37,12 +28,14 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
+ *
*/
+#include "../../ser_time.h"
+
#include "routing.h"
#include "config.h"
#include "peermanager.h"
@@ -58,7 +51,7 @@ int gcount = 0;
* Returns if the peer advertised support for an Application ID
* @param p - the peer to check
* @param app_id - the application id to look for
- * @param vendor_id - the vendor id to look for, 0 if not vendor specific
+ * @param vendor_id - the vendor id to look for, 0 if not vendor specific
* @returns 0 if not found, 1 if found
*/
int peer_handles_application(peer *p, int app_id, int vendor_id) {
@@ -138,8 +131,8 @@ peer* get_first_connected_route(cdp_session_t* cdp_session, routing_entry *r, in
p = peers[j];
}
}
-
- clock_gettime(CLOCK_REALTIME, &time_spec);
+
+ ser_clock_gettime(&time_spec);
p->last_selected = (time_spec.tv_sec*1000000) + round(time_spec.tv_nsec / 1.0e3); // Convert nanoseconds to microseconds
LM_DBG("chosen peer [%.*s]\n", p->fqdn.len, p->fqdn.s);
[View Less]