[Bug 272163] net/openldap26-server: Compiler error: incompatible function pointer types assigning
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 23 Jun 2023 12:43:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272163 Bug ID: 272163 Summary: net/openldap26-server: Compiler error: incompatible function pointer types assigning Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: delphij@FreeBSD.org Reporter: ohartmann@walstatt.org Assignee: delphij@FreeBSD.org Flags: maintainer-feedback?(delphij@FreeBSD.org) Ports tree up to date, host is a most recen CURRENT with just slipped in LLVM 16: FreeBSD 14.0-CURRENT #0 main-n263767-764464af4968: Fri Jun 23 10:30:09 CEST 2023 amd64 openldap26-server fails to compile with standard config. [...] libevent_support.c:155:31: error: incompatible function pointer types passing 'ldap_pvt_thread_t (void)' (aka 'struct pthread *(void)') to parameter of type 'unsigned long (*)(void)' [-Wincompatible-function-pointer-types] evthread_set_id_callback( ldap_pvt_thread_self ); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/event2/thread.h:193:21: note: passing argument to parameter 'id_fn' here unsigned long (*id_fn)(void)); ^ 1 error generated. /bin/sh ../../libtool --tag=disable-static --mode=compile cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -I../../include -I. -I./../slapd -I../../include -I/usr/local/include -isystem /usr/local/include -DSLAPD_IMPORT -DBALANCER_MODULE -c monitor.c gmake[4]: *** [Makefile:363: libevent_support.lo] Error 1 gmake[4]: *** Waiting for unfinished jobs.... libtool: compile: cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -I../../include -I. -I./../slapd -I../../include -I/usr/local/include -isystem /usr/local/include -DSLAPD_IMPORT -DBALANCER_MODULE -c monitor.c -fPIC -DPIC -o .libs/monitor.o module_init.c:154:19: error: incompatible function pointer types assigning to 'BI_config *' (aka 'int (*)(struct BackendInfo *, const char *, int, int, char **)') from 'int (Backend *, const char *, int, int, char **)' (aka 'int (struct BackendDB *, const char *, int, int, char **)') [-Wincompatible-function-pointer-types] bi->bi_config = config_generic_wrapper; ^ ~~~~~~~~~~~~~~~~~~~~~~ 3 warnings and 1 error generated. gmake[4]: *** [Makefile:363: module_init.lo] Error 1 -- You are receiving this mail because: You are the assignee for the bug.