Portmaster does not accept an installed openldap-sasl-client when trying to install ports depending on openldap. Instead portmaster insists on installing openldap-client instead. This is demonstrated e.g. for reinstalling the already installed port security/sudo:
And:
If I instead go to /usr/ports/security/sudo and do a
This is very annoying because it turns out that every port that I would like to build with portmaster against net/openldap24-sasl-client fails. On the other hand making with make always works correctly.
This issue has already been described in an older post: https://forums.freebsd.org/viewtopic.php?&t=16488 without giving a solution for portmaster. Instead only the workaround of using make is given.
Background information: I am using:
Maybe I should add that I am using a fresh installation of FreeBSD.
Portmaster obviously reads different dependency information than make. What can I do to tell portmaster to use the net/openldap24-sasl-client instead of net/openldap24-client?
Regards,
Peter
Code:
# pkg info |grep openldap
openldap-sasl-client-2.4.38 Open source LDAP client implementation with SASL2 support
openldap-sasl-server-2.4.38_1 Open source LDAP server implementation
And:
Code:
# portmaster --no-confirm --no-term-title -D -G security/sudo
===> Cleaning for openldap-client-2.4.38
===>>> Waiting on fetch & checksum for net/openldap24-client <<<===
===> openldap-client-2.4.38 conflicts with installed package(s):
openldap-sasl-client-2.4.38
They install files into the same place.
You may want to stop build with Ctrl + C.
===>>> Waiting on fetch & checksum for net/openldap24-client <<<===
===> openldap-client-2.4.38 conflicts with installed package(s):
openldap-sasl-client-2.4.38
They install files into the same place.
You may want to stop build with Ctrl + C.
===> openldap-client-2.4.38 conflicts with installed package(s):
openldap-sasl-client-2.4.38
They install files into the same place.
You may want to stop build with Ctrl + C.
===> License OPENLDAP accepted by the user
===> openldap-client-2.4.38 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by openldap-client-2.4.38 for building
===> openldap-client-2.4.38 conflicts with installed package(s):
openldap-sasl-client-2.4.38
They will not build together.
Please remove them first with pkg delete.
*** Error code 1
Stop.
make: stopped in /usr/ports/net/openldap24-client
===>>> make failed for net/openldap24-client
===>>> Aborting update
===>>> Update for net/openldap24-client failed
===>>> Aborting update
===>>> Killing background jobs
Terminated
===>>> You can restart from the point of failure with this command line:
portmaster <flags> security/sudo net/openldap24-client
===>>> Exiting
If I instead go to /usr/ports/security/sudo and do a
make install clean
all runs fine. Subsequently Portmaster does not even detect any broken openldap dependencies when doing portmaster --check-depends
but refuses to install packages depending on openldap.This is very annoying because it turns out that every port that I would like to build with portmaster against net/openldap24-sasl-client fails. On the other hand making with make always works correctly.
This issue has already been described in an older post: https://forums.freebsd.org/viewtopic.php?&t=16488 without giving a solution for portmaster. Instead only the workaround of using make is given.
Background information: I am using:
Code:
# uname -a
FreeBSD spock 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
Maybe I should add that I am using a fresh installation of FreeBSD.
Portmaster obviously reads different dependency information than make. What can I do to tell portmaster to use the net/openldap24-sasl-client instead of net/openldap24-client?
Regards,
Peter