Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Feb 2023 07:32:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 269484] net/php80-ldap fails to build
Message-ID:  <bug-269484-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269484

            Bug ID: 269484
           Summary: net/php80-ldap fails to build
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: tz@freebsd.org
          Reporter: dinoex@FreeBSD.org
          Assignee: tz@freebsd.org
             Flags: maintainer-feedback?(tz@freebsd.org)

Rebuilding packages in a clean jail.
After recent updates, net/php80-ldap fails to build:

/etc/make.conf:
USE_PACKAGE_DEPENDS=3Dyes
DEPENDS_TARGET=3Dpackage install
DEPENDS_SHOW_FLAVOR=3Dyes

# make -C /usr/ports/net/php80-ldap clean package

[...]
checking size of long... 8
checking if we're at 64-bit platform... yes
configure: error: Cannot find ldap.h

comparing with last successful build from "3 Feb. 04:48"
The following line is missing.

=3D=3D=3D>   php80-ldap-8.0.27 depends on shared library: libldap.so.2 - fo=
und
(/usr/local/lib/libldap.so.2)

Diagnostics:

# grep -i ldap /usr/ports/lang/php80/Makefile.ext
.if ${PHP_MODNAME} =3D=3D "ldap"
CONFIGURE_ARGS+=3D--with-ldap=3D${LOCALBASE} --with-ldap-sasl=3D${LOCALBASE}
USE+=3D   ldap

# make -C /usr/ports/net/php80-ldap -V USE -V LIB_DEPENDS -V
_INCLUDE_USES_LDAP_MK=20
ldap

It seems that that is caused by commit 6e1233be229212a0496f42d611bd40f3e3a6=
28da


Suggested solution:

change the line in lang/php80/Makefile.ext:
-USE+=3D  ldap
+USES+=3D  ldap

--=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-269484-7788>