Bug 246375 - [patch] net/openldap24-server: conflicts in multirep configuration
Summary: [patch] net/openldap24-server: conflicts in multirep configuration
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Xin LI
URL:
Keywords: buildisok
Depends on:
Blocks:
 
Reported: 2020-05-11 15:19 UTC by Samy Mahmoudi
Modified: 2020-05-26 00:27 UTC (History)
1 user (show)

See Also:
delphij: maintainer-feedback-


Attachments
Patch file generated with svn diff (1.50 KB, patch)
2020-05-11 15:19 UTC, Samy Mahmoudi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Samy Mahmoudi 2020-05-11 15:19:29 UTC
Created attachment 214379 [details]
Patch file generated with svn diff

Hi,

Most of the time I use pkg, I get things like the following:

--------------------------------------
Updating x3550 repository catalogue...
x3550 repository is up to date.

Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.

All repositories are up to date.
Checking integrity... done (3 conflicting)
  - openldap-sasl-client-2.4.50 [x3550] conflicts with openldap-client-2.4.50 [installed] on /usr/local/bin/ldapadd
  - openldap-sasl-client-2.4.50 [x3550] conflicts with openldap-client-2.4.50 [x3550] on /usr/local/bin/ldapadd
  - openldap-sasl-client-2.4.50 [FreeBSD] conflicts with openldap-client-2.4.50 [installed] on /usr/local/bin/ldapadd
Checking integrity... done (0 conflicting)
------------------------------------------

The two packages (client and sasl-client) gets reinstalled very often, sometimes from my repository x3550, sometimes from the default FreeBSD repository. Installation often throws errors of conflicts.

Multirep configurations may not be recommended, but I do not experiment such a problem with the other 900+ ports built by my poudriere, so there may be something with these two slave ports.

I tried to patch openldap24-server to clean some leftovers from a previous era where several versions seems to coexist, but I am not sure that it will solve the problem. Also, is PKGNAMEPREFIX of any use now ?
Comment 1 Samy Mahmoudi 2020-05-11 15:20:51 UTC
(In reply to Samy Mahmoudi from comment #0)
gets reinstalled ---> get reinstalled
Comment 2 Samy Mahmoudi 2020-05-11 15:34:04 UTC
(In reply to Samy Mahmoudi from comment #1)
seems to ---> seem to
Comment 3 Automation User 2020-05-26 00:20:26 UTC
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/149498437
Comment 4 Xin LI freebsd_committer 2020-05-26 00:27:02 UTC
The patch seems unreasonable; what made it appear to work was the removal of sasl in the package name, which is not a correct fix and makes the situation even worse.