D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: line 44: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64gsnmp0-devel Installing /home/pterjan/rpmbuild/SRPMS/gsnmp-0.3.0-15.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.lRQ2Mb Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HSnbrv + umask 022 + cd /home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-build + rm -rf gsnmp-0.3.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/gsnmp-0.3.0.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd gsnmp-0.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (gsnmp-linkage_fix.diff):' Patch #0 (gsnmp-linkage_fix.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/Makefile.am + echo 'Patch #1 (gsnmp-0.3.0-fix-underquoted-warning.patch):' Patch #1 (gsnmp-0.3.0-fix-underquoted-warning.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fix_underquoted --fuzz=0 patching file gsnmp.m4 + echo 'Patch #2 (gsnmp-0.3.0-automake-1.13.patch):' Patch #2 (gsnmp-0.3.0-automake-1.13.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .automake-1_13 --fuzz=0 patching file configure.ac + echo 'Patch #3 (gsnmp-fix-building-with-gcc14.patch):' Patch #3 (gsnmp-fix-building-with-gcc14.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc14 --fuzz=0 patching file src/transport.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ZHM4ka + umask 022 + cd /home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gsnmp-0.3.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fis acinclude.m4:9: warning: underquoted definition of jm_CHECK_TYPE_STRUCT_UTIMBUF acinclude.m4:9: run info Automake 'Extending aclocal' acinclude.m4:9: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal libtoolize: putting auxiliary files in '.'. libtoolize: linking file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. acinclude.m4:9: warning: underquoted definition of jm_CHECK_TYPE_STRUCT_UTIMBUF acinclude.m4:9: run info Automake 'Extending aclocal' acinclude.m4:9: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal configure.ac:22: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:22: You should run autoupdate. aclocal.m4:527: AC_PROG_LIBTOOL is expanded from... configure.ac:22: the top level configure.ac:27: warning: The macro 'AC_TRY_RUN' is obsolete. configure.ac:27: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... aclocal.m4:246: AM_PATH_GNET_2_0 is expanded from... configure.ac:27: the top level configure.ac:27: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:27: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:246: AM_PATH_GNET_2_0 is expanded from... configure.ac:27: the top level configure.ac:20: installing './compile' configure.ac:6: installing './missing' examples/Makefile.am: installing './depcomp' /usr/share/automake-1.17/am/ltlibrary.am: warning: 'libgsnmp.la': linking libtool libraries using a non-POSIX /usr/share/automake-1.17/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' src/Makefile.am:3: while processing Libtool library 'libgsnmp.la' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for x86_64-mageia-linux-gnu-gcc... 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.16... yes checking for glib-2.0 >= 2.0.0... yes checking for GLIB - version >= 2.0.0... yes (version 2.84.1) checking for pkg-config... (cached) /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking for GNET - version >= 2.0.4... yes (version 2.0.8) checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating examples/Makefile config.status: creating gsnmp.lsm config.status: creating gsnmp.spec config.status: creating gsnmp.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-build/gsnmp-0.3.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o walk.lo walk.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c walk.c -fPIC -DPIC -o .libs/walk.o In file included from gsnmp.h:54, from walk.c:24: session.h:203:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 203 | GTimeVal timer; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gnet-2.0/gnet.h:24, from gsnmp.h:27: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ walk.c: In function 'gnet_snmp_walk_new': walk.c:209:21: error: assignment to 'void (*)(GNetSnmp *, void *)' {aka 'void (*)(struct _GNetSnmp *, void *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 209 | walk->cb_error = cb_error; | ^ walk.c:210:21: error: assignment to 'void (*)(GNetSnmp *, GList *, void *)' {aka 'void (*)(struct _GNetSnmp *, struct _GList *, void *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 210 | walk->cb_row = cb_row; | ^ walk.c:211:21: error: assignment to 'void (*)(GNetSnmp *, void *)' {aka 'void (*)(struct _GNetSnmp *, void *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 211 | walk->cb_finish = cb_finish; | ^ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34: walk.c: In function 'cb_finish': /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "g_main_loop_quit" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:40:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gmain.h:73:56: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 73 | #define g_main_quit(loop) g_main_loop_quit(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_quit) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ walk.c:252:15: note: in expansion of macro 'g_main_quit' 252 | if (loop) g_main_quit(loop); | ^~~~~~~~~~~ walk.c: In function 'cb_error': /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "g_main_loop_quit" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:40:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gmain.h:73:56: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 73 | #define g_main_quit(loop) g_main_loop_quit(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_quit) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ walk.c:260:15: note: in expansion of macro 'g_main_quit' 260 | if (loop) g_main_quit(loop); | ^~~~~~~~~~~ walk.c: In function 'gnet_snmp_sync_walk': walk.c:284:38: error: passing argument 3 of 'gnet_snmp_walk_new' from incompatible pointer type [-Wincompatible-pointer-types] 284 | walk = gnet_snmp_walk_new(s, in, cb_error, cb_row, cb_finish, &walklist); | ^~~~~~~~ | | | void (*)(GNetSnmp *, void **) {aka void (*)(struct _GNetSnmp *, void **)} walk.c:185:28: note: expected 'void (*)(void)' but argument is of type 'void (*)(GNetSnmp *, void **)' {aka 'void (*)(struct _GNetSnmp *, void **)'} 185 | void (* cb_error)(), | ~~~~~~~~^~~~~~~~~~~ walk.c:258:1: note: 'cb_error' declared here 258 | cb_error(GNetSnmp *snmp, gpointer *data) | ^~~~~~~~ walk.c:284:48: error: passing argument 4 of 'gnet_snmp_walk_new' from incompatible pointer type [-Wincompatible-pointer-types] 284 | walk = gnet_snmp_walk_new(s, in, cb_error, cb_row, cb_finish, &walklist); | ^~~~~~ | | | void (*)(GNetSnmp *, GList *, void **) {aka void (*)(struct _GNetSnmp *, struct _GList *, void **)} walk.c:186:28: note: expected 'void (*)(void)' but argument is of type 'void (*)(GNetSnmp *, GList *, void **)' {aka 'void (*)(struct _GNetSnmp *, struct _GList *, void **)'} 186 | void (* cb_row)(), | ~~~~~~~~^~~~~~~~~ walk.c:266:1: note: 'cb_row' declared here 266 | cb_row(GNetSnmp *snmp, GList *vbl, gpointer *data) | ^~~~~~ walk.c:284:56: error: passing argument 5 of 'gnet_snmp_walk_new' from incompatible pointer type [-Wincompatible-pointer-types] 284 | walk = gnet_snmp_walk_new(s, in, cb_error, cb_row, cb_finish, &walklist); | ^~~~~~~~~ | | | void (*)(GNetSnmp *, void **) {aka void (*)(struct _GNetSnmp *, void **)} walk.c:187:28: note: expected 'void (*)(void)' but argument is of type 'void (*)(GNetSnmp *, void **)' {aka 'void (*)(struct _GNetSnmp *, void **)'} 187 | void (* cb_finish)(), | ~~~~~~~~^~~~~~~~~~~~ walk.c:250:1: note: 'cb_finish' declared here 250 | cb_finish(GNetSnmp *snmp, gpointer *data) | ^~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "g_main_loop_new" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:40:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gmain.h:52:76: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 52 | #define g_main_new(is_running) g_main_loop_new (NULL, is_running) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ walk.c:291:12: note: in expansion of macro 'g_main_new' 291 | loop = g_main_new(TRUE); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "g_main_loop_is_running" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:40:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gmain.h:95:62: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 95 | #define g_main_is_running(loop) g_main_loop_is_running(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_is_running) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ walk.c:292:20: note: in expansion of macro 'g_main_is_running' 292 | while (loop && g_main_is_running(loop)) { | ^~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "g_main_loop_run" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:40:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gmain.h:62:63: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 62 | #define g_main_run(loop) g_main_loop_run(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_run) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ walk.c:293:9: note: in expansion of macro 'g_main_run' 293 | g_main_run(loop); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "g_main_loop_unref" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:40:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gmain.h:83:57: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 83 | #define g_main_destroy(loop) g_main_loop_unref(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_unref) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ walk.c:295:5: note: in expansion of macro 'g_main_destroy' 295 | g_main_destroy(loop); | ^~~~~~~~~~~~~~ make[2]: *** [Makefile:481: walk.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-build/gsnmp-0.3.0/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-build/gsnmp-0.3.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o table.lo table.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c table.c -fPIC -DPIC -o .libs/table.o In file included from gsnmp.h:54, from table.c:24: session.h:203:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 203 | GTimeVal timer; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gnet-2.0/gnet.h:24, from gsnmp.h:27: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34: table.c: In function 'g_snmp_table_done_callback': /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "memmove" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:278:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gutils.h:315:64: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.c:109:17: note: in expansion of macro 'g_memmove' 109 | g_memmove(index, cobj->oid + obj->oid_len, | ^~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "memmove" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:278:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gutils.h:315:64: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.c:118:25: note: in expansion of macro 'g_memmove' 118 | g_memmove(index, cobj->oid + obj->oid_len, | ^~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "memmove" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:278:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gutils.h:315:64: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.c:161:13: note: in expansion of macro 'g_memmove' 161 | g_memmove(oid, obj->oid, obj->oid_len * sizeof(guint32)); | ^~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "memmove" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:278:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gutils.h:315:64: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.c:162:13: note: in expansion of macro 'g_memmove' 162 | g_memmove(oid + obj->oid_len, index, index_len * sizeof(guint32)); | ^~~~~~~~~ table.c: In function 'gnet_snmp_table_new': table.c:230:22: error: assignment to 'void (*)(GNetSnmp *, void *)' {aka 'void (*)(struct _GNetSnmp *, void *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 230 | table->cb_error = cb_error; | ^ table.c:231:22: error: assignment to 'void (*)(GNetSnmp *, GList *, int, void *)' {aka 'void (*)(struct _GNetSnmp *, struct _GList *, int, void *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 231 | table->cb_row = cb_row; | ^ table.c:232:22: error: assignment to 'void (*)(GNetSnmp *, void *)' {aka 'void (*)(struct _GNetSnmp *, void *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 232 | table->cb_finish = cb_finish; | ^ table.c: In function 'cb_finish': /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "g_main_loop_quit" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:40:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gmain.h:73:56: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 73 | #define g_main_quit(loop) g_main_loop_quit(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_quit) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.c:269:15: note: in expansion of macro 'g_main_quit' 269 | if (loop) g_main_quit(loop); | ^~~~~~~~~~~ table.c: In function 'cb_error': /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "g_main_loop_quit" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:40:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gmain.h:73:56: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 73 | #define g_main_quit(loop) g_main_loop_quit(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_quit) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.c:275:15: note: in expansion of macro 'g_main_quit' 275 | if (loop) g_main_quit(loop); | ^~~~~~~~~~~ table.c: In function 'gnet_snmp_sync_table': table.c:293:40: error: passing argument 3 of 'gnet_snmp_table_new' from incompatible pointer type [-Wincompatible-pointer-types] 293 | table = gnet_snmp_table_new(s, in, cb_error, cb_row, cb_finish, &tablelist); | ^~~~~~~~ | | | void (*)(GNetSnmp *, void **) {aka void (*)(struct _GNetSnmp *, void **)} table.c:206:29: note: expected 'void (*)(void)' but argument is of type 'void (*)(GNetSnmp *, void **)' {aka 'void (*)(struct _GNetSnmp *, void **)'} 206 | void (* cb_error)(), | ~~~~~~~~^~~~~~~~~~~ table.c:273:1: note: 'cb_error' declared here 273 | cb_error(GNetSnmp *snmp, gpointer *data) | ^~~~~~~~ table.c:293:50: error: passing argument 4 of 'gnet_snmp_table_new' from incompatible pointer type [-Wincompatible-pointer-types] 293 | table = gnet_snmp_table_new(s, in, cb_error, cb_row, cb_finish, &tablelist); | ^~~~~~ | | | void (*)(GNetSnmp *, GList *, int, void **) {aka void (*)(struct _GNetSnmp *, struct _GList *, int, void **)} table.c:207:29: note: expected 'void (*)(void)' but argument is of type 'void (*)(GNetSnmp *, GList *, int, void **)' {aka 'void (*)(struct _GNetSnmp *, struct _GList *, int, void **)'} 207 | void (* cb_row)(), | ~~~~~~~~^~~~~~~~~ table.c:279:1: note: 'cb_row' declared here 279 | cb_row(GNetSnmp *snmp, GList *rowlist, int index_len, gpointer *data) | ^~~~~~ table.c:293:58: error: passing argument 5 of 'gnet_snmp_table_new' from incompatible pointer type [-Wincompatible-pointer-types] 293 | table = gnet_snmp_table_new(s, in, cb_error, cb_row, cb_finish, &tablelist); | ^~~~~~~~~ | | | void (*)(GNetSnmp *, void **) {aka void (*)(struct _GNetSnmp *, void **)} table.c:208:29: note: expected 'void (*)(void)' but argument is of type 'void (*)(GNetSnmp *, void **)' {aka 'void (*)(struct _GNetSnmp *, void **)'} 208 | void (* cb_finish)(), | ~~~~~~~~^~~~~~~~~~~~ table.c:267:1: note: 'cb_finish' declared here 267 | cb_finish(GNetSnmp *snmp, gpointer *data) | ^~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "g_main_loop_new" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:40:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gmain.h:52:76: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 52 | #define g_main_new(is_running) g_main_loop_new (NULL, is_running) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.c:297:12: note: in expansion of macro 'g_main_new' 297 | loop = g_main_new(TRUE); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "g_main_loop_is_running" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:40:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gmain.h:95:62: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 95 | #define g_main_is_running(loop) g_main_loop_is_running(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_is_running) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.c:298:20: note: in expansion of macro 'g_main_is_running' 298 | while (loop && g_main_is_running(loop)) { | ^~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "g_main_loop_run" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:40:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gmain.h:62:63: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 62 | #define g_main_run(loop) g_main_loop_run(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_run) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.c:299:9: note: in expansion of macro 'g_main_run' 299 | g_main_run(loop); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "g_main_loop_unref" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:40:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gmain.h:83:57: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 83 | #define g_main_destroy(loop) g_main_loop_unref(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_unref) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.c:301:5: note: in expansion of macro 'g_main_destroy' 301 | g_main_destroy(loop); | ^~~~~~~~~~~~~~ make[2]: *** [Makefile:481: table.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-build/gsnmp-0.3.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-build/gsnmp-0.3.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o dispatch.lo dispatch.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c dispatch.c -fPIC -DPIC -o .libs/dispatch.o In file included from gsnmp.h:54, from dispatch.c:24: session.h:203:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 203 | GTimeVal timer; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gnet-2.0/gnet.h:24, from gsnmp.h:27: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c dispatch.c -o dispatch.o >/dev/null 2>&1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-build/gsnmp-0.3.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-build/gsnmp-0.3.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o message.lo message.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c message.c -fPIC -DPIC -o .libs/message.o In file included from gsnmp.h:54, from message.c:22: session.h:203:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 203 | GTimeVal timer; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gnet-2.0/gnet.h:24, from gsnmp.h:27: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c message.c -o message.o >/dev/null 2>&1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-build/gsnmp-0.3.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-build/gsnmp-0.3.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o security.lo security.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c security.c -fPIC -DPIC -o .libs/security.o In file included from gsnmp.h:54, from security.c:24: session.h:203:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 203 | GTimeVal timer; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gnet-2.0/gnet.h:24, from gsnmp.h:27: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34: security.c: In function 'gnet_snmp_password_to_key_md5': /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "memmove" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:278:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gutils.h:315:64: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ security.c:181:5: note: in expansion of macro 'g_memmove' 181 | g_memmove(key, gnet_md5_get_digest(gmd5), GNET_MD5_HASH_LENGTH); | ^~~~~~~~~ security.c: In function 'gnet_snmp_localize_key_md5': /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "memmove" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:278:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gutils.h:315:64: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ security.c:204:5: note: in expansion of macro 'g_memmove' 204 | g_memmove(password_buf, key, 16); | ^~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "memmove" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:278:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gutils.h:315:64: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ security.c:205:5: note: in expansion of macro 'g_memmove' 205 | g_memmove(password_buf+16, engineID, engineID_len); | ^~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "memmove" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:278:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gutils.h:315:64: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ security.c:206:5: note: in expansion of macro 'g_memmove' 206 | g_memmove(password_buf+16+engineID_len, key, 16); | ^~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "memmove" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:278:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gutils.h:315:64: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ security.c:209:5: note: in expansion of macro 'g_memmove' 209 | g_memmove(key, gnet_md5_get_digest(gmd5), GNET_MD5_HASH_LENGTH); | ^~~~~~~~~ security.c: In function 'gnet_snmp_password_to_key_sha': /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "memmove" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:278:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gutils.h:315:64: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ security.c:255:5: note: in expansion of macro 'g_memmove' 255 | g_memmove(key, gnet_sha_get_digest(gsha), GNET_SHA_HASH_LENGTH); | ^~~~~~~~~ security.c: In function 'gnet_snmp_localize_key_sha': /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "memmove" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:278:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gutils.h:315:64: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ security.c:278:5: note: in expansion of macro 'g_memmove' 278 | g_memmove(password_buf, key, 20); | ^~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "memmove" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:278:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gutils.h:315:64: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ security.c:279:5: note: in expansion of macro 'g_memmove' 279 | g_memmove(password_buf+20, engineID, engineID_len); | ^~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "memmove" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:278:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gutils.h:315:64: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ security.c:280:5: note: in expansion of macro 'g_memmove' 280 | g_memmove(password_buf+20+engineID_len, key, 20); | ^~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "memmove" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:278:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gutils.h:315:64: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ security.c:283:5: note: in expansion of macro 'g_memmove' 283 | g_memmove(key, gnet_sha_get_digest(gsha), GNET_SHA_HASH_LENGTH); | ^~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c security.c -o security.o >/dev/null 2>&1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-build/gsnmp-0.3.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-build/gsnmp-0.3.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o transport.lo transport.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c transport.c -fPIC -DPIC -o .libs/transport.o In file included from gsnmp.h:54, from dispatch.h:26, from transport.c:34: session.h:203:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 203 | GTimeVal timer; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gnet-2.0/gnet.h:24, from transport.c:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ transport.c: In function 'tcp_ipv4_receive_message': transport.c:217:5: warning: 'g_io_channel_read' is deprecated: Use 'g_io_channel_read_chars' instead [-Wdeprecated-declarations] 217 | if (g_io_channel_read(channel, (gchar *) buffer, sizeof(buffer), &len)) { | ^~ In file included from /usr/include/glib-2.0/glib.h:56: /usr/include/glib-2.0/glib/giochannel.h:169:13: note: declared here 169 | GIOError g_io_channel_read (GIOChannel *channel, | ^~~~~~~~~~~~~~~~~ transport.c: In function 'unix_receive_message': transport.c:543:5: warning: 'g_io_channel_read' is deprecated: Use 'g_io_channel_read_chars' instead [-Wdeprecated-declarations] 543 | if (g_io_channel_read(channel, (gchar *) buffer, sizeof(buffer), &len)) { | ^~ /usr/include/glib-2.0/glib/giochannel.h:169:13: note: declared here 169 | GIOError g_io_channel_read (GIOChannel *channel, | ^~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c transport.c -o transport.o >/dev/null 2>&1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-build/gsnmp-0.3.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-build/gsnmp-0.3.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o utils.lo utils.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c utils.c -fPIC -DPIC -o .libs/utils.o In file included from gsnmp.h:54, from utils.c:25: session.h:203:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 203 | GTimeVal timer; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gnet-2.0/gnet.h:24, from gsnmp.h:27: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c utils.c -o utils.o >/dev/null 2>&1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-build/gsnmp-0.3.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-build/gsnmp-0.3.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o session.lo session.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c session.c -fPIC -DPIC -o .libs/session.o In file included from gsnmp.h:54, from session.c:24: session.h:203:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 203 | GTimeVal timer; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gnet-2.0/gnet.h:24, from gsnmp.h:27: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ session.c: In function 'g_async_send': session.c:545:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 545 | GTimeVal now; | ^~~~~~~~ /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ session.c:552:5: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] 552 | g_get_current_time(&now); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/giochannel.h:35, from /usr/include/glib-2.0/glib.h:56: /usr/include/glib-2.0/glib/gmain.h:825:8: note: declared here 825 | void g_get_current_time (GTimeVal *result); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34: session.c: In function 'cb_time': /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "g_main_loop_quit" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:40:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gmain.h:73:56: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 73 | #define g_main_quit(loop) g_main_loop_quit(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_quit) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ session.c:656:5: note: in expansion of macro 'g_main_quit' 656 | g_main_quit(sm->loop); | ^~~~~~~~~~~ session.c: In function 'cb_done': /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "g_main_loop_quit" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:40:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gmain.h:73:56: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 73 | #define g_main_quit(loop) g_main_loop_quit(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_quit) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ session.c:668:5: note: in expansion of macro 'g_main_quit' 668 | g_main_quit(sm->loop); | ^~~~~~~~~~~ session.c: In function 'g_sync_send': /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "g_main_loop_new" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:40:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gmain.h:52:76: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 52 | #define g_main_new(is_running) g_main_loop_new (NULL, is_running) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ session.c:680:19: note: in expansion of macro 'g_main_new' 680 | magic->loop = g_main_new(TRUE); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "g_main_loop_unref" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:40:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gmain.h:83:57: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 83 | #define g_main_destroy(loop) g_main_loop_unref(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_unref) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ session.c:689:9: note: in expansion of macro 'g_main_destroy' 689 | g_main_destroy(magic->loop); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "g_main_loop_is_running" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:40:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gmain.h:95:62: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 95 | #define g_main_is_running(loop) g_main_loop_is_running(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_is_running) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ session.c:694:11: note: in expansion of macro 'g_main_is_running' 694 | while(g_main_is_running(magic->loop)) { | ^~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "g_main_loop_run" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:40:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gmain.h:62:63: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 62 | #define g_main_run(loop) g_main_loop_run(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_run) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ session.c:695:9: note: in expansion of macro 'g_main_run' 695 | g_main_run(magic->loop); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "g_main_loop_unref" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:40:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gmain.h:83:57: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 83 | #define g_main_destroy(loop) g_main_loop_unref(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_unref) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ session.c:697:5: note: in expansion of macro 'g_main_destroy' 697 | g_main_destroy(magic->loop); | ^~~~~~~~~~~~~~ session.c: In function 'g_snmp_timeout_cb': session.c:830:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 830 | GTimeVal now; | ^~~~~~~~ /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ session.c:834:5: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] 834 | g_get_current_time(&now); | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmain.h:825:8: note: declared here 825 | void g_get_current_time (GTimeVal *result); | ^~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c session.c -o session.o >/dev/null 2>&1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-build/gsnmp-0.3.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-build/gsnmp-0.3.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o pdu.lo pdu.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c pdu.c -fPIC -DPIC -o .libs/pdu.o In file included from gsnmp.h:54, from pdu.c:26: session.h:203:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 203 | GTimeVal timer; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gnet-2.0/gnet.h:24, from gsnmp.h:27: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ pdu.c: In function 'varbind_new': pdu.c:134:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 134 | : (guint32 *) g_memdup(oid, oid_len * sizeof(guint32)); | ^ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56: /usr/include/glib-2.0/glib/gstrfuncs.h:338:23: note: declared here 338 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ pdu.c:165:13: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 165 | : (guchar *) g_memdup(value, vb->value_len); | ^ /usr/include/glib-2.0/glib/gstrfuncs.h:338:23: note: declared here 338 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ pdu.c:170:13: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 170 | : (guint32 *) g_memdup(value, vb->value_len * sizeof(guint32)); | ^ /usr/include/glib-2.0/glib/gstrfuncs.h:338:23: note: declared here 338 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34: pdu.c: In function 'gnet_snmp_ber_dec_trap_pdu': /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "memmove" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:278:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 278 | #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gutils.h:315:64: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_40_FOR' 315 | G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdu.c:1034:9: note: in expansion of macro 'g_memmove' 1034 | g_memmove(base, enterprise, enterprise_len * sizeof(guint32)); | ^~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c pdu.c -o pdu.o >/dev/null 2>&1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-build/gsnmp-0.3.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-build/gsnmp-0.3.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o ber.lo ber.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ber.c -fPIC -DPIC -o .libs/ber.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gnet-2.0 -I/usr/lib64/gnet-2.0/include/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ber.c -o ber.o >/dev/null 2>&1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-build/gsnmp-0.3.0/src' make[1]: *** [Makefile:502: all-recursive] Error 1 make: *** [Makefile:386: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ZHM4ka (%build) RPM build warnings: line 44: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64gsnmp0-devel RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ZHM4ka (%build) I: [iurt_root_command] ERROR: chroot