Building mysql-xql-1.0.0_2.txz (origin /buildshare/ports/355755/databases/mysql-xql) for powerpc-10-0 on XXX slot1: created x distfiles/ x distfiles/lib_mysqludf_xql-1.0.0.tar.gz x packages/ x packages/libxml2-2.9.1_1.txz x packages/gmake-3.82_1.txz x packages/mysql55-client-5.5.37.txz x packages/cmake-2.8.12.1_4.txz x packages/pkg-1.2.7_2.txz x packages/pkgconf-0.9.5.txz x packages/gettext-0.18.3.1_1.txz x packages/cmake-modules-2.8.12.1_1.txz ELF ldconfig path: /lib /usr/lib /usr/lib/compat Make depends ===> mysql-xql-1.0.0_2 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /buildshare/ports/355755/ports-mgmt/pkg ===> Installing existing package /packages/pkg-1.2.7_2.txz Installing pkg-1.2.7_2... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of mysql-xql-1.0.0_2 ===> mysql-xql-1.0.0_2 depends on shared library: libmysqlclient.so.18 - not found ===> Verifying for libmysqlclient.so.18 in /buildshare/ports/355755/databases/mysql55-client ===> Installing existing package /packages/mysql55-client-5.5.37.txz Installing mysql55-client-5.5.37... done ===> Returning to build of mysql-xql-1.0.0_2 ===> mysql-xql-1.0.0_2 depends on shared library: libxml2.so - not found ===> Verifying for libxml2.so in /buildshare/ports/355755/textproc/libxml2 ===> Installing existing package /packages/libxml2-2.9.1_1.txz Installing libxml2-2.9.1_1... done ===> Returning to build of mysql-xql-1.0.0_2 ===> mysql-xql-1.0.0_2 depends on executable: gmake - not found ===> Verifying install for gmake in /buildshare/ports/355755/devel/gmake ===> Installing existing package /packages/gmake-3.82_1.txz Installing gmake-3.82_1...Installing gettext-0.18.3.1_1... done done ===> Returning to build of mysql-xql-1.0.0_2 Make install ===> mysql-xql-1.0.0_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by mysql-xql-1.0.0_2 for building ===> Extracting for mysql-xql-1.0.0_2 => SHA256 Checksum OK for lib_mysqludf_xql-1.0.0.tar.gz. ===> Patching for mysql-xql-1.0.0_2 ===> Applying FreeBSD patches for mysql-xql-1.0.0_2 ===> mysql-xql-1.0.0_2 depends on executable: gmake - found ===> mysql-xql-1.0.0_2 depends on shared library: libmysqlclient.so.18 - found (/usr/local/lib/mysql/libmysqlclient.so.18) ===> mysql-xql-1.0.0_2 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so.2.9.1) ===> Configuring for mysql-xql-1.0.0_2 ===> FreeBSD 10 autotools fix applied to /obj/buildshare/ports/355755/databases/mysql-xql/work/lib_mysqludf_xql-1.0.0/config/libtool.m4 ===> FreeBSD 10 autotools fix applied to /obj/buildshare/ports/355755/databases/mysql-xql/work/lib_mysqludf_xql-1.0.0/aclocal.m4 ===> FreeBSD 10 autotools fix applied to /obj/buildshare/ports/355755/databases/mysql-xql/work/lib_mysqludf_xql-1.0.0/configure configure: loading site script /buildshare/ports/355755/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether gmake sets $(MAKE)... yes checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for style of include used by gmake... GNU checking dependency style of cc... gcc3 checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 checking build system type... powerpc-portbld-freebsd11.0 checking host system type... powerpc-portbld-freebsd11.0 checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 262144 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking how to run the C preprocessor... cpp checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether c++ accepts -g... (cached) yes checking dependency style of c++... (cached) gcc3 checking how to run the C++ preprocessor... c++ -E checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd11.0 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for ld used by c++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... -fPIC -DPIC checking if c++ PIC flag -fPIC -DPIC works... yes checking if c++ static flag -static works... yes checking if c++ supports -c -o file.o... yes checking if c++ supports -c -o file.o... (cached) yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... freebsd11.0 ld.so checking how to hardcode library paths into programs... immediate checking for mysql_config... /usr/local/bin/mysql_config checking for MySQL libraries... yes configure: setting libdir to mysql plugin dir /usr/local/lib/mysql/plugin checking for libxml2... /usr/local/lib/xml2Conf.sh checking for mysqlbin... checking for an ANSI C-conforming const... yes checking for size_t... (cached) yes checking for limits.h... (cached) yes checking syslimits.h usability... no checking syslimits.h presence... no checking for syslimits.h... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands ===> Building for mysql-xql-1.0.0_2 gmake[1]: Entering directory `/obj/buildshare/ports/355755/databases/mysql-xql/work/lib_mysqludf_xql-1.0.0' gmake all-am gmake[2]: Entering directory `/obj/buildshare/ports/355755/databases/mysql-xql/work/lib_mysqludf_xql-1.0.0' /bin/sh ./libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -DSTANDARD -DMYSQL_SERVER -I/usr/local/include/mysql -pipe -fno-strict-aliasing -g -DNDEBUG -I/usr/local/include/libxml2 -I/usr/include -O2 -pipe -fno-strict-aliasing -MT lib_mysqludf_xql_la-lib_mysqludf_xql.lo -MD -MP -MF .deps/lib_mysqludf_xql_la-lib_mysqludf_xql.Tpo -c -o lib_mysqludf_xql_la-lib_mysqludf_xql.lo `test -f 'lib_mysqludf_xql.cc' || echo './'`lib_mysqludf_xql.cc libtool: compile: c++ -DHAVE_CONFIG_H -I. -DSTANDARD -DMYSQL_SERVER -I/usr/local/include/mysql -pipe -fno-strict-aliasing -g -DNDEBUG -I/usr/local/include/libxml2 -I/usr/include -O2 -pipe -fno-strict-aliasing -MT lib_mysqludf_xql_la-lib_mysqludf_xql.lo -MD -MP -MF .deps/lib_mysqludf_xql_la-lib_mysqludf_xql.Tpo -c lib_mysqludf_xql.cc -fPIC -DPIC -o .libs/lib_mysqludf_xql_la-lib_mysqludf_xql.o lib_mysqludf_xql.cc: In function 'void xql_agg_add(UDF_INIT*, UDF_ARGS*, char*, char*)': lib_mysqludf_xql.cc:758: warning: comparison is always true due to limited range of data type lib_mysqludf_xql.cc: In function 'char* xql_agg(UDF_INIT*, UDF_ARGS*, char*, long unsigned int*, char*, char*)': lib_mysqludf_xql.cc:831: warning: comparison is always false due to limited range of data type libtool: compile: c++ -DHAVE_CONFIG_H -I. -DSTANDARD -DMYSQL_SERVER -I/usr/local/include/mysql -pipe -fno-strict-aliasing -g -DNDEBUG -I/usr/local/include/libxml2 -I/usr/include -O2 -pipe -fno-strict-aliasing -MT lib_mysqludf_xql_la-lib_mysqludf_xql.lo -MD -MP -MF .deps/lib_mysqludf_xql_la-lib_mysqludf_xql.Tpo -c lib_mysqludf_xql.cc -o lib_mysqludf_xql_la-lib_mysqludf_xql.o >/dev/null 2>&1 mv -f .deps/lib_mysqludf_xql_la-lib_mysqludf_xql.Tpo .deps/lib_mysqludf_xql_la-lib_mysqludf_xql.Plo /bin/sh ./libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -DSTANDARD -DMYSQL_SERVER -I/usr/local/include/mysql -pipe -fno-strict-aliasing -g -DNDEBUG -I/usr/local/include/libxml2 -I/usr/include -O2 -pipe -fno-strict-aliasing -MT lib_mysqludf_xql_la-mysqludf.lo -MD -MP -MF .deps/lib_mysqludf_xql_la-mysqludf.Tpo -c -o lib_mysqludf_xql_la-mysqludf.lo `test -f 'mysqludf.cc' || echo './'`mysqludf.cc libtool: compile: c++ -DHAVE_CONFIG_H -I. -DSTANDARD -DMYSQL_SERVER -I/usr/local/include/mysql -pipe -fno-strict-aliasing -g -DNDEBUG -I/usr/local/include/libxml2 -I/usr/include -O2 -pipe -fno-strict-aliasing -MT lib_mysqludf_xql_la-mysqludf.lo -MD -MP -MF .deps/lib_mysqludf_xql_la-mysqludf.Tpo -c mysqludf.cc -fPIC -DPIC -o .libs/lib_mysqludf_xql_la-mysqludf.o libtool: compile: c++ -DHAVE_CONFIG_H -I. -DSTANDARD -DMYSQL_SERVER -I/usr/local/include/mysql -pipe -fno-strict-aliasing -g -DNDEBUG -I/usr/local/include/libxml2 -I/usr/include -O2 -pipe -fno-strict-aliasing -MT lib_mysqludf_xql_la-mysqludf.lo -MD -MP -MF .deps/lib_mysqludf_xql_la-mysqludf.Tpo -c mysqludf.cc -o lib_mysqludf_xql_la-mysqludf.o >/dev/null 2>&1 mv -f .deps/lib_mysqludf_xql_la-mysqludf.Tpo .deps/lib_mysqludf_xql_la-mysqludf.Plo /bin/sh ./libtool --tag=CXX --mode=link c++ -DSTANDARD -DMYSQL_SERVER -I/usr/local/include/mysql -pipe -fno-strict-aliasing -g -DNDEBUG -I/usr/local/include/libxml2 -I/usr/include -O2 -pipe -fno-strict-aliasing -module -avoid-version -no-undefined -L/usr/local/lib -lxml2 -lz -L/usr/lib -lm -o lib_mysqludf_xql.la -rpath /usr/local/lib/mysql/plugin lib_mysqludf_xql_la-lib_mysqludf_xql.lo lib_mysqludf_xql_la-mysqludf.lo libtool: link: c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o .libs/lib_mysqludf_xql_la-lib_mysqludf_xql.o .libs/lib_mysqludf_xql_la-mysqludf.o -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libxml2.so -lz -L/usr/lib -lstdc++ -lm -lc -lgcc_s /usr/lib/crtsavres.o /usr/lib/crtendS.o /usr/lib/crtn.o -Wl,-soname -Wl,lib_mysqludf_xql.so -o .libs/lib_mysqludf_xql.so libtool: link: ar cru .libs/lib_mysqludf_xql.a lib_mysqludf_xql_la-lib_mysqludf_xql.o lib_mysqludf_xql_la-mysqludf.o libtool: link: ranlib .libs/lib_mysqludf_xql.a libtool: link: ( cd ".libs" && rm -f "lib_mysqludf_xql.la" && ln -s "../lib_mysqludf_xql.la" "lib_mysqludf_xql.la" ) gmake[2]: Leaving directory `/obj/buildshare/ports/355755/databases/mysql-xql/work/lib_mysqludf_xql-1.0.0' gmake[1]: Leaving directory `/obj/buildshare/ports/355755/databases/mysql-xql/work/lib_mysqludf_xql-1.0.0' ===> Staging for mysql-xql-1.0.0_2 ===> Generating temporary packing list gmake[1]: Entering directory `/obj/buildshare/ports/355755/databases/mysql-xql/work/lib_mysqludf_xql-1.0.0' gmake[2]: Entering directory `/obj/buildshare/ports/355755/databases/mysql-xql/work/lib_mysqludf_xql-1.0.0' test -z "/usr/local/lib/mysql/plugin" || /bin/mkdir -p "/obj/buildshare/ports/355755/databases/mysql-xql/work/stage/usr/local/lib/mysql/plugin" /bin/sh ./libtool --mode=install /usr/bin/install -c -o root -g wheel lib_mysqludf_xql.la '/obj/buildshare/ports/355755/databases/mysql-xql/work/stage/usr/local/lib/mysql/plugin' libtool: install: /usr/bin/install -c -o root -g wheel .libs/lib_mysqludf_xql.so /obj/buildshare/ports/355755/databases/mysql-xql/work/stage/usr/local/lib/mysql/plugin/lib_mysqludf_xql.so libtool: install: /usr/bin/install -c -o root -g wheel .libs/lib_mysqludf_xql.lai /obj/buildshare/ports/355755/databases/mysql-xql/work/stage/usr/local/lib/mysql/plugin/lib_mysqludf_xql.la libtool: install: /usr/bin/install -c -o root -g wheel .libs/lib_mysqludf_xql.a /obj/buildshare/ports/355755/databases/mysql-xql/work/stage/usr/local/lib/mysql/plugin/lib_mysqludf_xql.a libtool: install: chmod 644 /obj/buildshare/ports/355755/databases/mysql-xql/work/stage/usr/local/lib/mysql/plugin/lib_mysqludf_xql.a libtool: install: ranlib /obj/buildshare/ports/355755/databases/mysql-xql/work/stage/usr/local/lib/mysql/plugin/lib_mysqludf_xql.a libtool: install: warning: remember to run `libtool --finish /usr/local/lib/mysql/plugin' gmake[2]: Nothing to be done for `install-data-am'. gmake[2]: Leaving directory `/obj/buildshare/ports/355755/databases/mysql-xql/work/lib_mysqludf_xql-1.0.0' gmake[1]: Leaving directory `/obj/buildshare/ports/355755/databases/mysql-xql/work/lib_mysqludf_xql-1.0.0' ====> Compressing man pages (compress-man) ===> Installing for mysql-xql-1.0.0_2 ===> Checking if databases/mysql-xql already installed ===> Registering installation for mysql-xql-1.0.0_2 Installing mysql-xql-1.0.0_2... done To add the custom functions to your MySQL server use the following syntax: (you may install only the functions you need): USE mysql; DROP FUNCTION IF EXISTS lib_mysqludf_xql_info; DROP FUNCTION IF EXISTS xql_textdecl; DROP FUNCTION IF EXISTS xql_pi; DROP FUNCTION IF EXISTS xql_dtd; DROP FUNCTION IF EXISTS xql_element; DROP FUNCTION IF EXISTS xql_forest; DROP FUNCTION IF EXISTS xql_concat; DROP FUNCTION IF EXISTS xql_agg; DROP FUNCTION IF EXISTS xql_comment; DROP FUNCTION IF EXISTS xql_cdata; DROP FUNCTION IF EXISTS xql_encode; CREATE FUNCTION lib_mysqludf_xql_info RETURNS STRING SONAME 'lib_mysqludf_xql.so'; CREATE FUNCTION xql_textdecl RETURNS STRING SONAME 'lib_mysqludf_xql.so'; CREATE FUNCTION xql_pi RETURNS STRING SONAME 'lib_mysqludf_xql.so'; CREATE FUNCTION xql_dtd RETURNS STRING SONAME 'lib_mysqludf_xql.so'; CREATE FUNCTION xql_element RETURNS STRING SONAME 'lib_mysqludf_xql.so'; CREATE FUNCTION xql_forest RETURNS STRING SONAME 'lib_mysqludf_xql.so'; CREATE FUNCTION xql_concat RETURNS STRING SONAME 'lib_mysqludf_xql.so'; CREATE AGGREGATE FUNCTION xql_agg RETURNS STRING SONAME 'lib_mysqludf_xql.so'; CREATE FUNCTION xql_comment RETURNS STRING SONAME 'lib_mysqludf_xql.so'; CREATE FUNCTION xql_cdata RETURNS STRING SONAME 'lib_mysqludf_xql.so'; CREATE FUNCTION xql_encode RETURNS STRING SONAME 'lib_mysqludf_xql.so'; Example for deinstalling a function: DROP FUNCTION xql_encode; For function descriptions, see the following webpage: http://http://www.mysqludf.org/lib_mysqludf_xql/index.php Make package ===> Building package for mysql-xql-1.0.0_2 slot1: removed