ports/181798: Ports specifying WANT_MYSQL_VER failing with MariaDB

Spil spil.oss at gmail.com
Wed Sep 4 08:10:00 UTC 2013


>Number:         181798
>Category:       ports
>Synopsis:       Ports specifying WANT_MYSQL_VER failing with MariaDB
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 04 08:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Spil
>Release:        FreeBSD 9.2-RC3 amd64
>Organization:
n.a.
>Environment:
FreeBSD build3.example.org 9.2-RC3 FreeBSD 9.2-RC3 #0 r254795: Sat Aug 24 20:25:04 UTC 2013     root at bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
Ports specifying WANT_MYSQL_VER (e.g. mail/dspam, databases/p5-DBD-mysql55) fail when MariaDB is installed.

I've hacked the mail/dspam Makefile to suffix an m to the version using an extra knob MARIADB but a quick check verifies that other ports specifying WANT_MYSQL_VER fail the same way

[root at build3 p5-DBD-mysql55]# make
===>  p5-DBD-mysql55-4.023 cannot install: MySQL versions mismatch: mysql55m-client is installed and wanted version is mysql55-client.
*** [all] Error code 1

Stop in /usr/ports/databases/p5-DBD-mysql55.

Was trying to patch /usr/ports/Mk/bsd.database.mk but haven't found a proper way of adding the suffix m to the version to make it play nice with MariaDB
>How-To-Repeat:
Install MariaDB
build mail/dspam WITH_MYSQL55

>Fix:
suffix an m to the WANT_MYSQL_VER

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list