pkg-static: mariadb1011-server-10.11.10 conflicts with mariadb1011-client-10.11.10 (installs files into the same place). Problematic file: /usr/local/bin/mytop
both databases/mariadb1011-server and databases/mariadb1011-client contain in his pkg-plist file /usr/ports/databases/mariadb1011-client/pkg-plist:bin/mytop /usr/ports/databases/mariadb1011-client/pkg-plist:share/man/man1/mytop.1.gz /usr/ports/databases/mariadb1011-server/pkg-plist:bin/mytop /usr/ports/databases/mariadb1011-server/pkg-plist:share/man/man1/mytop.1.gz
This has been brought in with https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266630 and lack of testing maybe.
(In reply to Jordan Ostreff from comment #1) As I can see bin/mytop is added to client and to server. That's make a conflict between mariadb-client and mariadb-server. AFAIK mariadb-server could not be installed without mariadb-client. As I understand mytop could be run "outside" of mariadb-server. So I think it should be added to mariadb-client only...
(In reply to Krzysztof from comment #3) Or maybe to be separated outside of -client/-server packages? And to use databases/mytop if needed.
Mr Bernard: can you review this commit and remove mytop from mariadb-server? For now installing mariadb-server conflicts with mariadb-client (and client is dependency for server). Thanks a lot for fixing this issue.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=54b68d50803a50073ab420717309f44cd9ba715f commit 54b68d50803a50073ab420717309f44cd9ba715f Author: Bernard Spil <brnrd@FreeBSD.org> AuthorDate: 2024-11-13 19:14:18 +0000 Commit: Bernard Spil <brnrd@FreeBSD.org> CommitDate: 2024-11-14 12:33:05 +0000 databases/mariadb1011-server: Fix mytop install conflict PR: 282680 Reported by: Jordan Ostreff databases/mariadb1011-server/pkg-plist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
(In reply to Krzysztof from comment #5) This was caused by a8e7b5f4b6bd64d7a805c08b5027a41da51640c3 where I adopted the abandoned mytop port and the necessary CONFLICTS were registered. MariaDB (client) installs are now orthogonal with the mytop port. All MariaDB versions come with the mytop application packaged, I've not compared the versions, but I expect that MariaDB makes sure the packaged version works with their server implementation.