Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2024 00:27:57 -0700
From:      "Edward Sanford Sutton, III" <mirror176@hotmail.com>
To:        ports@freebsd.org, brnrd@FreeBSD.org
Subject:   Re: Unable to upgrade MariaDB 10.11.9 to 10.11.10
Message-ID:  <CO1PR11MB4770D997A2B4A6292F8D5E9DE6592@CO1PR11MB4770.namprd11.prod.outlook.com>
In-Reply-To: <e24d0013f719302b159cf5411a76482e4a3af79d.camel@uos.de>
References:  <e24d0013f719302b159cf5411a76482e4a3af79d.camel@uos.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Copied maintainer into this email to hope it reaches them with more 
attention.

On 11/11/24 15:29, Dr. Peter Voigt wrote:
> I am unable to upgrade MariaDB from 10.11.9 to 10.11.10.
> 
> I am using FreeBSD 13.4-RELEASE-p2 and have tried to upgrade MariaDB
> using portmaster and make install.
> 
> Build of MariaDB 10.11.10 completes just fine but I am unable to
> install:
> 
> 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
> *** Error code 1
> 
> I have not installed databases/mytop at all.
> 
> I've left a comment for closed bug report 266630:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266630
> 
> because it seems related to my issue. Starting with 10.11.10 MariaDB
> shipped mytop is installed per default which seems to conflict with
> server and client port.

   Correct. Either it needs to brought out as a separate port (everyone 
can enjoy), be installed with only server or client, or be controllable 
with a port option that defaults to only picking one of the two. Could 
set it to install as a different name for each port. I think the nvidia 
graphics drivers used to play some games to get away with installing 
their libraries in place of some opensource graphics libraries but I 
think that was resolved many years ago. Alternatively we could either 
merge client and server into 1 port or set client and server to conflict 
with each other. I'd guess it should be installed with -server as that's 
what it is monitoring but I'm not familiar with the tool.

> Howver, bug report 266630 has status "closed" and my comment might not
> be read at all.

   Wish I knew if closed ports do reach the assigned maintainer but I 
think they do. Many maintainers are responsive by email too though I 
prefer PRs as they are public for others to learn from and FreeBSD PRs 
reach people better than Microsoft sending/receiving to my email box. 
Some maintainers have preferences and may be more reachable one way or 
the other.

> Could anybody please give me a hint, how to upgrade to MariaDB 10.11.10
> or should I place a new bug report?

   To fix this from packages, you have to wait until 10.11.10_1 (or 
later) comes along to resolve it. If you build from ports, you could use 
git to go to a commit before a8e7b5f4b6bd64d7a805c08b5027a41da51640c3 or 
manually patch/edit the files of either client or server to undo that 
commit; easily read at 
https://cgit.freebsd.org/ports/commit/?id=a8e7b5f4b6bd64d7a805c08b5027a41da51640c3 
. It appears you could also change just the client or the server to 
exclude its install by adding in the @comment to the pkg-plist which 
would give you the tool iwthout needing the 3rd port for it.
   Looking at that commit, it looks like this is an issue with the other 
versions that it patched too.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CO1PR11MB4770D997A2B4A6292F8D5E9DE6592>