D: [iurt_root_command] chroot warning: line 43: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64gsnmp0-devel warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/gsnmp-0.3.0-14.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VBsxpy + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/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 + rm -rf /home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0-SPECPARTS + /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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.yCg2r0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + 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.16/am/ltlibrary.am: warning: 'libgsnmp.la': linking libtool libraries using a non-POSIX /usr/share/automake-1.16/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=2 -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=2 -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=2 -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=2 -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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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' + 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 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 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 x86_64-mageia-linux-gnu-file... no 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-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 for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib 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... yes checking for GLIB - version >= 2.0.0... yes (version 2.80.0) 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/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=2 -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=2 -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:33: 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:216:5: warning: 'g_io_channel_read' is deprecated: Use 'g_io_channel_read_chars' instead [-Wdeprecated-declarations] 216 | 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:542:5: warning: 'g_io_channel_read' is deprecated: Use 'g_io_channel_read_chars' instead [-Wdeprecated-declarations] 542 | 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, | ^~~~~~~~~~~~~~~~~ transport.c: In function 'unix_send_message': transport.c:573:13: error: implicit declaration of function 'g_access'; did you mean 'access'? [-Wimplicit-function-declaration] 573 | if (g_access(taddress->path, R_OK | W_OK) != 0) { | ^~~~~~~~ | access make[2]: *** [Makefile:480: transport.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/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=2 -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=2 -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=2 -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/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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=2 -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=2 -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=2 -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/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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=2 -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=2 -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 | ^~~~~~~~~ security.c: In function 'gnet_snmp_password_to_key_md5': security.c:181:13: warning: Deprecated pre-processor symbol: replace with "memmove" 181 | g_memmove(key, gnet_md5_get_digest(gmd5), GNET_MD5_HASH_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ security.c: In function 'gnet_snmp_localize_key_md5': security.c:204:13: warning: Deprecated pre-processor symbol: replace with "memmove" 204 | g_memmove(password_buf, key, 16); | ^~~~~~~~~~~~~~~~~~~~~~~~~ security.c:205:13: warning: Deprecated pre-processor symbol: replace with "memmove" 205 | g_memmove(password_buf+16, engineID, engineID_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ security.c:206:13: warning: Deprecated pre-processor symbol: replace with "memmove" 206 | g_memmove(password_buf+16+engineID_len, key, 16); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ security.c:209:13: warning: Deprecated pre-processor symbol: replace with "memmove" 209 | g_memmove(key, gnet_md5_get_digest(gmd5), GNET_MD5_HASH_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ security.c: In function 'gnet_snmp_password_to_key_sha': security.c:255:13: warning: Deprecated pre-processor symbol: replace with "memmove" 255 | g_memmove(key, gnet_sha_get_digest(gsha), GNET_SHA_HASH_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ security.c: In function 'gnet_snmp_localize_key_sha': security.c:278:13: warning: Deprecated pre-processor symbol: replace with "memmove" 278 | g_memmove(password_buf, key, 20); | ^~~~~~~~~~~~~~~~~~~~~~~~~ security.c:279:13: warning: Deprecated pre-processor symbol: replace with "memmove" 279 | g_memmove(password_buf+20, engineID, engineID_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ security.c:280:13: warning: Deprecated pre-processor symbol: replace with "memmove" 280 | g_memmove(password_buf+20+engineID_len, key, 20); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ security.c:283:13: warning: Deprecated pre-processor symbol: replace with "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=2 -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/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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=2 -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=2 -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 'cb_finish': walk.c:252:13: warning: Deprecated pre-processor symbol: replace with "g_main_loop_quit" 252 | if (loop) g_main_quit(loop); | ^~~~~~~~~~~~~~~~~~~~ walk.c: In function 'cb_error': walk.c:260:13: warning: Deprecated pre-processor symbol: replace with "g_main_loop_quit" 260 | if (loop) g_main_quit(loop); | ^~~~~~~~~~~~~~~~~~~~ walk.c: In function 'gnet_snmp_sync_walk': walk.c:291:13: warning: Deprecated pre-processor symbol: replace with "g_main_loop_new" 291 | loop = g_main_new(TRUE); | ^~~~~~~~~~~~~~~~ walk.c:292:13: warning: Deprecated pre-processor symbol: replace with "g_main_loop_is_running" 292 | while (loop && g_main_is_running(loop)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ walk.c:293:20: warning: Deprecated pre-processor symbol: replace with "g_main_loop_run" 293 | g_main_run(loop); | ^~~~~~ walk.c:295:13: warning: Deprecated pre-processor symbol: replace with "g_main_loop_unref" 295 | g_main_destroy(loop); | ^~~~~~~~~~~~~ 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c walk.c -o walk.o >/dev/null 2>&1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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=2 -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=2 -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 | ^~~~~~~~~ table.c: In function 'g_snmp_table_done_callback': table.c:110:34: warning: Deprecated pre-processor symbol: replace with "memmove" 110 | index_len * sizeof (guint32)); | ^~~~~~~~~~~~~~~~~~~~~~~ table.c:119:41: warning: Deprecated pre-processor symbol: replace with "memmove" 119 | index_len * sizeof (guint32)); | ^~~~~~~~~~~~~~~~~~~~~~~~ table.c:161:20: warning: Deprecated pre-processor symbol: replace with "memmove" 161 | g_memmove(oid, obj->oid, obj->oid_len * sizeof(guint32)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.c:162:20: warning: Deprecated pre-processor symbol: replace with "memmove" 162 | g_memmove(oid + obj->oid_len, index, index_len * sizeof(guint32)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.c: In function 'cb_finish': table.c:269:13: warning: Deprecated pre-processor symbol: replace with "g_main_loop_quit" 269 | if (loop) g_main_quit(loop); | ^~~~~~~~~~~~~~~~~~~~ table.c: In function 'cb_error': table.c:275:13: warning: Deprecated pre-processor symbol: replace with "g_main_loop_quit" 275 | if (loop) g_main_quit(loop); | ^~~~~~~~~~~~~~~~~~~~ table.c: In function 'gnet_snmp_sync_table': table.c:297:13: warning: Deprecated pre-processor symbol: replace with "g_main_loop_new" 297 | loop = g_main_new(TRUE); | ^~~~~~~~~~~~~~~~ table.c:298:13: warning: Deprecated pre-processor symbol: replace with "g_main_loop_is_running" 298 | while (loop && g_main_is_running(loop)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table.c:299:20: warning: Deprecated pre-processor symbol: replace with "g_main_loop_run" 299 | g_main_run(loop); | ^~~~~~ table.c:301:13: warning: Deprecated pre-processor symbol: replace with "g_main_loop_unref" 301 | g_main_destroy(loop); | ^~~~~~~~~~~~~ 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=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c table.c -o table.o >/dev/null 2>&1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gsnmp-0.3.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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=2 -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=2 -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=2 -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/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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=2 -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=2 -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:350:23: note: declared here 350 | 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:350:23: note: declared here 350 | 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:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ pdu.c: In function 'gnet_snmp_ber_dec_trap_pdu': pdu.c:1034:20: warning: Deprecated pre-processor symbol: replace with "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=2 -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/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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=2 -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=2 -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:728:8: note: declared here 728 | void g_get_current_time (GTimeVal *result); | ^~~~~~~~~~~~~~~~~~ session.c: In function 'cb_time': session.c:656:13: warning: Deprecated pre-processor symbol: replace with "g_main_loop_quit" 656 | g_main_quit(sm->loop); | ^~~~~~~~~~~~~~ session.c: In function 'cb_done': session.c:668:13: warning: Deprecated pre-processor symbol: replace with "g_main_loop_quit" 668 | g_main_quit(sm->loop); | ^~~~~~~~~~~~~~ session.c: In function 'g_sync_send': session.c:680:13: warning: Deprecated pre-processor symbol: replace with "g_main_loop_new" 680 | magic->loop = g_main_new(TRUE); | ^~~~~~~~~~~~~~~~~~~~~~~ session.c:689:20: warning: Deprecated pre-processor symbol: replace with "g_main_loop_unref" 689 | g_main_destroy(magic->loop); | ^~~~~~~~~~~~~~~~~ session.c:694:13: warning: Deprecated pre-processor symbol: replace with "g_main_loop_is_running" 694 | while(g_main_is_running(magic->loop)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ session.c:695:20: warning: Deprecated pre-processor symbol: replace with "g_main_loop_run" 695 | g_main_run(magic->loop); | ^~~~~~~~~~~~~ session.c:697:13: warning: Deprecated pre-processor symbol: replace with "g_main_loop_unref" 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:728:8: note: declared here 728 | 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=2 -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/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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=2 -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=2 -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=2 -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/src' make[1]: *** [Makefile:497: all-recursive] Error 1 make: *** [Makefile:381: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.yCg2r0 (%build) RPM build warnings: line 43: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64gsnmp0-devel %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.yCg2r0 (%build) I: [iurt_root_command] ERROR: chroot