Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2018 14:59:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 229390] net-mgmt/collectd5 does not seem to build with mysql-support when using MariaDB 10.2
Message-ID:  <bug-229390-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229390

            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@FreeBSD.org
          Reporter: rainer@ultra-secure.de
                CC: ports@bsdserwis.com
             Flags: maintainer-feedback?(ports@bsdserwis.com)
                CC: ports@bsdserwis.com
 Attachment #194709 text/plain
         mime type:

Created attachment 194709
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D194709&action=
=3Dedit
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=20=20
-L/usr/local/lib -lmodbus  -O2 -fstack-protector -fstack-protector=20=20
-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=3DCC   --mode=3Dcompile cc -DHAVE_CONFIG_H -I. -I.=
/src=20
-I./src -I./src/daemon -DPREFIX=3D'"/usr/local"'
-DCONFIGFILE=3D'"/usr/local/etc/collectd.conf"' -DLOCALSTATEDIR=3D'"/var"'
-DPKGLOCALSTATEDIR=3D'"/var/db/collectd"' -DPLUGINDIR=3D'"/usr/local/lib/co=
llectd"'
-DPKGDATADIR=3D'"/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=20
-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=3D\"/usr/local\" -DCONFIGFILE=3D\"/usr/local/etc/collectd.conf\"
-DLOCALSTATEDIR=3D\"/var\" -DPKGLOCALSTATEDIR=3D\"/var/db/collectd\"
-DPLUGINDIR=3D\"/usr/local/lib/collectd\"
-DPKGDATADIR=3D\"/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=20
-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 poiso=
ned
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
=3D>> Cleaning up wrkdir
=3D=3D=3D>  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 !!!

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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