* Package: net-firewall/nufw-2.2.22-r3 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux pam unicode userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking nufw-2.2.22.tar.bz2 to /var/tmp/portage/net-firewall/nufw-2.2.22-r3/work >>> Source unpacked in /var/tmp/portage/net-firewall/nufw-2.2.22-r3/work >>> Preparing source in /var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22 ... * Applying nufw-2.2.22-var-run.patch ... [ ok ] * Applying nufw-2.2.22-gnutls-3.4.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22' ... * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --force-missing ... [ ok ] * Running elibtoolize in: nufw-2.2.22/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22 ... * econf: updating nufw-2.2.22/config.sub with /usr/share/gnuconfig/config.sub * econf: updating nufw-2.2.22/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 --docdir=/usr/share/doc/nufw-2.2.22-r3 --htmldir=/usr/share/doc/nufw-2.2.22-r3/html --libdir=/usr/lib64 --disable-debug --disable-pam-nufw --disable-static --without-ldap --without-mysql-auth --without-mysql-log --without-nfconntrack --without-nfqueue --with-system-auth --without-plaintext-auth --without-pgsql-log --without-prelude-log --without-syslog-log --with-utf8 --enable-shared --includedir=/usr/include/nufw --localstatedir=/var --sysconfdir=/etc/nufw --with-mark-group --with-user-mark configure: loading site script /usr/share/config.site 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 for x86_64-pc-linux-gnu-gcc option to accept ISO C99... none needed checking for x86_64-pc-linux-gnu-gcc option to accept ISO Standard C... (cached) none needed checking for an ANSI C99-conforming __func__... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for 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... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no 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 for gawk... gawk 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... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking 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 for a BSD-compatible install... /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c checking whether byte ordering is bigendian... no checking for struct dirent.d_type... yes checking for pthread_mutex_init in -lpthread... yes checking for x86_64-pc-linux-gnu-docbook2man... no checking for docbook2man... no checking for x86_64-pc-linux-gnu-docbook2pdf... no checking for docbook2pdf... no checking for ANSI C header files... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for gethostbyname... yes checking for memset... yes checking for socket... yes checking for strcasecmp... yes checking for strspn... yes checking for libgcrypt-config... /usr/bin/libgcrypt-config checking for LIBGCRYPT - version >= 1.2.0... yes (1.8.7) 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 gnutls >= 1.0.16... yes checking for x86_64-pc-linux-gnu-python... no checking for python... no checking for sasl_server_init in -lsasl2... yes checking for sasl_server_init in -lsasl2... (cached) yes checking for x86_64-pc-linux-gnu-pkg-config... (cached) /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.16... yes checking for glib-2.0 >= 2.4.0 gthread-2.0 gmodule-2.0... yes checking for GLIB - version >= 2.4.0... yes (version 2.66.4) checking for pam_start in -lpam... yes checking for sasl_server_init in -lsasl2... (cached) yes checking libipq/libipq.h usability... no checking libipq/libipq.h presence... no checking for libipq/libipq.h... no checking libipq.h usability... no checking libipq.h presence... no checking for libipq.h... no checking for ipq_message_type in -lipq... no checking gcc version... 10.2.0 checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating conf/Makefile config.status: creating python/Makefile config.status: creating selinux/Makefile config.status: creating src/Makefile config.status: creating src/include/Makefile config.status: creating src/nuauth/Makefile config.status: creating src/nuauth/modules/Makefile config.status: creating src/nuauth/modules/ldap/Makefile config.status: creating src/nuauth/modules/plaintext/Makefile config.status: creating src/nuauth/modules/mark_group/Makefile config.status: creating src/nuauth/modules/mark_field/Makefile config.status: creating src/nuauth/modules/mark_flag/Makefile config.status: creating src/nuauth/modules/system/Makefile config.status: creating src/nuauth/modules/log_pgsql/Makefile config.status: creating src/nuauth/modules/log_mysql/Makefile config.status: creating src/nuauth/modules/log_nuprelude/Makefile config.status: creating src/nuauth/modules/log_syslog/Makefile config.status: creating src/nuauth/modules/log_script/Makefile config.status: creating src/nuauth/modules/xml_defs/Makefile config.status: creating src/nuauth/modules/x509_std/Makefile config.status: creating src/nuauth/modules/mark_uid/Makefile config.status: creating src/nuauth/modules/session_expire/Makefile config.status: creating src/nuauth/modules/session_authtype/Makefile config.status: creating src/nuauth/modules/ipauth_guest/Makefile config.status: creating src/nuauth/modules/auth_mysql/Makefile config.status: creating src/clients/Makefile config.status: creating src/clients/lib/Makefile config.status: creating src/clients/lib/tests/Makefile config.status: creating src/clients/nutcpc/Makefile config.status: creating src/clients/pam_nufw/Makefile config.status: creating src/nufw/Makefile config.status: creating scripts/Makefile config.status: creating scripts/nuauth_command/Makefile config.status: creating scripts/nuauth_command/scripts/Makefile config.status: creating scripts/nuauth_command/nuauth_command/Makefile config.status: creating scripts/auth_mysql/Makefile config.status: creating tests/Makefile config.status: creating tests/inl_tests/Makefile config.status: creating tests/pki/Makefile config.status: creating src/include/config.h config.status: executing libtool commands config.status: executing depfiles commands Configuration complete * Compiling with developement DEBUG support * Compiling NuAuth - NuAuth: compile auth module system - NuAuth: compile mark group module - NuAuth: compile mark field module - NuAuth: compile mark flag module !!! WARNING !!! NuFW daemon WON'T be compiled: libipq not present * Compiling libnuclient * Compiling nutcpc Now type 'make' and then 'sudo make install' >>> Source configured. >>> Compiling source in /var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22 ... make -j1 Making all in src make[1]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src' Making all in include make[2]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/include' make all-am make[3]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/include' /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o packet_parser.lo packet_parser.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c packet_parser.c -fPIC -DPIC -o .libs/packet_parser.o In file included from /usr/include/netinet/in.h:21, from ipv6.h:31, from packet_parser.h:33, from packet_parser.c:30: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o ipv6.lo ipv6.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c ipv6.c -fPIC -DPIC -o .libs/ipv6.o In file included from /usr/include/netinet/in.h:21, from ./ipv6.h:31, from ipv6.c:21: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lgcrypt -lgpg-error -o libnufw.la packet_parser.lo ipv6.lo -lpthread libtool: link: x86_64-pc-linux-gnu-ar cru .libs/libnufw.a .libs/packet_parser.o .libs/ipv6.o libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libnufw.a libtool: link: ( cd ".libs" && rm -f "libnufw.la" && ln -s "../libnufw.la" "libnufw.la" ) make[3]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/include' make[2]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/include' Making all in nuauth make[2]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth' Making all in modules make[3]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules' Making all in ldap make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/ldap' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/ldap' Making all in log_syslog make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_syslog' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_syslog' Making all in log_script make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_script' /bin/sh ../../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../src/nuauth/ -I../../../../src/include/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o script.lo script.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../src/nuauth/ -I../../../../src/include/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c script.c -fPIC -DPIC -o .libs/script.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../../../../src/nuauth/auth_srv.h:38, from script.c:24: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:86, from script.c:24: ../../../../src/nuauth/tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ../../../../src/nuauth/tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ../../../../src/nuauth/tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from script.c:24: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:86, from script.c:24: ../../../../src/nuauth/tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ../../../../src/nuauth/tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ../../../../src/nuauth/auth_srv.h:88, from script.c:24: ../../../../src/nuauth/connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from script.c:24: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:93, from script.c:24: ../../../../src/nuauth/users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:96, from script.c:24: ../../../../src/nuauth/modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ../../../../src/nuauth/modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ../../../../src/nuauth/modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ../../../../src/nuauth/modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:104, from script.c:24: ../../../../src/nuauth/x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ../../../../src/nuauth/x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ script.c: In function ‘user_session_logs’: script.c:68:3: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 68 | system(cmdbuffer); | ^~~~~~~~~~~~~~~~~ /bin/sh ../../../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lgcrypt -lgpg-error -o libscript.la -rpath /usr/lib64/nuauth/modules -module -avoid-version script.lo libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/script.o -Wl,--as-needed -lgcrypt -lgpg-error -O2 -march=native -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libscript.so -o .libs/libscript.so libtool: link: ( cd ".libs" && rm -f "libscript.la" && ln -s "../libscript.la" "libscript.la" ) make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_script' Making all in log_mysql make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_mysql' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_mysql' Making all in log_pgsql make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_pgsql' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_pgsql' Making all in plaintext make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/plaintext' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/plaintext' Making all in system make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/system' /bin/sh ../../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../src/nuauth/ -I../../../../src/include/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o system.lo system.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../src/nuauth/ -I../../../../src/include/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c system.c -fPIC -DPIC -o .libs/system.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../../../../src/nuauth/auth_srv.h:38, from system.c:21: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:86, from system.c:21: ../../../../src/nuauth/tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ../../../../src/nuauth/tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ../../../../src/nuauth/tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from system.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:86, from system.c:21: ../../../../src/nuauth/tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ../../../../src/nuauth/tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ../../../../src/nuauth/auth_srv.h:88, from system.c:21: ../../../../src/nuauth/connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from system.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:93, from system.c:21: ../../../../src/nuauth/users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:96, from system.c:21: ../../../../src/nuauth/modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ../../../../src/nuauth/modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ../../../../src/nuauth/modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ../../../../src/nuauth/modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:104, from system.c:21: ../../../../src/nuauth/x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ../../../../src/nuauth/x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ system.c:41:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 41 | GStaticMutex pam_mutex = G_STATIC_MUTEX_INIT; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from system.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ system.c:41:13: warning: Deprecated pre-processor symbol, replace with 41 | GStaticMutex pam_mutex = G_STATIC_MUTEX_INIT; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ system.c: In function ‘user_check’: system.c:203:13: warning: Deprecated pre-processor symbol 203 | g_static_mutex_lock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~ system.c:203:4: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 203 | g_static_mutex_lock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from system.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ system.c:203:13: warning: Deprecated pre-processor symbol, replace with 203 | g_static_mutex_lock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~ system.c:218:13: warning: Deprecated pre-processor symbol 218 | g_static_mutex_unlock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ system.c:218:6: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 218 | g_static_mutex_unlock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from system.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ system.c:218:13: warning: Deprecated pre-processor symbol, replace with 218 | g_static_mutex_unlock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ system.c:231:13: warning: Deprecated pre-processor symbol 231 | g_static_mutex_unlock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ system.c:231:6: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 231 | g_static_mutex_unlock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from system.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ system.c:231:13: warning: Deprecated pre-processor symbol, replace with 231 | g_static_mutex_unlock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ system.c:238:13: warning: Deprecated pre-processor symbol 238 | g_static_mutex_unlock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ system.c:238:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 238 | g_static_mutex_unlock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from system.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ system.c:238:13: warning: Deprecated pre-processor symbol, replace with 238 | g_static_mutex_unlock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ system.c: In function ‘get_user_id’: system.c:269:13: warning: Deprecated pre-processor symbol 269 | g_static_mutex_lock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~~ system.c:269:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 269 | g_static_mutex_lock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from system.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ system.c:269:13: warning: Deprecated pre-processor symbol, replace with 269 | g_static_mutex_lock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~~ system.c:275:13: warning: Deprecated pre-processor symbol 275 | g_static_mutex_unlock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~ system.c:275:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 275 | g_static_mutex_unlock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from system.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ system.c:275:13: warning: Deprecated pre-processor symbol, replace with 275 | g_static_mutex_unlock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~ system.c: In function ‘get_user_groups’: system.c:300:13: warning: Deprecated pre-processor symbol 300 | g_static_mutex_lock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~~ system.c:300:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 300 | g_static_mutex_lock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from system.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ system.c:300:13: warning: Deprecated pre-processor symbol, replace with 300 | g_static_mutex_lock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~~ system.c:306:13: warning: Deprecated pre-processor symbol 306 | g_static_mutex_unlock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~ system.c:306:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 306 | g_static_mutex_unlock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from system.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ system.c:306:13: warning: Deprecated pre-processor symbol, replace with 306 | g_static_mutex_unlock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~ system.c:314:13: warning: Deprecated pre-processor symbol 314 | g_static_mutex_lock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~~ system.c:314:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 314 | g_static_mutex_lock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from system.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ system.c:314:13: warning: Deprecated pre-processor symbol, replace with 314 | g_static_mutex_lock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~~ system.c:316:13: warning: Deprecated pre-processor symbol 316 | g_static_mutex_unlock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~ system.c:316:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 316 | g_static_mutex_unlock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from system.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ system.c:316:13: warning: Deprecated pre-processor symbol, replace with 316 | g_static_mutex_unlock(&pam_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../src/nuauth/ -I../../../../src/include/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o getugroups.lo getugroups.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../src/nuauth/ -I../../../../src/include/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c getugroups.c -fPIC -DPIC -o .libs/getugroups.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../../../../src/nuauth/auth_srv.h:38, from getugroups.c:36: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:86, from getugroups.c:36: ../../../../src/nuauth/tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ../../../../src/nuauth/tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ../../../../src/nuauth/tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from getugroups.c:36: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:86, from getugroups.c:36: ../../../../src/nuauth/tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ../../../../src/nuauth/tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ../../../../src/nuauth/auth_srv.h:88, from getugroups.c:36: ../../../../src/nuauth/connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from getugroups.c:36: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:93, from getugroups.c:36: ../../../../src/nuauth/users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:96, from getugroups.c:36: ../../../../src/nuauth/modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ../../../../src/nuauth/modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ../../../../src/nuauth/modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ../../../../src/nuauth/modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:104, from getugroups.c:36: ../../../../src/nuauth/x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ../../../../src/nuauth/x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ getugroups.c:50:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 50 | GStaticMutex group_mutex; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from getugroups.c:36: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ getugroups.c: In function ‘getugroups’: getugroups.c:75:13: warning: Deprecated pre-processor symbol 75 | g_static_mutex_lock(&group_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~ getugroups.c:75:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 75 | g_static_mutex_lock(&group_mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from getugroups.c:36: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getugroups.c:75:13: warning: Deprecated pre-processor symbol, replace with 75 | g_static_mutex_lock(&group_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~ getugroups.c:116:13: warning: Deprecated pre-processor symbol 116 | g_static_mutex_unlock(&group_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ getugroups.c:116:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 116 | g_static_mutex_unlock(&group_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from getugroups.c:36: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getugroups.c:116:13: warning: Deprecated pre-processor symbol, replace with 116 | g_static_mutex_unlock(&group_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lgcrypt -lgpg-error -o libsystem.la -rpath /usr/lib64/nuauth/modules -rpath /usr/lib64/nuauth/modules -module -avoid-version system.lo getugroups.lo -lpam -lgthread-2.0 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/system.o .libs/getugroups.o -Wl,--as-needed -lgcrypt -lgpg-error -lpam -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -O2 -march=native -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -pthread -Wl,--export-dynamic -pthread -pthread -Wl,-soname -Wl,libsystem.so -o .libs/libsystem.so libtool: link: ( cd ".libs" && rm -f "libsystem.la" && ln -s "../libsystem.la" "libsystem.la" ) make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/system' Making all in xml_defs make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/xml_defs' /bin/sh ../../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../src/nuauth/ -I../../../../src/include/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o xml_defs.lo xml_defs.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../src/nuauth/ -I../../../../src/include/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c xml_defs.c -fPIC -DPIC -o .libs/xml_defs.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../../../../src/nuauth/auth_srv.h:38, from xml_defs.c:22: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:86, from xml_defs.c:22: ../../../../src/nuauth/tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ../../../../src/nuauth/tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ../../../../src/nuauth/tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from xml_defs.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:86, from xml_defs.c:22: ../../../../src/nuauth/tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ../../../../src/nuauth/tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ../../../../src/nuauth/auth_srv.h:88, from xml_defs.c:22: ../../../../src/nuauth/connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from xml_defs.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:93, from xml_defs.c:22: ../../../../src/nuauth/users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:96, from xml_defs.c:22: ../../../../src/nuauth/modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ../../../../src/nuauth/modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ../../../../src/nuauth/modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ../../../../src/nuauth/modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:104, from xml_defs.c:22: ../../../../src/nuauth/x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ../../../../src/nuauth/x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ /bin/sh ../../../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lgcrypt -lgpg-error -o libxml_defs.la -rpath /usr/lib64/nuauth/modules -module -avoid-version xml_defs.lo libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/xml_defs.o -Wl,--as-needed -lgcrypt -lgpg-error -O2 -march=native -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libxml_defs.so -o .libs/libxml_defs.so libtool: link: ( cd ".libs" && rm -f "libxml_defs.la" && ln -s "../libxml_defs.la" "libxml_defs.la" ) make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/xml_defs' Making all in x509_std make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/x509_std' /bin/sh ../../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../src/nuauth/ -I../../../../src/include/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o x509_std.lo x509_std.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../src/nuauth/ -I../../../../src/include/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c x509_std.c -fPIC -DPIC -o .libs/x509_std.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../../../../src/nuauth/auth_srv.h:38, from x509_std.c:22: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:86, from x509_std.c:22: ../../../../src/nuauth/tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ../../../../src/nuauth/tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ../../../../src/nuauth/tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from x509_std.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:86, from x509_std.c:22: ../../../../src/nuauth/tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ../../../../src/nuauth/tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ../../../../src/nuauth/auth_srv.h:88, from x509_std.c:22: ../../../../src/nuauth/connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from x509_std.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:93, from x509_std.c:22: ../../../../src/nuauth/users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:96, from x509_std.c:22: ../../../../src/nuauth/modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ../../../../src/nuauth/modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ../../../../src/nuauth/modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ../../../../src/nuauth/modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:104, from x509_std.c:22: ../../../../src/nuauth/x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ../../../../src/nuauth/x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ x509_std.c:103:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 103 | G_MODULE_EXPORT int certificate_check(gnutls_session session, | ^~~~~~~~~~~~~~~ x509_std.c:104:11: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 104 | gnutls_x509_crt cert, | ^~~~~~~~~~~~~~~ x509_std.c:161:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 161 | G_MODULE_EXPORT gchar *certificate_to_uid(gnutls_session session, | ^~~~~~~~~~~~~~~ x509_std.c:162:8: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 162 | gnutls_x509_crt cert, | ^~~~~~~~~~~~~~~ /bin/sh ../../../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lgcrypt -lgpg-error -o libx509_std.la -rpath /usr/lib64/nuauth/modules -module -avoid-version x509_std.lo libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/x509_std.o -Wl,--as-needed -lgcrypt -lgpg-error -O2 -march=native -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libx509_std.so -o .libs/libx509_std.so libtool: link: ( cd ".libs" && rm -f "libx509_std.la" && ln -s "../libx509_std.la" "libx509_std.la" ) make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/x509_std' Making all in log_nuprelude make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_nuprelude' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_nuprelude' Making all in mark_uid make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/mark_uid' /bin/sh ../../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../src/nuauth/ -I../../../../src/include/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o mark_uid.lo mark_uid.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../src/nuauth/ -I../../../../src/include/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c mark_uid.c -fPIC -DPIC -o .libs/mark_uid.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../../../../src/nuauth/auth_srv.h:38, from mark_uid.c:22: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:86, from mark_uid.c:22: ../../../../src/nuauth/tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ../../../../src/nuauth/tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ../../../../src/nuauth/tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from mark_uid.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:86, from mark_uid.c:22: ../../../../src/nuauth/tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ../../../../src/nuauth/tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ../../../../src/nuauth/auth_srv.h:88, from mark_uid.c:22: ../../../../src/nuauth/connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from mark_uid.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:93, from mark_uid.c:22: ../../../../src/nuauth/users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:96, from mark_uid.c:22: ../../../../src/nuauth/modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ../../../../src/nuauth/modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ../../../../src/nuauth/modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ../../../../src/nuauth/modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:104, from mark_uid.c:22: ../../../../src/nuauth/x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ../../../../src/nuauth/x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ /bin/sh ../../../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lgcrypt -lgpg-error -o libmark_uid.la -rpath /usr/lib64/nuauth/modules -module -avoid-version mark_uid.lo libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/mark_uid.o -Wl,--as-needed -lgcrypt -lgpg-error -O2 -march=native -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libmark_uid.so -o .libs/libmark_uid.so libtool: link: ( cd ".libs" && rm -f "libmark_uid.la" && ln -s "../libmark_uid.la" "libmark_uid.la" ) make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/mark_uid' Making all in session_expire make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/session_expire' /bin/sh ../../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../src/nuauth/ -I../../../../src/include/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o session_expire.lo session_expire.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../src/nuauth/ -I../../../../src/include/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c session_expire.c -fPIC -DPIC -o .libs/session_expire.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../../../../src/nuauth/auth_srv.h:38, from session_expire.c:20: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:86, from session_expire.c:20: ../../../../src/nuauth/tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ../../../../src/nuauth/tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ../../../../src/nuauth/tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from session_expire.c:20: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:86, from session_expire.c:20: ../../../../src/nuauth/tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ../../../../src/nuauth/tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ../../../../src/nuauth/auth_srv.h:88, from session_expire.c:20: ../../../../src/nuauth/connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from session_expire.c:20: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:93, from session_expire.c:20: ../../../../src/nuauth/users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:96, from session_expire.c:20: ../../../../src/nuauth/modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ../../../../src/nuauth/modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ../../../../src/nuauth/modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ../../../../src/nuauth/modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:104, from session_expire.c:20: ../../../../src/nuauth/x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ../../../../src/nuauth/x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ /bin/sh ../../../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lgcrypt -lgpg-error -o libsession_expire.la -rpath /usr/lib64/nuauth/modules -module -avoid-version session_expire.lo libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/session_expire.o -Wl,--as-needed -lgcrypt -lgpg-error -O2 -march=native -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libsession_expire.so -o .libs/libsession_expire.so libtool: link: ( cd ".libs" && rm -f "libsession_expire.la" && ln -s "../libsession_expire.la" "libsession_expire.la" ) make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/session_expire' Making all in ipauth_guest make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/ipauth_guest' /bin/sh ../../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../src/nuauth/ -I../../../../src/include/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o libipauth_guest.lo libipauth_guest.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../src/nuauth/ -I../../../../src/include/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c libipauth_guest.c -fPIC -DPIC -o .libs/libipauth_guest.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../../../../src/nuauth/auth_srv.h:38, from libipauth_guest.c:20: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:86, from libipauth_guest.c:20: ../../../../src/nuauth/tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ../../../../src/nuauth/tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ../../../../src/nuauth/tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from libipauth_guest.c:20: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:86, from libipauth_guest.c:20: ../../../../src/nuauth/tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ../../../../src/nuauth/tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ../../../../src/nuauth/auth_srv.h:88, from libipauth_guest.c:20: ../../../../src/nuauth/connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from libipauth_guest.c:20: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:93, from libipauth_guest.c:20: ../../../../src/nuauth/users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:96, from libipauth_guest.c:20: ../../../../src/nuauth/modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ../../../../src/nuauth/modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ../../../../src/nuauth/modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ../../../../src/nuauth/modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:104, from libipauth_guest.c:20: ../../../../src/nuauth/x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ../../../../src/nuauth/x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ /bin/sh ../../../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lgcrypt -lgpg-error -o libipauth_guest.la -rpath /usr/lib64/nuauth/modules -module -avoid-version libipauth_guest.lo libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/libipauth_guest.o -Wl,--as-needed -lgcrypt -lgpg-error -O2 -march=native -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libipauth_guest.so -o .libs/libipauth_guest.so libtool: link: ( cd ".libs" && rm -f "libipauth_guest.la" && ln -s "../libipauth_guest.la" "libipauth_guest.la" ) make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/ipauth_guest' Making all in mark_group make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/mark_group' /bin/sh ../../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../src/nuauth/ -I../../../../src/include/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o mark_group.lo mark_group.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../src/nuauth/ -I../../../../src/include/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c mark_group.c -fPIC -DPIC -o .libs/mark_group.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../../../../src/nuauth/auth_srv.h:38, from mark_group.h:24, from mark_group.c:21: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:86, from mark_group.h:24, from mark_group.c:21: ../../../../src/nuauth/tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ../../../../src/nuauth/tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ../../../../src/nuauth/tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from mark_group.h:24, from mark_group.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:86, from mark_group.h:24, from mark_group.c:21: ../../../../src/nuauth/tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ../../../../src/nuauth/tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ../../../../src/nuauth/auth_srv.h:88, from mark_group.h:24, from mark_group.c:21: ../../../../src/nuauth/connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from mark_group.h:24, from mark_group.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:93, from mark_group.h:24, from mark_group.c:21: ../../../../src/nuauth/users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:96, from mark_group.h:24, from mark_group.c:21: ../../../../src/nuauth/modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ../../../../src/nuauth/modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ../../../../src/nuauth/modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ../../../../src/nuauth/modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:104, from mark_group.h:24, from mark_group.c:21: ../../../../src/nuauth/x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ../../../../src/nuauth/x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ mark_group.c: In function ‘parse_group_file’: mark_group.c:81:9: warning: variable ‘mark_str’ set but not used [-Wunused-but-set-variable] 81 | char *mark_str; | ^~~~~~~~ /bin/sh ../../../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lgcrypt -lgpg-error -o libmark_group.la -rpath /usr/lib64/nuauth/modules -module -avoid-version mark_group.lo libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/mark_group.o -Wl,--as-needed -lgcrypt -lgpg-error -O2 -march=native -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libmark_group.so -o .libs/libmark_group.so libtool: link: ( cd ".libs" && rm -f "libmark_group.la" && ln -s "../libmark_group.la" "libmark_group.la" ) make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/mark_group' Making all in mark_field make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/mark_field' /bin/sh ../../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../src/nuauth/ -I../../../../src/include/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o mark_field.lo mark_field.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../src/nuauth/ -I../../../../src/include/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c mark_field.c -fPIC -DPIC -o .libs/mark_field.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../../../../src/nuauth/auth_srv.h:38, from mark_field.h:24, from mark_field.c:22: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:86, from mark_field.h:24, from mark_field.c:22: ../../../../src/nuauth/tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ../../../../src/nuauth/tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ../../../../src/nuauth/tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from mark_field.h:24, from mark_field.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:86, from mark_field.h:24, from mark_field.c:22: ../../../../src/nuauth/tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ../../../../src/nuauth/tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ../../../../src/nuauth/auth_srv.h:88, from mark_field.h:24, from mark_field.c:22: ../../../../src/nuauth/connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from mark_field.h:24, from mark_field.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:93, from mark_field.h:24, from mark_field.c:22: ../../../../src/nuauth/users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:96, from mark_field.h:24, from mark_field.c:22: ../../../../src/nuauth/modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ../../../../src/nuauth/modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ../../../../src/nuauth/modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ../../../../src/nuauth/modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:104, from mark_field.h:24, from mark_field.c:22: ../../../../src/nuauth/x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ../../../../src/nuauth/x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ /bin/sh ../../../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lgcrypt -lgpg-error -o libmark_field.la -rpath /usr/lib64/nuauth/modules -module -avoid-version mark_field.lo libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/mark_field.o -Wl,--as-needed -lgcrypt -lgpg-error -O2 -march=native -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libmark_field.so -o .libs/libmark_field.so libtool: link: ( cd ".libs" && rm -f "libmark_field.la" && ln -s "../libmark_field.la" "libmark_field.la" ) make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/mark_field' Making all in mark_flag make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/mark_flag' /bin/sh ../../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../src/nuauth/ -I../../../../src/include/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o mark_flag.lo mark_flag.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../src/nuauth/ -I../../../../src/include/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c mark_flag.c -fPIC -DPIC -o .libs/mark_flag.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../../../../src/nuauth/auth_srv.h:38, from mark_flag.c:22: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:86, from mark_flag.c:22: ../../../../src/nuauth/tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ../../../../src/nuauth/tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ../../../../src/nuauth/tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from mark_flag.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:86, from mark_flag.c:22: ../../../../src/nuauth/tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ../../../../src/nuauth/tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ../../../../src/nuauth/auth_srv.h:88, from mark_flag.c:22: ../../../../src/nuauth/connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from mark_flag.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:93, from mark_flag.c:22: ../../../../src/nuauth/users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:96, from mark_flag.c:22: ../../../../src/nuauth/modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ../../../../src/nuauth/modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ../../../../src/nuauth/modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ../../../../src/nuauth/modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:104, from mark_flag.c:22: ../../../../src/nuauth/x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ../../../../src/nuauth/x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ /bin/sh ../../../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lgcrypt -lgpg-error -o libmark_flag.la -rpath /usr/lib64/nuauth/modules -module -avoid-version mark_flag.lo libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/mark_flag.o -Wl,--as-needed -lgcrypt -lgpg-error -O2 -march=native -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libmark_flag.so -o .libs/libmark_flag.so libtool: link: ( cd ".libs" && rm -f "libmark_flag.la" && ln -s "../libmark_flag.la" "libmark_flag.la" ) make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/mark_flag' Making all in auth_mysql make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/auth_mysql' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/auth_mysql' Making all in session_authtype make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/session_authtype' /bin/sh ../../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../src/nuauth/ -I../../../../src/include/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o session_authtype.lo session_authtype.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../src/nuauth/ -I../../../../src/include/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c session_authtype.c -fPIC -DPIC -o .libs/session_authtype.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../../../../src/nuauth/auth_srv.h:38, from session_authtype.c:20: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:86, from session_authtype.c:20: ../../../../src/nuauth/tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ../../../../src/nuauth/tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ../../../../src/nuauth/tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ../../../../src/nuauth/tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from session_authtype.c:20: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:86, from session_authtype.c:20: ../../../../src/nuauth/tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ../../../../src/nuauth/tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ../../../../src/nuauth/auth_srv.h:88, from session_authtype.c:20: ../../../../src/nuauth/connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ../../../../src/nuauth/auth_srv.h:38, from session_authtype.c:20: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:93, from session_authtype.c:20: ../../../../src/nuauth/users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:96, from session_authtype.c:20: ../../../../src/nuauth/modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ../../../../src/nuauth/modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ../../../../src/nuauth/modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ../../../../src/nuauth/modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ../../../../src/nuauth/auth_srv.h:104, from session_authtype.c:20: ../../../../src/nuauth/x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ../../../../src/nuauth/x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ /bin/sh ../../../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lgcrypt -lgpg-error -o libsession_authtype.la -rpath /usr/lib64/nuauth/modules -module -avoid-version session_authtype.lo libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/session_authtype.o -Wl,--as-needed -lgcrypt -lgpg-error -O2 -march=native -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libsession_authtype.so -o .libs/libsession_authtype.so libtool: link: ( cd ".libs" && rm -f "libsession_authtype.la" && ln -s "../libsession_authtype.la" "libsession_authtype.la" ) make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/session_authtype' make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules' make[3]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules' make[3]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o nuthread.o nuthread.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from auth_srv.h:38, from nuthread.c:21: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from auth_srv.h:86, from nuthread.c:21: tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nuthread.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:86, from nuthread.c:21: tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from auth_srv.h:88, from nuthread.c:21: connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nuthread.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:93, from nuthread.c:21: users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from auth_srv.h:96, from nuthread.c:21: modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from auth_srv.h:104, from nuthread.c:21: x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ nuthread.c: In function ‘thread_new’: nuthread.c:36:2: warning: ‘g_mutex_new’ is deprecated [-Wdeprecated-declarations] 36 | thread->mutex = g_mutex_new(); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nuthread.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:273:17: note: declared here 273 | GMutex * g_mutex_new (void); | ^~~~~~~~~~~ nuthread.c:38:6: warning: ‘g_thread_create’ is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 38 | g_thread_create((GThreadFunc) func, thread->mutex, TRUE, NULL); | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nuthread.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:100:10: note: declared here 100 | GThread *g_thread_create (GThreadFunc func, | ^~~~~~~~~~~~~~~ nuthread.c: In function ‘thread_new_wdata’: nuthread.c:54:2: warning: ‘g_mutex_new’ is deprecated [-Wdeprecated-declarations] 54 | thread->mutex = g_mutex_new(); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nuthread.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:273:17: note: declared here 273 | GMutex * g_mutex_new (void); | ^~~~~~~~~~~ nuthread.c:57:6: warning: ‘g_thread_create’ is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 57 | g_thread_create((GThreadFunc) func, thread , TRUE, NULL); | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nuthread.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:100:10: note: declared here 100 | GThread *g_thread_create (GThreadFunc func, | ^~~~~~~~~~~~~~~ nuthread.c: In function ‘thread_destroy’: nuthread.c:129:2: warning: ‘g_mutex_free’ is deprecated [-Wdeprecated-declarations] 129 | g_mutex_free(thread->mutex); | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nuthread.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:275:17: note: declared here 275 | void g_mutex_free (GMutex *mutex); | ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o acls.o acls.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./auth_srv.h:38, from acls.c:36: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./auth_srv.h:86, from acls.c:36: ./tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ./tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ./tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ./tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ./tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ./tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from acls.c:36: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:86, from acls.c:36: ./tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ./tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ./auth_srv.h:88, from acls.c:36: ./connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from acls.c:36: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:93, from acls.c:36: ./users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ./auth_srv.h:96, from acls.c:36: ./modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ./modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ./modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ./modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ./auth_srv.h:104, from acls.c:36: ./x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ./x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ acls.c: In function ‘init_acl_cache’: acls.c:278:2: warning: ‘g_thread_create’ is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 278 | acl_cache_thread = g_thread_create((GThreadFunc) cache_manager, | ^~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from acls.c:36: /usr/include/glib-2.0/glib/deprecated/gthread.h:100:10: note: declared here 100 | GThread *g_thread_create (GThreadFunc func, | ^~~~~~~~~~~~~~~ acls.c:278:37: warning: cast between incompatible function types from ‘void (*)(cache_class_t *)’ to ‘void * (*)(void *)’ [-Wcast-function-type] 278 | acl_cache_thread = g_thread_create((GThreadFunc) cache_manager, | ^ In file included from acls.c:38: ../../src/include/jhash.h: In function ‘jhash2’: ../../src/include/jhash.h:91:5: warning: this statement may fall through [-Wimplicit-fallthrough=] 91 | b += k[1]; | ~~^~~~~~~ ../../src/include/jhash.h:92:2: note: here 92 | case 1: | ^~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o audit.o audit.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./auth_srv.h:38, from audit.c:23: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./auth_srv.h:86, from audit.c:23: ./tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ./tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ./tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ./tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ./tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ./tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from audit.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:86, from audit.c:23: ./tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ./tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ./auth_srv.h:88, from audit.c:23: ./connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from audit.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:93, from audit.c:23: ./users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ./auth_srv.h:96, from audit.c:23: ./modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ./modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ./modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ./modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ./auth_srv.h:104, from audit.c:23: ./x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ./x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o auth_common.o auth_common.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from auth_srv.h:38, from auth_common.c:24: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from auth_srv.h:86, from auth_common.c:24: tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from auth_common.c:24: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:86, from auth_common.c:24: tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from auth_srv.h:88, from auth_common.c:24: connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from auth_common.c:24: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:93, from auth_common.c:24: users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from auth_srv.h:96, from auth_common.c:24: modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from auth_srv.h:104, from auth_common.c:24: x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o authsrv.o authsrv.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./auth_srv.h:38, from authsrv.c:34: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./auth_srv.h:86, from authsrv.c:34: ./tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ./tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ./tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ./tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ./tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ./tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from authsrv.c:34: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:86, from authsrv.c:34: ./tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ./tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ./auth_srv.h:88, from authsrv.c:34: ./connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from authsrv.c:34: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:93, from authsrv.c:34: ./users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ./auth_srv.h:96, from authsrv.c:34: ./modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ./modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ./modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ./modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ./auth_srv.h:104, from authsrv.c:34: ./x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ./x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ In file included from authsrv.c:37: gcrypt_init.h: In function ‘gcry_gthread_mutex_init’: gcrypt_init.h:45:2: warning: ‘g_mutex_new’ is deprecated [-Wdeprecated-declarations] 45 | GMutex *lock = g_mutex_new(); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from authsrv.c:34: /usr/include/glib-2.0/glib/deprecated/gthread.h:273:17: note: declared here 273 | GMutex * g_mutex_new (void); | ^~~~~~~~~~~ In file included from authsrv.c:37: gcrypt_init.h: In function ‘gcry_gthread_mutex_destroy’: gcrypt_init.h:54:2: warning: ‘g_mutex_free’ is deprecated [-Wdeprecated-declarations] 54 | g_mutex_free(*lock); | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from authsrv.c:34: /usr/include/glib-2.0/glib/deprecated/gthread.h:275:17: note: declared here 275 | void g_mutex_free (GMutex *mutex); | ^~~~~~~~~~~~ In file included from authsrv.c:37: gcrypt_init.h: At top level: gcrypt_init.h:70:15: warning: ‘gcry_thread_cbs’ is deprecated [-Wdeprecated-declarations] 70 | static struct gcry_thread_cbs gcry_threads_gthread = { | ^~~~~~~~~~~~~~~ In file included from authsrv.c:35: /usr/include/gcrypt.h:211:8: note: declared here 211 | struct gcry_thread_cbs | ^~~~~~~~~~~~~~~ In file included from authsrv.c:37: gcrypt_init.h:71:27: warning: excess elements in struct initializer 71 | GCRY_THREAD_OPTION_USER, NULL, | ^~~~ gcrypt_init.h:71:27: note: (near initialization for ‘gcry_threads_gthread’) gcrypt_init.h:72:2: warning: excess elements in struct initializer 72 | gcry_gthread_mutex_init, gcry_gthread_mutex_destroy, | ^~~~~~~~~~~~~~~~~~~~~~~ gcrypt_init.h:72:2: note: (near initialization for ‘gcry_threads_gthread’) gcrypt_init.h:72:27: warning: excess elements in struct initializer 72 | gcry_gthread_mutex_init, gcry_gthread_mutex_destroy, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcrypt_init.h:72:27: note: (near initialization for ‘gcry_threads_gthread’) gcrypt_init.h:73:2: warning: excess elements in struct initializer 73 | gcry_gthread_mutex_lock, gcry_gthread_mutex_unlock, | ^~~~~~~~~~~~~~~~~~~~~~~ gcrypt_init.h:73:2: note: (near initialization for ‘gcry_threads_gthread’) gcrypt_init.h:73:27: warning: excess elements in struct initializer 73 | gcry_gthread_mutex_lock, gcry_gthread_mutex_unlock, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcrypt_init.h:73:27: note: (near initialization for ‘gcry_threads_gthread’) gcrypt_init.h:74:2: warning: excess elements in struct initializer 74 | NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL | ^~~~ gcrypt_init.h:74:2: note: (near initialization for ‘gcry_threads_gthread’) gcrypt_init.h:74:8: warning: excess elements in struct initializer 74 | NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL | ^~~~ gcrypt_init.h:74:8: note: (near initialization for ‘gcry_threads_gthread’) gcrypt_init.h:74:14: warning: excess elements in struct initializer 74 | NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL | ^~~~ gcrypt_init.h:74:14: note: (near initialization for ‘gcry_threads_gthread’) gcrypt_init.h:74:20: warning: excess elements in struct initializer 74 | NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL | ^~~~ gcrypt_init.h:74:20: note: (near initialization for ‘gcry_threads_gthread’) gcrypt_init.h:74:26: warning: excess elements in struct initializer 74 | NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL | ^~~~ gcrypt_init.h:74:26: note: (near initialization for ‘gcry_threads_gthread’) gcrypt_init.h:74:32: warning: excess elements in struct initializer 74 | NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL | ^~~~ gcrypt_init.h:74:32: note: (near initialization for ‘gcry_threads_gthread’) gcrypt_init.h:74:38: warning: excess elements in struct initializer 74 | NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL | ^~~~ gcrypt_init.h:74:38: note: (near initialization for ‘gcry_threads_gthread’) gcrypt_init.h:74:44: warning: excess elements in struct initializer 74 | NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL | ^~~~ gcrypt_init.h:74:44: note: (near initialization for ‘gcry_threads_gthread’) authsrv.c: In function ‘nuauth_deinit’: authsrv.c:351:2: warning: ‘g_static_mutex_free’ is deprecated: Use 'g_mutex_clear' instead [-Wdeprecated-declarations] 351 | g_static_mutex_free(&insert_mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from authsrv.c:34: /usr/include/glib-2.0/glib/deprecated/gthread.h:148:9: note: declared here 148 | void g_static_mutex_free (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~ authsrv.c: In function ‘configure_app’: authsrv.c:672:2: warning: ‘g_thread_init’ is deprecated [-Wdeprecated-declarations] 672 | g_thread_init(NULL); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from authsrv.c:34: /usr/include/glib-2.0/glib/deprecated/gthread.h:261:10: note: declared here 261 | void g_thread_init (gpointer vtable); | ^~~~~~~~~~~~~ authsrv.c:678:2: warning: ‘g_cond_new’ is deprecated [-Wdeprecated-declarations] 678 | nuauthdatas->reload_cond = g_cond_new(); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from authsrv.c:34: /usr/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here 277 | GCond * g_cond_new (void); | ^~~~~~~~~~ authsrv.c:679:2: warning: ‘g_mutex_new’ is deprecated [-Wdeprecated-declarations] 679 | nuauthdatas->reload_cond_mutex = g_mutex_new(); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from authsrv.c:34: /usr/include/glib-2.0/glib/deprecated/gthread.h:273:17: note: declared here 273 | GMutex * g_mutex_new (void); | ^~~~~~~~~~~ authsrv.c: In function ‘init_nuauthdatas’: authsrv.c:812:6: warning: ‘g_private_new’ is deprecated [-Wdeprecated-declarations] 812 | g_private_new((GDestroyNotify) g_async_queue_unref); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from authsrv.c:34: /usr/include/glib-2.0/glib/deprecated/gthread.h:233:17: note: declared here 233 | GPrivate * g_private_new (GDestroyNotify notify); | ^~~~~~~~~~~~~ authsrv.c:814:6: warning: ‘g_private_new’ is deprecated [-Wdeprecated-declarations] 814 | g_private_new((GDestroyNotify) g_async_queue_unref); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from authsrv.c:34: /usr/include/glib-2.0/glib/deprecated/gthread.h:233:17: note: declared here 233 | GPrivate * g_private_new (GDestroyNotify notify); | ^~~~~~~~~~~~~ authsrv.c:816:2: warning: ‘g_static_mutex_init’ is deprecated: Use 'g_mutex_init' instead [-Wdeprecated-declarations] 816 | g_static_mutex_init(&insert_mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from authsrv.c:34: /usr/include/glib-2.0/glib/deprecated/gthread.h:146:9: note: declared here 146 | void g_static_mutex_init (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~ authsrv.c: In function ‘configure_app’: authsrv.c:664:9: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 664 | (void) chdir("/"); | ^~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o cache.o cache.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./auth_srv.h:38, from cache.c:24: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./auth_srv.h:86, from cache.c:24: ./tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ./tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ./tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ./tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ./tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ./tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from cache.c:24: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:86, from cache.c:24: ./tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ./tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ./auth_srv.h:88, from cache.c:24: ./connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from cache.c:24: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:93, from cache.c:24: ./users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ./auth_srv.h:96, from cache.c:24: ./modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ./modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ./modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ./modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ./auth_srv.h:104, from cache.c:24: ./x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ./x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o check_acls.o check_acls.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./auth_srv.h:38, from check_acls.c:21: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./auth_srv.h:86, from check_acls.c:21: ./tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ./tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ./tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ./tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ./tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ./tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from check_acls.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:86, from check_acls.c:21: ./tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ./tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ./auth_srv.h:88, from check_acls.c:21: ./connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from check_acls.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:93, from check_acls.c:21: ./users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ./auth_srv.h:96, from check_acls.c:21: ./modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ./modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ./modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ./modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ./auth_srv.h:104, from check_acls.c:21: ./x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ./x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o client_mngr.o client_mngr.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./auth_srv.h:38, from client_mngr.c:22: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./auth_srv.h:86, from client_mngr.c:22: ./tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ./tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ./tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ./tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ./tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ./tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from client_mngr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:86, from client_mngr.c:22: ./tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ./tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ./auth_srv.h:88, from client_mngr.c:22: ./connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from client_mngr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:93, from client_mngr.c:22: ./users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ./auth_srv.h:96, from client_mngr.c:22: ./modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ./modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ./modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ./modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ./auth_srv.h:104, from client_mngr.c:22: ./x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ./x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ client_mngr.c: In function ‘clean_session’: client_mngr.c:62:2: warning: ‘g_mutex_free’ is deprecated [-Wdeprecated-declarations] 62 | g_mutex_free(c_session->tls_lock); | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from client_mngr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:275:17: note: declared here 275 | void g_mutex_free (GMutex *mutex); | ^~~~~~~~~~~~ client_mngr.c: In function ‘init_client_struct’: client_mngr.c:83:2: warning: ‘g_mutex_new’ is deprecated [-Wdeprecated-declarations] 83 | client_mutex = g_mutex_new(); | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from client_mngr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:273:17: note: declared here 273 | GMutex * g_mutex_new (void); | ^~~~~~~~~~~ client_mngr.c: In function ‘warn_clients’: client_mngr.c:305:4: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 305 | gnutls_session tls = *session->tls; | ^~~~~~~~~~~~~~ client_mngr.c: In function ‘disconnect_client_by_socket’: client_mngr.c:439:2: warning: ‘g_cond_new’ is deprecated [-Wdeprecated-declarations] 439 | msg.cond = g_cond_new(); | ^~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from client_mngr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here 277 | GCond * g_cond_new (void); | ^~~~~~~~~~ client_mngr.c:440:2: warning: ‘g_mutex_new’ is deprecated [-Wdeprecated-declarations] 440 | msg.mutex = g_mutex_new(); | ^~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from client_mngr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:273:17: note: declared here 273 | GMutex * g_mutex_new (void); | ^~~~~~~~~~~ client_mngr.c:461:2: warning: ‘g_cond_free’ is deprecated [-Wdeprecated-declarations] 461 | g_cond_free(msg.cond); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from client_mngr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:279:17: note: declared here 279 | void g_cond_free (GCond *cond); | ^~~~~~~~~~~ client_mngr.c:462:2: warning: ‘g_mutex_free’ is deprecated [-Wdeprecated-declarations] 462 | g_mutex_free(msg.mutex); | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from client_mngr.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:275:17: note: declared here 275 | void g_mutex_free (GMutex *mutex); | ^~~~~~~~~~~~ In file included from client_mngr.c:24: ../../src/include/jhash.h: In function ‘jhash2’: ../../src/include/jhash.h:91:5: warning: this statement may fall through [-Wimplicit-fallthrough=] 91 | b += k[1]; | ~~^~~~~~~ ../../src/include/jhash.h:92:2: note: here 92 | case 1: | ^~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o conffile.o conffile.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./auth_srv.h:38, from conffile.c:21: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./auth_srv.h:86, from conffile.c:21: ./tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ./tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ./tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ./tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ./tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ./tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from conffile.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:86, from conffile.c:21: ./tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ./tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ./auth_srv.h:88, from conffile.c:21: ./connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from conffile.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:93, from conffile.c:21: ./users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ./auth_srv.h:96, from conffile.c:21: ./modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ./modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ./modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ./modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ./auth_srv.h:104, from conffile.c:21: ./x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ./x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o debug.o debug.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from auth_srv.h:38, from debug.c:22: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from auth_srv.h:86, from debug.c:22: tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from debug.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:86, from debug.c:22: tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from auth_srv.h:88, from debug.c:22: connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from debug.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:93, from debug.c:22: users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from auth_srv.h:96, from debug.c:22: modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from auth_srv.h:104, from debug.c:22: x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o gcrypt.o gcrypt.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./auth_srv.h:38, from gcrypt.c:23: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./auth_srv.h:86, from gcrypt.c:23: ./tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ./tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ./tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ./tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ./tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ./tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from gcrypt.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:86, from gcrypt.c:23: ./tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ./tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ./auth_srv.h:88, from gcrypt.c:23: ./connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from gcrypt.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:93, from gcrypt.c:23: ./users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ./auth_srv.h:96, from gcrypt.c:23: ./modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ./modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ./modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ./modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ./auth_srv.h:104, from gcrypt.c:23: ./x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ./x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ gcrypt.c: In function ‘verify_user_password’: gcrypt.c:97:23: warning: passing argument 5 of ‘sasl_decode64’ from incompatible pointer type [-Wincompatible-pointer-types] 97 | sizeof(temp), &len) != SASL_OK) { | ^~~~ | | | size_t * {aka long unsigned int *} In file included from gcrypt.c:26: /usr/include/sasl/saslutil.h:28:48: note: expected ‘unsigned int *’ but argument is of type ‘size_t *’ {aka ‘long unsigned int *’} 28 | char *out, unsigned outmax, unsigned *outlen); | ~~~~~~~~~~^~~~~~ gcrypt.c:109:23: warning: passing argument 5 of ‘sasl_decode64’ from incompatible pointer type [-Wincompatible-pointer-types] 109 | sizeof(temp), &len) != SASL_OK) { | ^~~~ | | | size_t * {aka long unsigned int *} In file included from gcrypt.c:26: /usr/include/sasl/saslutil.h:28:48: note: expected ‘unsigned int *’ but argument is of type ‘size_t *’ {aka ‘long unsigned int *’} 28 | char *out, unsigned outmax, unsigned *outlen); | ~~~~~~~~~~^~~~~~ gcrypt.c:120:48: warning: passing argument 5 of ‘sasl_encode64’ from incompatible pointer type [-Wincompatible-pointer-types] 120 | sasl_encode64(res, strlen(res), decoded, 50, &len); | ^~~~ | | | size_t * {aka long unsigned int *} In file included from gcrypt.c:26: /usr/include/sasl/saslutil.h:41:48: note: expected ‘unsigned int *’ but argument is of type ‘size_t *’ {aka ‘long unsigned int *’} 41 | char *out, unsigned outmax, unsigned *outlen); | ~~~~~~~~~~^~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o ip_auth.o ip_auth.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./auth_srv.h:38, from ip_auth.c:22: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./auth_srv.h:86, from ip_auth.c:22: ./tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ./tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ./tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ./tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ./tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ./tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from ip_auth.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:86, from ip_auth.c:22: ./tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ./tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ./auth_srv.h:88, from ip_auth.c:22: ./connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from ip_auth.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:93, from ip_auth.c:22: ./users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ./auth_srv.h:96, from ip_auth.c:22: ./modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ./modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ./modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ./modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ./auth_srv.h:104, from ip_auth.c:22: ./x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ./x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o localid_auth.o localid_auth.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./auth_srv.h:38, from localid_auth.c:22: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./auth_srv.h:86, from localid_auth.c:22: ./tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ./tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ./tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ./tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ./tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ./tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from localid_auth.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:86, from localid_auth.c:22: ./tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ./tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ./auth_srv.h:88, from localid_auth.c:22: ./connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from localid_auth.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:93, from localid_auth.c:22: ./users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ./auth_srv.h:96, from localid_auth.c:22: ./modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ./modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ./modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ./modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ./auth_srv.h:104, from localid_auth.c:22: ./x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ./x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ localid_auth.c: In function ‘localid_auth’: localid_auth.c:149:2: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 149 | GTimeVal tv; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./auth_srv.h:38, from localid_auth.c:22: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ localid_auth.c:165:3: warning: ‘g_get_current_time’ is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] 165 | g_get_current_time(&tv); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/giochannel.h:33, from /usr/include/glib-2.0/glib.h:54, from ./auth_srv.h:38, from localid_auth.c:22: /usr/include/glib-2.0/glib/gmain.h:681:8: note: declared here 681 | void g_get_current_time (GTimeVal *result); | ^~~~~~~~~~~~~~~~~~ localid_auth.c:166:3: warning: ‘g_time_val_add’ is deprecated [-Wdeprecated-declarations] 166 | g_time_val_add(&tv, POP_DELAY); | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:88, from ./auth_srv.h:38, from localid_auth.c:22: /usr/include/glib-2.0/glib/gtimer.h:67:10: note: declared here 67 | void g_time_val_add (GTimeVal *time_, | ^~~~~~~~~~~~~~ localid_auth.c:168:7: warning: ‘g_async_queue_timed_pop’ is deprecated: Use 'g_async_queue_timeout_pop' instead [-Wdeprecated-declarations] 168 | g_async_queue_timed_pop(nuauthdatas-> | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:32, from ./auth_srv.h:38, from localid_auth.c:22: /usr/include/glib-2.0/glib/gasyncqueue.h:115:14: note: declared here 115 | gpointer g_async_queue_timed_pop (GAsyncQueue *queue, | ^~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o parsing.o parsing.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./auth_srv.h:38, from parsing.c:24: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./auth_srv.h:86, from parsing.c:24: ./tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ./tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ./tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ./tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ./tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ./tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from parsing.c:24: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:86, from parsing.c:24: ./tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ./tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ./auth_srv.h:88, from parsing.c:24: ./connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from parsing.c:24: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:93, from parsing.c:24: ./users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ./auth_srv.h:96, from parsing.c:24: ./modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ./modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ./modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ./modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ./auth_srv.h:104, from parsing.c:24: ./x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ./x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o pckt_authsrv.o pckt_authsrv.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./auth_srv.h:38, from pckt_authsrv.c:34: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./auth_srv.h:86, from pckt_authsrv.c:34: ./tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ./tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ./tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ./tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ./tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ./tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from pckt_authsrv.c:34: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:86, from pckt_authsrv.c:34: ./tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ./tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ./auth_srv.h:88, from pckt_authsrv.c:34: ./connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from pckt_authsrv.c:34: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:93, from pckt_authsrv.c:34: ./users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ./auth_srv.h:96, from pckt_authsrv.c:34: ./modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ./modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ./modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ./modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ./auth_srv.h:104, from pckt_authsrv.c:34: ./x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ./x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o pckt_authsrv_v3.o pckt_authsrv_v3.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./auth_srv.h:38, from pckt_authsrv_v3.c:22: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./auth_srv.h:86, from pckt_authsrv_v3.c:22: ./tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ./tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ./tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ./tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ./tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ./tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from pckt_authsrv_v3.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:86, from pckt_authsrv_v3.c:22: ./tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ./tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ./auth_srv.h:88, from pckt_authsrv_v3.c:22: ./connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from pckt_authsrv_v3.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:93, from pckt_authsrv_v3.c:22: ./users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ./auth_srv.h:96, from pckt_authsrv_v3.c:22: ./modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ./modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ./modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ./modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ./auth_srv.h:104, from pckt_authsrv_v3.c:22: ./x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ./x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o sasl.o sasl.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./auth_srv.h:38, from sasl.c:52: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./auth_srv.h:86, from sasl.c:52: ./tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ./tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ./tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ./tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ./tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ./tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from sasl.c:52: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:86, from sasl.c:52: ./tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ./tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ./auth_srv.h:88, from sasl.c:52: ./connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from sasl.c:52: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:93, from sasl.c:52: ./users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ./auth_srv.h:96, from sasl.c:52: ./modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ./modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ./modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ./modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ./auth_srv.h:104, from sasl.c:52: ./x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ./x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ sasl.c: In function ‘sasl_gthread_mutex_init’: sasl.c:63:2: warning: ‘g_mutex_new’ is deprecated [-Wdeprecated-declarations] 63 | GMutex *lock = g_mutex_new(); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from sasl.c:52: /usr/include/glib-2.0/glib/deprecated/gthread.h:273:17: note: declared here 273 | GMutex * g_mutex_new (void); | ^~~~~~~~~~~ sasl.c: In function ‘sasl_gthread_mutex_free’: sasl.c:83:2: warning: ‘g_mutex_free’ is deprecated [-Wdeprecated-declarations] 83 | g_mutex_free(lock); | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from sasl.c:52: /usr/include/glib-2.0/glib/deprecated/gthread.h:275:17: note: declared here 275 | void g_mutex_free (GMutex *mutex); | ^~~~~~~~~~~~ sasl.c: At top level: sasl.c:189:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 189 | static int samp_send(gnutls_session session, const char *buffer, | ^~~~~~ sasl.c:213:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 213 | static unsigned samp_recv(gnutls_session session, char *buf, int bufsize) | ^~~~~~ sasl.c: In function ‘mysasl_negotiate’: sasl.c:344:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 344 | gnutls_session session = *(c_session->tls); | ^~~~~~~~~~~~~~ sasl.c: In function ‘mysasl_negotiate_v3’: sasl.c:638:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 638 | gnutls_session session = *(c_session->tls); | ^~~~~~~~~~~~~~ sasl.c: In function ‘sasl_user_check’: sasl.c:846:20: warning: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(void *, const char *, const char *, const char **, unsigned int *)’ [-Wincompatible-pointer-types] 846 | {SASL_CB_GETOPT, &internal_get_opt, NULL}, | ^ sasl.c:846:20: note: (near initialization for ‘internal_callbacks[0].proc’) sasl.c:847:37: warning: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(sasl_conn_t *, void *, const char *, const char *, unsigned int, struct propctx *)’ {aka ‘int (*)(struct sasl_conn *, void *, const char *, const char *, unsigned int, struct propctx *)’} [-Wincompatible-pointer-types] 847 | {SASL_CB_SERVER_USERDB_CHECKPASS, &userdb_checkpass, NULL}, | ^ sasl.c:847:37: note: (near initialization for ‘internal_callbacks[1].proc’) sasl.c:851:20: warning: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(void *, const char *, const char *, const char **, unsigned int *)’ [-Wincompatible-pointer-types] 851 | {SASL_CB_GETOPT, &external_get_opt, NULL}, | ^ sasl.c:851:20: note: (near initialization for ‘external_callbacks[0].proc’) sasl.c:852:37: warning: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(sasl_conn_t *, void *, const char *, const char *, unsigned int, struct propctx *)’ {aka ‘int (*)(struct sasl_conn *, void *, const char *, const char *, unsigned int, struct propctx *)’} [-Wincompatible-pointer-types] 852 | {SASL_CB_SERVER_USERDB_CHECKPASS, &userdb_checkpass, NULL}, | ^ sasl.c:852:37: note: (near initialization for ‘external_callbacks[1].proc’) x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o tls.o tls.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from auth_srv.h:38, from tls.c:24: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from auth_srv.h:86, from tls.c:24: tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from tls.c:24: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:86, from tls.c:24: tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from auth_srv.h:88, from tls.c:24: connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from tls.c:24: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:93, from tls.c:24: users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from auth_srv.h:96, from tls.c:24: modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from auth_srv.h:104, from tls.c:24: x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ tls.c:56:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 56 | void close_tls_session(int socket_fd, gnutls_session * session) | ^~~~ tls.c:75:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 75 | gint check_certs_for_tls_session(gnutls_session session, const char *peername) | ^~~~ tls.c:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | static int get_first_x509_cert_from_tls_session(gnutls_session session, | ^~~~~~ tls.c:169:8: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 169 | gnutls_x509_crt * cert) | ^~~~~~~~~~~~~~~ tls.c: In function ‘get_first_x509_cert_from_tls_session’: tls.c:171:2: warning: ‘gnutls_datum’ is deprecated [-Wdeprecated-declarations] 171 | const gnutls_datum *cert_list; | ^~~~~ In file included from auth_srv.h:55, from tls.c:24: /usr/include/gnutls/gnutls.h:1217:9: note: declared here 1217 | typedef struct { | ^~~~~~ tls.c: At top level: tls.c:342:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 342 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr) | ^~~~~~~~ tls.c: In function ‘tls_check_fqdn’: tls.c:344:2: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 344 | gnutls_x509_crt cert; | ^~~~~~~~~~~~~~~ tls.c: At top level: tls.c:431:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 431 | { | ^ tls.c: In function ‘initialize_tls_session’: tls.c:432:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 432 | gnutls_session *session; | ^~~~~~~~~~~~~~ tls.c:437:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 437 | session = g_new0(gnutls_session, 1); | ^~~~~~~ tls.c:437:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] tls.c: At top level: tls.c:479:1: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 479 | static int generate_dh_params(gnutls_dh_params * dh_params) | ^~~~~~ tls.c:567:1: warning: ‘gnutls_transport_ptr’ is deprecated [-Wdeprecated-declarations] 567 | static ssize_t tls_push_func(gnutls_transport_ptr ptr, const void *buf, | ^~~~~~ tls.c:586:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 586 | int tls_connect(int socket_fd, gnutls_session ** session_ptr) | ^~~ tls.c: In function ‘tls_connect’: tls.c:588:2: warning: ‘gnutls_datum’ is deprecated [-Wdeprecated-declarations] 588 | const gnutls_datum *certs; | ^~~~~ In file included from auth_srv.h:55, from tls.c:24: /usr/include/gnutls/gnutls.h:1217:9: note: declared here 1217 | typedef struct { | ^~~~~~ tls.c:591:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 591 | gnutls_session *session; | ^~~~~~~~~~~~~~ tls.c: In function ‘create_x509_credentials’: tls.c:729:8: warning: variable ‘nuauth_tls_key_passwd’ set but not used [-Wunused-but-set-variable] 729 | char *nuauth_tls_key_passwd = NULL; | ^~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o tls_user.o tls_user.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from auth_srv.h:38, from tls_user.c:23: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from auth_srv.h:86, from tls_user.c:23: tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from tls_user.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:86, from tls_user.c:23: tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from auth_srv.h:88, from tls_user.c:23: connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from tls_user.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:93, from tls_user.c:23: users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from auth_srv.h:96, from tls_user.c:23: modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from auth_srv.h:104, from tls_user.c:23: x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ tls_user.c:51:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 51 | GStaticMutex pre_client_list_mutex; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from tls_user.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ tls_user.c: In function ‘remove_socket_from_pre_client_list’: tls_user.c:64:13: warning: Deprecated pre-processor symbol 64 | g_static_mutex_lock(&pre_client_list_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls_user.c:64:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 64 | g_static_mutex_lock(&pre_client_list_mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from tls_user.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls_user.c:64:13: warning: Deprecated pre-processor symbol, replace with 64 | g_static_mutex_lock(&pre_client_list_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls_user.c:78:13: warning: Deprecated pre-processor symbol 78 | (&pre_client_list_mutex); | ^~~~~~~~~~~~~~~~~~~~~ tls_user.c:77:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 77 | g_static_mutex_unlock | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from tls_user.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls_user.c:78:13: warning: Deprecated pre-processor symbol, replace with 78 | (&pre_client_list_mutex); | ^~~~~~~~~~~~~~~~~~~~~ tls_user.c:83:13: warning: Deprecated pre-processor symbol 83 | g_static_mutex_unlock(&pre_client_list_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls_user.c:83:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 83 | g_static_mutex_unlock(&pre_client_list_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from tls_user.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls_user.c:83:13: warning: Deprecated pre-processor symbol, replace with 83 | g_static_mutex_unlock(&pre_client_list_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls_user.c: In function ‘pre_client_check’: tls_user.c:102:13: warning: Deprecated pre-processor symbol 102 | g_static_mutex_lock(&pre_client_list_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls_user.c:102:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 102 | g_static_mutex_lock(&pre_client_list_mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from tls_user.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls_user.c:102:13: warning: Deprecated pre-processor symbol, replace with 102 | g_static_mutex_lock(&pre_client_list_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls_user.c:131:13: warning: Deprecated pre-processor symbol 131 | g_static_mutex_unlock(&pre_client_list_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls_user.c:131:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 131 | g_static_mutex_unlock(&pre_client_list_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from tls_user.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls_user.c:131:13: warning: Deprecated pre-processor symbol, replace with 131 | g_static_mutex_unlock(&pre_client_list_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls_user.c: In function ‘tls_user_accept’: tls_user.c:346:13: warning: Deprecated pre-processor symbol 346 | g_static_mutex_lock(&pre_client_list_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls_user.c:346:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 346 | g_static_mutex_lock(&pre_client_list_mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from tls_user.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls_user.c:346:13: warning: Deprecated pre-processor symbol, replace with 346 | g_static_mutex_lock(&pre_client_list_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls_user.c:348:13: warning: Deprecated pre-processor symbol 348 | g_static_mutex_unlock(&pre_client_list_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls_user.c:348:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 348 | g_static_mutex_unlock(&pre_client_list_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from tls_user.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls_user.c:348:13: warning: Deprecated pre-processor symbol, replace with 348 | g_static_mutex_unlock(&pre_client_list_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls_user.c: In function ‘push_worker’: tls_user.c:674:2: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 674 | GTimeVal tv; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from auth_srv.h:38, from tls_user.c:23: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ tls_user.c:688:3: warning: ‘g_get_current_time’ is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] 688 | g_get_current_time(&tv); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/giochannel.h:33, from /usr/include/glib-2.0/glib.h:54, from auth_srv.h:38, from tls_user.c:23: /usr/include/glib-2.0/glib/gmain.h:681:8: note: declared here 681 | void g_get_current_time (GTimeVal *result); | ^~~~~~~~~~~~~~~~~~ tls_user.c:689:3: warning: ‘g_time_val_add’ is deprecated [-Wdeprecated-declarations] 689 | g_time_val_add(&tv, POP_DELAY); | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:88, from auth_srv.h:38, from tls_user.c:23: /usr/include/glib-2.0/glib/gtimer.h:67:10: note: declared here 67 | void g_time_val_add (GTimeVal *time_, | ^~~~~~~~~~~~~~ tls_user.c:691:7: warning: ‘g_async_queue_timed_pop’ is deprecated: Use 'g_async_queue_timeout_pop' instead [-Wdeprecated-declarations] 691 | g_async_queue_timed_pop(nuauthdatas->tls_push_queue, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:32, from auth_srv.h:38, from tls_user.c:23: /usr/include/glib-2.0/glib/gasyncqueue.h:115:14: note: declared here 115 | gpointer g_async_queue_timed_pop (GAsyncQueue *queue, | ^~~~~~~~~~~~~~~~~~~~~~~ tls_user.c: In function ‘tls_user_main_loop’: tls_user.c:492:28: warning: ‘ret’ may be used uninitialized in this function [-Wmaybe-uninitialized] 492 | disconnect_msg->result = ret; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o tls_nufw.o tls_nufw.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from auth_srv.h:38, from tls_nufw.c:23: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from auth_srv.h:86, from tls_nufw.c:23: tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from tls_nufw.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:86, from tls_nufw.c:23: tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from auth_srv.h:88, from tls_nufw.c:23: connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from tls_nufw.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:93, from tls_nufw.c:23: users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from auth_srv.h:96, from tls_nufw.c:23: modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from auth_srv.h:104, from tls_nufw.c:23: x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ tls_nufw.c: In function ‘tls_nufw_accept’: tls_nufw.c:229:3: warning: ‘g_mutex_new’ is deprecated [-Wdeprecated-declarations] 229 | nu_session->tls_lock = g_mutex_new(); | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from tls_nufw.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:273:17: note: declared here 273 | GMutex * g_mutex_new (void); | ^~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o tls_sasl.o tls_sasl.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from auth_srv.h:38, from tls_sasl.c:23: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from auth_srv.h:86, from tls_sasl.c:23: tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from tls_sasl.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:86, from tls_sasl.c:23: tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from auth_srv.h:88, from tls_sasl.c:23: connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from tls_sasl.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:93, from tls_sasl.c:23: users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from auth_srv.h:96, from tls_sasl.c:23: modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from auth_srv.h:104, from tls_sasl.c:23: x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ tls_sasl.c:44:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 44 | gchar *get_username_from_tls_session(gnutls_session session) | ^~~~~ tls_sasl.c: In function ‘tls_sasl_connect’: tls_sasl.c:158:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 158 | gnutls_session *session; | ^~~~~~~~~~~~~~ tls_sasl.c:195:2: warning: ‘g_mutex_new’ is deprecated [-Wdeprecated-declarations] 195 | c_session->tls_lock = g_mutex_new(); | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from tls_sasl.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:273:17: note: declared here 273 | GMutex * g_mutex_new (void); | ^~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o user_authsrv.o user_authsrv.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./auth_srv.h:38, from user_authsrv.c:22: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./auth_srv.h:86, from user_authsrv.c:22: ./tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ./tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ./tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ./tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ./tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ./tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from user_authsrv.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:86, from user_authsrv.c:22: ./tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ./tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ./auth_srv.h:88, from user_authsrv.c:22: ./connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from user_authsrv.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:93, from user_authsrv.c:22: ./users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ./auth_srv.h:96, from user_authsrv.c:22: ./modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ./modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ./modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ./modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ./auth_srv.h:104, from user_authsrv.c:22: ./x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ./x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o user_logs.o user_logs.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./auth_srv.h:38, from user_logs.c:23: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./auth_srv.h:86, from user_logs.c:23: ./tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ./tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ./tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ./tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ./tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ./tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from user_logs.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:86, from user_logs.c:23: ./tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ./tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ./auth_srv.h:88, from user_logs.c:23: ./connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from user_logs.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:93, from user_logs.c:23: ./users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ./auth_srv.h:96, from user_logs.c:23: ./modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ./modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ./modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ./modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ./auth_srv.h:104, from user_logs.c:23: ./x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ./x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o users.o users.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./auth_srv.h:38, from users.c:21: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./auth_srv.h:86, from users.c:21: ./tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ./tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ./tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ./tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ./tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ./tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from users.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:86, from users.c:21: ./tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ./tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ./auth_srv.h:88, from users.c:21: ./connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from users.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:93, from users.c:21: ./users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ./auth_srv.h:96, from users.c:21: ./modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ./modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ./modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ./modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ./auth_srv.h:104, from users.c:21: ./x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ./x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ users.c: In function ‘init_user_cache’: users.c:169:2: warning: ‘g_thread_create’ is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 169 | user_cache_thread = g_thread_create((GThreadFunc) cache_manager, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from users.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:100:10: note: declared here 100 | GThread *g_thread_create (GThreadFunc func, | ^~~~~~~~~~~~~~~ users.c:169:38: warning: cast between incompatible function types from ‘void (*)(cache_class_t *)’ to ‘void * (*)(void *)’ [-Wcast-function-type] 169 | user_cache_thread = g_thread_create((GThreadFunc) cache_manager, | ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o x509_parsing.o x509_parsing.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./auth_srv.h:38, from x509_parsing.c:22: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./auth_srv.h:86, from x509_parsing.c:22: ./tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ./tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ./tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ./tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ./tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ./tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from x509_parsing.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:86, from x509_parsing.c:22: ./tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ./tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ./auth_srv.h:88, from x509_parsing.c:22: ./connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from x509_parsing.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:93, from x509_parsing.c:22: ./users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ./auth_srv.h:96, from x509_parsing.c:22: ./modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ./modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ./modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ./modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ./auth_srv.h:104, from x509_parsing.c:22: ./x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ./x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ x509_parsing.c:31:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 31 | gint get_first_x509_cert_from_tls_session(gnutls_session session, | ^~~~ x509_parsing.c:32:8: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 32 | gnutls_x509_crt * cert) | ^~~~~~~~~~~~~~~ x509_parsing.c: In function ‘get_first_x509_cert_from_tls_session’: x509_parsing.c:34:2: warning: ‘gnutls_datum’ is deprecated [-Wdeprecated-declarations] 34 | const gnutls_datum *cert_list; | ^~~~~ In file included from ./auth_srv.h:55, from x509_parsing.c:22: /usr/include/gnutls/gnutls.h:1217:9: note: declared here 1217 | typedef struct { | ^~~~~~ x509_parsing.c: At top level: x509_parsing.c:66:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 66 | gint check_x509_certificate_validity(gnutls_session session) | ^~~~ x509_parsing.c: In function ‘check_x509_certificate_validity’: x509_parsing.c:68:2: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 68 | gnutls_x509_crt cert; | ^~~~~~~~~~~~~~~ x509_parsing.c: At top level: x509_parsing.c:92:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 92 | gchar *get_username_from_x509_certificate(gnutls_session session) | ^~~~~ x509_parsing.c: In function ‘get_username_from_x509_certificate’: x509_parsing.c:94:2: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 94 | gnutls_x509_crt cert; | ^~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o modules.o modules.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./auth_srv.h:38, from modules.c:59: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./auth_srv.h:86, from modules.c:59: ./tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ./tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ./tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ./tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ./tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ./tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from modules.c:59: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:86, from modules.c:59: ./tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ./tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ./auth_srv.h:88, from modules.c:59: ./connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from modules.c:59: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:93, from modules.c:59: ./users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ./auth_srv.h:96, from modules.c:59: ./modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ./modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ./modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ./modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ./auth_srv.h:104, from modules.c:59: ./x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ./x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ In file included from modules.c:60: modules_definition.h:60:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 60 | typedef int certificate_check_callback(gnutls_session session, | ^~~~~~~ modules_definition.h:61:12: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 61 | gnutls_x509_crt cert, | ^~~~~~~~~~~~~~~ modules_definition.h:64:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | typedef gchar *certificate_to_uid_callback(gnutls_session session, | ^~~~~~~ modules_definition.h:65:9: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 65 | gnutls_x509_crt cert, | ^~~~~~~~~~~~~~~ modules.c:266:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 266 | int modules_check_certificate(gnutls_session session, gnutls_x509_crt cert) | ^~~ modules.c:266:1: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] modules.c:296:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 296 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ modules.c:297:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 297 | gnutls_x509_crt cert) | ^~~~~~~~~~~~~~~ modules.c: In function ‘init_modules_system’: modules.c:426:2: warning: ‘g_mutex_new’ is deprecated [-Wdeprecated-declarations] 426 | modules_mutex = g_mutex_new(); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from modules.c:59: /usr/include/glib-2.0/glib/deprecated/gthread.h:273:17: note: declared here 273 | GMutex * g_mutex_new (void); | ^~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o nuauthconf.o nuauthconf.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ./auth_srv.h:38, from nuauthconf.c:21: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./auth_srv.h:86, from nuauthconf.c:21: ./tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ ./tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ ./tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ ./tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ ./tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ ./tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from nuauthconf.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:86, from nuauthconf.c:21: ./tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ ./tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from ./auth_srv.h:88, from nuauthconf.c:21: ./connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from ./auth_srv.h:38, from nuauthconf.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from ./auth_srv.h:93, from nuauthconf.c:21: ./users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from ./auth_srv.h:96, from nuauthconf.c:21: ./modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ ./modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ ./modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ ./modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from ./auth_srv.h:104, from nuauthconf.c:21: ./x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ ./x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o conntrack.o conntrack.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from auth_srv.h:38, from conntrack.c:21: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from auth_srv.h:86, from conntrack.c:21: tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from conntrack.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:86, from conntrack.c:21: tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from auth_srv.h:88, from conntrack.c:21: connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from conntrack.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:93, from conntrack.c:21: users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from auth_srv.h:96, from conntrack.c:21: modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from auth_srv.h:104, from conntrack.c:21: x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ conntrack.c: In function ‘limited_connection_handler’: conntrack.c:249:2: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 249 | GTimeVal tv; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from auth_srv.h:38, from conntrack.c:21: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ conntrack.c:264:3: warning: ‘g_get_current_time’ is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] 264 | g_get_current_time(&tv); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/giochannel.h:33, from /usr/include/glib-2.0/glib.h:54, from auth_srv.h:38, from conntrack.c:21: /usr/include/glib-2.0/glib/gmain.h:681:8: note: declared here 681 | void g_get_current_time (GTimeVal *result); | ^~~~~~~~~~~~~~~~~~ conntrack.c:265:3: warning: ‘g_time_val_add’ is deprecated [-Wdeprecated-declarations] 265 | g_time_val_add(&tv, POP_DELAY); | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:88, from auth_srv.h:38, from conntrack.c:21: /usr/include/glib-2.0/glib/gtimer.h:67:10: note: declared here 67 | void g_time_val_add (GTimeVal *time_, | ^~~~~~~~~~~~~~ conntrack.c:267:7: warning: ‘g_async_queue_timed_pop’ is deprecated: Use 'g_async_queue_timeout_pop' instead [-Wdeprecated-declarations] 267 | g_async_queue_timed_pop(nuauthdatas-> | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:32, from auth_srv.h:38, from conntrack.c:21: /usr/include/glib-2.0/glib/gasyncqueue.h:115:14: note: declared here 115 | gpointer g_async_queue_timed_pop (GAsyncQueue *queue, | ^~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o period.o period.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from auth_srv.h:38, from period.c:21: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from auth_srv.h:86, from period.c:21: tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from period.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:86, from period.c:21: tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from auth_srv.h:88, from period.c:21: connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from period.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:93, from period.c:21: users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from auth_srv.h:96, from period.c:21: modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from auth_srv.h:104, from period.c:21: x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ period.c:33:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 33 | static GStaticMutex period_mutex = G_STATIC_MUTEX_INIT; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from period.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ period.c:33:13: warning: Deprecated pre-processor symbol, replace with 33 | static GStaticMutex period_mutex = G_STATIC_MUTEX_INIT; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ period.c: In function ‘get_end_of_period_for_time_t’: period.c:146:13: warning: Deprecated pre-processor symbol 146 | g_static_mutex_lock(&period_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~ period.c:146:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 146 | g_static_mutex_lock(&period_mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from period.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ period.c:146:13: warning: Deprecated pre-processor symbol, replace with 146 | g_static_mutex_lock(&period_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~ period.c:152:13: warning: Deprecated pre-processor symbol 152 | g_static_mutex_unlock(&period_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ period.c:152:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 152 | g_static_mutex_unlock(&period_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from period.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ period.c:152:13: warning: Deprecated pre-processor symbol, replace with 152 | g_static_mutex_unlock(&period_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ period.c:174:13: warning: Deprecated pre-processor symbol 174 | g_static_mutex_unlock(&period_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ period.c:174:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 174 | g_static_mutex_unlock(&period_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from period.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ period.c:174:13: warning: Deprecated pre-processor symbol, replace with 174 | g_static_mutex_unlock(&period_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ period.c:185:13: warning: Deprecated pre-processor symbol 185 | g_static_mutex_unlock(&period_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ period.c:185:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 185 | g_static_mutex_unlock(&period_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from period.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ period.c:185:13: warning: Deprecated pre-processor symbol, replace with 185 | g_static_mutex_unlock(&period_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ period.c: In function ‘reload_periods’: period.c:259:13: warning: Deprecated pre-processor symbol 259 | g_static_mutex_lock(&period_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~ period.c:259:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 259 | g_static_mutex_lock(&period_mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from period.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ period.c:259:13: warning: Deprecated pre-processor symbol, replace with 259 | g_static_mutex_lock(&period_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~ period.c:262:13: warning: Deprecated pre-processor symbol 262 | g_static_mutex_unlock(&period_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ period.c:262:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 262 | g_static_mutex_unlock(&period_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from period.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ period.c:262:13: warning: Deprecated pre-processor symbol, replace with 262 | g_static_mutex_unlock(&period_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o auth_hash.o auth_hash.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from auth_srv.h:38, from auth_hash.c:24: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from auth_srv.h:86, from auth_hash.c:24: tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from auth_hash.c:24: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:86, from auth_hash.c:24: tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from auth_srv.h:88, from auth_hash.c:24: connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from auth_hash.c:24: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:93, from auth_hash.c:24: users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from auth_srv.h:96, from auth_hash.c:24: modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from auth_srv.h:104, from auth_hash.c:24: x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ auth_hash.c: In function ‘merge_nufw_session’: auth_hash.c:124:2: warning: ‘g_atomic_int_exchange_and_add’ is deprecated: Use 'g_atomic_int_add' instead [-Wdeprecated-declarations] 124 | g_atomic_int_exchange_and_add(&(new->tls->usage), usage); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from auth_srv.h:38, from auth_hash.c:24: /usr/include/glib-2.0/glib/gatomic.h:80:25: note: declared here 80 | gint g_atomic_int_exchange_and_add (volatile gint *atomic, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ auth_hash.c:126:3: warning: ‘g_atomic_int_exchange_and_add’ is deprecated: Use 'g_atomic_int_add' instead [-Wdeprecated-declarations] 126 | g_atomic_int_exchange_and_add(&(old->tls->usage), -usage + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from auth_srv.h:38, from auth_hash.c:24: /usr/include/glib-2.0/glib/gatomic.h:80:25: note: declared here 80 | gint g_atomic_int_exchange_and_add (volatile gint *atomic, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ auth_hash.c: In function ‘search_and_fill’: auth_hash.c:405:2: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 405 | GTimeVal tv; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from auth_srv.h:38, from auth_hash.c:24: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ auth_hash.c:415:3: warning: ‘g_get_current_time’ is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] 415 | g_get_current_time(&tv); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/giochannel.h:33, from /usr/include/glib-2.0/glib.h:54, from auth_srv.h:38, from auth_hash.c:24: /usr/include/glib-2.0/glib/gmain.h:681:8: note: declared here 681 | void g_get_current_time (GTimeVal *result); | ^~~~~~~~~~~~~~~~~~ auth_hash.c:416:3: warning: ‘g_time_val_add’ is deprecated [-Wdeprecated-declarations] 416 | g_time_val_add(&tv, POP_DELAY); | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:88, from auth_srv.h:38, from auth_hash.c:24: /usr/include/glib-2.0/glib/gtimer.h:67:10: note: declared here 67 | void g_time_val_add (GTimeVal *time_, | ^~~~~~~~~~~~~~ auth_hash.c:418:7: warning: ‘g_async_queue_timed_pop’ is deprecated: Use 'g_async_queue_timeout_pop' instead [-Wdeprecated-declarations] 418 | g_async_queue_timed_pop(nuauthdatas->connections_queue, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:32, from auth_srv.h:38, from auth_hash.c:24: /usr/include/glib-2.0/glib/gasyncqueue.h:115:14: note: declared here 115 | gpointer g_async_queue_timed_pop (GAsyncQueue *queue, | ^~~~~~~~~~~~~~~~~~~~~~~ auth_hash.c:424:13: warning: Deprecated pre-processor symbol 424 | g_static_mutex_lock(&insert_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ auth_hash.c:424:3: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 424 | g_static_mutex_lock(&insert_mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from auth_hash.c:24: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ auth_hash.c:424:13: warning: Deprecated pre-processor symbol, replace with 424 | g_static_mutex_lock(&insert_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~ auth_hash.c:435:13: warning: Deprecated pre-processor symbol 435 | g_static_mutex_unlock(&insert_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ auth_hash.c:435:4: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 435 | g_static_mutex_unlock(&insert_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from auth_hash.c:24: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ auth_hash.c:435:13: warning: Deprecated pre-processor symbol, replace with 435 | g_static_mutex_unlock(&insert_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ auth_hash.c:442:13: warning: Deprecated pre-processor symbol 442 | g_static_mutex_unlock(&insert_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ auth_hash.c:442:4: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 442 | g_static_mutex_unlock(&insert_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from auth_hash.c:24: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ auth_hash.c:442:13: warning: Deprecated pre-processor symbol, replace with 442 | g_static_mutex_unlock(&insert_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from auth_hash.c:26: ../../src/include/jhash.h: In function ‘jhash2’: ../../src/include/jhash.h:91:5: warning: this statement may fall through [-Wimplicit-fallthrough=] 91 | b += k[1]; | ~~^~~~~~~ ../../src/include/jhash.h:92:2: note: here 92 | case 1: | ^~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o take_decision.o take_decision.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from auth_srv.h:38, from take_decision.c:22: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from auth_srv.h:86, from take_decision.c:22: tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from take_decision.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:86, from take_decision.c:22: tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from auth_srv.h:88, from take_decision.c:22: connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from take_decision.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:93, from take_decision.c:22: users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from auth_srv.h:96, from take_decision.c:22: modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from auth_srv.h:104, from take_decision.c:22: x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ take_decision.c: In function ‘take_decision’: take_decision.c:188:26: warning: variable ‘stop_test’ set but not used [-Wunused-but-set-variable] 188 | decision_t start_test, stop_test; | ^~~~~~~~~ take_decision.c:188:14: warning: variable ‘start_test’ set but not used [-Wunused-but-set-variable] 188 | decision_t start_test, stop_test; | ^~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o command.o command.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from auth_srv.h:38, from command.c:22: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from auth_srv.h:86, from command.c:22: tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from command.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:86, from command.c:22: tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from auth_srv.h:88, from command.c:22: connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from command.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:93, from command.c:22: users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from auth_srv.h:96, from command.c:22: modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from auth_srv.h:104, from command.c:22: x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ command.c: In function ‘command_users’: command.c:193:18: warning: cast between incompatible function types from ‘void (*)(int, user_session_t *, GSList **)’ {aka ‘void (*)(int, user_session_t *, struct _GSList **)’} to ‘void (*)(void *, void *, void *)’ [-Wcast-function-type] 193 | foreach_session((GHFunc)command_users_callback, &users); | ^ command.c: In function ‘command_servers’: command.c:210:22: warning: cast between incompatible function types from ‘void (*)(int, nufw_session_t *, GSList **)’ {aka ‘void (*)(int, nufw_session_t *, struct _GSList **)’} to ‘void (*)(void *, void *, void *)’ [-Wcast-function-type] 210 | foreach_nufw_server((GHFunc)command_server_callback, &servers); | ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o command_enc.o command_enc.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from auth_srv.h:38, from command_enc.h:24, from command_enc.c:21: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from auth_srv.h:86, from command_enc.h:24, from command_enc.c:21: tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from command_enc.h:24, from command_enc.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:86, from command_enc.h:24, from command_enc.c:21: tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from auth_srv.h:88, from command_enc.h:24, from command_enc.c:21: connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from command_enc.h:24, from command_enc.c:21: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:93, from command_enc.h:24, from command_enc.c:21: users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from auth_srv.h:96, from command_enc.h:24, from command_enc.c:21: modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from auth_srv.h:104, from command_enc.h:24, from command_enc.c:21: x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ command_enc.c: In function ‘encoder_slist_destroy’: command_enc.c:298:29: warning: cast between incompatible function types from ‘void (*)(encoder_t *)’ to ‘void (*)(void *, void *)’ [-Wcast-function-type] 298 | g_slist_foreach(item_list, (GFunc)encoder_destroy, NULL); | ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o nufw_servers.o nufw_servers.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from auth_srv.h:38, from nufw_servers.c:22: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from auth_srv.h:86, from nufw_servers.c:22: tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nufw_servers.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:86, from nufw_servers.c:22: tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from auth_srv.h:88, from nufw_servers.c:22: connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nufw_servers.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:93, from nufw_servers.c:22: users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from auth_srv.h:96, from nufw_servers.c:22: modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from auth_srv.h:104, from nufw_servers.c:22: x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ nufw_servers.c:34:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 34 | GStaticMutex nufw_servers_mutex = G_STATIC_MUTEX_INIT; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nufw_servers.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ nufw_servers.c:34:13: warning: Deprecated pre-processor symbol, replace with 34 | GStaticMutex nufw_servers_mutex = G_STATIC_MUTEX_INIT; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c: In function ‘add_nufw_server’: nufw_servers.c:47:13: warning: Deprecated pre-processor symbol 47 | g_static_mutex_lock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:47:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 47 | g_static_mutex_lock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nufw_servers.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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:47:13: warning: Deprecated pre-processor symbol, replace with 47 | g_static_mutex_lock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:50:13: warning: Deprecated pre-processor symbol 50 | g_static_mutex_unlock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:50:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 50 | g_static_mutex_unlock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nufw_servers.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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:50:13: warning: Deprecated pre-processor symbol, replace with 50 | g_static_mutex_unlock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c: In function ‘close_nufw_servers’: nufw_servers.c:60:13: warning: Deprecated pre-processor symbol 60 | g_static_mutex_lock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:60:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 60 | g_static_mutex_lock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nufw_servers.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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:60:13: warning: Deprecated pre-processor symbol, replace with 60 | g_static_mutex_lock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:64:13: warning: Deprecated pre-processor symbol 64 | g_static_mutex_unlock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:64:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 64 | g_static_mutex_unlock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nufw_servers.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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:64:13: warning: Deprecated pre-processor symbol, replace with 64 | g_static_mutex_unlock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c: In function ‘clean_nufw_session’: nufw_servers.c:83:2: warning: ‘gnutls_transport_ptr’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_transport_ptr socket_tls; | ^~~~~~~~~~~~~~~~~~~~ nufw_servers.c:97:2: warning: ‘g_mutex_free’ is deprecated [-Wdeprecated-declarations] 97 | g_mutex_free(c_session->tls_lock); | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nufw_servers.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:275:17: note: declared here 275 | void g_mutex_free (GMutex *mutex); | ^~~~~~~~~~~~ nufw_servers.c: In function ‘declare_dead_nufw_session’: nufw_servers.c:108:13: warning: Deprecated pre-processor symbol 108 | g_static_mutex_lock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:108:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 108 | g_static_mutex_lock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nufw_servers.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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:108:13: warning: Deprecated pre-processor symbol, replace with 108 | g_static_mutex_lock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:111:3: warning: ‘gnutls_transport_ptr’ is deprecated [-Wdeprecated-declarations] 111 | gnutls_transport_ptr tls; | ^~~~~~~~~~~~~~~~~~~~ nufw_servers.c:120:13: warning: Deprecated pre-processor symbol 120 | g_static_mutex_unlock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:120:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 120 | g_static_mutex_unlock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nufw_servers.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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:120:13: warning: Deprecated pre-processor symbol, replace with 120 | g_static_mutex_unlock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c: In function ‘get_nufw_session’: nufw_servers.c:153:13: warning: Deprecated pre-processor symbol 153 | g_static_mutex_lock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:153:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 153 | g_static_mutex_lock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nufw_servers.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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:153:13: warning: Deprecated pre-processor symbol, replace with 153 | g_static_mutex_lock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:158:13: warning: Deprecated pre-processor symbol 158 | g_static_mutex_unlock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:158:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 158 | g_static_mutex_unlock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nufw_servers.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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:158:13: warning: Deprecated pre-processor symbol, replace with 158 | g_static_mutex_unlock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c: In function ‘acquire_nufw_session_by_socket’: nufw_servers.c:165:13: warning: Deprecated pre-processor symbol 165 | g_static_mutex_lock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:165:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 165 | g_static_mutex_lock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nufw_servers.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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:165:13: warning: Deprecated pre-processor symbol, replace with 165 | g_static_mutex_lock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:173:13: warning: Deprecated pre-processor symbol 173 | g_static_mutex_unlock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:173:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 173 | g_static_mutex_unlock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nufw_servers.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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:173:13: warning: Deprecated pre-processor symbol, replace with 173 | g_static_mutex_unlock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c: In function ‘acquire_nufw_session_by_addr’: nufw_servers.c:180:13: warning: Deprecated pre-processor symbol 180 | g_static_mutex_lock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:180:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 180 | g_static_mutex_lock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nufw_servers.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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:180:13: warning: Deprecated pre-processor symbol, replace with 180 | g_static_mutex_lock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:187:13: warning: Deprecated pre-processor symbol 187 | g_static_mutex_unlock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:187:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 187 | g_static_mutex_unlock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nufw_servers.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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:187:13: warning: Deprecated pre-processor symbol, replace with 187 | g_static_mutex_unlock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c: In function ‘release_nufw_session’: nufw_servers.c:202:13: warning: Deprecated pre-processor symbol 202 | g_static_mutex_lock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:202:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 202 | g_static_mutex_lock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nufw_servers.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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:202:13: warning: Deprecated pre-processor symbol, replace with 202 | g_static_mutex_lock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:207:13: warning: Deprecated pre-processor symbol 207 | g_static_mutex_unlock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:207:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 207 | g_static_mutex_unlock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nufw_servers.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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:207:13: warning: Deprecated pre-processor symbol, replace with 207 | g_static_mutex_unlock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c: In function ‘foreach_nufw_server’: nufw_servers.c:238:13: warning: Deprecated pre-processor symbol 238 | g_static_mutex_lock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:238:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 238 | g_static_mutex_lock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nufw_servers.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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:238:13: warning: Deprecated pre-processor symbol, replace with 238 | g_static_mutex_lock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:240:13: warning: Deprecated pre-processor symbol 240 | g_static_mutex_unlock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:240:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 240 | g_static_mutex_unlock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from nufw_servers.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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nufw_servers.c:240:13: warning: Deprecated pre-processor symbol, replace with 240 | g_static_mutex_unlock(&nufw_servers_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src/include/ -I../../src/nuauth/ -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o connections.o connections.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:195, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from auth_srv.h:38, from connections.c:23: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from auth_srv.h:86, from connections.c:23: tls.h:59:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 59 | int tls_connect(int c, gnutls_session ** session_ptr); | ^~~ tls.h:61:62: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 61 | nt tls_check_fqdn(struct sockaddr_storage *sockaddr, struct in6_addr *addr, gnutls_session * session_ptr); | ^~~~~~~~ tls.h:83:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 83 | gnutls_session *tls; /*!< TLS session */ | ^~~~~~~~~~~~~~ tls.h:101:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 101 | gnutls_session *tls; | ^~~~~~~~~~~~~~ tls.h:130:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 130 | gnutls_certificate_credentials x509_cred; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls.h:140:2: warning: ‘gnutls_dh_params’ is deprecated [-Wdeprecated-declarations] 140 | gnutls_dh_params dh_params; | ^~~~~~~~~~~~~~~~ tls.h:150:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 150 | extern GStaticMutex nufw_servers_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from connections.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:86, from connections.c:23: tls.h:168:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 168 | gint check_certs_for_tls_session(gnutls_session session, const char *peername); | ^~~~ tls.h:169:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 169 | void close_tls_session(int c, gnutls_session * session); | ^~~~ In file included from auth_srv.h:88, from connections.c:23: connections.h:149:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 149 | extern GStaticMutex insert_mutex; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from connections.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ In file included from auth_srv.h:93, from connections.c:23: users.h:64:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 64 | gnutls_session *tls; /*!< \brief TLS session opened with tls_connect() */ | ^~~~~~~~~~~~~~ In file included from auth_srv.h:96, from connections.c:23: modules.h:140:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 140 | int modules_check_certificate(gnutls_session session, | ^~~ modules.h:141:10: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 141 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ modules.h:143:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 143 | gchar *modules_certificate_to_uid(gnutls_session session, | ^~~~~ modules.h:144:7: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 144 | gnutls_x509_crt cert); | ^~~~~~~~~~~~~~~ In file included from auth_srv.h:104, from connections.c:23: x509_parsing.h:23:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 23 | gint check_x509_certificate_validity(gnutls_session session); | ^~~~ x509_parsing.h:25:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 25 | gchar *get_username_from_x509_certificate(gnutls_session session); | ^~~~~ connections.c:31:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 31 | GStaticMutex insert_mutex; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from connections.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ connections.c: In function ‘clean_connections_list’: connections.c:316:13: warning: Deprecated pre-processor symbol 316 | g_static_mutex_lock(&insert_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~ connections.c:316:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 316 | g_static_mutex_lock(&insert_mutex); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from connections.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connections.c:316:13: warning: Deprecated pre-processor symbol, replace with 316 | g_static_mutex_lock(&insert_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~ connections.c:337:13: warning: Deprecated pre-processor symbol 337 | g_static_mutex_unlock(&insert_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ connections.c:337:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 337 | g_static_mutex_unlock(&insert_mutex); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from auth_srv.h:38, from connections.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connections.c:337:13: warning: Deprecated pre-processor symbol, replace with 337 | g_static_mutex_unlock(&insert_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -L../../src/include/ -L../../src/nuauth/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lgcrypt -lgpg-error -o nuauth nuthread.o acls.o audit.o auth_common.o authsrv.o cache.o check_acls.o client_mngr.o conffile.o debug.o gcrypt.o ip_auth.o localid_auth.o parsing.o pckt_authsrv.o pckt_authsrv_v3.o sasl.o tls.o tls_user.o tls_nufw.o tls_sasl.o user_authsrv.o user_logs.o users.o x509_parsing.o modules.o nuauthconf.o conntrack.o period.o auth_hash.o take_decision.o command.o command_enc.o nufw_servers.o connections.o -lgthread-2.0 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lm -lgnutls -lsasl2 -lnufw -L../../src/include/ libtool: link: x86_64-pc-linux-gnu-gcc -DCONFIG_DIR=\"/etc/nufw\" -DMODULE_DIR=\"/usr/lib64\" -DLOCAL_STATE_DIR=\"/var\" -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o nuauth nuthread.o acls.o audit.o auth_common.o authsrv.o cache.o check_acls.o client_mngr.o conffile.o debug.o gcrypt.o ip_auth.o localid_auth.o parsing.o pckt_authsrv.o pckt_authsrv_v3.o sasl.o tls.o tls_user.o tls_nufw.o tls_sasl.o user_authsrv.o user_logs.o users.o x509_parsing.o modules.o nuauthconf.o conntrack.o period.o auth_hash.o take_decision.o command.o command_enc.o nufw_servers.o connections.o -pthread -Wl,--export-dynamic -pthread -L../../src/include/ -L../../src/nuauth/ -Wl,--as-needed -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lm -lgnutls -lsasl2 /var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/include/.libs/libnufw.a -lgcrypt -lgpg-error -lpthread -pthread make[3]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth' make[2]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth' Making all in nufw make[2]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nufw' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nufw' Making all in clients make[2]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients' Making all in lib make[3]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/lib' Making all in tests make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/lib/tests' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/lib/tests' make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/lib' /bin/sh ../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../src/include -DCONFIG_DIR=\"/etc/nufw\" -I../../../src/include/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o libnuclient.lo libnuclient.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../src/include -DCONFIG_DIR=\"/etc/nufw\" -I../../../src/include/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c libnuclient.c -fPIC -DPIC -o .libs/libnuclient.o In file included from /usr/include/arpa/inet.h:21, from nuclient.h:38, from libnuclient.c:41: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from libnuclient.c:41: nuclient.h:162:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 162 | gnutls_session tls; /*!< TLS session over TCP socket */ | ^~~~~~~~~~~~~~ nuclient.h:163:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 163 | gnutls_certificate_credentials cred; /*!< TLS credentials */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../src/include -DCONFIG_DIR=\"/etc/nufw\" -I../../../src/include/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o proc.lo proc.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../src/include -DCONFIG_DIR=\"/etc/nufw\" -I../../../src/include/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c proc.c -fPIC -DPIC -o .libs/proc.o In file included from /usr/include/arpa/inet.h:21, from nuclient.h:38, from proc.c:29: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from proc.c:29: nuclient.h:162:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 162 | gnutls_session tls; /*!< TLS session over TCP socket */ | ^~~~~~~~~~~~~~ nuclient.h:163:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 163 | gnutls_certificate_credentials cred; /*!< TLS credentials */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../src/include -DCONFIG_DIR=\"/etc/nufw\" -I../../../src/include/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o iconv.lo iconv.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../src/include -DCONFIG_DIR=\"/etc/nufw\" -I../../../src/include/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c iconv.c -fPIC -DPIC -o .libs/iconv.o In file included from /usr/include/arpa/inet.h:21, from nuclient.h:38, from libnuclient.h:27, from iconv.c:22: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from libnuclient.h:27, from iconv.c:22: nuclient.h:162:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 162 | gnutls_session tls; /*!< TLS session over TCP socket */ | ^~~~~~~~~~~~~~ nuclient.h:163:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 163 | gnutls_certificate_credentials cred; /*!< TLS credentials */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../src/include -DCONFIG_DIR=\"/etc/nufw\" -I../../../src/include/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o checks.lo checks.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../src/include -DCONFIG_DIR=\"/etc/nufw\" -I../../../src/include/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c checks.c -fPIC -DPIC -o .libs/checks.o In file included from /usr/include/arpa/inet.h:21, from nuclient.h:38, from checks.c:25: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from checks.c:25: nuclient.h:162:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 162 | gnutls_session tls; /*!< TLS session over TCP socket */ | ^~~~~~~~~~~~~~ nuclient.h:163:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 163 | gnutls_certificate_credentials cred; /*!< TLS credentials */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from checks.c:27: checks.c: In function ‘recv_message’: checks.c:77:23: warning: cast between incompatible function types from ‘int (*)(pthread_mutex_t *)’ to ‘void (*)(void *)’ [-Wcast-function-type] 77 | pthread_cleanup_push((pthread_cleanup_push_arg1_t) | ^ checks.c: In function ‘nu_client_thread_check’: checks.c:274:23: warning: cast between incompatible function types from ‘int (*)(pthread_mutex_t *)’ to ‘void (*)(void *)’ [-Wcast-function-type] 274 | pthread_cleanup_push((pthread_cleanup_push_arg1_t) | ^ /bin/sh ../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../src/include -DCONFIG_DIR=\"/etc/nufw\" -I../../../src/include/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o getdelim.lo getdelim.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../src/include -DCONFIG_DIR=\"/etc/nufw\" -I../../../src/include/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c getdelim.c -fPIC -DPIC -o .libs/getdelim.o /bin/sh ../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../src/include -DCONFIG_DIR=\"/etc/nufw\" -I../../../src/include/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o sending.lo sending.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../src/include -DCONFIG_DIR=\"/etc/nufw\" -I../../../src/include/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c sending.c -fPIC -DPIC -o .libs/sending.o In file included from /usr/include/arpa/inet.h:21, from nuclient.h:38, from libnuclient.h:27, from client.h:30, from sending.c:23: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from libnuclient.h:27, from client.h:30, from sending.c:23: nuclient.h:162:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 162 | gnutls_session tls; /*!< TLS session over TCP socket */ | ^~~~~~~~~~~~~~ nuclient.h:163:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 163 | gnutls_certificate_credentials cred; /*!< TLS credentials */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../src/include -DCONFIG_DIR=\"/etc/nufw\" -I../../../src/include/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o sys_config.lo sys_config.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../src/include -DCONFIG_DIR=\"/etc/nufw\" -I../../../src/include/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c sys_config.c -fPIC -DPIC -o .libs/sys_config.o In file included from /usr/include/arpa/inet.h:21, from nuclient.h:38, from sys_config.h:26, from sys_config.c:28: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from sys_config.h:26, from sys_config.c:28: nuclient.h:162:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 162 | gnutls_session tls; /*!< TLS session over TCP socket */ | ^~~~~~~~~~~~~~ nuclient.h:163:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 163 | gnutls_certificate_credentials cred; /*!< TLS credentials */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../src/include -DCONFIG_DIR=\"/etc/nufw\" -I../../../src/include/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o tcptable.lo tcptable.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../src/include -DCONFIG_DIR=\"/etc/nufw\" -I../../../src/include/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c tcptable.c -fPIC -DPIC -o .libs/tcptable.o In file included from /usr/include/arpa/inet.h:21, from nuclient.h:38, from libnuclient.h:27, from tcptable.c:29: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from libnuclient.h:27, from tcptable.c:29: nuclient.h:162:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 162 | gnutls_session tls; /*!< TLS session over TCP socket */ | ^~~~~~~~~~~~~~ nuclient.h:163:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 163 | gnutls_certificate_credentials cred; /*!< TLS credentials */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../src/include -DCONFIG_DIR=\"/etc/nufw\" -I../../../src/include/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o internal.lo internal.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../src/include -DCONFIG_DIR=\"/etc/nufw\" -I../../../src/include/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c internal.c -fPIC -DPIC -o .libs/internal.o In file included from /usr/include/arpa/inet.h:21, from nuclient.h:38, from internal.c:30: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from internal.c:30: nuclient.h:162:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 162 | gnutls_session tls; /*!< TLS session over TCP socket */ | ^~~~~~~~~~~~~~ nuclient.h:163:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 163 | gnutls_certificate_credentials cred; /*!< TLS credentials */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ internal.c:91:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 91 | static int samp_send(gnutls_session session, const char *buffer, | ^~~~~~ internal.c:126:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 126 | static unsigned samp_recv(gnutls_session session, char *buf, int bufsize, | ^~~~~~ internal.c: In function ‘mysasl_negotiate’: internal.c:161:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 161 | gnutls_session session = user_session->tls; | ^~~~~~~~~~~~~~ internal.c: In function ‘init_sasl’: internal.c:588:18: warning: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(void *, int, const char **, unsigned int *)’ [-Wincompatible-pointer-types] 588 | {SASL_CB_USER, &nu_get_userdatas, session}, | ^ internal.c:588:18: note: (near initialization for ‘callbacks[0].proc’) internal.c:589:22: warning: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(void *, int, const char **, unsigned int *)’ [-Wincompatible-pointer-types] 589 | {SASL_CB_AUTHNAME, &nu_get_userdatas, session}, | ^ internal.c:589:22: note: (near initialization for ‘callbacks[1].proc’) internal.c:590:18: warning: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(sasl_conn_t *, void *, int, sasl_secret_t **)’ {aka ‘int (*)(struct sasl_conn *, void *, int, struct sasl_secret **)’} [-Wincompatible-pointer-types] 590 | {SASL_CB_PASS, &nu_get_usersecret, session}, | ^ internal.c:590:18: note: (near initialization for ‘callbacks[2].proc’) internal.c: At top level: internal.c:727:1: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 727 | int get_first_x509_cert_from_tls_session(gnutls_session session, | ^~~ internal.c:728:8: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 728 | gnutls_x509_crt * cert) | ^~~~~~~~~~~~~~~ internal.c: In function ‘get_first_x509_cert_from_tls_session’: internal.c:730:2: warning: ‘gnutls_datum’ is deprecated [-Wdeprecated-declarations] 730 | const gnutls_datum *cert_list; | ^~~~~ In file included from nuclient.h:74, from internal.c:30: /usr/include/gnutls/gnutls.h:1217:9: note: declared here 1217 | typedef struct { | ^~~~~~ internal.c: In function ‘certificate_check’: internal.c:754:2: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations] 754 | gnutls_x509_crt cert; | ^~~~~~~~~~~~~~~ internal.c: In function ‘tls_handshake’: internal.c:849:6: warning: ‘gnutls_transport_ptr’ is deprecated [-Wdeprecated-declarations] 849 | (gnutls_transport_ptr) session->socket); | ^ internal.c:849:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /bin/sh ../../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -version-info 3:0:0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lgcrypt -lgpg-error -o libnuclient.la -rpath /usr/lib64 libnuclient.lo proc.lo iconv.lo checks.lo getdelim.lo sending.lo sys_config.lo tcptable.lo internal.lo -lgcrypt -lgnutls -lsasl2 -lnufw -L../../../src/include/ -lpthread libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/libnuclient.o .libs/proc.o .libs/iconv.o .libs/checks.o .libs/getdelim.o .libs/sending.o .libs/sys_config.o .libs/tcptable.o .libs/internal.o -Wl,--whole-archive /var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/include/.libs/libnufw.a -Wl,--no-whole-archive -Wl,--as-needed -lgnutls -lsasl2 -lgcrypt -lgpg-error -L../../../src/include/ -lpthread -O2 -march=native -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libnuclient.so.3 -o .libs/libnuclient.so.3.0.0 libtool: link: (cd ".libs" && rm -f "libnuclient.so.3" && ln -s "libnuclient.so.3.0.0" "libnuclient.so.3") libtool: link: (cd ".libs" && rm -f "libnuclient.so" && ln -s "libnuclient.so.3.0.0" "libnuclient.so") libtool: link: ( cd ".libs" && rm -f "libnuclient.la" && ln -s "../libnuclient.la" "libnuclient.la" ) make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/lib' make[3]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/lib' Making all in nutcpc make[3]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/nutcpc' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../src/include -I../../../src/include/ -I../../../src/clients/lib/ -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o nutcpc-nutcpc.o `test -f 'nutcpc.c' || echo './'`nutcpc.c In file included from /usr/include/arpa/inet.h:21, from ../lib/nuclient.h:38, from nutcpc.c:25: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from nutcpc.c:25: ../lib/nuclient.h:162:2: warning: ‘gnutls_session’ is deprecated [-Wdeprecated-declarations] 162 | gnutls_session tls; /*!< TLS session over TCP socket */ | ^~~~~~~~~~~~~~ ../lib/nuclient.h:163:2: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 163 | gnutls_certificate_credentials cred; /*!< TLS credentials */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nutcpc.c: In function ‘test_nutcpc’: nutcpc.c:124:4: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 124 | fscanf(fd, "%d", pid); | ^~~~~~~~~~~~~~~~~~~~~ nutcpc.c: In function ‘daemonize_process’: nutcpc.c:503:9: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 503 | (void) chdir("/"); | ^~~~~~~~~~ /bin/sh ../../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -L../../../src/clients/lib/ -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lgcrypt -lgpg-error -o nutcpc nutcpc-nutcpc.o -lnuclient -lpthread libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/nutcpc nutcpc-nutcpc.o -L../../../src/clients/lib/ -Wl,--as-needed /var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/lib/.libs/libnuclient.so -L../../../src/include/ -lgnutls -lsasl2 -lgcrypt -lgpg-error -lpthread make[3]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/nutcpc' Making all in pam_nufw make[3]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/pam_nufw' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/pam_nufw' make[3]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients' make[2]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients' make[2]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src' make[1]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src' Making all in scripts make[1]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts' Making all in nuauth_command make[2]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts/nuauth_command' Making all in scripts make[3]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts/nuauth_command/scripts' rm -f nuauth_command nuauth_command.tmp sed -e 's,@localstatedir\@,/var,g' -e 's,@prefix\@,/usr,g' ./nuauth_command.in > nuauth_command.tmp mv nuauth_command.tmp nuauth_command chmod +x nuauth_command make[3]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts/nuauth_command/scripts' Making all in nuauth_command make[3]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts/nuauth_command/nuauth_command' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts/nuauth_command/nuauth_command' make[3]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts/nuauth_command' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts/nuauth_command' make[2]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts/nuauth_command' Making all in auth_mysql make[2]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts/auth_mysql' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts/auth_mysql' make[2]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts' make[1]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts' Making all in doc make[1]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/doc' Making all in tests make[1]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/tests' Making all in inl_tests make[2]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/tests/inl_tests' /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c -o nobuffer.lo nobuffer.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src/include -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -c nobuffer.c -fPIC -DPIC -o .libs/nobuffer.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from nobuffer.c:6: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fcommon -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wall -Wextra -Wno-unused-parameter -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lgcrypt -lgpg-error -o libnobuffer.la -rpath /usr/lib64 nobuffer.lo -lpthread libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/nobuffer.o -Wl,--as-needed -lgcrypt -lgpg-error -lpthread -O2 -march=native -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libnobuffer.so.0 -o .libs/libnobuffer.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libnobuffer.so.0" && ln -s "libnobuffer.so.0.0.0" "libnobuffer.so.0") libtool: link: (cd ".libs" && rm -f "libnobuffer.so" && ln -s "libnobuffer.so.0.0.0" "libnobuffer.so") libtool: link: ( cd ".libs" && rm -f "libnobuffer.la" && ln -s "../libnobuffer.la" "libnobuffer.la" ) make[2]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/tests/inl_tests' Making all in pki make[2]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/tests/pki' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/tests/pki' make[2]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/tests' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/tests' make[1]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/tests' Making all in conf make[1]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/conf' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/conf' Making all in python make[1]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/python' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/python' Making all in selinux make[1]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/selinux' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/selinux' make[1]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22' Compile done >>> Source compiled. * Skipping make test/check due to ebuild restriction. >>> Test phase [disabled because of RESTRICT=test]: net-firewall/nufw-2.2.22-r3 >>> Install net-firewall/nufw-2.2.22-r3 into /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image/ make -j1 DESTDIR=/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image/ install Making install in src make[1]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src' Making install in include make[2]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/include' make[3]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/include' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/include' make[2]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/include' Making install in nuauth make[2]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth' Making install in modules make[3]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules' Making install in ldap make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/ldap' make[5]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/ldap' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/ldap' make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/ldap' Making install in log_syslog make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_syslog' make[5]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_syslog' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_syslog' make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_syslog' Making install in log_script make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_script' make[5]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_script' make[5]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules' /bin/sh ../../../../libtool --mode=install /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c libscript.la '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules' libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libscript.so /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules/libscript.so libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libscript.lai /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules/libscript.la libtool: warning: remember to run 'libtool --finish /usr/lib64/nuauth/modules' make[5]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_script' make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_script' Making install in log_mysql make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_mysql' make[5]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_mysql' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_mysql' make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_mysql' Making install in log_pgsql make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_pgsql' make[5]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_pgsql' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_pgsql' make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_pgsql' Making install in plaintext make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/plaintext' make[5]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/plaintext' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/plaintext' make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/plaintext' Making install in system make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/system' make[5]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/system' make[5]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules' /bin/sh ../../../../libtool --mode=install /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c libsystem.la '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules' libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libsystem.so /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules/libsystem.so libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libsystem.lai /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules/libsystem.la libtool: warning: remember to run 'libtool --finish /usr/lib64/nuauth/modules' make[5]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/system' make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/system' Making install in xml_defs make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/xml_defs' make[5]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/xml_defs' make[5]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/include/nufw' /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c -m 644 xml_defs.h '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/include/nufw' /bin/mkdir -p '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules' /bin/sh ../../../../libtool --mode=install /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c libxml_defs.la '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules' libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libxml_defs.so /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules/libxml_defs.so libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libxml_defs.lai /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules/libxml_defs.la libtool: warning: remember to run 'libtool --finish /usr/lib64/nuauth/modules' make[5]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/xml_defs' make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/xml_defs' Making install in x509_std make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/x509_std' make[5]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/x509_std' make[5]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/include/nufw' /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c -m 644 x509_std.h '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/include/nufw' /bin/mkdir -p '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules' /bin/sh ../../../../libtool --mode=install /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c libx509_std.la '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules' libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libx509_std.so /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules/libx509_std.so libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libx509_std.lai /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules/libx509_std.la libtool: warning: remember to run 'libtool --finish /usr/lib64/nuauth/modules' make[5]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/x509_std' make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/x509_std' Making install in log_nuprelude make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_nuprelude' make[5]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_nuprelude' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_nuprelude' make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/log_nuprelude' Making install in mark_uid make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/mark_uid' make[5]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/mark_uid' make[5]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules' /bin/sh ../../../../libtool --mode=install /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c libmark_uid.la '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules' libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libmark_uid.so /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules/libmark_uid.so libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libmark_uid.lai /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules/libmark_uid.la libtool: warning: remember to run 'libtool --finish /usr/lib64/nuauth/modules' make[5]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/mark_uid' make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/mark_uid' Making install in session_expire make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/session_expire' make[5]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/session_expire' make[5]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules' /bin/sh ../../../../libtool --mode=install /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c libsession_expire.la '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules' libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libsession_expire.so /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules/libsession_expire.so libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libsession_expire.lai /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules/libsession_expire.la libtool: warning: remember to run 'libtool --finish /usr/lib64/nuauth/modules' make[5]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/session_expire' make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/session_expire' Making install in ipauth_guest make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/ipauth_guest' make[5]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/ipauth_guest' make[5]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules' /bin/sh ../../../../libtool --mode=install /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c libipauth_guest.la '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules' libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libipauth_guest.so /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules/libipauth_guest.so libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libipauth_guest.lai /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules/libipauth_guest.la libtool: warning: remember to run 'libtool --finish /usr/lib64/nuauth/modules' make[5]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/ipauth_guest' make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/ipauth_guest' Making install in mark_group make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/mark_group' make[5]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/mark_group' make[5]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/include/nufw' /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c -m 644 mark_group.h '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/include/nufw' /bin/mkdir -p '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules' /bin/sh ../../../../libtool --mode=install /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c libmark_group.la '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules' libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libmark_group.so /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules/libmark_group.so libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libmark_group.lai /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules/libmark_group.la libtool: warning: remember to run 'libtool --finish /usr/lib64/nuauth/modules' make[5]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/mark_group' make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/mark_group' Making install in mark_field make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/mark_field' make[5]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/mark_field' make[5]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/include/nufw' /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c -m 644 mark_field.h '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/include/nufw' /bin/mkdir -p '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules' /bin/sh ../../../../libtool --mode=install /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c libmark_field.la '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules' libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libmark_field.so /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules/libmark_field.so libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libmark_field.lai /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules/libmark_field.la libtool: warning: remember to run 'libtool --finish /usr/lib64/nuauth/modules' make[5]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/mark_field' make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/mark_field' Making install in mark_flag make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/mark_flag' make[5]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/mark_flag' make[5]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules' /bin/sh ../../../../libtool --mode=install /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c libmark_flag.la '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules' libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libmark_flag.so /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules/libmark_flag.so libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libmark_flag.lai /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules/libmark_flag.la libtool: warning: remember to run 'libtool --finish /usr/lib64/nuauth/modules' make[5]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/mark_flag' make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/mark_flag' Making install in auth_mysql make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/auth_mysql' make[5]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/auth_mysql' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/auth_mysql' make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/auth_mysql' Making install in session_authtype make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/session_authtype' make[5]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/session_authtype' make[5]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules' /bin/sh ../../../../libtool --mode=install /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c libsession_authtype.la '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules' libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libsession_authtype.so /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules/libsession_authtype.so libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libsession_authtype.lai /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/nuauth/modules/libsession_authtype.la libtool: warning: remember to run 'libtool --finish /usr/lib64/nuauth/modules' make[5]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/session_authtype' make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules/session_authtype' make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules' make[5]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules' make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules' make[3]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth/modules' make[3]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth' make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth' /bin/mkdir -p '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/sbin' /bin/sh ../../libtool --mode=install /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c nuauth '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/sbin' libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c nuauth /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/sbin/nuauth make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth' make[3]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth' make[2]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nuauth' Making install in nufw make[2]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nufw' make[3]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nufw' make[3]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nufw' make[2]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/nufw' Making install in clients make[2]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients' Making install in lib make[3]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/lib' Making install in tests make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/lib/tests' make[5]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/lib/tests' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/lib/tests' make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/lib/tests' make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/lib' make[5]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/lib' /bin/mkdir -p '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64' /bin/sh ../../../libtool --mode=install /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c libnuclient.la '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64' libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libnuclient.so.3.0.0 /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/libnuclient.so.3.0.0 libtool: install: (cd /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64 && { ln -s -f libnuclient.so.3.0.0 libnuclient.so.3 || { rm -f libnuclient.so.3 && ln -s libnuclient.so.3.0.0 libnuclient.so.3; }; }) libtool: install: (cd /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64 && { ln -s -f libnuclient.so.3.0.0 libnuclient.so || { rm -f libnuclient.so && ln -s libnuclient.so.3.0.0 libnuclient.so; }; }) libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/libnuclient.lai /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/lib64/libnuclient.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /bin/mkdir -p '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/include/nufw' /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c -m 644 nuclient.h '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/include/nufw' make[5]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/lib' make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/lib' make[3]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/lib' Making install in nutcpc make[3]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/nutcpc' make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/nutcpc' /bin/mkdir -p '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/bin' /bin/sh ../../../libtool --mode=install /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c nutcpc '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/bin' libtool: warning: '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/lib/libnuclient.la' has not been installed in '/usr/lib64' libtool: install: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c .libs/nutcpc /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr/bin/nutcpc make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/nutcpc' make[3]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/nutcpc' Making install in pam_nufw make[3]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/pam_nufw' make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/pam_nufw' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/pam_nufw' make[3]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients/pam_nufw' make[3]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients' make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients' make[3]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients' make[2]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src/clients' make[2]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src' make[3]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src' make[2]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src' make[1]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/src' Making install in scripts make[1]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts' Making install in nuauth_command make[2]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts/nuauth_command' Making install in scripts make[3]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts/nuauth_command/scripts' make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts/nuauth_command/scripts' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts/nuauth_command/scripts' make[3]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts/nuauth_command/scripts' Making install in nuauth_command make[3]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts/nuauth_command/nuauth_command' make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts/nuauth_command/nuauth_command' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts/nuauth_command/nuauth_command' make[3]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts/nuauth_command/nuauth_command' make[3]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts/nuauth_command' make[4]: Entering directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts/nuauth_command' ./setup.py install --prefix /var/tmp/portage/net-firewall/nufw-2.2.22-r3/image//usr env: ‘python’: No such file or directory make[4]: *** [Makefile:635: install-exec-local] Error 127 make[4]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts/nuauth_command' make[3]: *** [Makefile:524: install-am] Error 2 make[3]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts/nuauth_command' make[2]: *** [Makefile:363: install-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts/nuauth_command' make[1]: *** [Makefile:363: install-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22/scripts' make: *** [Makefile:395: install-recursive] Error 1 * ERROR: net-firewall/nufw-2.2.22-r3::gentoo failed (install phase): * emake failed * * If you need support, post the output of `emerge --info '=net-firewall/nufw-2.2.22-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-firewall/nufw-2.2.22-r3::gentoo'`. * The complete build log is located at '/var/log/portage/net-firewall:nufw-2.2.22-r3:20210119-020807.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/temp/environment'. * Working directory: '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22' * S: '/var/tmp/portage/net-firewall/nufw-2.2.22-r3/work/nufw-2.2.22'