Date: Fri, 23 Jun 2023 12:43:09 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 272163] net/openldap26-server: Compiler error: incompatible function pointer types assigning Message-ID: <bug-272163-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272163 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 LL= VM 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 passi= ng 'ldap_pvt_thread_t (void)' (aka 'struct pthread *(void)') to parameter of t= ype '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 parame= ter 'id_fn' here unsigned long (*id_fn)(void)); ^ 1 error generated. /bin/sh ../../libtool --tag=3Ddisable-static --mode=3Dcompile cc -O2 -pipe= =20 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing=20 -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_IM= PORT -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, c= har **)') from 'int (Backend *, const char *, int, int, char **)' (aka 'int (st= ruct BackendDB *, const char *, int, int, char **)') [-Wincompatible-function-pointer-types] bi->bi_config =3D config_generic_wrapper; ^ ~~~~~~~~~~~~~~~~~~~~~~ 3 warnings and 1 error generated. gmake[4]: *** [Makefile:363: module_init.lo] Error 1 --=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-272163-7788>