Date: Sat, 18 Feb 2017 23:55:49 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 217216] net/freeswitch:Version 1.6.13 fails to compile Message-ID: <bug-217216-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217216 Bug ID: 217216 Summary: net/freeswitch:Version 1.6.13 fails to compile Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: rajil.s@gmail.com CC: corsmith@gmail.com CC: corsmith@gmail.com Flags: maintainer-feedback?(corsmith@gmail.com) Following is the compile error when using poudriere making all mod_http_cache gmake[5]: Entering directory '/wrkdirs/usr/ports/net/freeswitch/work/freeswitch-1.6.13/src/mod/applicati= ons/mod_http_cache' /bin/sh /wrkdirs/usr/ports/net/freeswitch/work/freeswitch-1.6.13/libtool=20 --tag=3DCC --mode=3Dcompile cc -DHAVE_CONFIG_H -I. -I../../../../src/incl= ude -I../../../../libs/esl/src/include -I../../../../libs/xmlrpc-c=20 -I/usr/local/include=20=20 -I/wrkdirs/usr/ports/net/freeswitch/work/freeswitch-1.6.13/src/include -I/wrkdirs/usr/ports/net/freeswitch/work/freeswitch-1.6.13/src/include -I/wrkdirs/usr/ports/net/freeswitch/work/freeswitch-1.6.13/libs/libteletone= /src -fPIC -DLIBICONV_PLUG -isystem /usr/local/include -I/usr/local/include -I/wrkdirs/usr/ports/net/freeswitch/work/freeswitch-1.6.13/src/include -I/wrkdirs/usr/ports/net/freeswitch/work/freeswitch-1.6.13/src/include -I/wrkdirs/usr/ports/net/freeswitch/work/freeswitch-1.6.13/libs/libteletone= /src -fPIC -Werror -DENABLE_ZRTP -I/usr/local/include -DHAVE_OPENSSL -Wall -std= =3Dc99 -pedantic -Wdeclaration-after-statement -O2 -pipe -Wno-c11-extensions -Wno-deprecated-declarations -Wno-zero-length-array -Wno-incompatible-pointer-types -DLIBICONV_PLUG -fstack-protector -DLDAP_DEPRECATED -isystem /usr/local/include -fno-strict-aliasing -Wno-extended-offsetof -MT mod_http_cache_la-mod_http_cache.lo -MD -MP -MF .deps/mod_http_cache_la-mod_http_cache.Tpo -c -o mod_http_cache_la-mod_http_cache.lo `test -f 'mod_http_cache.c' || echo './'`mod_http_cache.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I../../../../src/include -I../../../../libs/esl/src/include -I../../../../libs/xmlrpc-c -I/usr/local/include -I/wrkdirs/usr/ports/net/freeswitch/work/freeswitch-1.6.13/src/include -I/wrkdirs/usr/ports/net/freeswitch/work/freeswitch-1.6.13/src/include -I/wrkdirs/usr/ports/net/freeswitch/work/freeswitch-1.6.13/libs/libteletone= /src -fPIC -DLIBICONV_PLUG -isystem /usr/local/include -I/usr/local/include -I/wrkdirs/usr/ports/net/freeswitch/work/freeswitch-1.6.13/src/include -I/wrkdirs/usr/ports/net/freeswitch/work/freeswitch-1.6.13/src/include -I/wrkdirs/usr/ports/net/freeswitch/work/freeswitch-1.6.13/libs/libteletone= /src -fPIC -Werror -DENABLE_ZRTP -I/usr/local/include -DHAVE_OPENSSL -Wall -std= =3Dc99 -pedantic -Wdeclaration-after-statement -O2 -pipe -Wno-c11-extensions -Wno-deprecated-declarations -Wno-zero-length-array -Wno-incompatible-pointer-types -DLIBICONV_PLUG -fstack-protector -DLDAP_DEPRECATED -isystem /usr/local/include -fno-strict-aliasing -Wno-extended-offsetof -MT mod_http_cache_la-mod_http_cache.lo -MD -MP -MF .deps/mod_http_cache_la-mod_http_cache.Tpo -c mod_http_cache.c -fPIC -DPIC= -o .libs/mod_http_cache_la-mod_http_cache.o mod_http_cache.c:956:31: error: implicit declaration of function 'strndup' = is invalid in C99 [-Werror,-Wimplicit-function-declaration] char *found_extension_dup =3D strndup(found_extension, found_extension_len); ^ mod_http_cache.c:956:31: note: did you mean 'strdup'? /usr/include/string.h:85:7: note: 'strdup' declared here char *strdup(const char *) __malloc_like; ^ mod_http_cache.c:956:9: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' [-Werror,-Wint-conversion] char *found_extension_dup =3D strndup(found_extension, found_extension_len); ^=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. gmake[5]: *** [Makefile:576: mod_http_cache_la-mod_http_cache.lo] Error 1 gmake[5]: Leaving directory '/wrkdirs/usr/ports/net/freeswitch/work/freeswitch-1.6.13/src/mod/applicati= ons/mod_http_cache' gmake[4]: *** [Makefile:588: mod_http_cache-all] Error 1 gmake[4]: Leaving directory '/wrkdirs/usr/ports/net/freeswitch/work/freeswitch-1.6.13/src/mod' gmake[3]: *** [Makefile:484: all-recursive] Error 1 gmake[3]: Leaving directory '/wrkdirs/usr/ports/net/freeswitch/work/freeswitch-1.6.13/src' gmake[2]: *** [Makefile:3004: all-recursive] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/net/freeswitch/work/freeswitch-1.6.13' gmake[1]: *** [Makefile:1123: all] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/net/freeswitch/work/freeswitch-1.6.13' *** Error code 1 Stop. make: stopped in /usr/ports/net/freeswitch =3D=3D=3D=3D>> Cleaning up wrkdir --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217216-13>