Bug 224077

Summary: www/kannel does not work with mariadb 10.2
Product: Ports & Packages Reporter: rainer
Component: Individual Port(s)Assignee: Danilo G. Baio <dbaio>
Status: Open ---    
Severity: Affects Only Me CC: brnrd
Priority: --- Flags: dbaio: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
poudriere build log
none
latest build log
none
latest build log none

Description rainer 2017-12-04 11:02:19 UTC
Created attachment 188516 [details]
poudriere build log

Hi,

poudriere log is in the attachment.
Comment 1 rainer 2018-04-28 20:45:44 UTC
Hi,

this still does not work.

I'd like to reduce the number of builds I do and bring everything to MariaDB 10.2.
Comment 2 rainer 2018-04-28 20:46:20 UTC
Created attachment 192883 [details]
latest build log
Comment 3 Danilo G. Baio freebsd_committer 2018-04-29 17:55:56 UTC
(In reply to rainer from comment #2)

Hi!

This problem happens in all mariadb versions?

Could you report this to the devel list of Kannel? 
https://www.kannel.org/lists.shtml

Regards.
Comment 4 rainer 2018-04-29 17:58:13 UTC
It works with 10.0, but fails with 10.1 + 10.2.
Comment 5 Bernard Spil freebsd_committer 2018-05-11 09:28:58 UTC
Please report upstream. Using MYSQL_SERVER_VERSION for a database client is silly.

As indicated by the build, clients must only include mysql.h. If you're using MariaDB, it will actually include mariadb_version.h itself and then you have access to 
> #define MARIADB_CLIENT_VERSION_STR      "10.2.14"

Cheers, Bernard.
Comment 6 Bernard Spil freebsd_committer 2018-05-11 09:30:04 UTC
See also #221242 for another example.
Comment 7 Danilo G. Baio freebsd_committer 2018-05-12 13:34:14 UTC
Thanks Bernard for the heads up.

@rainer, could you test Kannel with this patch?
https://people.freebsd.org/~dbaio/kannel-mariadb.patch

It's building fine with MariaDB 10.2.

Regards.
Comment 8 rainer 2018-05-13 00:04:44 UTC
Yes, it builds fine here, too.
MariaDB 10.1+10.2.
Comment 9 rainer 2018-07-09 08:37:19 UTC
Hi,

for some reason this patch is no longer included when I try to build kannel now.

11.2-amd64, poudriere 3.2.7 (initially with 3.2.6)

2018Q3 cut of ports tree.

It did build on the 2018Q2 cut, with poudriere 3.2.6.
Comment 10 rainer 2018-07-09 08:38:20 UTC
Created attachment 194983 [details]
latest build log
Comment 11 rainer 2018-07-10 14:31:05 UTC
Danilo has already reported it upstream (thanks!).

https://redmine.kannel.org/issues/778

So far, nothing has happened.