* Package: net-libs/gnet-2.0.8-r3 * Repository: gentoo * Maintainer: gnome@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking gnet-2.0.8.tar.bz2 to /var/tmp/portage/net-libs/gnet-2.0.8-r3/work >>> Source unpacked in /var/tmp/portage/net-libs/gnet-2.0.8-r3/work >>> Preparing source in /var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8 ... * Applying gnet-2.0.8-context-leak.patch ... [ ok ] * Applying gnet-2.0.8-network-tests.patch ... [ ok ] * Applying gnet-2.0.8-fix-pkgconfig-abuse.patch ... [ ok ] * Applying gnet-2.0.8-unittest-build.patch ... [ ok ] * Applying gnet-2.0.8-test-existing-domain.patch ... [ ok ] * Applying gnet-2.0.8-unittest-service.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8' ... * Skipping 'gtkdocize --copy' because 'gtkdocize' not installed * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal -I macros' ... [ ok ] * Running 'autoconf -I macros --force' ... [ ok ] * Running 'autoheader -I macros' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: gnet-2.0.8/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... * Fixing OMF Makefiles ... [ ok ] * Disabling deprecation warnings ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8 ... * econf: updating gnet-2.0.8/config.sub with /usr/share/gnuconfig/config.sub * econf: updating gnet-2.0.8/config.guess with /usr/share/gnuconfig/config.guess ./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 --disable-silent-rules --libdir=/usr/lib64 --disable-gtk-doc --docdir=/usr/share/doc/gnet-2.0.8-r3 --disable-static --disable-network-tests checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/lib/portage/python3.9/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 make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for Win32... no checking whether make supports the include directive... yes (GNU style) checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -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 whether byte ordering is bigendian... no checking debug level... minimum checking whether to run network tests... no checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none checking whether make sets $(MAKE)... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F 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 BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs 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 -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC 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 if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) 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... no checking size of long... 8 checking size of void*... 8 checking for main in -lsocket... no checking for main in -lnsl... no checking for main in -lresolv... yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include checking for GLIB_LIBS... -lglib-2.0 checking for GTHREAD_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include checking for GTHREAD_LIBS... -lgthread-2.0 -pthread -lglib-2.0 checking if GLib was compiled with support for threads... yes checking for IPv6 availability... yes checking for ANSI C header files... (cached) yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking for linux/netlink.h... yes checking for socklen_t... yes checking for struct sockaddr.sa_len... no checking for struct sockaddr_storage... yes checking for struct sockaddr_storage family field... ss_family checking for abstract socket namespace availability... yes checking for an ANSI C-conforming const... yes checking for getifaddrs... yes checking for getaddrinfo... yes checking for threadsafe getaddrinfo()... no checking for threadsafe gethostbyname()... no checking for glibc gethostbyname_r... yes checking for Solaris/Irix gethostbyname_r... no checking for HP-UX gethostbyname_r... no checking for CHECK_CFLAGS... -pthread checking for CHECK_LIBS... -lcheck checking for valgrind... /usr/bin/valgrind checking whether valgrind.h is available... checking for VALGRIND_CFLAGS... -I/usr/include/valgrind checking for VALGRIND_LIBS... -L/usr/lib64/valgrind -lcoregrind-amd64-linux -lvex-amd64-linux -lgcc yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating examples/Makefile config.status: creating examples/xmlrpc/Makefile config.status: creating macros/Makefile config.status: creating tests/Makefile config.status: creating tests/check/Makefile config.status: creating doc/Makefile config.status: creating doc/version.xml config.status: creating gnetconfig.h config.status: creating gnet.spec config.status: creating gnet-2.0.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8 ... make -j3 make all-recursive make[1]: Entering directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8' Making all in src make[2]: Entering directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o gnet.lo gnet.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o gnet-private.lo gnet-private.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o ipv6.lo ipv6.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c gnet-private.c -fPIC -DPIC -o .libs/gnet-private.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c gnet.c -fPIC -DPIC -o .libs/gnet.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c ipv6.c -fPIC -DPIC -o .libs/ipv6.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o inetaddr.lo inetaddr.c gnet.c: In function ‘gnet_init’: gnet.c:73:13: warning: Deprecated pre-processor symbol 73 | if (!g_thread_supported ()) | ^~~~~~~~~~~~~~~~~ gnet.c:74:5: warning: ‘g_thread_init’ is deprecated [-Wdeprecated-declarations] 74 | g_thread_init (NULL); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from gnet.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:261:10: note: declared here 261 | void g_thread_init (gpointer vtable); | ^~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o mcast.lo mcast.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o tcp.lo tcp.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c inetaddr.c -fPIC -DPIC -o .libs/inetaddr.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c mcast.c -fPIC -DPIC -o .libs/mcast.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c tcp.c -fPIC -DPIC -o .libs/tcp.o inetaddr.c:35:3: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 35 | GStaticMutex mutex; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ inetaddr.c:58:3: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 58 | GStaticMutex mutex; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ inetaddr.c:65:3: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 65 | GStaticMutex mutex; /* protecting all of the below */ | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ inetaddr.c: In function ‘gnet_inetaddr_new_async_full’: inetaddr.c:734:3: warning: ‘g_static_mutex_init’ is deprecated: Use 'g_mutex_init' instead [-Wdeprecated-declarations] 734 | g_static_mutex_init (&state->mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:146:9: note: declared here 146 | void g_static_mutex_init (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~ inetaddr.c:735:13: warning: Deprecated pre-processor symbol 735 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:735:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 735 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:735:13: warning: Deprecated pre-processor symbol, replace with 735 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:748:13: warning: Deprecated pre-processor symbol 748 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:748:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 748 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:748:13: warning: Deprecated pre-processor symbol, replace with 748 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:754:5: warning: ‘g_static_mutex_free’ is deprecated: Use 'g_mutex_clear' instead [-Wdeprecated-declarations] 754 | g_static_mutex_free (&state->mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:148:9: note: declared here 148 | void g_static_mutex_free (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~ inetaddr.c: In function ‘inetaddr_new_async_cb’: inetaddr.c:833:13: warning: Deprecated pre-processor symbol 833 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:833:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 833 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:833:13: warning: Deprecated pre-processor symbol, replace with 833 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:834:13: warning: Deprecated pre-processor symbol 834 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:834:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 834 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:834:13: warning: Deprecated pre-processor symbol, replace with 834 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c: In function ‘gnet_inetaddr_new_list_async_full’: inetaddr.c:919:3: warning: ‘g_static_mutex_init’ is deprecated: Use 'g_mutex_init' instead [-Wdeprecated-declarations] 919 | g_static_mutex_init (&state->mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:146:9: note: declared here 146 | void g_static_mutex_init (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~ inetaddr.c:943:5: warning: ‘g_thread_create’ is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 943 | if (!g_thread_create (inetaddr_new_list_async_gthread, args, FALSE, &err)) { | ^~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:100:10: note: declared here 100 | GThread *g_thread_create (GThreadFunc func, | ^~~~~~~~~~~~~~~ inetaddr.c:949:7: warning: ‘g_static_mutex_free’ is deprecated: Use 'g_mutex_clear' instead [-Wdeprecated-declarations] 949 | g_static_mutex_free (&state->mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:148:9: note: declared here 148 | void g_static_mutex_free (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~ inetaddr.c: In function ‘inetaddr_new_list_async_nonblock_dispatch’: inetaddr.c:1011:13: warning: Deprecated pre-processor symbol 1011 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1011:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1011 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1011:13: warning: Deprecated pre-processor symbol, replace with 1011 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1022:13: warning: Deprecated pre-processor symbol 1022 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1022:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1022 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1022:13: warning: Deprecated pre-processor symbol, replace with 1022 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1023:3: warning: ‘g_static_mutex_free’ is deprecated: Use 'g_mutex_clear' instead [-Wdeprecated-declarations] 1023 | g_static_mutex_free (&state->mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:148:9: note: declared here 148 | void g_static_mutex_free (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~ inetaddr.c: In function ‘inetaddr_new_list_async_gthread’: inetaddr.c:1044:13: warning: Deprecated pre-processor symbol 1044 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1044:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1044 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1044:13: warning: Deprecated pre-processor symbol, replace with 1044 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1047:13: warning: Deprecated pre-processor symbol 1047 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1047:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1047 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1047:13: warning: Deprecated pre-processor symbol, replace with 1047 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1055:13: warning: Deprecated pre-processor symbol 1055 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1055:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1055 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1055:13: warning: Deprecated pre-processor symbol, replace with 1055 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1089:13: warning: Deprecated pre-processor symbol 1089 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1089:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1089 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1089:13: warning: Deprecated pre-processor symbol, replace with 1089 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1100:13: warning: Deprecated pre-processor symbol 1100 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1100:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1100 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1100:13: warning: Deprecated pre-processor symbol, replace with 1100 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1101:5: warning: ‘g_static_mutex_free’ is deprecated: Use 'g_mutex_clear' instead [-Wdeprecated-declarations] 1101 | g_static_mutex_free (&state->mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:148:9: note: declared here 148 | void g_static_mutex_free (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~ inetaddr.c: In function ‘inetaddr_new_list_async_gthread_dispatch’: inetaddr.c:1114:13: warning: Deprecated pre-processor symbol 1114 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1114:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1114 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1114:13: warning: Deprecated pre-processor symbol, replace with 1114 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1130:13: warning: Deprecated pre-processor symbol 1130 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1130:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1130 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1130:13: warning: Deprecated pre-processor symbol, replace with 1130 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1131:3: warning: ‘g_static_mutex_free’ is deprecated: Use 'g_mutex_clear' instead [-Wdeprecated-declarations] 1131 | g_static_mutex_free (&state->mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:148:9: note: declared here 148 | void g_static_mutex_free (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~ inetaddr.c: In function ‘gnet_inetaddr_new_list_async_cancel’: inetaddr.c:1161:13: warning: Deprecated pre-processor symbol 1161 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1161:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1161 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1161:13: warning: Deprecated pre-processor symbol, replace with 1161 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1173:13: warning: Deprecated pre-processor symbol 1173 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1173:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1173 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1173:13: warning: Deprecated pre-processor symbol, replace with 1173 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1174:5: warning: ‘g_static_mutex_free’ is deprecated: Use 'g_mutex_clear' instead [-Wdeprecated-declarations] 1174 | g_static_mutex_free (&state->mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:148:9: note: declared here 148 | void g_static_mutex_free (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~ inetaddr.c:1182:13: warning: Deprecated pre-processor symbol 1182 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1182:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1182 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1182:13: warning: Deprecated pre-processor symbol, replace with 1182 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c: In function ‘gnet_inetaddr_get_name_async_full’: inetaddr.c:1460:3: warning: ‘g_static_mutex_init’ is deprecated: Use 'g_mutex_init' instead [-Wdeprecated-declarations] 1460 | g_static_mutex_init (&state->mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:146:9: note: declared here 146 | void g_static_mutex_init (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~ inetaddr.c:1473:3: warning: ‘g_thread_create’ is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 1473 | if (!g_thread_create (inetaddr_get_name_async_gthread, state, FALSE, &err)) { | ^~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:100:10: note: declared here 100 | GThread *g_thread_create (GThreadFunc func, | ^~~~~~~~~~~~~~~ inetaddr.c:1480:5: warning: ‘g_static_mutex_free’ is deprecated: Use 'g_mutex_clear' instead [-Wdeprecated-declarations] 1480 | g_static_mutex_free (&state->mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:148:9: note: declared here 148 | void g_static_mutex_free (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~ inetaddr.c: In function ‘gnet_inetaddr_get_name_async_cancel’: inetaddr.c:1536:13: warning: Deprecated pre-processor symbol 1536 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1536:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1536 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1536:13: warning: Deprecated pre-processor symbol, replace with 1536 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1547:13: warning: Deprecated pre-processor symbol 1547 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1547:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1547 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1547:13: warning: Deprecated pre-processor symbol, replace with 1547 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1548:5: warning: ‘g_static_mutex_free’ is deprecated: Use 'g_mutex_clear' instead [-Wdeprecated-declarations] 1548 | g_static_mutex_free (&state->mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:148:9: note: declared here 148 | void g_static_mutex_free (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~ inetaddr.c:1557:13: warning: Deprecated pre-processor symbol 1557 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1557:6: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1557 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1557:13: warning: Deprecated pre-processor symbol, replace with 1557 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c: In function ‘inetaddr_get_name_async_gthread_dispatch’: inetaddr.c:1567:13: warning: Deprecated pre-processor symbol 1567 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1567:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1567 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1567:13: warning: Deprecated pre-processor symbol, replace with 1567 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1580:13: warning: Deprecated pre-processor symbol 1580 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1580:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1580 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1580:13: warning: Deprecated pre-processor symbol, replace with 1580 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1581:3: warning: ‘g_static_mutex_free’ is deprecated: Use 'g_mutex_clear' instead [-Wdeprecated-declarations] 1581 | g_static_mutex_free (&state->mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:148:9: note: declared here 148 | void g_static_mutex_free (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~ inetaddr.c: In function ‘inetaddr_get_name_async_gthread’: inetaddr.c:1598:13: warning: Deprecated pre-processor symbol 1598 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1598:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1598 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1598:13: warning: Deprecated pre-processor symbol, replace with 1598 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1606:13: warning: Deprecated pre-processor symbol 1606 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1606:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1606 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1606:13: warning: Deprecated pre-processor symbol, replace with 1606 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1608:13: warning: Deprecated pre-processor symbol 1608 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1608:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1608 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1608:13: warning: Deprecated pre-processor symbol, replace with 1608 | g_static_mutex_lock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1619:13: warning: Deprecated pre-processor symbol 1619 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1619:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1619 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1619:13: warning: Deprecated pre-processor symbol, replace with 1619 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1620:5: warning: ‘g_static_mutex_free’ is deprecated: Use 'g_mutex_clear' instead [-Wdeprecated-declarations] 1620 | g_static_mutex_free (&state->mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:148:9: note: declared here 148 | void g_static_mutex_free (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~ inetaddr.c:1639:13: warning: Deprecated pre-processor symbol 1639 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1639:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1639 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from gnet-private.h:41, from inetaddr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inetaddr.c:1639:13: warning: Deprecated pre-processor symbol, replace with 1639 | g_static_mutex_unlock (&state->mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o unix.lo unix.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o udp.lo udp.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c unix.c -fPIC -DPIC -o .libs/unix.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c udp.c -fPIC -DPIC -o .libs/udp.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o iochannel.lo iochannel.c In file included from /usr/include/string.h:519, from gnet-private.h:29, from unix.c:21: In function ‘memcpy’, inlined from ‘gnet_unix_socket_server_accept’ at unix.c:407:3: /usr/include/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ forming offset [16, 109] is out of the bounds [0, 16] of object ‘sa’ with type ‘struct sockaddr’ [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function ‘gnet_unix_socket_server_accept’: unix.c:377:19: note: ‘sa’ declared here 377 | struct sockaddr sa; | ^~ In file included from /usr/include/string.h:519, from gnet-private.h:29, from unix.c:21: In function ‘memcpy’, inlined from ‘gnet_unix_socket_server_accept_nonblock’ at unix.c:462:3: /usr/include/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ forming offset [16, 109] is out of the bounds [0, 16] of object ‘sa’ with type ‘struct sockaddr’ [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function ‘gnet_unix_socket_server_accept_nonblock’: unix.c:432:19: note: ‘sa’ declared here 432 | struct sockaddr sa; | ^~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o socks.lo socks.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c iochannel.c -fPIC -DPIC -o .libs/iochannel.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c socks.c -fPIC -DPIC -o .libs/socks.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o socks-private.lo socks-private.c iochannel.c: In function ‘gnet_io_channel_writen’: iochannel.c:69:7: warning: ‘g_io_channel_write’ is deprecated: Use 'g_io_channel_write_chars' instead [-Wdeprecated-declarations] 69 | if ((error = g_io_channel_write(channel, ptr, nleft, &nwritten)) | ^~ In file included from /usr/include/glib-2.0/glib.h:54, from gnet-private.h:41, from iochannel.c:22: /usr/include/glib-2.0/glib/giochannel.h:172:11: note: declared here 172 | GIOError g_io_channel_write (GIOChannel *channel, | ^~~~~~~~~~~~~~~~~~ iochannel.c: In function ‘gnet_io_channel_readn’: iochannel.c:131:7: warning: ‘g_io_channel_read’ is deprecated: Use 'g_io_channel_read_chars' instead [-Wdeprecated-declarations] 131 | if ((error = g_io_channel_read(channel, ptr, nleft, &nread)) | ^~ In file included from /usr/include/glib-2.0/glib.h:54, from gnet-private.h:41, from iochannel.c:22: /usr/include/glib-2.0/glib/giochannel.h:166:13: note: declared here 166 | GIOError g_io_channel_read (GIOChannel *channel, | ^~~~~~~~~~~~~~~~~ libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c socks-private.c -fPIC -DPIC -o .libs/socks-private.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o md5.lo md5.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o sha.lo sha.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c md5.c -fPIC -DPIC -o .libs/md5.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c sha.c -fPIC -DPIC -o .libs/sha.o md5.c: In function ‘MD5Update’: md5.c:125:13: warning: Deprecated pre-processor symbol, replace with 125 | g_memmove(p, buf, len); | ^~~~~~~~~~~~~~~~~~~~~ md5.c:128:13: warning: Deprecated pre-processor symbol, replace with 128 | g_memmove(p, buf, t); | ^~~~~~~~~~~~~~~ md5.c:139:13: warning: Deprecated pre-processor symbol, replace with 139 | g_memmove(ctx->in, buf, 64); | ^~~~~~~~~~~~~~~~~~~~~~ md5.c:149:13: warning: Deprecated pre-processor symbol, replace with 149 | g_memmove(ctx->in, buf, len); | ^~~~~~~~~~~~~~~~~~~ md5.c: In function ‘MD5Final’: md5.c:200:13: warning: Deprecated pre-processor symbol, replace with 200 | g_memmove(digest, ctx->buf, 16); | ^~~~~~~~~~~~~~~~~~~~~~ md5.c:201:24: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 201 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o pack.lo pack.c sha.c: In function ‘SHATransform’: sha.c:219:13: warning: Deprecated pre-processor symbol, replace with 219 | g_memmove( eData, data, SHA_DATASIZE ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sha.c: In function ‘SHAUpdate’: sha.c:358:13: warning: Deprecated pre-processor symbol, replace with 358 | g_memmove( p, buffer, count ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ sha.c:361:13: warning: Deprecated pre-processor symbol, replace with 361 | g_memmove( p, buffer, dataCount ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ sha.c:371:13: warning: Deprecated pre-processor symbol, replace with 371 | g_memmove( shaInfo->data, buffer, SHA_DATASIZE ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sha.c:379:13: warning: Deprecated pre-processor symbol, replace with 379 | g_memmove( shaInfo->data, buffer, count ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sha.c: In function ‘SHAFinal’: sha.c:425:13: warning: Deprecated pre-processor symbol, replace with 425 | g_memmove(key, shaInfo->digest, SHA_DIGESTSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c pack.c -fPIC -DPIC -o .libs/pack.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o uri.lo uri.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c uri.c -fPIC -DPIC -o .libs/uri.o uri.c: In function ‘gnet_uri_get_string’: uri.c:728:13: warning: Deprecated pre-processor symbol, replace with 728 | g_string_sprintfa (buffer, "%s:", uri->scheme); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uri.c:748:20: warning: Deprecated pre-processor symbol, replace with 748 | g_string_sprintfa (buffer, "[%s]", uri->hostname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uri.c:752:13: warning: Deprecated pre-processor symbol, replace with 752 | g_string_sprintfa (buffer, ":%d", uri->port); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uri.c:760:20: warning: Deprecated pre-processor symbol, replace with 760 | g_string_sprintfa (buffer, "/%s", uri->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uri.c:764:13: warning: Deprecated pre-processor symbol, replace with 764 | g_string_sprintfa (buffer, "?%s", uri->query); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uri.c:767:13: warning: Deprecated pre-processor symbol, replace with 767 | g_string_sprintfa (buffer, "#%s", uri->fragment); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o conn.lo conn.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c conn.c -fPIC -DPIC -o .libs/conn.o conn.c: In function ‘conn_read_async_cb’: conn.c:811:3: warning: ‘g_io_channel_read’ is deprecated: Use 'g_io_channel_read_chars' instead [-Wdeprecated-declarations] 811 | error = g_io_channel_read (conn->iochannel, buffer_start, | ^~~~~ In file included from /usr/include/glib-2.0/glib.h:54, from conn.h:24, from conn.c:23: /usr/include/glib-2.0/glib/giochannel.h:166:13: note: declared here 166 | GIOError g_io_channel_read (GIOChannel *channel, | ^~~~~~~~~~~~~~~~~ conn.c:52:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 52 | if ((C)->watch) \ | ^~ conn.c:890:7: note: in expansion of macro ‘REMOVE_WATCH’ 890 | REMOVE_WATCH(conn, G_IO_IN); | ^~~~~~~~~~~~ conn.c:54:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 54 | (C)->watch = 0; \ | ^ conn.c:890:7: note: in expansion of macro ‘REMOVE_WATCH’ 890 | REMOVE_WATCH(conn, G_IO_IN); | ^~~~~~~~~~~~ conn.c: In function ‘process_read_buffer’: conn.c:1119:27: warning: Deprecated pre-processor symbol, replace with 1119 | conn->bytes_read - bytes_processed); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ conn.c: In function ‘gnet_conn_write’: conn.c:1199:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1199 | copy = g_memdup (buffer, length); | ^~~~ In file included from /usr/include/glib-2.0/glib.h:82, from conn.h:24, from conn.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ conn.c: In function ‘conn_write_async_cb’: conn.c:1238:3: warning: ‘g_io_channel_write’ is deprecated: Use 'g_io_channel_write_chars' instead [-Wdeprecated-declarations] 1238 | error = g_io_channel_write(conn->iochannel, buffer_start, | ^~~~~ In file included from /usr/include/glib-2.0/glib.h:54, from conn.h:24, from conn.c:23: /usr/include/glib-2.0/glib/giochannel.h:172:11: note: declared here 172 | GIOError g_io_channel_write (GIOChannel *channel, | ^~~~~~~~~~~~~~~~~~ conn.c:52:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 52 | if ((C)->watch) \ | ^~ conn.c:1265:9: note: in expansion of macro ‘REMOVE_WATCH’ 1265 | REMOVE_WATCH (conn, G_IO_OUT); | ^~~~~~~~~~~~ conn.c:54:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 54 | (C)->watch = 0; \ | ^ conn.c:1265:9: note: in expansion of macro ‘REMOVE_WATCH’ 1265 | REMOVE_WATCH (conn, G_IO_OUT); | ^~~~~~~~~~~~ conn.c: In function ‘gnet_conn_set_watch_error’: conn.c:52:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 52 | if ((C)->watch) \ | ^~ conn.c:1299:5: note: in expansion of macro ‘REMOVE_WATCH’ 1299 | REMOVE_WATCH(conn, G_IO_ERR | G_IO_HUP | G_IO_NVAL); | ^~~~~~~~~~~~ conn.c:54:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 54 | (C)->watch = 0; \ | ^ conn.c:1299:5: note: in expansion of macro ‘REMOVE_WATCH’ 1299 | REMOVE_WATCH(conn, G_IO_ERR | G_IO_HUP | G_IO_NVAL); | ^~~~~~~~~~~~ conn.c: In function ‘gnet_conn_set_watch_readable’: conn.c:52:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 52 | if ((C)->watch) \ | ^~ conn.c:1325:5: note: in expansion of macro ‘REMOVE_WATCH’ 1325 | REMOVE_WATCH (conn, G_IO_IN); | ^~~~~~~~~~~~ conn.c:54:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 54 | (C)->watch = 0; \ | ^ conn.c:1325:5: note: in expansion of macro ‘REMOVE_WATCH’ 1325 | REMOVE_WATCH (conn, G_IO_IN); | ^~~~~~~~~~~~ conn.c: In function ‘gnet_conn_set_watch_writable’: conn.c:52:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 52 | if ((C)->watch) \ | ^~ conn.c:1349:5: note: in expansion of macro ‘REMOVE_WATCH’ 1349 | REMOVE_WATCH (conn, G_IO_OUT); | ^~~~~~~~~~~~ conn.c:54:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 54 | (C)->watch = 0; \ | ^ conn.c:1349:5: note: in expansion of macro ‘REMOVE_WATCH’ 1349 | REMOVE_WATCH (conn, G_IO_OUT); | ^~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o conn-http.lo conn-http.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c conn-http.c -fPIC -DPIC -o .libs/conn-http.o conn-http.c: In function ‘gnet_conn_http_set_method’: conn-http.c:649:25: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 649 | conn->post_data = g_memdup(post_data, post_data_len); | ^~~~ In file included from /usr/include/glib-2.0/glib.h:82, from conn.h:24, from conn-http.h:25, from conn-http.c:31: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o server.lo server.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o usagi_ifaddrs.lo usagi_ifaddrs.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c server.c -fPIC -DPIC -o .libs/server.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c usagi_ifaddrs.c -fPIC -DPIC -o .libs/usagi_ifaddrs.o usagi_ifaddrs.c: In function ‘usagi_getifaddrs’: usagi_ifaddrs.c:439:7: warning: variable ‘result’ set but not used [-Wunused-but-set-variable] 439 | int result; | ^~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o base64.lo base64.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c base64.c -fPIC -DPIC -o .libs/base64.o /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -version-info 8:0:8 -lglib-2.0 -lgthread-2.0 -pthread -lglib-2.0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libgnet-2.0.la -rpath /usr/lib64 gnet.lo gnet-private.lo ipv6.lo inetaddr.lo mcast.lo tcp.lo unix.lo udp.lo iochannel.lo socks.lo socks-private.lo md5.lo sha.lo pack.lo uri.lo conn.lo conn-http.lo server.lo usagi_ifaddrs.lo base64.lo -lresolv libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/gnet.o .libs/gnet-private.o .libs/ipv6.o .libs/inetaddr.o .libs/mcast.o .libs/tcp.o .libs/unix.o .libs/udp.o .libs/iochannel.o .libs/socks.o .libs/socks-private.o .libs/md5.o .libs/sha.o .libs/pack.o .libs/uri.o .libs/conn.o .libs/conn-http.o .libs/server.o .libs/usagi_ifaddrs.o .libs/base64.o -lgthread-2.0 -lglib-2.0 -Wl,--as-needed -lresolv -march=native -O2 -pthread -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -pthread -Wl,-soname -Wl,libgnet-2.0.so.0 -o .libs/libgnet-2.0.so.0.8.0 libtool: link: (cd ".libs" && rm -f "libgnet-2.0.so.0" && ln -s "libgnet-2.0.so.0.8.0" "libgnet-2.0.so.0") libtool: link: (cd ".libs" && rm -f "libgnet-2.0.so" && ln -s "libgnet-2.0.so.0.8.0" "libgnet-2.0.so") libtool: link: ( cd ".libs" && rm -f "libgnet-2.0.la" && ln -s "../libgnet-2.0.la" "libgnet-2.0.la" ) make[2]: Leaving directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/src' Making all in examples make[2]: Entering directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/examples' Making all in xmlrpc make[3]: Entering directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/examples/xmlrpc' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o test-xmlrpc-client.o test-xmlrpc-client.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o xmlrpc-client.o xmlrpc-client.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o xmlrpc-server.o xmlrpc-server.c xmlrpc-client.c: In function ‘gnet_xmlrpc_client_call’: xmlrpc-client.c:91:22: warning: variable ‘msg_end’ set but not used [-Wunused-but-set-variable] 91 | gchar *msg_start, *msg_end; | ^~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o test-xmlrpc-server.o test-xmlrpc-server.c rm -f libgnetxmlrpc.a x86_64-pc-linux-gnu-ar cru libgnetxmlrpc.a xmlrpc-client.o xmlrpc-server.o ../../src/libgnet-2.0.la x86_64-pc-linux-gnu-ranlib libgnetxmlrpc.a /bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o test-xmlrpc-client test-xmlrpc-client.o libgnetxmlrpc.a ../../src/libgnet-2.0.la -lresolv /bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o test-xmlrpc-server test-xmlrpc-server.o libgnetxmlrpc.a ../../src/libgnet-2.0.la -lresolv libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/test-xmlrpc-client test-xmlrpc-client.o -Wl,--as-needed libgnetxmlrpc.a ../../src/.libs/libgnet-2.0.so -lgthread-2.0 -lglib-2.0 -lresolv -pthread libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/test-xmlrpc-server test-xmlrpc-server.o -Wl,--as-needed libgnetxmlrpc.a ../../src/.libs/libgnet-2.0.so -lgthread-2.0 -lglib-2.0 -lresolv -pthread make[3]: Leaving directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/examples/xmlrpc' make[3]: Entering directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/examples' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o echoclient.o echoclient.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o echoserver.o echoserver.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o echoclient-async.o echoclient-async.c echoclient-async.c: In function ‘main’: echoclient-async.c:67:13: warning: Deprecated pre-processor symbol, replace with 67 | main_loop = g_main_new (FALSE); | ^~~~~~~~~~~~~~~~~~~~~ echoclient-async.c:73:13: warning: Deprecated pre-processor symbol, replace with 73 | g_main_run (main_loop); | ^~~~~~~~~~~~~ echoclient-async.c: In function ‘async_client_sin_iofunc’: echoclient-async.c:129:7: warning: ‘g_io_channel_read’ is deprecated: Use 'g_io_channel_read_chars' instead [-Wdeprecated-declarations] 129 | error = g_io_channel_read (iochannel, buffer, | ^~~~~ In file included from /usr/include/glib-2.0/glib.h:54, from echoclient-async.c:24: /usr/include/glib-2.0/glib/giochannel.h:166:13: note: declared here 166 | GIOError g_io_channel_read (GIOChannel *channel, | ^~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o echoserver-async.o echoserver-async.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o echoclient-gconn.o echoclient-gconn.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o echoserver-gserver.o echoserver-gserver.c echoclient-gconn.c: In function ‘main’: echoclient-gconn.c:59:13: warning: Deprecated pre-processor symbol, replace with 59 | main_loop = g_main_new(FALSE); | ^~~~~~~~~~~~~~~~~~~~ echoclient-gconn.c:76:13: warning: Deprecated pre-processor symbol, replace with 76 | g_main_run (main_loop); | ^~~~~~~~~~~~~ echoserver-async.c: In function ‘main’: echoserver-async.c:97:13: warning: Deprecated pre-processor symbol, replace with 97 | main_loop = g_main_new (FALSE); | ^~~~~~~~~~~~~~~~~~~~~ echoserver-async.c:103:13: warning: Deprecated pre-processor symbol, replace with 103 | g_main_run (main_loop); | ^~~~~~~~~~~~~ echoserver-async.c: In function ‘async_client_iofunc’: echoserver-async.c:193:7: warning: ‘g_io_channel_write’ is deprecated: Use 'g_io_channel_write_chars' instead [-Wdeprecated-declarations] 193 | error = g_io_channel_write(iochannel, client_state->buffer, | ^~~~~ In file included from /usr/include/glib-2.0/glib.h:54, from echoserver-async.c:24: /usr/include/glib-2.0/glib/giochannel.h:172:11: note: declared here 172 | GIOError g_io_channel_write (GIOChannel *channel, | ^~~~~~~~~~~~~~~~~~ echoserver-async.c:212:27: warning: Deprecated pre-processor symbol, replace with 212 | client_state->n); | ^~~~~~~~~~~ echoserver-async.c:243:9: warning: ‘g_io_channel_read’ is deprecated: Use 'g_io_channel_read_chars' instead [-Wdeprecated-declarations] 243 | g_io_channel_read (iochannel, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:54, from echoserver-async.c:24: /usr/include/glib-2.0/glib/giochannel.h:166:13: note: declared here 166 | GIOError g_io_channel_read (GIOChannel *channel, | ^~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o echoclient-udp.o echoclient-udp.c echoserver-gserver.c: In function ‘main’: echoserver-gserver.c:55:13: warning: Deprecated pre-processor symbol, replace with 55 | main_loop = g_main_new (FALSE); | ^~~~~~~~~~~~~~~~~~~~~ echoserver-gserver.c:69:13: warning: Deprecated pre-processor symbol, replace with 69 | g_main_run(main_loop); | ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o echoserver-udp.o echoserver-udp.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o echoclient-unix.o echoclient-unix.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o echoserver-unix.o echoserver-unix.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o dnslookup.o dnslookup.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o hash.o hash.c echoserver-unix.c: In function ‘async_echoserver’: echoserver-unix.c:169:13: warning: Deprecated pre-processor symbol, replace with 169 | main_loop = g_main_new(FALSE); | ^~~~~~~~~~~~~~~~~~~~ echoserver-unix.c:178:13: warning: Deprecated pre-processor symbol, replace with 178 | g_main_run(main_loop); | ^~~~~~~~~~~~ echoserver-unix.c: In function ‘async_client_iofunc’: echoserver-unix.c:241:5: warning: ‘g_io_channel_read’ is deprecated: Use 'g_io_channel_read_chars' instead [-Wdeprecated-declarations] 241 | e = g_io_channel_read(iochannel, | ^ In file included from /usr/include/glib-2.0/glib.h:54, from echoserver-unix.c:28: /usr/include/glib-2.0/glib/giochannel.h:166:13: note: declared here 166 | GIOError g_io_channel_read (GIOChannel *channel, | ^~~~~~~~~~~~~~~~~ echoserver-unix.c:271:5: warning: ‘g_io_channel_write’ is deprecated: Use 'g_io_channel_write_chars' instead [-Wdeprecated-declarations] 271 | e = g_io_channel_write(iochannel, cs->buffer, cs->n, | ^ In file included from /usr/include/glib-2.0/glib.h:54, from echoserver-unix.c:28: /usr/include/glib-2.0/glib/giochannel.h:172:11: note: declared here 172 | GIOError g_io_channel_write (GIOChannel *channel, | ^~~~~~~~~~~~~~~~~~ echoserver-unix.c:282:27: warning: Deprecated pre-processor symbol, replace with 282 | bytes_written); | ^~~~~ dnslookup.c: In function ‘main’: dnslookup.c:119:13: warning: Deprecated pre-processor symbol, replace with 119 | main_loop = g_main_new(FALSE); | ^~~~~~~~~~~~~~~~~~~~~~~~ dnslookup.c:134:13: warning: Deprecated pre-processor symbol, replace with 134 | g_main_run(main_loop); | ^~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o hfetch.o hfetch.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o hostinfo.o hostinfo.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o sdr.o sdr.c hfetch.c: In function ‘hfetch’: hfetch.c:146:7: warning: ‘g_io_channel_read’ is deprecated: Use 'g_io_channel_read_chars' instead [-Wdeprecated-declarations] 146 | error = g_io_channel_read(iochannel, buffer, sizeof(buffer), &n); | ^~~~~ In file included from /usr/include/glib-2.0/glib.h:54, from hfetch.c:23: /usr/include/glib-2.0/glib/giochannel.h:166:13: note: declared here 166 | GIOError g_io_channel_read (GIOChannel *channel, | ^~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o echoclient echoclient.o ../src/libgnet-2.0.la -lresolv /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o echoserver echoserver.o ../src/libgnet-2.0.la -lresolv /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o echoclient-async echoclient-async.o ../src/libgnet-2.0.la -lresolv libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/echoserver echoserver.o -Wl,--as-needed ../src/.libs/libgnet-2.0.so -lgthread-2.0 -lglib-2.0 -lresolv -pthread libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/echoclient echoclient.o -Wl,--as-needed ../src/.libs/libgnet-2.0.so -lgthread-2.0 -lglib-2.0 -lresolv -pthread /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o echoserver-async echoserver-async.o ../src/libgnet-2.0.la -lresolv /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o echoclient-gconn echoclient-gconn.o ../src/libgnet-2.0.la -lresolv libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/echoclient-async echoclient-async.o -Wl,--as-needed ../src/.libs/libgnet-2.0.so -lgthread-2.0 -lglib-2.0 -lresolv -pthread /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o echoserver-gserver echoserver-gserver.o ../src/libgnet-2.0.la -lresolv libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/echoserver-async echoserver-async.o -Wl,--as-needed ../src/.libs/libgnet-2.0.so -lgthread-2.0 -lglib-2.0 -lresolv -pthread libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/echoclient-gconn echoclient-gconn.o -Wl,--as-needed ../src/.libs/libgnet-2.0.so -lgthread-2.0 -lglib-2.0 -lresolv -pthread /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o echoclient-udp echoclient-udp.o ../src/libgnet-2.0.la -lresolv /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o echoserver-udp echoserver-udp.o ../src/libgnet-2.0.la -lresolv libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/echoserver-gserver echoserver-gserver.o -Wl,--as-needed ../src/.libs/libgnet-2.0.so -lgthread-2.0 -lglib-2.0 -lresolv -pthread /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o echoclient-unix echoclient-unix.o ../src/libgnet-2.0.la -lresolv libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/echoclient-udp echoclient-udp.o -Wl,--as-needed ../src/.libs/libgnet-2.0.so -lgthread-2.0 -lglib-2.0 -lresolv -pthread libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/echoserver-udp echoserver-udp.o -Wl,--as-needed ../src/.libs/libgnet-2.0.so -lgthread-2.0 -lglib-2.0 -lresolv -pthread /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o echoserver-unix echoserver-unix.o ../src/libgnet-2.0.la -lresolv /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o dnslookup dnslookup.o ../src/libgnet-2.0.la -lresolv libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/echoclient-unix echoclient-unix.o -Wl,--as-needed ../src/.libs/libgnet-2.0.so -lgthread-2.0 -lglib-2.0 -lresolv -pthread /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o hash hash.o ../src/libgnet-2.0.la -lresolv libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/dnslookup dnslookup.o -Wl,--as-needed ../src/.libs/libgnet-2.0.so -lgthread-2.0 -lglib-2.0 -lresolv -pthread libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/echoserver-unix echoserver-unix.o -Wl,--as-needed ../src/.libs/libgnet-2.0.so -lgthread-2.0 -lglib-2.0 -lresolv -pthread /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o hfetch hfetch.o ../src/libgnet-2.0.la -lresolv /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o hostinfo hostinfo.o ../src/libgnet-2.0.la -lresolv libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/hash hash.o -Wl,--as-needed ../src/.libs/libgnet-2.0.so -lgthread-2.0 -lglib-2.0 -lresolv -pthread /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o sdr sdr.o ../src/libgnet-2.0.la -lresolv libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/hostinfo hostinfo.o -Wl,--as-needed ../src/.libs/libgnet-2.0.so -lgthread-2.0 -lglib-2.0 -lresolv -pthread libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/hfetch hfetch.o -Wl,--as-needed ../src/.libs/libgnet-2.0.so -lgthread-2.0 -lglib-2.0 -lresolv -pthread libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/sdr sdr.o -Wl,--as-needed ../src/.libs/libgnet-2.0.so -lgthread-2.0 -lglib-2.0 -lresolv -pthread make[3]: Leaving directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/examples' make[2]: Leaving directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/examples' Making all in macros make[2]: Entering directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/macros' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/macros' Making all in tests make[2]: Entering directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/tests' Making all in check make[3]: Entering directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/tests/check' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o gnetcheck.o gnetcheck.c In file included from gnetcheck.c:21: gnetcheck.h: In function ‘__gnet_tcase_add_test’: gnetcheck.h:318:26: warning: passing argument 2 of ‘_tcase_add_test’ from incompatible pointer type [-Wincompatible-pointer-types] 318 | _tcase_add_test (tc, tf, func_name, sig, start, end); | ^~ | | | TFun {aka void (*)(int)} In file included from gnetcheck.h:30, from gnetcheck.c:21: /usr/include/check.h:347:69: note: expected ‘const TTest *’ but argument is of type ‘TFun’ {aka ‘void (*)(int)’} 347 | DLL_EXP void CK_EXPORT _tcase_add_test(TCase * tc, const TTest * ttest, | ~~~~~~~~~~~~~~^~~~~ In file included from gnetcheck.c:21: gnetcheck.h:318:30: warning: passing argument 3 of ‘_tcase_add_test’ makes integer from pointer without a cast [-Wint-conversion] 318 | _tcase_add_test (tc, tf, func_name, sig, start, end); | ^~~~~~~~~ | | | const gchar * {aka const char *} In file included from gnetcheck.h:30, from gnetcheck.c:21: /usr/include/check.h:348:47: note: expected ‘int’ but argument is of type ‘const gchar *’ {aka ‘const char *’} 348 | int _signal, int allowed_exit_value, | ~~~~^~~~~~~ gnetcheck.c: In function ‘gnet_check_log_critical_func’: gnetcheck.c:59:11: warning: too many arguments for format [-Wformat-extra-args] 59 | fail ("Unexpected critical/warning: %s", message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnetcheck.c: In function ‘gnet_check_init’: gnetcheck.c:109:3: warning: ‘g_cond_new’ is deprecated [-Wdeprecated-declarations] 109 | check_cond = g_cond_new (); | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from ../../src/gnet.h:24, from gnetcheck.h:32, from gnetcheck.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here 277 | GCond * g_cond_new (void); | ^~~~~~~~~~ gnetcheck.c:110:3: warning: ‘g_mutex_new’ is deprecated [-Wdeprecated-declarations] 110 | check_mutex = g_mutex_new (); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from ../../src/gnet.h:24, from gnetcheck.h:32, from gnetcheck.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:273:17: note: declared here 273 | GMutex * g_mutex_new (void); | ^~~~~~~~~~~ rm -f libgnetcheck.a x86_64-pc-linux-gnu-ar cru libgnetcheck.a gnetcheck.o x86_64-pc-linux-gnu-ranlib libgnetcheck.a make[3]: Leaving directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/tests/check' make[3]: Entering directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/tests' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/tests' make[2]: Leaving directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/tests' Making all in doc make[2]: Entering directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/doc' make[2]: Entering directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8' make[2]: Leaving directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8' make[1]: Leaving directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8' >>> Source compiled. >>> Test phase: net-libs/gnet-2.0.8-r3 make -j3 check Making check in src make[1]: Entering directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/src' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/src' Making check in examples make[1]: Entering directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/examples' Making check in xmlrpc make[2]: Entering directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/examples/xmlrpc' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/examples/xmlrpc' make[2]: Entering directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/examples' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/examples' make[1]: Leaving directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/examples' Making check in macros make[1]: Entering directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/macros' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/macros' Making check in tests make[1]: Entering directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/tests' Making check in check make[2]: Entering directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/tests/check' make gnet/gnetabi gnet/gnetbase64 gnet/gnetconn gnet/gnetconnhttp gnet/gnethash gnet/gnetinetaddr gnet/gnetipv6 gnet/gnetmisc gnet/gnetpack gnet/gnetunpack gnet/gneturi make[3]: Entering directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/tests/check' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o gnetabi.o `test -f 'gnet/gnetabi.c' || echo './'`gnet/gnetabi.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o gnetbase64.o `test -f 'gnet/gnetbase64.c' || echo './'`gnet/gnetbase64.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c -o gnetconn.o `test -f 'gnet/gnetconn.c' || echo './'`gnet/gnetconn.c In file included from gnet/gnetabi.c:22: ./gnetcheck.h: In function ‘__gnet_tcase_add_test’: ./gnetcheck.h:318:26: warning: passing argument 2 of ‘_tcase_add_test’ from incompatible pointer type [-Wincompatible-pointer-types] 318 | _tcase_add_test (tc, tf, func_name, sig, start, end); | ^~ | | | TFun {aka void (*)(int)} In file included from ./gnetcheck.h:30, from gnet/gnetabi.c:22: /usr/include/check.h:347:69: note: expected ‘const TTest *’ but argument is of type ‘TFun’ {aka ‘void (*)(int)’} 347 | DLL_EXP void CK_EXPORT _tcase_add_test(TCase * tc, const TTest * ttest, | ~~~~~~~~~~~~~~^~~~~ In file included from gnet/gnetabi.c:22: ./gnetcheck.h:318:30: warning: passing argument 3 of ‘_tcase_add_test’ makes integer from pointer without a cast [-Wint-conversion] 318 | _tcase_add_test (tc, tf, func_name, sig, start, end); | ^~~~~~~~~ | | | const gchar * {aka const char *} In file included from ./gnetcheck.h:30, from gnet/gnetabi.c:22: /usr/include/check.h:348:47: note: expected ‘int’ but argument is of type ‘const gchar *’ {aka ‘const char *’} 348 | int _signal, int allowed_exit_value, | ~~~~^~~~~~~ gnet/gnetabi.c: In function ‘gnet_check_abi_list’: gnet/gnetabi.c:79:22: warning: too many arguments for format [-Wformat-extra-args] 79 | fail_unless (ok, "failed ABI check"); | ^~~~~~~~~~~~~~~~~~ gnet/gnetabi.c: In function ‘test_ABI’: gnet/gnetabi.c:117:1: error: invalid storage class for function ‘gnetabi_suite’ 117 | gnetabi_suite (void) | ^~~~~~~~~~~~~ In file included from gnet/gnetabi.c:22: ./gnetcheck.h:301:5: warning: ‘main’ is normally a non-static function [-Wmain] 301 | int main (int argc, char **argv) \ | ^~~~ gnet/gnetabi.c:129:1: note: in expansion of macro ‘GNET_CHECK_MAIN’ 129 | GNET_CHECK_MAIN (gnetabi); | ^~~~~~~~~~~~~~~ gnet/gnetabi.c:129:1: error: expected declaration or statement at end of input In file included from gnet/gnetbase64.c:20: ./gnetcheck.h: In function ‘__gnet_tcase_add_test’: In file included from gnet/gnetabi.c:22: At top level: ./gnetcheck.h:301:5: warning: ‘main’ defined but not used [-Wunused-function] 301 | int main (int argc, char **argv) \ | ^~~~ gnet/gnetabi.c:129:1: note: in expansion of macro ‘GNET_CHECK_MAIN’ 129 | GNET_CHECK_MAIN (gnetabi); | ^~~~~~~~~~~~~~~ ./gnetcheck.h:318:26: warning: passing argument 2 of ‘_tcase_add_test’ from incompatible pointer type [-Wincompatible-pointer-types] 318 | _tcase_add_test (tc, tf, func_name, sig, start, end); | ^~ | | | TFun {aka void (*)(int)} In file included from ./gnetcheck.h:30, from gnet/gnetbase64.c:20: /usr/include/check.h:347:69: note: expected ‘const TTest *’ but argument is of type ‘TFun’ {aka ‘void (*)(int)’} 347 | DLL_EXP void CK_EXPORT _tcase_add_test(TCase * tc, const TTest * ttest, | ~~~~~~~~~~~~~~^~~~~ In file included from gnet/gnetbase64.c:20: ./gnetcheck.h:318:30: warning: passing argument 3 of ‘_tcase_add_test’ makes integer from pointer without a cast [-Wint-conversion] 318 | _tcase_add_test (tc, tf, func_name, sig, start, end); | ^~~~~~~~~ | | | const gchar * {aka const char *} In file included from ./gnetcheck.h:30, from gnet/gnetbase64.c:20: /usr/include/check.h:348:47: note: expected ‘int’ but argument is of type ‘const gchar *’ {aka ‘const char *’} 348 | int _signal, int allowed_exit_value, | ~~~~^~~~~~~ gnet/gnetbase64.c: In function ‘test_base64’: ./gnetcheck.h:83:5: warning: too many arguments for format [-Wformat-extra-args] 83 | "'" #a "' (%d) is not equal to '" #b"' (%d)", first, second); \ | ^~~ gnet/gnetbase64.c:46:3: note: in expansion of macro ‘fail_unless_equals_int’ 46 | fail_unless_equals_int (len1, strlen (aladin) + 1); | ^~~~~~~~~~~~~~~~~~~~~~ ./gnetcheck.h:138:5: warning: too many arguments for format [-Wformat-extra-args] 138 | "'" #a "' (%s) is not equal to '" #b"' (%s)", first, second); \ | ^~~ gnet/gnetbase64.c:47:3: note: in expansion of macro ‘fail_unless_equals_string’ 47 | fail_unless_equals_string (buf1, aladin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:871: gnetabi.o] Error 1 make[3]: *** Waiting for unfinished jobs.... ./gnetcheck.h:83:5: warning: too many arguments for format [-Wformat-extra-args] 83 | "'" #a "' (%d) is not equal to '" #b"' (%d)", first, second); \ | ^~~ gnet/gnetbase64.c:54:3: note: in expansion of macro ‘fail_unless_equals_int’ 54 | fail_unless_equals_int (len1, strlen (aladin_cr) + 1); | ^~~~~~~~~~~~~~~~~~~~~~ ./gnetcheck.h:138:5: warning: too many arguments for format [-Wformat-extra-args] 138 | "'" #a "' (%s) is not equal to '" #b"' (%s)", first, second); \ | ^~~ gnet/gnetbase64.c:55:3: note: in expansion of macro ‘fail_unless_equals_string’ 55 | fail_unless_equals_string (buf1, aladin_cr); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./gnetcheck.h:83:5: warning: too many arguments for format [-Wformat-extra-args] 83 | "'" #a "' (%d) is not equal to '" #b"' (%d)", first, second); \ | ^~~ gnet/gnetbase64.c:61:3: note: in expansion of macro ‘fail_unless_equals_int’ 61 | fail_unless_equals_int (len2, strlen (sesame)); | ^~~~~~~~~~~~~~~~~~~~~~ ./gnetcheck.h:138:5: warning: too many arguments for format [-Wformat-extra-args] 138 | "'" #a "' (%s) is not equal to '" #b"' (%s)", first, second); \ | ^~~ gnet/gnetbase64.c:62:3: note: in expansion of macro ‘fail_unless_equals_string’ 62 | fail_unless_equals_string (buf2, sesame); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./gnetcheck.h:83:5: warning: too many arguments for format [-Wformat-extra-args] 83 | "'" #a "' (%d) is not equal to '" #b"' (%d)", first, second); \ | ^~~ gnet/gnetbase64.c:69:3: note: in expansion of macro ‘fail_unless_equals_int’ 69 | fail_unless_equals_int (len2, strlen (sesame)); | ^~~~~~~~~~~~~~~~~~~~~~ ./gnetcheck.h:138:5: warning: too many arguments for format [-Wformat-extra-args] 138 | "'" #a "' (%s) is not equal to '" #b"' (%s)", first, second); \ | ^~~ gnet/gnetbase64.c:70:3: note: in expansion of macro ‘fail_unless_equals_string’ 70 | fail_unless_equals_string (buf2, sesame); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from gnet/gnetconn.c:20: ./gnetcheck.h: In function ‘__gnet_tcase_add_test’: ./gnetcheck.h:83:5: warning: too many arguments for format [-Wformat-extra-args] 83 | "'" #a "' (%d) is not equal to '" #b"' (%d)", first, second); \ | ^~~ gnet/gnetbase64.c:76:3: note: in expansion of macro ‘fail_unless_equals_int’ 76 | fail_unless_equals_int (len2, strlen (sesame)); | ^~~~~~~~~~~~~~~~~~~~~~ ./gnetcheck.h:318:26: warning: passing argument 2 of ‘_tcase_add_test’ from incompatible pointer type [-Wincompatible-pointer-types] 318 | _tcase_add_test (tc, tf, func_name, sig, start, end); | ^~ | | | TFun {aka void (*)(int)} ./gnetcheck.h:138:5: warning: too many arguments for format [-Wformat-extra-args] 138 | "'" #a "' (%s) is not equal to '" #b"' (%s)", first, second); \ | ^~~ gnet/gnetbase64.c:77:3: note: in expansion of macro ‘fail_unless_equals_string’ 77 | fail_unless_equals_string (buf2, sesame); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./gnetcheck.h:30, from gnet/gnetconn.c:20: /usr/include/check.h:347:69: note: expected ‘const TTest *’ but argument is of type ‘TFun’ {aka ‘void (*)(int)’} 347 | DLL_EXP void CK_EXPORT _tcase_add_test(TCase * tc, const TTest * ttest, | ~~~~~~~~~~~~~~^~~~~ In file included from gnet/gnetconn.c:20: ./gnetcheck.h:318:30: warning: passing argument 3 of ‘_tcase_add_test’ makes integer from pointer without a cast [-Wint-conversion] 318 | _tcase_add_test (tc, tf, func_name, sig, start, end); | ^~~~~~~~~ | | | const gchar * {aka const char *} In file included from ./gnetcheck.h:30, from gnet/gnetconn.c:20: /usr/include/check.h:348:47: note: expected ‘int’ but argument is of type ‘const gchar *’ {aka ‘const char *’} 348 | int _signal, int allowed_exit_value, | ~~~~^~~~~~~ ./gnetcheck.h:83:5: warning: too many arguments for format [-Wformat-extra-args] 83 | "'" #a "' (%d) is not equal to '" #b"' (%d)", first, second); \ | ^~~ gnet/gnetbase64.c:84:3: note: in expansion of macro ‘fail_unless_equals_int’ 84 | fail_unless_equals_int (len2, strlen (sesame)); | ^~~~~~~~~~~~~~~~~~~~~~ ./gnetcheck.h:138:5: warning: too many arguments for format [-Wformat-extra-args] 138 | "'" #a "' (%s) is not equal to '" #b"' (%s)", first, second); \ | ^~~ gnet/gnetbase64.c:85:3: note: in expansion of macro ‘fail_unless_equals_string’ 85 | fail_unless_equals_string (buf2, sesame); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from gnet/gnetbase64.c:20: gnet/gnetbase64.c:92:18: error: invalid storage class for function ‘test_base64_8bit’ 92 | GNET_START_TEST (test_base64_8bit) | ^~~~~~~~~~~~~~~~ ./gnetcheck.h:61:13: note: in definition of macro ‘GNET_START_TEST’ 61 | static void __testname (int __i__)\ | ^~~~~~~~~~ In file included from ./gnetcheck.h:30, from gnet/gnetbase64.c:20: gnet/gnetbase64.c: In function ‘test_base64_8bit’: ./gnetcheck.h:83:5: warning: too many arguments for format [-Wformat-extra-args] 83 | "'" #a "' (%d) is not equal to '" #b"' (%d)", first, second); \ | ^~~ gnet/gnetbase64.c:102:3: note: in expansion of macro ‘fail_unless_equals_int’ 102 | fail_unless_equals_int (len2, strlen ("QYQA") + 1); | ^~~~~~~~~~~~~~~~~~~~~~ ./gnetcheck.h:138:5: warning: too many arguments for format [-Wformat-extra-args] 138 | "'" #a "' (%s) is not equal to '" #b"' (%s)", first, second); \ | ^~~ gnet/gnetbase64.c:103:3: note: in expansion of macro ‘fail_unless_equals_string’ 103 | fail_unless_equals_string (buf2, "QYQA"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./gnetcheck.h:83:5: warning: too many arguments for format [-Wformat-extra-args] 83 | "'" #a "' (%d) is not equal to '" #b"' (%d)", first, second); \ | ^~~ gnet/gnetbase64.c:109:3: note: in expansion of macro ‘fail_unless_equals_int’ 109 | fail_unless_equals_int (len1, 3); | ^~~~~~~~~~~~~~~~~~~~~~ gnet/gnetbase64.c:118:1: error: invalid storage class for function ‘gnetbase64_suite’ 118 | gnetbase64_suite (void) | ^~~~~~~~~~~~~~~~ In file included from gnet/gnetbase64.c:20: ./gnetcheck.h:301:5: warning: ‘main’ is normally a non-static function [-Wmain] 301 | int main (int argc, char **argv) \ | ^~~~ gnet/gnetbase64.c:131:1: note: in expansion of macro ‘GNET_CHECK_MAIN’ 131 | GNET_CHECK_MAIN (gnetbase64); | ^~~~~~~~~~~~~~~ gnet/gnetbase64.c:131:1: error: expected declaration or statement at end of input gnet/gnetbase64.c: In function ‘test_base64’: gnet/gnetbase64.c:131:1: error: expected declaration or statement at end of input In file included from gnet/gnetbase64.c:20: At top level: ./gnetcheck.h:301:5: warning: ‘main’ defined but not used [-Wunused-function] 301 | int main (int argc, char **argv) \ | ^~~~ gnet/gnetbase64.c:131:1: note: in expansion of macro ‘GNET_CHECK_MAIN’ 131 | GNET_CHECK_MAIN (gnetbase64); | ^~~~~~~~~~~~~~~ make[3]: *** [Makefile:885: gnetbase64.o] Error 1 make[3]: Leaving directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/tests/check' make[2]: *** [Makefile:1367: check-am] Error 2 make[2]: Leaving directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/tests/check' make[1]: *** [Makefile:603: check-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8/tests' make: *** [Makefile:569: check-recursive] Error 1 * ERROR: net-libs/gnet-2.0.8-r3::gentoo failed (test phase): * Make check failed. See above for details. * * Call stack: * ebuild.sh, line 127: Called src_test * environment, line 3075: Called default * phase-functions.sh, line 858: Called default_src_test * phase-functions.sh, line 887: Called __eapi0_src_test * phase-helpers.sh, line 809: Called die * The specific snippet of code: * $emake_cmd ${internal_opts} check || \ * die "Make check failed. See above for details." * * If you need support, post the output of `emerge --info '=net-libs/gnet-2.0.8-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/gnet-2.0.8-r3::gentoo'`. * The complete build log is located at '/var/log/portage/net-libs:gnet-2.0.8-r3:20210718-071239.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-libs/gnet-2.0.8-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/gnet-2.0.8-r3/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8' * S: '/var/tmp/portage/net-libs/gnet-2.0.8-r3/work/gnet-2.0.8'