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 ?
(In reply to Samy Mahmoudi from comment #0) gets reinstalled ---> get reinstalled
(In reply to Samy Mahmoudi from comment #1) seems to ---> seem to
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/149498437
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.
(In reply to Xin LI from comment #4) Hi Xin, > The patch seems unreasonable; what made it appear to work was . . . I have never said the proposed patch makes anything to work better. I said: "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." > . . . the removal of sasl in the package name Are you sure the proposed patch does remove "sasl" in the package name?
Just for your information, I have switched to a single-repository configuration (a custom repository made by poudriere) as a temporary workaround.
(In reply to Xin LI from comment #4) Basically, they are three different elements in this patch: 1) The removal of ${PKGNAMEPREFIX} 2) The removal of 2.[0-3].* "CONFLICTS" lines 3) The removal of PKGNAMESUFFIX=-sasl-server Do you mean 3) is unreasonable? Anyway, I think something has to be done with -sasl-server anyway, as openldap*-sasl-server does not seem to be part of the ports tree right now: https://www.freshports.org/net/openldap21-sasl-server https://www.freshports.org/net/openldap22-sasl-server https://www.freshports.org/net/openldap23-sasl-server All deprecated.
(In reply to Samy Mahmoudi from comment #7) they are ---> there are
Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>