Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Mar 2019 13:21:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 236215] net/freeswitch: fails to build with clang 8
Message-ID:  <bug-236215-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236215

            Bug ID: 236215
           Summary: net/freeswitch: fails to build with clang 8
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: corsmith@gmail.com
            Blocks: 236062
             Flags: maintainer-feedback?(corsmith@gmail.com)
                CC: corsmith@gmail.com

$ poudriere jail -cj clang8 -v projects/clang800-import -m svn+https
$ poudriere testport -j clang8 net/freeswitch
[...]
sip_pref_util.c:328:12: error: adding 'int' to a string does not append to =
the
string [-Werror,-Wstring-plus-int]
    base =3D MATCH("audio") || MATCH("automata") || MATCH("application") ||
           ^~~~~~~~~~~~~~
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                            ~~^~~
sip_pref_util.c:328:12: note: use array indexing to silence this warning
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                              ^
sip_pref_util.c:328:30: error: adding 'int' to a string does not append to =
the
string [-Werror,-Wstring-plus-int]
    base =3D MATCH("audio") || MATCH("automata") || MATCH("application") ||
                             ^~~~~~~~~~~~~~~~~
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                            ~~^~~
sip_pref_util.c:328:30: note: use array indexing to silence this warning
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                              ^
sip_pref_util.c:328:51: error: adding 'int' to a string does not append to =
the
string [-Werror,-Wstring-plus-int]
    base =3D MATCH("audio") || MATCH("automata") || MATCH("application") ||
                                                  ^~~~~~~~~~~~~~~~~~~~
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                            ~~^~~
sip_pref_util.c:328:51: note: use array indexing to silence this warning
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                              ^
sip_pref_util.c:329:7: error: adding 'int' to a string does not append to t=
he
string [-Werror,-Wstring-plus-int]
      MATCH("actor");
      ^~~~~~~~~~~~~~
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                            ~~^~~
sip_pref_util.c:329:7: note: use array indexing to silence this warning
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                              ^
sip_pref_util.c:332:12: error: adding 'int' to a string does not append to =
the
string [-Werror,-Wstring-plus-int]
    base =3D MATCH("class") || MATCH("control");
           ^~~~~~~~~~~~~~
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                            ~~^~~
sip_pref_util.c:332:12: note: use array indexing to silence this warning
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                              ^
sip_pref_util.c:332:30: error: adding 'int' to a string does not append to =
the
string [-Werror,-Wstring-plus-int]
    base =3D MATCH("class") || MATCH("control");
                             ^~~~~~~~~~~~~~~~
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                            ~~^~~
sip_pref_util.c:332:30: note: use array indexing to silence this warning
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                              ^
sip_pref_util.c:335:12: error: adding 'int' to a string does not append to =
the
string [-Werror,-Wstring-plus-int]
    base =3D MATCH("duplex") || MATCH("data") || MATCH("description");
           ^~~~~~~~~~~~~~~
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                            ~~^~~
sip_pref_util.c:335:12: note: use array indexing to silence this warning
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                              ^
sip_pref_util.c:335:31: error: adding 'int' to a string does not append to =
the
string [-Werror,-Wstring-plus-int]
    base =3D MATCH("duplex") || MATCH("data") || MATCH("description");
                              ^~~~~~~~~~~~~
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                            ~~^~~
sip_pref_util.c:335:31: note: use array indexing to silence this warning
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                              ^
sip_pref_util.c:335:48: error: adding 'int' to a string does not append to =
the
string [-Werror,-Wstring-plus-int]
    base =3D MATCH("duplex") || MATCH("data") || MATCH("description");
                                               ^~~~~~~~~~~~~~~~~~~~
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                            ~~^~~
sip_pref_util.c:335:48: note: use array indexing to silence this warning
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                              ^
sip_pref_util.c:338:12: error: adding 'int' to a string does not append to =
the
string [-Werror,-Wstring-plus-int]
    base =3D MATCH("events");
           ^~~~~~~~~~~~~~~
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                            ~~^~~
sip_pref_util.c:338:12: note: use array indexing to silence this warning
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                              ^
sip_pref_util.c:341:12: error: adding 'int' to a string does not append to =
the
string [-Werror,-Wstring-plus-int]
    base =3D MATCH("isfocus");
           ^~~~~~~~~~~~~~~~
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                            ~~^~~
sip_pref_util.c:341:12: note: use array indexing to silence this warning
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                              ^
sip_pref_util.c:344:12: error: adding 'int' to a string does not append to =
the
string [-Werror,-Wstring-plus-int]
    base =3D MATCH("language");
           ^~~~~~~~~~~~~~~~~
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                            ~~^~~
sip_pref_util.c:344:12: note: use array indexing to silence this warning
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                              ^
sip_pref_util.c:347:12: error: adding 'int' to a string does not append to =
the
string [-Werror,-Wstring-plus-int]
    base =3D MATCH("mobility") || MATCH("methods");
           ^~~~~~~~~~~~~~~~~
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                            ~~^~~
sip_pref_util.c:347:12: note: use array indexing to silence this warning
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                              ^
sip_pref_util.c:347:33: error: adding 'int' to a string does not append to =
the
string [-Werror,-Wstring-plus-int]
    base =3D MATCH("mobility") || MATCH("methods");
                                ^~~~~~~~~~~~~~~~
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                            ~~^~~
sip_pref_util.c:347:33: note: use array indexing to silence this warning
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                              ^
sip_pref_util.c:350:12: error: adding 'int' to a string does not append to =
the
string [-Werror,-Wstring-plus-int]
    base =3D MATCH("priority");
           ^~~~~~~~~~~~~~~~~
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                            ~~^~~
sip_pref_util.c:350:12: note: use array indexing to silence this warning
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                              ^
sip_pref_util.c:353:12: error: adding 'int' to a string does not append to =
the
string [-Werror,-Wstring-plus-int]
    base =3D MATCH("schemes");
           ^~~~~~~~~~~~~~~~
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                            ~~^~~
sip_pref_util.c:353:12: note: use array indexing to silence this warning
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                              ^
sip_pref_util.c:356:12: error: adding 'int' to a string does not append to =
the
string [-Werror,-Wstring-plus-int]
    base =3D MATCH("type");
           ^~~~~~~~~~~~~
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                            ~~^~~
sip_pref_util.c:356:12: note: use array indexing to silence this warning
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                              ^
sip_pref_util.c:359:12: error: adding 'int' to a string does not append to =
the
string [-Werror,-Wstring-plus-int]
    base =3D MATCH("video");
           ^~~~~~~~~~~~~~
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                            ~~^~~
sip_pref_util.c:359:12: note: use array indexing to silence this warning
sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
  (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                              ^
18 errors generated.

http://package18.nyi.freebsd.org/data/headamd64PR236062-default/2019-03-01_=
06h42m53s/logs/errors/freeswitch-1.8.1_2.log


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236062
[Bug 236062] [exp-run] Against projects/clang800-import branch
--=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-236215-7788>