[Bug 231299] databases/p5-DBD-mysql: Does not compile with MariaDB 10.1

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 231299] databases/p5-DBD-mysql: Does not compile with MariaDB 10.1

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231299

            Bug ID: 231299
           Summary: databases/p5-DBD-mysql: Does not compile with MariaDB
                    10.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [hidden email]
          Reporter: [hidden email]
          Assignee: [hidden email]
             Flags: maintainer-feedback?([hidden email])

Hi,

after the update to 4.047 the port doesn't compile with MariaDB installed:

--- dbdimp.o ---
dbdimp.c:1910:56: error: invalid token at start of a preprocessor expression
#if (MYSQL_VERSION_ID >= 50723) && (MYSQL_VERSION_ID < MARIADB_BASE_VERSION)
                                                       ^
/usr/local/include/mysql/mysql_version.h:16:31: note: expanded from macro
'MARIADB_BASE_VERSION'
#define MARIADB_BASE_VERSION            "mariadb-10.1"
                                        ^
dbdimp.c:1917:56: error: invalid token at start of a preprocessor expression
#if (MYSQL_VERSION_ID >= 50600) && (MYSQL_VERSION_ID < MARIADB_BASE_VERSION)
                                                       ^
/usr/local/include/mysql/mysql_version.h:16:31: note: expanded from macro
'MARIADB_BASE_VERSION'
#define MARIADB_BASE_VERSION            "mariadb-10.1"


Full poudriere log at:
https://pkgs.blumenschaender.de/data/112amd64-default-desk/2018-09-11_04h09m16s/logs/errors/p5-DBD-mysql-4.047.log

There is already a bug report open upstream:
https://github.com/perl5-dbi/DBD-mysql/issues/262 

The code in question was introduced with commit
f4b0004ea5422ed724a252be07731f0bd8c24c79.

I'm not quite sure what the author had in mind here and there is also no
MARIADB equivalent to MYSQL_VERSION_ID in
/usr/local/include/mysql/mysql_version.h. So i've not come up with a
workaround, yet.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-perl
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

maintainer-feedback requested: [Bug 231299] databases/p5-DBD-mysql: Does not compile with MariaDB 10.1

bugzilla-noreply
Bugzilla Automation <[hidden email]> has asked freebsd-perl mailing list
<[hidden email]> for maintainer-feedback:
Bug 231299: databases/p5-DBD-mysql: Does not compile with MariaDB 10.1
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231299



--- Description ---
Hi,

after the update to 4.047 the port doesn't compile with MariaDB installed:

--- dbdimp.o ---
dbdimp.c:1910:56: error: invalid token at start of a preprocessor expression
#if (MYSQL_VERSION_ID >= 50723) && (MYSQL_VERSION_ID < MARIADB_BASE_VERSION)
                                                       ^
/usr/local/include/mysql/mysql_version.h:16:31: note: expanded from macro
'MARIADB_BASE_VERSION'
#define MARIADB_BASE_VERSION "mariadb-10.1"
                                        ^
dbdimp.c:1917:56: error: invalid token at start of a preprocessor expression
#if (MYSQL_VERSION_ID >= 50600) && (MYSQL_VERSION_ID < MARIADB_BASE_VERSION)
                                                       ^
/usr/local/include/mysql/mysql_version.h:16:31: note: expanded from macro
'MARIADB_BASE_VERSION'
#define MARIADB_BASE_VERSION "mariadb-10.1"


Full poudriere log at:
https://pkgs.blumenschaender.de/data/112amd64-default-desk/2018-09-11_04h09m16s
/logs/errors/p5-DBD-mysql-4.047.log

There is already a bug report open upstream:
https://github.com/perl5-dbi/DBD-mysql/issues/262 

The code in question was introduced with commit
f4b0004ea5422ed724a252be07731f0bd8c24c79.

I'm not quite sure what the author had in mind here and there is also no
MARIADB equivalent to MYSQL_VERSION_ID in
/usr/local/include/mysql/mysql_version.h. So i've not come up with a
workaround, yet.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-perl
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 231299] databases/p5-DBD-mysql: Does not compile with MariaDB 10.1

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231299

Sunpoet Po-Chuan Hsieh <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Closed
           Assignee|[hidden email]            |[hidden email]
         Resolution|---                         |DUPLICATE

--- Comment #1 from Sunpoet Po-Chuan Hsieh <[hidden email]> ---


*** This bug has been marked as a duplicate of bug 231271 ***

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-perl
To unsubscribe, send any mail to "[hidden email]"