D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/arpwatch-2.1a15-19.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.LYmDK1 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf arpwatch-2.1a15 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/arpwatch-2.1a15.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd arpwatch-2.1a15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (arpwatch-Makefile-fixes.patch):' Patch #0 (arpwatch-Makefile-fixes.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.in + echo 'Patch #1 (arpwatch-2.1a11-noip.diff):' Patch #1 (arpwatch-2.1a11-noip.diff): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file arpwatch.8 patching file arpwatch.c + echo 'Patch #2 (arpwatch-2.1a13-drop_root.diff):' Patch #2 (arpwatch-2.1a13-drop_root.diff): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .droproot --fuzz=0 patching file arpwatch.c + echo 'Patch #3 (arpwatch-drop-man.patch):' Patch #3 (arpwatch-drop-man.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .droprootman --fuzz=0 patching file arpwatch.8 Hunk #2 succeeded at 101 (offset 4 lines). + echo 'Patch #4 (arpwatch-2.1a13-mail_user.diff):' Patch #4 (arpwatch-2.1a13-mail_user.diff): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .mailuser --fuzz=0 patching file addresses.h.in patching file arpwatch.8 patching file arpwatch.c patching file report.c + echo 'Patch #5 (arpwatch-2.1a15-LDFLAGS.diff):' Patch #5 (arpwatch-2.1a15-LDFLAGS.diff): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file Makefile.in + cp /home/iurt/rpmbuild/SOURCES/arpwatch.init arpwatch.init + cp /home/iurt/rpmbuild/SOURCES/arpwatch.sysconfig arpwatch.sysconfig + cp -af /usr/lib/rpm/config.guess /usr/lib/rpm/config.sub . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.9MEzw2 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd arpwatch-2.1a15 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: You should add the contents of the following files to 'aclocal.m4': libtoolize: '/usr/share/aclocal/libtool.m4' libtoolize: '/usr/share/aclocal/ltoptions.m4' libtoolize: '/usr/share/aclocal/ltsugar.m4' libtoolize: '/usr/share/aclocal/ltversion.m4' libtoolize: '/usr/share/aclocal/lt~obsolete.m4' libtoolize: Remember to add 'LT_INIT' to configure.in. libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /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 build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu checking for x86_64-mageia-linux-gnu-gcc... x86_64-mageia-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-mageia-linux-gnu-gcc accepts -g... yes checking for x86_64-mageia-linux-gnu-gcc option to accept ANSI C... none needed checking how to run the C preprocessor... x86_64-mageia-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for memory.h... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for bcopy... yes checking for strerror... yes checking whether byte ordering is bigendian... no checking return type of signal handlers... void checking for sigset... yes checking if union wait is used... no checking for res_query in -lresolv... no checking for gethostbyname... yes checking for socket... yes checking for putmsg in -lstr... no checking for local pcap library... not found checking for pcap_open_live in -lpcap... yes checking for sendmail... /usr/lib/sendmail checking for using x86_64-mageia-linux-gnu-gcc... no checking if ether_header uses ether_addr structs... no checking if ether_arp uses ether_addr structs... no checking if ether_arp uses erp_xsha member... no checking for dn_skipname... no checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile creating empty arp.dat file + /usr/bin/make -O -j8 V=1 VERBOSE=1 ARPDIR=/var/lib/arpwatch SENDMAIL=/usr/sbin/sendmail 'LDFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' x86_64-mageia-linux-gnu-gcc -O -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DDEBUG -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MEMORY_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_BCOPY=1 -DHAVE_STRERROR=1 -DRETSIGTYPE=void -DRETSIGVAL= -DHAVE_SIGSET=1 -Dsignal=sigset -DDECLWAITSTATUS=int -DARPDIR=\"/var/lib/arpwatch\" -DPATH_SENDMAIL=\"/usr/sbin/sendmail\" -I. -Ilinux-include -c ./machdep.c x86_64-mageia-linux-gnu-gcc -O -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DDEBUG -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MEMORY_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_BCOPY=1 -DHAVE_STRERROR=1 -DRETSIGTYPE=void -DRETSIGVAL= -DHAVE_SIGSET=1 -Dsignal=sigset -DDECLWAITSTATUS=int -DARPDIR=\"/var/lib/arpwatch\" -DPATH_SENDMAIL=\"/usr/sbin/sendmail\" -I. -Ilinux-include -c ./intoa.c x86_64-mageia-linux-gnu-gcc -O -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DDEBUG -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MEMORY_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_BCOPY=1 -DHAVE_STRERROR=1 -DRETSIGTYPE=void -DRETSIGVAL= -DHAVE_SIGSET=1 -Dsignal=sigset -DDECLWAITSTATUS=int -DARPDIR=\"/var/lib/arpwatch\" -DPATH_SENDMAIL=\"/usr/sbin/sendmail\" -I. -Ilinux-include -c ./dns.c ./dns.c: In function 'gethname': ./dns.c:148:13: warning: RES_AAONLY is deprecated 148 | _res.options |= RES_AAONLY; | ^~~~~~~~~~~~~~~~ sed -e 's/.*/char version[] = "&";/' ./VERSION > version.c x86_64-mageia-linux-gnu-gcc -O -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DDEBUG -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MEMORY_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_BCOPY=1 -DHAVE_STRERROR=1 -DRETSIGTYPE=void -DRETSIGVAL= -DHAVE_SIGSET=1 -Dsignal=sigset -DDECLWAITSTATUS=int -DARPDIR=\"/var/lib/arpwatch\" -DPATH_SENDMAIL=\"/usr/sbin/sendmail\" -I. -Ilinux-include -c ./setsignal.c x86_64-mageia-linux-gnu-gcc -O -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DDEBUG -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MEMORY_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_BCOPY=1 -DHAVE_STRERROR=1 -DRETSIGTYPE=void -DRETSIGVAL= -DHAVE_SIGSET=1 -Dsignal=sigset -DDECLWAITSTATUS=int -DARPDIR=\"/var/lib/arpwatch\" -DPATH_SENDMAIL=\"/usr/sbin/sendmail\" -I. -Ilinux-include -c ./util.c x86_64-mageia-linux-gnu-gcc -O -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DDEBUG -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MEMORY_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_BCOPY=1 -DHAVE_STRERROR=1 -DRETSIGTYPE=void -DRETSIGVAL= -DHAVE_SIGSET=1 -Dsignal=sigset -DDECLWAITSTATUS=int -DARPDIR=\"/var/lib/arpwatch\" -DPATH_SENDMAIL=\"/usr/sbin/sendmail\" -I. -Ilinux-include -c ./file.c x86_64-mageia-linux-gnu-gcc -O -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DDEBUG -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MEMORY_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_BCOPY=1 -DHAVE_STRERROR=1 -DRETSIGTYPE=void -DRETSIGVAL= -DHAVE_SIGSET=1 -Dsignal=sigset -DDECLWAITSTATUS=int -DARPDIR=\"/var/lib/arpwatch\" -DPATH_SENDMAIL=\"/usr/sbin/sendmail\" -I. -Ilinux-include -c ./version.c x86_64-mageia-linux-gnu-gcc -O -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DDEBUG -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MEMORY_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_BCOPY=1 -DHAVE_STRERROR=1 -DRETSIGTYPE=void -DRETSIGVAL= -DHAVE_SIGSET=1 -Dsignal=sigset -DDECLWAITSTATUS=int -DARPDIR=\"/var/lib/arpwatch\" -DPATH_SENDMAIL=\"/usr/sbin/sendmail\" -I. -Ilinux-include -c ./ec.c x86_64-mageia-linux-gnu-gcc -O -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DDEBUG -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MEMORY_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_BCOPY=1 -DHAVE_STRERROR=1 -DRETSIGTYPE=void -DRETSIGVAL= -DHAVE_SIGSET=1 -Dsignal=sigset -DDECLWAITSTATUS=int -DARPDIR=\"/var/lib/arpwatch\" -DPATH_SENDMAIL=\"/usr/sbin/sendmail\" -I. -Ilinux-include -c ./arpsnmp.c x86_64-mageia-linux-gnu-gcc -O -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DDEBUG -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MEMORY_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_BCOPY=1 -DHAVE_STRERROR=1 -DRETSIGTYPE=void -DRETSIGVAL= -DHAVE_SIGSET=1 -Dsignal=sigset -DDECLWAITSTATUS=int -DARPDIR=\"/var/lib/arpwatch\" -DPATH_SENDMAIL=\"/usr/sbin/sendmail\" -I. -Ilinux-include -c ./report.c ./report.c: In function 'report': ./report.c:262:41: warning: comparison between pointer and integer 262 | } else if (watcher == NULL || *watcher == NULL || *watcher == '-') { | ^~ x86_64-mageia-linux-gnu-gcc -O -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DDEBUG -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MEMORY_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_BCOPY=1 -DHAVE_STRERROR=1 -DRETSIGTYPE=void -DRETSIGVAL= -DHAVE_SIGSET=1 -Dsignal=sigset -DDECLWAITSTATUS=int -DARPDIR=\"/var/lib/arpwatch\" -DPATH_SENDMAIL=\"/usr/sbin/sendmail\" -I. -Ilinux-include -c ./db.c x86_64-mageia-linux-gnu-gcc -O -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DDEBUG -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MEMORY_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_BCOPY=1 -DHAVE_STRERROR=1 -DRETSIGTYPE=void -DRETSIGVAL= -DHAVE_SIGSET=1 -Dsignal=sigset -DDECLWAITSTATUS=int -DARPDIR=\"/var/lib/arpwatch\" -DPATH_SENDMAIL=\"/usr/sbin/sendmail\" -I. -Ilinux-include -o arpsnmp arpsnmp.o db.o dns.o ec.o file.o intoa.o machdep.o util.o report.o setsignal.o version.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags x86_64-mageia-linux-gnu-gcc -O -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DDEBUG -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MEMORY_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_BCOPY=1 -DHAVE_STRERROR=1 -DRETSIGTYPE=void -DRETSIGVAL= -DHAVE_SIGSET=1 -Dsignal=sigset -DDECLWAITSTATUS=int -DARPDIR=\"/var/lib/arpwatch\" -DPATH_SENDMAIL=\"/usr/sbin/sendmail\" -I. -Ilinux-include -c ./arpwatch.c ./arpwatch.c: In function 'dropprivileges': ./arpwatch.c:151:8: warning: implicit declaration of function 'initgroups'; did you mean 'getgroups'? [-Wimplicit-function-declaration] 151 | if ( initgroups(pw->pw_name, pw->pw_gid) != 0 || setgid(pw->pw_gid) != 0 || | ^~~~~~~~~~ | getgroups ./arpwatch.c: In function 'main': ./arpwatch.c:274:7: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 274 | (interface = pcap_lookupdev(errbuf)) == NULL) { | ^ In file included from /usr/include/pcap.h:43, from ./arpwatch.c:67: /usr/include/pcap/pcap.h:328:16: note: declared here 328 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ ./arpwatch.c: In function 'sanity_ether': ./arpwatch.c:494:33: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 494 | syslog(LOG_ERR, "short (want %d)\n", sizeof(*eh) + sizeof(*ea)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld ./arpwatch.c: In function 'sanity_fddi': ./arpwatch.c:646:33: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 646 | syslog(LOG_ERR, "short (want %d)\n", sizeof(*fh) + sizeof(*ea)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld x86_64-mageia-linux-gnu-gcc -O -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DDEBUG -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MEMORY_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_BCOPY=1 -DHAVE_STRERROR=1 -DRETSIGTYPE=void -DRETSIGVAL= -DHAVE_SIGSET=1 -Dsignal=sigset -DDECLWAITSTATUS=int -DARPDIR=\"/var/lib/arpwatch\" -DPATH_SENDMAIL=\"/usr/sbin/sendmail\" -I. -Ilinux-include -o arpwatch arpwatch.o db.o dns.o ec.o file.o intoa.o machdep.o util.o report.o setsignal.o version.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -lpcap + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.g98an2 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64 + cd arpwatch-2.1a15 + '[' 1 -eq 1 ']' + install -d /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/etc/rc.d/init.d + install -d /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/etc/sysconfig + install -d /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/usr/sbin + install -d /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/var/lib/arpwatch + install -d /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/usr/share/man/man8 + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64 'INSTALL=/usr/bin/install -p' install-man /usr/bin/install -p -m 755 arpwatch /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/usr/sbin /usr/bin/install -p -m 755 arpsnmp /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/usr/sbin /usr/bin/install -p -m 644 ./arpwatch.8 /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/usr/share/man/man8 /usr/bin/install -p -m 644 ./arpsnmp.8 /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/usr/share/man/man8 + for n in arp2ethers massagevendor + install -m755 arp2ethers /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/var/lib/arpwatch + for n in arp2ethers massagevendor + install -m755 massagevendor /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/var/lib/arpwatch + for n in *.awk *.dat + install -m644 d.awk /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/var/lib/arpwatch + for n in *.awk *.dat + install -m644 duplicates.awk /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/var/lib/arpwatch + for n in *.awk *.dat + install -m644 e.awk /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/var/lib/arpwatch + for n in *.awk *.dat + install -m644 euppertolower.awk /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/var/lib/arpwatch + for n in *.awk *.dat + install -m644 p.awk /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/var/lib/arpwatch + for n in *.awk *.dat + install -m644 arp.dat /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/var/lib/arpwatch + for n in *.awk *.dat + install -m644 ethercodes.dat /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/var/lib/arpwatch + install -m0755 arpwatch.init /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/etc/rc.d/init.d/arpwatch + install -m0644 arpwatch.sysconfig /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/etc/sysconfig/arpwatch + /usr/lib/rpm/find-debuginfo.sh -j96 --strict-build-id -m -i --build-id-seed 2.1a15-19.mga8 --unique-debug-suffix -2.1a15-19.mga8.x86_64 --unique-debug-src-base arpwatch-2.1a15-19.mga8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/arpwatch-2.1a15 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/usr/sbin/arpsnmp explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/usr/sbin/arpwatch extracting debug info from /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/usr/sbin/arpsnmp extracting debug info from /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/usr/sbin/arpwatch original debug info size: 232kB, size after compression: 216kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 139 blocks + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /var/lib/arpwatch/massagevendor from /bin/sh to #!/usr/bin/sh mangling shebang in /var/lib/arpwatch/arp2ethers from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/rc.d/init.d/arpwatch from /bin/bash to #!/usr/bin/bash Processing files: arpwatch-2.1a15-19.mga8.x86_64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.axJOY1 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd arpwatch-2.1a15 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/usr/share/doc/arpwatch + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/usr/share/doc/arpwatch + cp -pr README /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/usr/share/doc/arpwatch + cp -pr CHANGES /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64/usr/share/doc/arpwatch + RPM_EC=0 ++ jobs -p + exit 0 Provides: arpwatch = 2:2.1a15-19.mga8 arpwatch(x86-64) = 2:2.1a15-19.mga8 config(arpwatch) = 2:2.1a15-19.mga8 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh rpm-helper Requires(post): /bin/sh rpm-helper Requires(preun): /bin/sh rpm-helper Requires(postun): /bin/sh rpm-helper Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libpcap.so.1()(64bit) Processing files: arpwatch-debugsource-2.1a15-19.mga8.x86_64 Provides: arpwatch-debugsource = 2:2.1a15-19.mga8 arpwatch-debugsource(x86-64) = 2:2.1a15-19.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: arpwatch-debuginfo-2.1a15-19.mga8.x86_64 Provides: arpwatch-debuginfo = 2:2.1a15-19.mga8 arpwatch-debuginfo(x86-64) = 2:2.1a15-19.mga8 debuginfo(build-id) = 4731d7d0f3bf986bb45c014e711896babb6f1f7b debuginfo(build-id) = 4a70e3206ab6d83c48e882335b7b5e97b66839ad Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: arpwatch-debugsource(x86-64) = 2:2.1a15-19.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64 Wrote: /home/iurt/rpmbuild/RPMS/x86_64/arpwatch-debugsource-2.1a15-19.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/arpwatch-debuginfo-2.1a15-19.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/arpwatch-2.1a15-19.mga8.x86_64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.pNeEh2 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd arpwatch-2.1a15 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/arpwatch-2.1a15-19.mga8.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.pFD5K5 + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf arpwatch-2.1a15 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!