[Bug 266630] "pkg install mytop" uninstalls mariadb106-server

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 26 Sep 2022 14:46:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266630

            Bug ID: 266630
           Summary: "pkg install mytop" uninstalls mariadb106-server
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: till@php.net

Installed mariadb106-server (via `pkg install mariadb106-server`) last night
and it "suggested" to install "databases/mytop" as it was not (or no longer)
included.

Went ahead and installed it (`pkg install mytop`) but the install procedure
ended up removing mariadb106-server.

On top of that, it installed half a dozen things such as openldap-client and
cyrus which I am not sure if that is really needed. Neither of these are direct
dependencies of mytop in ports and I have to admit I didn't trace them either.

The requirements[1] list a few perl packages (off of cpan) and while I am sure
it can somehow utilise all the other it seems way over the top for a basic
install.

I guess the actual culprit for uninstalling mariadb106-server is
p5-DBD-mysql[2], as it seems to require mysql57-client. IMHO, that's fine (I
guess), but if that is the case, mytop shouldn't be mentioned in the
post-install.

1: https://metacpan.org/release/JZAWODNY/mytop-0.9/view/mytop#REQUIREMENTS
2: https://www.freshports.org/databases/p5-DBD-mysql/

-- 
You are receiving this mail because:
You are the assignee for the bug.