Summary: | databases/mariadb102-client: "mysql_config --libs" lacks "-L/usr/local/lib" | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | François Charlier <fcharlier> |
Component: | Individual Port(s) | Assignee: | Bernard Spil <brnrd> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | ports |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
François Charlier
2018-02-19 17:24:49 UTC
This has already been reported upstream in https://jira.mariadb.org/browse/MDEV-14439 back in November last year. Tracked down the error. The error is trying to link -liconv which is no longer needed on FreeBSD, it is part of libc on all supported versions of FreeBSD.
After fixing that I run into an error with collectd
> In file included from src/mysql.c:36:
> /usr/local/include/mysql/mysql.h:139:5: error: attempt to use a poisoned identifier
> strcpy((a)->net.sqlstate, "00000");\
> ^
> In file included from src/mysql.c:36:
> In file included from /usr/local/include/mysql/mysql.h:423:
> /usr/local/include/mysql/mariadb_stmt.h:47:3: error: attempt to use a poisoned identifier
> strcpy((a)->sqlstate, "00000");\
> ^
> 2 errors generated.
(In reply to Bernard Spil from comment #2) Scrap that... If either translit or w_chart are set it DOES depend on libiconv from ports. As I can see that's the problem with mariadb-client, not collectd5? Am I right? A commit references this bug: Author: brnrd Date: Fri May 11 12:26:10 UTC 2018 New revision: 469632 URL: https://svnweb.freebsd.org/changeset/ports/469632 Log: databases/mariadb102-client: Fix mariadb_config output - While here, standardize on -pthread PR: 226049 Reported by: fcharlier ploup net Changes: head/databases/mariadb102-client/Makefile (In reply to Krzysztof from comment #4) Correct. Source code changes broke the REINPLACE_CMD. Now you have a problem in collectd though. Suggest fcharlier opens a new PR so we separate these issues. https://github.com/collectd/collectd/issues/2769 A commit references this bug: Author: brnrd Date: Wed Oct 31 17:35:28 UTC 2018 New revision: 483598 URL: https://svnweb.freebsd.org/changeset/ports/483598 Log: databases/mariadb103-client: Fix mariadb_config output - port fix from mariadb102-client port PR: 226049, 230538 Reported by: flo Changes: head/databases/mariadb103-client/Makefile Hello, Please check mariadb dependency once again. I've just upgraded collecd5 port to new version (releaseb ca 2 weeks ago). |