Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2024 08:20:17 +0100
From:      Piotr Smyrak <ps.ports@smyrak.com>
To:        ports@freebsd.org
Subject:   Re: Unable to upgrade MariaDB 10.11.9 to 10.11.10
Message-ID:  <20241112082017.6010fc70@daleth.home>
In-Reply-To: <e24d0013f719302b159cf5411a76482e4a3af79d.camel@uos.de>
References:  <e24d0013f719302b159cf5411a76482e4a3af79d.camel@uos.de>

next in thread | previous in thread | raw e-mail | index | archive | help
--MP_/ikpbhhZp.lwhAahu=+UrV7n
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Mon, 11 Nov 2024 23:29:27 +0100
"Dr. Peter Voigt" <pvoigt@uos.de> 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.
> 
> Howver, bug report 266630 has status "closed" and my comment might not
> be read at all.
> 
> Could anybody please give me a hint, how to upgrade to MariaDB
> 10.11.10 or should I place a new bug report?

You can patch locally databases/mariadb1011-server/pkg-plist by
reversing the latest delta to the file. 

patch -R < attached_file

HTH,
-- 
 Piotr Smyrak

--MP_/ikpbhhZp.lwhAahu=+UrV7n
Content-Type: text/x-patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=mariadb1011-server.patch

commit a8e7b5f4b6bd64d7a805c08b5027a41da51640c3
Author: Bernard Spil <brnrd@FreeBSD.org>
Date:   2024-11-10 14:34:56 +0100

    databases/mytop: Adopt port and fix conflicts
    
     * The MariaDB ports have shipped a mytop for a long time. This was
       commented out due to earlier conflicts. These changes use the
       packaged mytop for MariaDB ports whilst providing the port for
       MySQL versions.
    
    Reported by:    till php net
    PR:             266630

diff --git databases/mariadb1011-server/pkg-plist databases/mariadb1011-server/pkg-plist
index 2f45fcfa3815..94b7ef49acc7 100644
--- databases/mariadb1011-server/pkg-plist
+++ databases/mariadb1011-server/pkg-plist
@@ -26,7 +26,7 @@ bin/myisam_ftdump
 bin/myisamchk
 bin/myisamlog
 bin/myisampack
-@comment bin/mytop
+bin/mytop
 %%ROCKSDB%%bin/myrocks_hotbackup
 bin/mysql_client_test
 bin/mysql_client_test_embedded
@@ -305,7 +305,7 @@ libexec/mysqld
 @comment share/man/man1/mysqlslap.1.gz
 @comment share/man/man1/mysqltest.1.gz
 @comment share/man/man1/mysqltest_embedded.1.gz
-@comment @comment share/man/man1/mytop.1.gz
+share/man/man1/mytop.1.gz
 @comment share/man/man1/mysql.server.1.gz
 @comment share/man/man1/mysql_fix_extensions.1.gz
 @comment share/man/man1/mysql_install_db.1.gz

--MP_/ikpbhhZp.lwhAahu=+UrV7n--



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