built with OLD dependency, take 2

Boris Samorodov bsam at ipt.ru
Thu Jun 25 07:18:50 UTC 2009


Peter Clark <clarkp at mtmary.edu> writes:

> Hello,
>
> I am not sure where to ask this question so I am going to start here,
> if this is not the correct place any direction to where I should as
> would be appreciated.
>
> I have 2 Freebsd 7.2p1 fresh installs. I have installed a number of
> ports while trying to configure them to their final configuration
> (everything installed is from ports). Weekly I cvsup my ports and run
> portmanager -u. On both of these boxes I now have a missing port and
> ones listed as being built with an OLD dependency.
>
> Box 1: snip of portmanager -u:
> 00020 have:cyrus-sasl-2.1.23                   /security/cyrus-sasl2
> CURRENT
>
> 00023 have:openldap-sasl-server-2.4.16_1       /net/openldap24-server
> CURRENT
>
> 00025 have:postfix-2.6.2_1,1                   /mail/postfix built
> with OLD dependency: openldap-client-2.4.16
>
> 00027 ----:openldap-client-2.4.16              /net/openldap24-client
> MISSING
>
> 00034 have:openldap-sasl-client-2.4.16
> /net/openldap24-sasl-client       CURRENT
>
> skipping postfix-2.6.2_1,1 /mail/postfix until dependency
> openldap-client-2.4.16 updated
> skipping openldap-client-2.4.16 /net/openldap24-client marked IGNORE
> reason: conflicts with another installed port
>
>
> Box 2: snip of portmanager -u:
> 00024 have:openldap-sasl-server-2.4.16_1       /net/openldap24-server
> CURRENT
>
> 00031 have:apache-2.2.11_7                     /www/apache22 built
> with OLD dependency: openldap-client-2.4.16
>
> 00032 ----:openldap-client-2.4.16              /net/openldap24-client
> MISSING
>
> 00033 have:php5-5.2.9                          /lang/php5            CURRENT
>
> 00035 have:php5-ldap-5.2.9                     /net/php5-ldap built
> with OLD dependency: openldap-client-2.4.16
>
> 00042 have:phpldapadmin-1.1.0.7,1              /net/phpldapadmin
> CURRENT
>
> 00050 have:openldap-sasl-client-2.4.16
> /net/openldap24-sasl-client       CURRENT
>
> skipping apache-2.2.11_7 /www/apache22 until dependency
> openldap-client-2.4.16 updated
> skipping openldap-client-2.4.16 /net/openldap24-client marked IGNORE
> reason: conflicts with another installed port
> skipping php5-ldap-5.2.9 /net/php5-ldap until dependency
> openldap-client-2.4.16 updated
> ------------------------------------------------------------------------
>
> postfix is built with openldap but not sasl2
> apache is built with ldap and authnz_ldap
>
> On both of the boxes the offender seems to be
> openldap-client-2.4.16. I installed the sasl-server version of
> openldap which in turn installed the openldap-sasl-client. I am not
> sure why postfix, apache22 and php5-ldap are having a problem with the
> sasl vs non sasl versions. I think that the sasl client and the
> regular client write to the same place though they conflict with each
> other. Is there a way to resolve this?

I'm not an expert here but since nobody has responded so far
give me a try.

If you need an openldap-sasl-client then the best way is to define
WANT_OPENLDAP_SASL=YES at /etc/make.conf. Then all other ports
which use openldap should use (have a dependency, check for
existence, etc.) openldap-sasl port but not plain openldap.

I'd advice you to remove all ports that depends upon openldap ports,
add the abovementioned line to /etc/make.conf and reinstall the
needed ports.


WBR
-- 
bsam


More information about the freebsd-ports mailing list