Bug 282680 - databases/mariadb1011-server
Summary: databases/mariadb1011-server
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Bernard Spil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-10 21:55 UTC by Jordan Ostreff
Modified: 2024-11-14 12:40 UTC (History)
6 users (show)

See Also:
bugzilla: maintainer-feedback? (brnrd)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jordan Ostreff 2024-11-10 21:55:01 UTC
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
Comment 1 Jordan Ostreff 2024-11-10 22:28:24 UTC
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
Comment 2 T. S. 2024-11-11 09:22:52 UTC
This has been brought in with https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266630 and lack of testing maybe.
Comment 3 Krzysztof 2024-11-12 07:52:52 UTC
(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...
Comment 4 Jordan Ostreff 2024-11-12 14:41:48 UTC
(In reply to Krzysztof from comment #3)
Or maybe to be separated outside of -client/-server packages? And to use databases/mytop if needed.
Comment 5 Krzysztof 2024-11-14 09:07:45 UTC
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.
Comment 6 commit-hook freebsd_committer freebsd_triage 2024-11-14 12:35:05 UTC
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(-)
Comment 7 Bernard Spil freebsd_committer freebsd_triage 2024-11-14 12:40:06 UTC
(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.