From owner-freebsd-ports-bugs@freebsd.org Mon May 22 09:41:26 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14051D78DAB for ; Mon, 22 May 2017 09:41:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EE50713C5 for ; Mon, 22 May 2017 09:41:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v4M9fPaS008039 for ; Mon, 22 May 2017 09:41:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 219450] [fix] net/freeswitch: build broken with option ALL_MODULES enabled Date: Mon, 22 May 2017 09:41:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: numisemis@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2017 09:41:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219450 Bug ID: 219450 Summary: [fix] net/freeswitch: build broken with option ALL_MODULES enabled Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: numisemis@yahoo.com CC: corsmith@gmail.com Flags: maintainer-feedback?(corsmith@gmail.com) CC: corsmith@gmail.com Created attachment 182795 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D182795&action= =3Dedit svn diff If you enable option ALL_MODULES using "make config" build is broken. It en= ds with: making all mod_http_cache gmake[6]: Entering directory '/usr/ports/net/freeswitch/work/freeswitch-1.6.13/src/mod/applications/mod_= http_cache' /bin/sh /usr/ports/net/freeswitch/work/freeswitch-1.6.13/libtool --tag=3DC= C=20=20 --mode=3Dcompile cc -DHAVE_CONFIG_H -I. -I../../../../src/include -I../../../../libs/esl/src/include -I../../../../libs/xmlrpc-c=20 -I/usr/local/include=20 -I/usr/ports/net/freeswitch/work/freeswitch-1.6.13/src/include -I/usr/ports/net/freeswitch/work/freeswitch-1.6.13/src/include -I/usr/ports/net/freeswitch/work/freeswitch-1.6.13/libs/libteletone/src -fP= IC -DLIBICONV_PLUG -isystem /usr/local/include -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include=20 -I/usr/ports/net/freeswitch/work/freeswitch-1.6.13/src/include -I/usr/ports/net/freeswitch/work/freeswitch-1.6.13/src/include -I/usr/ports/net/freeswitch/work/freeswitch-1.6.13/libs/libteletone/src -fP= IC -Werror -DENABLE_ZRTP -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/usr/ports/net/freeswitch/work/freeswitch-1.6.13/src/include -I/usr/ports/net/freeswitch/work/freeswitch-1.6.13/src/include -I/usr/ports/net/freeswitch/work/freeswitch-1.6.13/libs/libteletone/src -fP= IC -DLIBICONV_PLUG -isystem /usr/local/include -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include -I/usr/ports/net/freeswitch/work/freeswitch-1.6.13/src/include -I/usr/ports/net/freeswitch/work/freeswitch-1.6.13/src/include -I/usr/ports/net/freeswitch/work/freeswitch-1.6.13/libs/libteletone/src -fP= IC -Werror -DENABLE_ZRTP -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[6]: *** [Makefile:576: mod_http_cache_la-mod_http_cache.lo] Error 1 gmake[6]: Leaving directory '/usr/ports/net/freeswitch/work/freeswitch-1.6.13/src/mod/applications/mod_= http_cache' gmake[5]: *** [Makefile:588: mod_http_cache-all] Error 1 gmake[5]: Leaving directory '/usr/ports/net/freeswitch/work/freeswitch-1.6.13/src/mod' gmake[4]: *** [Makefile:484: all-recursive] Error 1 gmake[4]: Leaving directory '/usr/ports/net/freeswitch/work/freeswitch-1.6.13/src' gmake[3]: *** [Makefile:3004: all-recursive] Error 1 gmake[3]: Leaving directory '/usr/ports/net/freeswitch/work/freeswitch-1.6.= 13' gmake[2]: *** [Makefile:1123: all] Error 2 gmake[2]: Leaving directory '/usr/ports/net/freeswitch/work/freeswitch-1.6.= 13' *** Error code 1 Stop. make[1]: stopped in /usr/ports/net/freeswitch *** Error code 1 Stop. make: stopped in /usr/ports/net/freeswitch --=20 You are receiving this mail because: You are the assignee for the bug.=