From owner-freebsd-ports-bugs@freebsd.org Mon Jun 6 10:03:07 2016 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 4B155B4611A for ; Mon, 6 Jun 2016 10:03:07 +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 3B99718A9 for ; Mon, 6 Jun 2016 10:03:07 +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 u56A36Pf046167 for ; Mon, 6 Jun 2016 10:03:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 210074] net/asterisk13 Date: Mon, 06 Jun 2016 10:03:07 +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 Only Me X-Bugzilla-Who: technotrance@list.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: madpilot@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 flagtypes.name 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.22 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2016 10:03:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210074 Bug ID: 210074 Summary: net/asterisk13 Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: madpilot@FreeBSD.org Reporter: technotrance@list.ru Assignee: madpilot@FreeBSD.org Flags: maintainer-feedback?(madpilot@FreeBSD.org) Hello! I am trying to install asterisk from the port. At the first attempt got a message about to need to add the parameter "MAKE_JOBS_UNSAFE=3Dyes" to make= file. And I did it. At the second attempt I see here is such an error: ------------------------- codec_ilbc.c:44:1: error: unknown type name 'WebRtc_UWord16' typedef WebRtc_UWord16 ilbc_bytes; ^ codec_ilbc.c:45:1: error: unknown type name 'WebRtc_Word16' typedef WebRtc_Word16 ilbc_block; ^ codec_ilbc.c: In function 'ilbctolin_framein': codec_ilbc.c:127:3: warning: passing argument 1 of 'WebRtcIlbcfix_DecodeImp= l' from incompatible pointer type [enabled by default] iLBC_decode(tmpf, plc_mode ? f->data.ptr + x : NULL, &tmp->dec, plc_mode= ); ^ In file included from codec_ilbc.c:43:0: /usr/local/include/ilbc.h:413:8: note: expected 'int16_t *' but argument is= of type 'ilbc_block *' void WebRtcIlbcfix_DecodeImpl(int16_t *decblock, ^ codec_ilbc.c: In function 'lintoilbc_frameout': codec_ilbc.c:166:3: warning: passing argument 1 of 'WebRtcIlbcfix_EncodeImp= l' from incompatible pointer type [enabled by default] iLBC_encode((ilbc_bytes *) pvt->outbuf.BUF_TYPE, tmpf, &tmp->enc); ^ In file included from codec_ilbc.c:43:0: /usr/local/include/ilbc.h:417:8: note: expected 'uint16_t *' but argument i= s of type 'ilbc_bytes *' void WebRtcIlbcfix_EncodeImpl(uint16_t *bytes, ^ codec_ilbc.c:166:3: warning: passing argument 2 of 'WebRtcIlbcfix_EncodeImp= l' from incompatible pointer type [enabled by default] iLBC_encode((ilbc_bytes *) pvt->outbuf.BUF_TYPE, tmpf, &tmp->enc); ^ In file included from codec_ilbc.c:43:0: /usr/local/include/ilbc.h:417:8: note: expected 'const int16_t *' but argum= ent is of type 'ilbc_block *' void WebRtcIlbcfix_EncodeImpl(uint16_t *bytes, ^ /usr/ports/net/asterisk13/work/asterisk-13.9.1/Makefile.rules:145: =D0=BE= =D1=88=D0=B8=D0=B1=D0=BA=D0=B0 =D0=B2=D1=8B=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F =D1=80=D0=B5= =D1=86=D0=B5=D0=BF=D1=82=D0=B0 =D0=B4=D0=BB=D1=8F =D1=86=D0=B5=D0=BB=D0=B8 = <> gmake[3]: *** [codec_ilbc.o] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 1 gmake[3]: =D0=B2=D1=8B=D1=85=D0=BE=D0=B4 =D0=B8=D0=B7 =D0=BA=D0=B0=D1=82=D0= =B0=D0=BB=D0=BE=D0=B3=D0=B0 <> Makefile:398: =D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 =D0=B2=D1=8B=D0=BF=D0=BE= =D0=BB=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F =D1=80=D0=B5=D1=86=D0=B5=D0=BF=D1=82= =D0=B0 =D0=B4=D0=BB=D1=8F =D1=86=D0=B5=D0=BB=D0=B8 <> gmake[2]: *** [codecs] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 2 gmake[2]: =D0=B2=D1=8B=D1=85=D0=BE=D0=B4 =D0=B8=D0=B7 =D0=BA=D0=B0=D1=82=D0= =B0=D0=BB=D0=BE=D0=B3=D0=B0 <> *** Error code 1 --------------------- If I use base compiler, the error is as follows: ------------------------ codec_ilbc.c:44:9: error: unknown type name 'WebRtc_UWord16' typedef WebRtc_UWord16 ilbc_bytes; ^ codec_ilbc.c:45:9: error: unknown type name 'WebRtc_Word16' typedef WebRtc_Word16 ilbc_block; ^ codec_ilbc.c:127:15: warning: incompatible pointer types passing 'ilbc_block [240]' to parameter of type 'int16_t *' (aka 'short *') [-Wincompatible-pointer-types] iLBC_decode(tmpf, plc_mode ? f->data.ptr + x : NULL, &tmp->= dec, plc_mode); ^~~~ /usr/local/include/ilbc.h:413:42: note: passing argument to parameter 'decblock' here void WebRtcIlbcfix_DecodeImpl(int16_t *decblock, ^ codec_ilbc.c:166:15: warning: incompatible pointer types passing 'ilbc_byte= s *' (aka 'int *') to parameter of type 'uint16_t *' (aka 'unsigned short *') [-Wincompatible-pointer-types] iLBC_encode((ilbc_bytes *) pvt->outbuf.BUF_TYPE, tmpf, &tmp->enc); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ilbc.h:417:43: note: passing argument to parameter 'byte= s' here void WebRtcIlbcfix_EncodeImpl(uint16_t *bytes, ^ codec_ilbc.c:166:52: warning: incompatible pointer types passing 'ilbc_block [240]' to parameter of type 'const int16_t *' (aka 'const short *') [-Wincompatible-pointer-types] iLBC_encode((ilbc_bytes *) pvt->outbuf.BUF_TYPE, tmpf, &tmp->enc); ^~~~ /usr/local/include/ilbc.h:418:20: note: passing argument to parameter 'bloc= k' here const int16_t *block, ^ 3 warnings and 2 errors generated. /usr/ports/net/asterisk13/work/asterisk-13.9.1/Makefile.rules:145: =D0=BE= =D1=88=D0=B8=D0=B1=D0=BA=D0=B0 =D0=B2=D1=8B=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F =D1=80=D0=B5= =D1=86=D0=B5=D0=BF=D1=82=D0=B0 =D0=B4=D0=BB=D1=8F =D1=86=D0=B5=D0=BB=D0=B8 = <> gmake[3]: *** [codec_ilbc.o] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 1 gmake[3]: =D0=B2=D1=8B=D1=85=D0=BE=D0=B4 =D0=B8=D0=B7 =D0=BA=D0=B0=D1=82=D0= =B0=D0=BB=D0=BE=D0=B3=D0=B0 <> Makefile:398: =D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 =D0=B2=D1=8B=D0=BF=D0=BE= =D0=BB=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F =D1=80=D0=B5=D1=86=D0=B5=D0=BF=D1=82= =D0=B0 =D0=B4=D0=BB=D1=8F =D1=86=D0=B5=D0=BB=D0=B8 <> gmake[2]: *** [codecs] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 2 gmake[2]: =D0=B2=D1=8B=D1=85=D0=BE=D0=B4 =D0=B8=D0=B7 =D0=BA=D0=B0=D1=82=D0= =B0=D0=BB=D0=BE=D0=B3=D0=B0 <> *** Error code 1 --------------------- I tried to seek a solution independently. But to no avail. --=20 You are receiving this mail because: You are the assignee for the bug.=