[Bug 271473] net/openradius: error: incompatible integer to pointer conversion assigning to 'LDAP *'

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 17 May 2023 19:34:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271473

            Bug ID: 271473
           Summary: net/openradius: error: incompatible integer to pointer
                    conversion assigning to 'LDAP *'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ohartmann@walstatt.org
                CC: portmaster@bsdforge.com
             Flags: maintainer-feedback?(portmaster@bsdforge.com)
                CC: portmaster@bsdforge.com

The building host runs CURRENT, the poudriere jail in question running
13-STABLE, see below for more informations.

Ports are built with
WITH_OPENLDAP_VER=      26
set in make.conf (for the poudriere jail/set). This for the record if
important.



Error:


[...]
modules/radldap/radldap.c:302:12: error: incompatible integer to pointer
conversion assigning to 'LDAP *' (aka 'struct ldap *') from 'int'
[-Wint-conversion]
        if (!(ret = ldap_init(host, port))) {
[...]


Build environment:

[...]
=>> Building net/openradius
build started at Tue May 16 17:29:35 UTC 2023
port directory: /usr/ports/net/openradius
package name: openradius-0.9.12c_4
building for: FreeBSD host-gdr 13.2-STABLE FreeBSD 13.2-STABLE 1302505 amd64
maintained by: portmaster@bsdforge.com
Makefile datestamp: -rw-r--r--  1 root  wheel  3655 May  6 18:02
/usr/ports/net/openradius/Makefile
Ports top last git commit: aaa2456551d5
Ports top unclean checkout: no
Port dir last git commit: 748811bc629b
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.3.99.20220831
Host OSVERSION: 1400088
Jail OSVERSION: 1302505
Job Id: 01

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1302505
UNAME_v=FreeBSD 13.2-STABLE 1302505
UNAME_r=13.2-STABLE
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.99.20220831
MAKEOBJDIRPREFIX=/pool/sources/13-STABLE/obj/
MASTERMNT=/pool/poudriere/data/.m/13-amd64-head-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/pool/poudriere/data/.m/13-amd64-head-default/01/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=13-amd64-head-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/pool/poudriere/data/.m/13-amd64-head-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.3.99.20220831
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for
openradius-0.9.12c_4:
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     LDAP=on: LDAP protocol support
===> Use 'make config' to modify these settings
---End OPTIONS List---

-- 
You are receiving this mail because:
You are the assignee for the bug.