Bug 248222 - net/openldap24-client: Fails to install: pkg-static: openldap-client-2.4.50 conflicts with openldap-sasl-client-2.4.50 (via databases/mysql57-client)
Summary: net/openldap24-client: Fails to install: pkg-static: openldap-client-2.4.50 c...
Status: Closed DUPLICATE of bug 257374
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mark Linimon
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2020-07-23 18:54 UTC by dgilbert
Modified: 2021-08-01 08:34 UTC (History)
5 users (show)

See Also:


Attachments
poudriere log for port build. (14.50 KB, text/plain)
2020-07-23 18:57 UTC, dgilbert
no flags Details
The overall make.conf (193 bytes, text/plain)
2020-07-23 19:47 UTC, dgilbert
no flags Details
the 11.4 specific make.conf (88 bytes, text/plain)
2020-07-23 19:47 UTC, dgilbert
no flags Details
the overall poudirere config. (11.13 KB, text/plain)
2020-07-23 19:47 UTC, dgilbert
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description dgilbert 2020-07-23 18:54:33 UTC

    
Comment 1 dgilbert 2020-07-23 18:57:08 UTC
(side note... this got opened with no comments because typing in the subject box was interrupted by whatever javascript is doing something there.)

... anyways... it all ends here:

[pkg.DaveG.ca] |   `-- Installing krb5-1.18.2...
[pkg.DaveG.ca] |   | `-- Installing openldap-client-2.4.50...
pkg-static: openldap-client-2.4.50 conflicts with openldap-sasl-client-2.4.50 (installs files into the same place).  Problematic file: /usr/local/bin/ldapadd

... which is very silly.

Build is on 11.4 with poudriere.  Poudriere is at https://pkg.daveg.ca/

build log attached.
Comment 2 dgilbert 2020-07-23 18:57:46 UTC
Created attachment 216722 [details]
poudriere log for port build.
Comment 3 Jochen Neumeister freebsd_committer freebsd_triage 2020-07-23 19:03:21 UTC
you use OpenSSL from Ports or from base?
Comment 4 dgilbert 2020-07-23 19:04:37 UTC
(In reply to Jochen Neumeister from comment #3)
This was a recompile with openssl from ports because some things require it for 11.4 ports now.
Comment 5 Jochen Neumeister freebsd_committer freebsd_triage 2020-07-23 19:37:17 UTC
hm, is there a special config for poudriere you use?
Comment 6 dgilbert 2020-07-23 19:47:11 UTC
Created attachment 216725 [details]
The overall make.conf
Comment 7 dgilbert 2020-07-23 19:47:29 UTC
Created attachment 216726 [details]
the 11.4 specific make.conf
Comment 8 dgilbert 2020-07-23 19:47:51 UTC
Created attachment 216727 [details]
the overall poudirere config.
Comment 9 dgilbert 2020-07-23 19:48:50 UTC
Not really.  Most of my poudriere config is concerned with the amount of parallelism settings.

But I've included the global and jail-specific make.conf's for you.
Comment 10 Kubilay Kocak freebsd_committer freebsd_triage 2020-07-24 02:32:17 UTC
^Triage: This is actually a net/openldap24-client failure to install (due to CONFLICT), update summary to suit, leaving current Assignee.
Comment 11 Jochen Neumeister freebsd_committer freebsd_triage 2020-09-03 22:11:02 UTC
not a mysql57 problem. Back to pool
Comment 12 Mark Linimon freebsd_committer freebsd_triage 2020-09-04 00:27:07 UTC
Here is the actual problem:

  ===>   mysql57-client-5.7.31 depends on file: /usr/local/bin/cmake - not found
  ===>   Installing existing package /packages/All/cmake-3.17.3_1.txz
  [pkg.DaveG.ca] Installing cmake-3.17.3_1...
  [pkg.DaveG.ca] `-- Installing curl-7.71.1...
  [pkg.DaveG.ca] |   `-- Installing ca_root_nss-3.54...
  [pkg.DaveG.ca] |   `-- Extracting ca_root_nss-3.54: ........ done
  [pkg.DaveG.ca] |   `-- Installing krb5-1.18.2...
  [pkg.DaveG.ca] |   | `-- Installing openldap-client-2.4.50...
  pkg-static: openldap-client-2.4.50 conflicts with openldap-sasl-client-2.4.50 (installs files into the same place).  Problematic file: /usr/local/bin/ldapadd

So at the very least you are going to have to go delete and reinstall security/krb5 .

You _may_ find that you have to turn off

  +[ ] LDAP           LDAP protocol support

via 'make config'.  But I don't know anything about that port, to be able to tell.

Because this is what I see if I turn that option on:

  portsjail% pwd
  /ports/default/security/krb5
  portsjail% make all-depends-list 2> /dev/null | grep openldap
  /home/linimon/ports/default/net/openldap24-client

OTOH I have nothing related to ldap or ssl in my make.conf etc.
Comment 13 Mikael Urankar freebsd_committer freebsd_triage 2020-10-12 11:26:45 UTC
any news on this problem?
Comment 14 Graham Perrin freebsd_committer freebsd_triage 2021-07-25 08:04:28 UTC
Bug 257374 comment 3

> Patch for exp-run that permanently enables SASL for OpenLDAP port
Comment 15 Xin LI freebsd_committer freebsd_triage 2021-08-01 08:34:27 UTC

*** This bug has been marked as a duplicate of bug 257374 ***