[Webkit-unassigned] [Bug 142778] [EFL] Add OpenWebRTC in jhbuild

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 18 02:16:43 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=142778

--- Comment #13 from Csaba Osztrogonác <ossy at webkit.org> ---
(In reply to comment #11)
> I got the following builf error during jhbuild on our ARM bots:
> 
> user_recv_thread.c: In function 'recv_thread_init':
> user_recv_thread.c:1164:99: error: ISO C prohibits argument conversion to
> union type [-Werror=pedantic]
>      if (bind(SCTP_BASE_VAR(userspace_rawsctp), (const struct sockaddr
> *)&addr_ipv4, sizeof(struct sockaddr_in)) < 0) {
>                                                                             
> ^
> user_recv_thread.c:1226:99: error: ISO C prohibits argument conversion to
> union type [-Werror=pedantic]
>      if (bind(SCTP_BASE_VAR(userspace_udpsctp), (const struct sockaddr
> *)&addr_ipv4, sizeof(struct sockaddr_in)) < 0) {
>                                                                             
> ^
> user_recv_thread.c:1300:101: error: ISO C prohibits argument conversion to
> union type [-Werror=pedantic]
>       if (bind(SCTP_BASE_VAR(userspace_rawsctp6), (const struct sockaddr
> *)&addr_ipv6, sizeof(struct sockaddr_in6)) < 0) {
>                                                                             
> ^
> user_recv_thread.c:1372:100: error: ISO C prohibits argument conversion to
> union type [-Werror=pedantic]
>      if (bind(SCTP_BASE_VAR(userspace_udpsctp6), (const struct sockaddr
> *)&addr_ipv6, sizeof(struct sockaddr_in6)) < 0) {
>                                                                             
> ^
> cc1: all warnings being treated as errors
> make[1]: *** [libusrsctp_la-user_recv_thread.lo] Error 1
> make[1]: *** Waiting for unfinished jobs....

libusrsctp/configure:
...

linux*)
  CFLAGS="$CFLAGS -pedantic -Wall -Werror -pthread -D_GNU_SOURCE"
  LIBCFLAGS="$LIBCFLAGS  -D__Userspace_os_Linux"
  ;;

...

Unfortunately it isn't possible to supress -pedantic with adding CFLAGS
to the configure. And it isn't possible to patch the source, because it
is an SVN source and jhbuild can patch only tarballs.

Do you think if we should create a fork on github and remove pedantic there?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150318/4316ae90/attachment-0002.html>


More information about the webkit-unassigned mailing list