[Bug 229390] net-mgmt/collectd5 does not seem to build with mysql-support when using MariaDB 10.2
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jun 28 14:59:33 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229390
Bug ID: 229390
Summary: net-mgmt/collectd5 does not seem to build with
mysql-support when using MariaDB 10.2
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: rainer at ultra-secure.de
CC: ports at bsdserwis.com
Flags: maintainer-feedback?(ports at bsdserwis.com)
CC: ports at bsdserwis.com
Attachment #194709 text/plain
mime type:
Created attachment 194709
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=194709&action=edit
collectd poudriere build log
see file for complete log.
libtool: link: /usr/bin/egrep -e "\<module_register\>" ".libs/modbus.exp" >
".libs/modbus.expT"
libtool: link: mv -f ".libs/modbus.expT" ".libs/modbus.exp"
libtool: link: echo "{ global:" > .libs/modbus.so-ver
libtool: link: sed -e "s|$|;|" < .libs/modbus.exp >>
.libs/modbus.so-ver
libtool: link: echo "local: *; };" >> .libs/modbus.so-ver
libtool: link: cc -shared -fPIC -DPIC src/.libs/modbus_la-modbus.o
-L/usr/local/lib -lmodbus -O2 -fstack-protector -fstack-protector
-Wl,-soname -Wl,modbus.so -Wl,-version-script -Wl,.libs/modbus.so-ver -o
.libs/modbus.so
libtool: link: ( cd ".libs" && rm -f "modbus.la" && ln -s "../modbus.la"
"modbus.la" )
/bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I./src
-I./src -I./src/daemon -DPREFIX='"/usr/local"'
-DCONFIGFILE='"/usr/local/etc/collectd.conf"' -DLOCALSTATEDIR='"/var"'
-DPKGLOCALSTATEDIR='"/var/db/collectd"' -DPLUGINDIR='"/usr/local/lib/collectd"'
-DPKGDATADIR='"/usr/local/share/collectd"' -I/usr/local/include
-I/usr/local/include -Wall -I/usr/local/include/mysql
-I/usr/local/include/mysql/mysql -I/usr/local/include -O2 -pipe
-Wno-deprecated-declarations -fstack-protector -fno-strict-aliasing -MT
src/mysql_la-mysql.lo -MD -MP -MF src/.deps/mysql_la-mysql.Tpo -c -o
src/mysql_la-mysql.lo `test -f 'src/mysql.c' || echo './'`src/mysql.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I./src -I./src -I./src/daemon
-DPREFIX=\"/usr/local\" -DCONFIGFILE=\"/usr/local/etc/collectd.conf\"
-DLOCALSTATEDIR=\"/var\" -DPKGLOCALSTATEDIR=\"/var/db/collectd\"
-DPLUGINDIR=\"/usr/local/lib/collectd\"
-DPKGDATADIR=\"/usr/local/share/collectd\" -I/usr/local/include
-I/usr/local/include -Wall -I/usr/local/include/mysql
-I/usr/local/include/mysql/mysql -I/usr/local/include -O2 -pipe
-Wno-deprecated-declarations -fstack-protector -fno-strict-aliasing -MT
src/mysql_la-mysql.lo -MD -MP -MF src/.deps/mysql_la-mysql.Tpo -c src/mysql.c
-fPIC -DPIC -o src/.libs/mysql_la-mysql.o
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.
gmake[2]: *** [Makefile:6310: src/mysql_la-mysql.lo] Error 1
gmake[2]: Leaving directory
'/wrkdirs/usr/ports/net-mgmt/collectd5/work/collectd-5.8.0'
gmake[1]: *** [Makefile:4366: all] Error 2
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/net-mgmt/collectd5/work/collectd-5.8.0'
*** Error code 1
Stop.
make: stopped in /usr/ports/net-mgmt/collectd5
=>> Cleaning up wrkdir
===> Cleaning for collectd5-5.8.0_1
build of net-mgmt/collectd5 | collectd5-5.8.0_1 ended at Wed Jun 27 12:59:56
CEST 2018
build time: 00:03:03
!!! build failure encountered !!!
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list