Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#60426 - [libnice] fails to build in clean chroot
Attached to Project:
Arch Linux
Opened by Erich Eckner (deepthought) - Tuesday, 16 October 2018, 11:46 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 25 April 2019, 20:19 GMT
Opened by Erich Eckner (deepthought) - Tuesday, 16 October 2018, 11:46 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 25 April 2019, 20:19 GMT
|
DetailsDescription:
extra-x86_64-build fails with: socket.c: In function ‘nice_socket_free_send_queue’: socket.c:453:32: error: cast between incompatible function types from ‘void (*)(NiceSocketQueuedSend *)’ {aka ‘void (*)(struct _NiceSocketQueuedSend *)’} to ‘void (*)(void *, void *)’ [-Werror=cast-function-type] g_queue_foreach (send_queue, (GFunc) nice_socket_free_queued_send, NULL); ^ tcp-bsd.c: In function ‘socket_send_message’: tcp-bsd.c:315:28: error: cast between incompatible function types from ‘gboolean (*)(GSocket *, GIOCondition, void *)’ {aka ‘int (*)(struct _GSocket *, enum <anonymous>, void *)’} to ‘gboolean (*)(void *)’ {aka ‘int (*)(void *)’} [-Werror=cast-function-type] priv->context, (GSourceFunc) socket_send_more, sock); ^ tcp-bsd.c:324:26: error: cast between incompatible function types from ‘gboolean (*)(GSocket *, GIOCondition, void *)’ {aka ‘int (*)(struct _GSocket *, enum <anonymous>, void *)’} to ‘gboolean (*)(void *)’ {aka ‘int (*)(void *)’} [-Werror=cast-function-type] priv->context, (GSourceFunc) socket_send_more, sock); ^ tcp-bsd.c:333:26: error: cast between incompatible function types from ‘gboolean (*)(GSocket *, GIOCondition, void *)’ {aka ‘int (*)(struct _GSocket *, enum <anonymous>, void *)’} to ‘gboolean (*)(void *)’ {aka ‘int (*)(void *)’} [-Werror=cast-function-type] priv->context, (GSourceFunc) socket_send_more, sock); ^ CC tcp-passive.lo CC pseudossl.lo cc1: all warnings being treated as errors make[2]: *** [Makefile:481: tcp-bsd.lo] Error 1 Additional info: * package version(s) libnice 0.1.14+70+gfb2f1f7-1 (git revision f042e86963f14ccc4dedfb0496dc7cae0ca5ef28) * config and/or log files etc. full log is attached Steps to reproduce: > git checkout f042e86963f14ccc4dedfb0496dc7cae0ca5ef28 > cd libnice/repos/extra-x86_64 > extra-x86_64-build |
This task depends upon
log.x86_64
dnl use a three digit version number for releases, and four for cvs/prerelease
AC_INIT([libnice],[0.1.14.1])
LIBNICE_RELEASE="no"
...
dnl Support different levels of compiler error reporting.
dnl This configure flag is designed to mimic one from gnome-common,
dnl Defaults to "error" except for releases where it defaults to "yes"
AC_ARG_ENABLE(compile-warnings,
AS_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@],
[Enable different levels of compiler warnings]),,
[AS_IF([test "$LIBNICE_RELEASE" = "yes"],
[enable_compile_warnings="yes"],
[enable_compile_warnings="error"])])
so conversion of compiler warnings to errors can be disabled the the addition of the configure parameter --enable-compile-warnings=yes
Please report the actual type incompatibility issue upstream.