Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Sep 2013 08:04:01 GMT
From:      Spil <spil.oss@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/181798: Ports specifying WANT_MYSQL_VER failing with MariaDB
Message-ID:  <201309040804.r84841MF021987@oldred.freebsd.org>
Resent-Message-ID: <201309040810.r848A0fa007613@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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:



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