You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Graham Leggett via dev <de...@httpd.apache.org> on 2024/08/19 11:06:03 UTC
linux.yml: missing libsasl2-dev dependency
Hi all,
Tests are failing on Ubuntu because of this bug:
https://bugs.launchpad.net/ubuntu/+source/openldap2/+bug/2077320
libldap2-dev is missing a dependency on libsasl2-dev, and as a result the moment you try use ldap_sasl_interactive_bind the build fails.
Is it possible as a workaround for someone more clued up than me to update linux.yml to manually add this dependency?
Regards,
Graham
--
Re: linux.yml: missing libsasl2-dev dependency
Posted by Joe Orton <jo...@redhat.com>.
On Mon, Aug 19, 2024 at 01:21:32PM +0200, Ruediger Pluem wrote:
>
>
> On 8/19/24 1:06 PM, Graham Leggett via dev wrote:
> > Hi all,
> >
> > Tests are failing on Ubuntu because of this bug:
> >
> > https://bugs.launchpad.net/ubuntu/+source/openldap2/+bug/2077320
> >
> > libldap2-dev is missing a dependency on libsasl2-dev, and as a result the moment you try use ldap_sasl_interactive_bind the build fails.
> >
> > Is it possible as a workaround for someone more clued up than me to update linux.yml to manually add this dependency?
> >
>
> I am not familar with this either but probably the below gives you what you need:
https://svn.apache.org/viewvc?view=revision&revision=1919997
adds direct use of <sasl.h> so apr-util 1.7.x builds fail without the
cyrus-sasl headers installed. We could adjust every apr-util 1.7.x job
or just install that package everywhere. Trying the latter in:
https://github.com/apache/httpd/pull/474
I'll do a second commit which adds LDAP testing for apr-util 1.7.x
which is not currently covered AFAICT.
Regards, Joe
Re: linux.yml: missing libsasl2-dev dependency
Posted by Ruediger Pluem <rp...@apache.org>.
On 8/19/24 1:06 PM, Graham Leggett via dev wrote:
> Hi all,
>
> Tests are failing on Ubuntu because of this bug:
>
> https://bugs.launchpad.net/ubuntu/+source/openldap2/+bug/2077320
>
> libldap2-dev is missing a dependency on libsasl2-dev, and as a result the moment you try use ldap_sasl_interactive_bind the build fails.
>
> Is it possible as a workaround for someone more clued up than me to update linux.yml to manually add this dependency?
>
I am not familar with this either but probably the below gives you what you need:
Index: linux.yml
===================================================================
--- linux.yml (revision 1920017)
+++ linux.yml (working copy)
@@ -161,7 +161,7 @@
# -------------------------------------------------------------------------
- name: APR 1.7.4, APR-util 1.6.3, LDAP
config: --enable-mods-shared=reallyall
- pkgs: ldap-utils
+ pkgs: ldap-utils libsasl2-dev
env: |
APR_VERSION=1.7.4
APU_VERSION=1.6.3
If not just revert :-)
Regards
RĂ¼diger