[Bug 278097] databases/p5-DBD-mysql: build fails when databases/mariadb106-client installed

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 01 Apr 2024 14:31:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278097

            Bug ID: 278097
           Summary: databases/p5-DBD-mysql: build fails when
                    databases/mariadb106-client installed
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: iron.udjin@gmail.com
                CC: brnrd@freebsd.org, sirdice@gmail.com
                CC: brnrd@freebsd.org, sirdice@gmail.com

OS: 14-RELEASE-p6
MySQL client: mariadb106-client-10.6.17


# make
===>   p5-DBD-mysql-5.004 depends on package: p5-DBI>=1.08 - found
===>   p5-DBD-mysql-5.004 depends on package: perl5>=5.34<5.35 - found
===>   p5-DBD-mysql-5.004 depends on package: p5-Devel-CheckLib>=1.09 - found
===>   p5-DBD-mysql-5.004 depends on package: perl5>=5.34<5.35 - found
===>   p5-DBD-mysql-5.004 depends on shared library: libmariadb.so.3 - found
(/usr/local/lib/mysql/libmariadb.so.3)
===>  Configuring for p5-DBD-mysql-5.004


PLEASE NOTE:

For 'make test' to run properly, you must ensure that the
database user '' can connect to your MySQL server
and has the proper privileges that these tests require such
as 'drop table', 'create table', 'drop procedure', 'create procedure'
as well as others.

mysql> CREATE USER ''@'localhost' IDENTIFIED BY 's3kr1t';
mysql> GRANT ALL PRIVILEGES ON test.* TO ''@'localhost';

You can also optionally set the user to run 'make test' with:

perl Makefile.PL --testuser=username

DBD::mysql requires MySQL 8.x for building. Version reported by mysql_config
--version: 10.6.17 at ./Makefile.PL line 451, <PIPE> line 3.
*** Error code 255

Stop.
make: stopped in /usr/ports/databases/p5-DBD-mysql

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