* Package: app-mobilephone/kannel-sqlbox-1.5.0-r1 * Repository: gentoo * Maintainer: travisghansen@yahoo.com proxy-maint@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ssl userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking gateway-1.5.0.tar.gz to /var/tmp/portage/app-mobilephone/kannel-sqlbox-1.5.0-r1/work >>> Source unpacked in /var/tmp/portage/app-mobilephone/kannel-sqlbox-1.5.0-r1/work >>> Preparing source in /var/tmp/portage/app-mobilephone/kannel-sqlbox-1.5.0-r1/work/gateway-1.5.0/addons/sqlbox ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-mobilephone/kannel-sqlbox-1.5.0-r1/work/gateway-1.5.0/addons/sqlbox ... * econf: updating gateway-1.5.0/config.guess with /usr/share/gnuconfig/config.guess * econf: updating gateway-1.5.0/addons/sqlbox/autotools/config.guess with /usr/share/gnuconfig/config.guess * econf: updating gateway-1.5.0/addons/sqlbox/autotools/config.sub with /usr/share/gnuconfig/config.sub * econf: updating gateway-1.5.0/addons/opensmppbox/autotools/config.guess with /usr/share/gnuconfig/config.guess * econf: updating gateway-1.5.0/addons/opensmppbox/autotools/config.sub with /usr/share/gnuconfig/config.sub * econf: updating gateway-1.5.0/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --libdir=/usr/lib64 --docdir=/usr/share/doc/kannel-sqlbox-1.5.0-r1 --without-ctlib --without-mssql --enable-ssl --disable-docs checking cvs checkout date... grep: CVS/Entries: No such file or directory grep: CVS/Entries: No such file or directory checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for style of include used by make... GNU checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc 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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... none checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for x86_64-pc-linux-gnu-g77... no checking for x86_64-pc-linux-gnu-xlf... no checking for x86_64-pc-linux-gnu-f77... no checking for x86_64-pc-linux-gnu-frt... no checking for x86_64-pc-linux-gnu-pgf77... no checking for x86_64-pc-linux-gnu-cf77... no checking for x86_64-pc-linux-gnu-fort77... no checking for x86_64-pc-linux-gnu-fl32... no checking for x86_64-pc-linux-gnu-af77... no checking for x86_64-pc-linux-gnu-xlf90... no checking for x86_64-pc-linux-gnu-f90... no checking for x86_64-pc-linux-gnu-pgf90... no checking for x86_64-pc-linux-gnu-pghpf... no checking for x86_64-pc-linux-gnu-epcf90... no checking for x86_64-pc-linux-gnu-gfortran... x86_64-pc-linux-gnu-gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether x86_64-pc-linux-gnu-gfortran accepts -g... yes checking the maximum length of command line arguments... 1572864 checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux 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 configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for x86_64-pc-linux-gnu-gfortran option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gfortran PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-gfortran static flag -static works... yes checking if x86_64-pc-linux-gnu-gfortran supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-gfortran linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working volatile... yes checking whether closedir returns void... no checking for error_at_line... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking whether to compile with SSL support... trying /usr/include/openssl Configuring DocBook support ... checking for jade... jade checking for jadetex... no checking for pdfjadetex... no checking for dvips... dvips checking for fig2dev... no checking for convert... convert checking for /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... no checking for /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... no checking for /usr/share/dsssl/docbook-dsssl/html/docbook.dsl... no checking for /usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/docbook.dsl... yes checking for /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl... no checking for /usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... no checking for /usr/share/dsssl/docbook-dsssl/print/docbook.dsl... no checking for /usr/share/sgml/docbook/dsssl-stylesheets-1.79/print/docbook.dsl... yes Not building documentation. checking for Ct-Lib support... checking for FreeTDS Ct-Lib support... checking for gw-config... /usr/bin/gw-config checking Kannel version... 1.5.0 checking Kannel libs... -L/usr/lib64/kannel -lgw -lwap -lgwlib -lpq -ldl -lpam -lpcreposix -lrt -lresolv -lnsl -lm -luuid -lpthread -lxml2 -lz -lm -ldl -L/usr/lib64 -lpcreposix -lpcre -L/usr/lib64 -L/usr/lib64/postgresql-12/lib64 checking Kannel includes... -I/usr/include/kannel -O2 -pipe -march=native -fno-strict-aliasing -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/uuid -D_LARGE_FILES= -I/usr/include/libxml2 -Wall -I/usr/include/openssl -I/usr/include/postgresql-12 checking for cfg_create in -lgwlib... yes checking for Kannel's DB support... configure: creating ./config.status config.status: creating Makefile config.status: creating gw/Makefile config.status: creating rpm/sqlbox.spec config.status: creating sb-config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/app-mobilephone/kannel-sqlbox-1.5.0-r1/work/gateway-1.5.0/addons/sqlbox ... make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/app-mobilephone/kannel-sqlbox-1.5.0-r1/work/gateway-1.5.0/addons/sqlbox' Making all in gw make[2]: Entering directory '/var/tmp/portage/app-mobilephone/kannel-sqlbox-1.5.0-r1/work/gateway-1.5.0/addons/sqlbox/gw' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw -O2 -pipe -march=native -fno-common -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/kannel -O2 -pipe -march=native -fno-strict-aliasing -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/uuid -D_LARGE_FILES= -I/usr/include/libxml2 -Wall -I/usr/include/openssl -I/usr/include/postgresql-12 -c sqlbox.c In file included from /usr/include/errno.h:25, from sqlbox.c:61: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from sqlbox.c:66: /usr/include/kannel/gwlib/gwlib.h:107: warning: "UUID_STR_LEN" redefined 107 | #define UUID_STR_LEN 36 | In file included from /usr/include/kannel/gwlib/gwlib.h:103, from sqlbox.c:66: /usr/include/uuid/uuid.h:65: note: this is the location of the previous definition 65 | #define UUID_STR_LEN 37 | sqlbox.c: In function ‘run_sqlbox’: sqlbox.c:412:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 412 | fd = (int)arg; | ^ In file included from /usr/include/kannel/gwlib/gwlib.h:82, from sqlbox.c:66: sqlbox.c: In function ‘wait_for_connections’: sqlbox.c:452:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 452 | gwthread_create(function, (void *)fd); | ^ /usr/include/kannel/gwlib/gwthread.h:91:50: note: in definition of macro ‘gwthread_create’ 91 | (gwthread_create_real(func, __FILE__ ":" #func, arg)) | ^~~ sqlbox.c: In function ‘sqlboxc_run’: sqlbox.c:572:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 572 | port = (int)arg; | ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw -O2 -pipe -march=native -fno-common -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/kannel -O2 -pipe -march=native -fno-strict-aliasing -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/uuid -D_LARGE_FILES= -I/usr/include/libxml2 -Wall -I/usr/include/openssl -I/usr/include/postgresql-12 -c sqlbox_mssql.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from /usr/include/kannel/gwlib/gwlib.h:70, from sqlbox_mssql.c:1: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from sqlbox_mssql.c:1: /usr/include/kannel/gwlib/gwlib.h:107: warning: "UUID_STR_LEN" redefined 107 | #define UUID_STR_LEN 36 | In file included from /usr/include/kannel/gwlib/gwlib.h:103, from sqlbox_mssql.c:1: /usr/include/uuid/uuid.h:65: note: this is the location of the previous definition 65 | #define UUID_STR_LEN 37 | x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw -O2 -pipe -march=native -fno-common -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/kannel -O2 -pipe -march=native -fno-strict-aliasing -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/uuid -D_LARGE_FILES= -I/usr/include/libxml2 -Wall -I/usr/include/openssl -I/usr/include/postgresql-12 -c sqlbox_mysql.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from /usr/include/kannel/gwlib/gwlib.h:70, from sqlbox_mysql.c:1: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from sqlbox_mysql.c:1: /usr/include/kannel/gwlib/gwlib.h:107: warning: "UUID_STR_LEN" redefined 107 | #define UUID_STR_LEN 36 | In file included from /usr/include/kannel/gwlib/gwlib.h:103, from sqlbox_mysql.c:1: /usr/include/uuid/uuid.h:65: note: this is the location of the previous definition 65 | #define UUID_STR_LEN 37 | x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw -O2 -pipe -march=native -fno-common -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/kannel -O2 -pipe -march=native -fno-strict-aliasing -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/uuid -D_LARGE_FILES= -I/usr/include/libxml2 -Wall -I/usr/include/openssl -I/usr/include/postgresql-12 -c sqlbox_pgsql.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from /usr/include/kannel/gwlib/gwlib.h:70, from sqlbox_pgsql.c:1: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from sqlbox_pgsql.c:1: /usr/include/kannel/gwlib/gwlib.h:107: warning: "UUID_STR_LEN" redefined 107 | #define UUID_STR_LEN 36 | In file included from /usr/include/kannel/gwlib/gwlib.h:103, from sqlbox_pgsql.c:1: /usr/include/uuid/uuid.h:65: note: this is the location of the previous definition 65 | #define UUID_STR_LEN 37 | sqlbox_pgsql.c: In function ‘pgsql_save_msg’: sqlbox_pgsql.c:139:38: warning: operation on ‘stuffcount’ may be undefined [-Wsequence-point] 139 | #define st_str(x) (stuffer[stuffcount++] = get_string_value_or_return_null(x)) | ~~~~~~~~~~^~ sqlbox_pgsql.c:157:59: note: in expansion of macro ‘st_str’ 157 | st_str(msg->sms.boxc_id), st_str(msg->sms.binfo), st_str(msg->sms.meta_data)); | ^~~~~~ sqlbox_pgsql.c:139:38: warning: operation on ‘stuffcount’ may be undefined [-Wsequence-point] 139 | #define st_str(x) (stuffer[stuffcount++] = get_string_value_or_return_null(x)) | ~~~~~~~~~~^~ sqlbox_pgsql.c:157:59: note: in expansion of macro ‘st_str’ 157 | st_str(msg->sms.boxc_id), st_str(msg->sms.binfo), st_str(msg->sms.meta_data)); | ^~~~~~ sqlbox_pgsql.c:139:38: warning: operation on ‘stuffcount’ may be undefined [-Wsequence-point] 139 | #define st_str(x) (stuffer[stuffcount++] = get_string_value_or_return_null(x)) | ~~~~~~~~~~^~ sqlbox_pgsql.c:157:59: note: in expansion of macro ‘st_str’ 157 | st_str(msg->sms.boxc_id), st_str(msg->sms.binfo), st_str(msg->sms.meta_data)); | ^~~~~~ sqlbox_pgsql.c:139:38: warning: operation on ‘stuffcount’ may be undefined [-Wsequence-point] 139 | #define st_str(x) (stuffer[stuffcount++] = get_string_value_or_return_null(x)) | ~~~~~~~~~~^~ sqlbox_pgsql.c:157:59: note: in expansion of macro ‘st_str’ 157 | st_str(msg->sms.boxc_id), st_str(msg->sms.binfo), st_str(msg->sms.meta_data)); | ^~~~~~ sqlbox_pgsql.c:139:38: warning: operation on ‘stuffcount’ may be undefined [-Wsequence-point] 139 | #define st_str(x) (stuffer[stuffcount++] = get_string_value_or_return_null(x)) | ~~~~~~~~~~^~ sqlbox_pgsql.c:157:59: note: in expansion of macro ‘st_str’ 157 | st_str(msg->sms.boxc_id), st_str(msg->sms.binfo), st_str(msg->sms.meta_data)); | ^~~~~~ sqlbox_pgsql.c:139:38: warning: operation on ‘stuffcount’ may be undefined [-Wsequence-point] 139 | #define st_str(x) (stuffer[stuffcount++] = get_string_value_or_return_null(x)) | ~~~~~~~~~~^~ sqlbox_pgsql.c:157:59: note: in expansion of macro ‘st_str’ 157 | st_str(msg->sms.boxc_id), st_str(msg->sms.binfo), st_str(msg->sms.meta_data)); | ^~~~~~ sqlbox_pgsql.c:139:38: warning: operation on ‘stuffcount’ may be undefined [-Wsequence-point] 139 | #define st_str(x) (stuffer[stuffcount++] = get_string_value_or_return_null(x)) | ~~~~~~~~~~^~ sqlbox_pgsql.c:157:59: note: in expansion of macro ‘st_str’ 157 | st_str(msg->sms.boxc_id), st_str(msg->sms.binfo), st_str(msg->sms.meta_data)); | ^~~~~~ sqlbox_pgsql.c:139:38: warning: operation on ‘stuffcount’ may be undefined [-Wsequence-point] 139 | #define st_str(x) (stuffer[stuffcount++] = get_string_value_or_return_null(x)) | ~~~~~~~~~~^~ sqlbox_pgsql.c:157:59: note: in expansion of macro ‘st_str’ 157 | st_str(msg->sms.boxc_id), st_str(msg->sms.binfo), st_str(msg->sms.meta_data)); | ^~~~~~ sqlbox_pgsql.c:139:38: warning: operation on ‘stuffcount’ may be undefined [-Wsequence-point] 139 | #define st_str(x) (stuffer[stuffcount++] = get_string_value_or_return_null(x)) | ~~~~~~~~~~^~ sqlbox_pgsql.c:157:59: note: in expansion of macro ‘st_str’ 157 | st_str(msg->sms.boxc_id), st_str(msg->sms.binfo), st_str(msg->sms.meta_data)); | ^~~~~~ sqlbox_pgsql.c:139:38: warning: operation on ‘stuffcount’ may be undefined [-Wsequence-point] 139 | #define st_str(x) (stuffer[stuffcount++] = get_string_value_or_return_null(x)) | ~~~~~~~~~~^~ sqlbox_pgsql.c:157:59: note: in expansion of macro ‘st_str’ 157 | st_str(msg->sms.boxc_id), st_str(msg->sms.binfo), st_str(msg->sms.meta_data)); | ^~~~~~ sqlbox_pgsql.c:139:38: warning: operation on ‘stuffcount’ may be undefined [-Wsequence-point] 139 | #define st_str(x) (stuffer[stuffcount++] = get_string_value_or_return_null(x)) | ~~~~~~~~~~^~ sqlbox_pgsql.c:157:59: note: in expansion of macro ‘st_str’ 157 | st_str(msg->sms.boxc_id), st_str(msg->sms.binfo), st_str(msg->sms.meta_data)); | ^~~~~~ sqlbox_pgsql.c:139:38: warning: operation on ‘stuffcount’ may be undefined [-Wsequence-point] 139 | #define st_str(x) (stuffer[stuffcount++] = get_string_value_or_return_null(x)) | ~~~~~~~~~~^~ sqlbox_pgsql.c:157:59: note: in expansion of macro ‘st_str’ 157 | st_str(msg->sms.boxc_id), st_str(msg->sms.binfo), st_str(msg->sms.meta_data)); | ^~~~~~ sqlbox_pgsql.c:139:38: warning: operation on ‘stuffcount’ may be undefined [-Wsequence-point] 139 | #define st_str(x) (stuffer[stuffcount++] = get_string_value_or_return_null(x)) | ~~~~~~~~~~^~ sqlbox_pgsql.c:157:59: note: in expansion of macro ‘st_str’ 157 | st_str(msg->sms.boxc_id), st_str(msg->sms.binfo), st_str(msg->sms.meta_data)); | ^~~~~~ sqlbox_pgsql.c:139:38: warning: operation on ‘stuffcount’ may be undefined [-Wsequence-point] 139 | #define st_str(x) (stuffer[stuffcount++] = get_string_value_or_return_null(x)) | ~~~~~~~~~~^~ sqlbox_pgsql.c:157:59: note: in expansion of macro ‘st_str’ 157 | st_str(msg->sms.boxc_id), st_str(msg->sms.binfo), st_str(msg->sms.meta_data)); | ^~~~~~ sqlbox_pgsql.c:139:38: warning: operation on ‘stuffcount’ may be undefined [-Wsequence-point] 139 | #define st_str(x) (stuffer[stuffcount++] = get_string_value_or_return_null(x)) | ~~~~~~~~~~^~ sqlbox_pgsql.c:157:59: note: in expansion of macro ‘st_str’ 157 | st_str(msg->sms.boxc_id), st_str(msg->sms.binfo), st_str(msg->sms.meta_data)); | ^~~~~~ sqlbox_pgsql.c:139:38: warning: operation on ‘stuffcount’ may be undefined [-Wsequence-point] 139 | #define st_str(x) (stuffer[stuffcount++] = get_string_value_or_return_null(x)) | ~~~~~~~~~~^~ sqlbox_pgsql.c:157:59: note: in expansion of macro ‘st_str’ 157 | st_str(msg->sms.boxc_id), st_str(msg->sms.binfo), st_str(msg->sms.meta_data)); | ^~~~~~ sqlbox_pgsql.c:139:38: warning: operation on ‘stuffcount’ may be undefined [-Wsequence-point] 139 | #define st_str(x) (stuffer[stuffcount++] = get_string_value_or_return_null(x)) | ~~~~~~~~~~^~ sqlbox_pgsql.c:157:59: note: in expansion of macro ‘st_str’ 157 | st_str(msg->sms.boxc_id), st_str(msg->sms.binfo), st_str(msg->sms.meta_data)); | ^~~~~~ sqlbox_pgsql.c:139:38: warning: operation on ‘stuffcount’ may be undefined [-Wsequence-point] 139 | #define st_str(x) (stuffer[stuffcount++] = get_string_value_or_return_null(x)) | ~~~~~~~~~~^~ sqlbox_pgsql.c:157:59: note: in expansion of macro ‘st_str’ 157 | st_str(msg->sms.boxc_id), st_str(msg->sms.binfo), st_str(msg->sms.meta_data)); | ^~~~~~ sqlbox_pgsql.c:139:38: warning: operation on ‘stuffcount’ may be undefined [-Wsequence-point] 139 | #define st_str(x) (stuffer[stuffcount++] = get_string_value_or_return_null(x)) | ~~~~~~~~~~^~ sqlbox_pgsql.c:157:59: note: in expansion of macro ‘st_str’ 157 | st_str(msg->sms.boxc_id), st_str(msg->sms.binfo), st_str(msg->sms.meta_data)); | ^~~~~~ sqlbox_pgsql.c:139:38: warning: operation on ‘stuffcount’ may be undefined [-Wsequence-point] 139 | #define st_str(x) (stuffer[stuffcount++] = get_string_value_or_return_null(x)) | ~~~~~~~~~~^~ sqlbox_pgsql.c:157:59: note: in expansion of macro ‘st_str’ 157 | st_str(msg->sms.boxc_id), st_str(msg->sms.binfo), st_str(msg->sms.meta_data)); | ^~~~~~ sqlbox_pgsql.c:139:38: warning: operation on ‘stuffcount’ may be undefined [-Wsequence-point] 139 | #define st_str(x) (stuffer[stuffcount++] = get_string_value_or_return_null(x)) | ~~~~~~~~~~^~ sqlbox_pgsql.c:157:59: note: in expansion of macro ‘st_str’ 157 | st_str(msg->sms.boxc_id), st_str(msg->sms.binfo), st_str(msg->sms.meta_data)); | ^~~~~~ sqlbox_pgsql.c:139:38: warning: operation on ‘stuffcount’ may be undefined [-Wsequence-point] 139 | #define st_str(x) (stuffer[stuffcount++] = get_string_value_or_return_null(x)) | ~~~~~~~~~~^~ sqlbox_pgsql.c:157:59: note: in expansion of macro ‘st_str’ 157 | st_str(msg->sms.boxc_id), st_str(msg->sms.binfo), st_str(msg->sms.meta_data)); | ^~~~~~ sqlbox_pgsql.c:139:38: warning: operation on ‘stuffcount’ may be undefined [-Wsequence-point] 139 | #define st_str(x) (stuffer[stuffcount++] = get_string_value_or_return_null(x)) | ~~~~~~~~~~^~ sqlbox_pgsql.c:157:59: note: in expansion of macro ‘st_str’ 157 | st_str(msg->sms.boxc_id), st_str(msg->sms.binfo), st_str(msg->sms.meta_data)); | ^~~~~~ sqlbox_pgsql.c:139:38: warning: operation on ‘stuffcount’ may be undefined [-Wsequence-point] 139 | #define st_str(x) (stuffer[stuffcount++] = get_string_value_or_return_null(x)) | ~~~~~~~~~~^~ sqlbox_pgsql.c:157:59: note: in expansion of macro ‘st_str’ 157 | st_str(msg->sms.boxc_id), st_str(msg->sms.binfo), st_str(msg->sms.meta_data)); | ^~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw -O2 -pipe -march=native -fno-common -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/kannel -O2 -pipe -march=native -fno-strict-aliasing -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/uuid -D_LARGE_FILES= -I/usr/include/libxml2 -Wall -I/usr/include/openssl -I/usr/include/postgresql-12 -c sqlbox_sdb.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from /usr/include/kannel/gwlib/gwlib.h:70, from sqlbox_sdb.c:1: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from sqlbox_sdb.c:1: /usr/include/kannel/gwlib/gwlib.h:107: warning: "UUID_STR_LEN" redefined 107 | #define UUID_STR_LEN 36 | In file included from /usr/include/kannel/gwlib/gwlib.h:103, from sqlbox_sdb.c:1: /usr/include/uuid/uuid.h:65: note: this is the location of the previous definition 65 | #define UUID_STR_LEN 37 | x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw -O2 -pipe -march=native -fno-common -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/kannel -O2 -pipe -march=native -fno-strict-aliasing -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/uuid -D_LARGE_FILES= -I/usr/include/libxml2 -Wall -I/usr/include/openssl -I/usr/include/postgresql-12 -c sqlbox_sqlite.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from /usr/include/kannel/gwlib/gwlib.h:70, from sqlbox_sqlite.c:1: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from sqlbox_sqlite.c:1: /usr/include/kannel/gwlib/gwlib.h:107: warning: "UUID_STR_LEN" redefined 107 | #define UUID_STR_LEN 36 | In file included from /usr/include/kannel/gwlib/gwlib.h:103, from sqlbox_sqlite.c:1: /usr/include/uuid/uuid.h:65: note: this is the location of the previous definition 65 | #define UUID_STR_LEN 37 | x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw -O2 -pipe -march=native -fno-common -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/kannel -O2 -pipe -march=native -fno-strict-aliasing -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/uuid -D_LARGE_FILES= -I/usr/include/libxml2 -Wall -I/usr/include/openssl -I/usr/include/postgresql-12 -c sqlbox_sqlite3.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from /usr/include/kannel/gwlib/gwlib.h:70, from sqlbox_sqlite3.c:1: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from sqlbox_sqlite3.c:1: /usr/include/kannel/gwlib/gwlib.h:107: warning: "UUID_STR_LEN" redefined 107 | #define UUID_STR_LEN 36 | In file included from /usr/include/kannel/gwlib/gwlib.h:103, from sqlbox_sqlite3.c:1: /usr/include/uuid/uuid.h:65: note: this is the location of the previous definition 65 | #define UUID_STR_LEN 37 | x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw -O2 -pipe -march=native -fno-common -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/kannel -O2 -pipe -march=native -fno-strict-aliasing -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/uuid -D_LARGE_FILES= -I/usr/include/libxml2 -Wall -I/usr/include/openssl -I/usr/include/postgresql-12 -c sqlbox_oracle.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from /usr/include/kannel/gwlib/gwlib.h:70, from sqlbox_oracle.c:1: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from sqlbox_oracle.c:1: /usr/include/kannel/gwlib/gwlib.h:107: warning: "UUID_STR_LEN" redefined 107 | #define UUID_STR_LEN 36 | In file included from /usr/include/kannel/gwlib/gwlib.h:103, from sqlbox_oracle.c:1: /usr/include/uuid/uuid.h:65: note: this is the location of the previous definition 65 | #define UUID_STR_LEN 37 | x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw -O2 -pipe -march=native -fno-common -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/kannel -O2 -pipe -march=native -fno-strict-aliasing -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/uuid -D_LARGE_FILES= -I/usr/include/libxml2 -Wall -I/usr/include/openssl -I/usr/include/postgresql-12 -c sqlbox_sql.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from /usr/include/kannel/gwlib/gwlib.h:70, from sqlbox_sql.h:3, from sqlbox_sql.c:2: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from sqlbox_sql.h:3, from sqlbox_sql.c:2: /usr/include/kannel/gwlib/gwlib.h:107: warning: "UUID_STR_LEN" redefined 107 | #define UUID_STR_LEN 36 | In file included from /usr/include/kannel/gwlib/gwlib.h:103, from sqlbox_sql.h:3, from sqlbox_sql.c:2: /usr/include/uuid/uuid.h:65: note: this is the location of the previous definition 65 | #define UUID_STR_LEN 37 | sqlbox_sql.c: In function ‘sqlbox_init_sql’: sqlbox_sql.c:27:33: warning: implicit declaration of function ‘sqlbox_init_pgsql’; did you mean ‘sqlbox_init_sql’? [-Wimplicit-function-declaration] 27 | res = (struct server_type *)sqlbox_init_pgsql(cfg); | ^~~~~~~~~~~~~~~~~ | sqlbox_init_sql sqlbox_sql.c:27:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 27 | res = (struct server_type *)sqlbox_init_pgsql(cfg); | ^ /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/kannel -O2 -pipe -march=native -fno-strict-aliasing -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/uuid -D_LARGE_FILES= -I/usr/include/libxml2 -Wall -I/usr/include/openssl -I/usr/include/postgresql-12 -Wl,-O1 -Wl,--as-needed -Wl,--no-as-needed -rdynamic -L/usr/lib64/kannel -lgw -lwap -lgwlib -lpq -ldl -lpam -lpcreposix -lrt -lresolv -lnsl -lm -luuid -lpthread -lxml2 -lz -lm -ldl -L/usr/lib64 -lpcreposix -lpcre -L/usr/lib64 -L/usr/lib64/postgresql-12/lib64 -o sqlbox sqlbox.o sqlbox_mssql.o sqlbox_mysql.o sqlbox_pgsql.o sqlbox_sdb.o sqlbox_sqlite.o sqlbox_sqlite3.o sqlbox_oracle.o sqlbox_sql.o -lgwlib mkdir .libs x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/kannel -O2 -pipe -march=native -fno-strict-aliasing -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/uuid -D_LARGE_FILES= -I/usr/include/libxml2 -Wall -I/usr/include/openssl -I/usr/include/postgresql-12 -Wl,-O1 -Wl,--as-needed -Wl,--no-as-needed -rdynamic -o sqlbox sqlbox.o sqlbox_mssql.o sqlbox_mysql.o sqlbox_pgsql.o sqlbox_sdb.o sqlbox_sqlite.o sqlbox_sqlite3.o sqlbox_oracle.o sqlbox_sql.o -L/usr/lib64/kannel -lgw -lwap -lpq -lpam -lrt -lresolv -lnsl -luuid -lpthread -lxml2 -lz -lm -ldl -L/usr/lib64 -lpcreposix -lpcre -L/usr/lib64/postgresql-12/lib64 -lgwlib /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sqlbox_pgsql.o:(.bss+0x0): multiple definition of `sqlbox_id'; sqlbox.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:266: sqlbox] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-mobilephone/kannel-sqlbox-1.5.0-r1/work/gateway-1.5.0/addons/sqlbox/gw' make[1]: *** [Makefile:290: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-mobilephone/kannel-sqlbox-1.5.0-r1/work/gateway-1.5.0/addons/sqlbox' make: *** [Makefile:217: all] Error 2 * ERROR: app-mobilephone/kannel-sqlbox-1.5.0-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-mobilephone/kannel-sqlbox-1.5.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-mobilephone/kannel-sqlbox-1.5.0-r1::gentoo'`. * The complete build log is located at '/var/log/portage/app-mobilephone:kannel-sqlbox-1.5.0-r1:20200208-001129.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-mobilephone/kannel-sqlbox-1.5.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-mobilephone/kannel-sqlbox-1.5.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/app-mobilephone/kannel-sqlbox-1.5.0-r1/work/gateway-1.5.0/addons/sqlbox' * S: '/var/tmp/portage/app-mobilephone/kannel-sqlbox-1.5.0-r1/work/gateway-1.5.0/addons/sqlbox/'