D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/netdiscover-0.10-1.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.93xnmd
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.lrXynx
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/netdiscover-0.10-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/netdiscover-0.10-build
+ rm -rf netdiscover-0.10
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/netdiscover-0.10.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd netdiscover-0.10
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JgIESH
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/netdiscover-0.10-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 netdiscover-0.10
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
++ date +%Y%m%d
+ cp -p /usr/share/hwdata/oui.txt ./oui.txt-20250423
+ LC_ALL=C
+ sh update-oui-database.sh --no-download


Building the src/oui.h.
egrep: warning: egrep is obsolescent; using grep -E
Done. src/oui.h has 36865 MAC addresses.
+ NOCONFIGURE=1
+ ./autogen.sh
configure.ac:4: installing 'build-aux/compile'
configure.ac:3: installing 'build-aux/install-sh'
configure.ac:3: installing 'build-aux/missing'
Makefile.am: installing './INSTALL'
src/Makefile.am: installing 'build-aux/depcomp'
+ 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
+ /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
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-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 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 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 pcap.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands

Run ./update-oui-database.sh if you want a updated MAC vendors database.

+ /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/netdiscover-0.10-build/netdiscover-0.10/src'
gcc -DHAVE_CONFIG_H -I. -I..    -fcommon -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 netdiscover-fhandle.o `test -f 'fhandle.c' || echo './'`fhandle.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/netdiscover-0.10-build/netdiscover-0.10/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/netdiscover-0.10-build/netdiscover-0.10/src'
gcc -DHAVE_CONFIG_H -I. -I..    -fcommon -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 netdiscover-main.o `test -f 'main.c' || echo './'`main.c
main.c: In function 'main':
main.c:219:13: error: too many arguments to function 'usage'; expected 0, have 1
  219 |             usage(argv[0]);
      |             ^~~~~ ~~~~~~~
main.c:56:6: note: declared here
   56 | void usage();
      |      ^~~~~
main.c:227:7: error: too many arguments to function 'usage'; expected 0, have 1
  227 |       usage(argv[0]);
      |       ^~~~~ ~~~~~~~
main.c:56:6: note: declared here
   56 | void usage();
      |      ^~~~~
main.c: At top level:
main.c:547:6: error: conflicting types for 'usage'; have 'void(char *)'
  547 | void usage(char *comando)
      |      ^~~~~
main.c:56:6: note: previous declaration of 'usage' with type 'void(void)'
   56 | void usage();
      |      ^~~~~
make[2]: *** [Makefile:413: netdiscover-main.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/netdiscover-0.10-build/netdiscover-0.10/src'
make[2]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/netdiscover-0.10-build/netdiscover-0.10/src'
gcc -DHAVE_CONFIG_H -I. -I..    -fcommon -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 netdiscover-data_reply.o `test -f 'data_reply.c' || echo './'`data_reply.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/netdiscover-0.10-build/netdiscover-0.10/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/netdiscover-0.10-build/netdiscover-0.10/src'
gcc -DHAVE_CONFIG_H -I. -I..    -fcommon -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 netdiscover-data_request.o `test -f 'data_request.c' || echo './'`data_request.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/netdiscover-0.10-build/netdiscover-0.10/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/netdiscover-0.10-build/netdiscover-0.10/src'
gcc -DHAVE_CONFIG_H -I. -I..    -fcommon -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 netdiscover-ifaces.o `test -f 'ifaces.c' || echo './'`ifaces.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/netdiscover-0.10-build/netdiscover-0.10/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/netdiscover-0.10-build/netdiscover-0.10/src'
gcc -DHAVE_CONFIG_H -I. -I..    -fcommon -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 netdiscover-data_unique.o `test -f 'data_unique.c' || echo './'`data_unique.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/netdiscover-0.10-build/netdiscover-0.10/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/netdiscover-0.10-build/netdiscover-0.10/src'
gcc -DHAVE_CONFIG_H -I. -I..    -fcommon -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 netdiscover-screen.o `test -f 'screen.c' || echo './'`screen.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/netdiscover-0.10-build/netdiscover-0.10/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/netdiscover-0.10-build/netdiscover-0.10/src'
gcc -DHAVE_CONFIG_H -I. -I..    -fcommon -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 netdiscover-misc.o `test -f 'misc.c' || echo './'`misc.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/netdiscover-0.10-build/netdiscover-0.10/src'
make[1]: *** [Makefile:478: all-recursive] Error 1
make: *** [Makefile:355: all] Error 2
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.JgIESH (%build)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.JgIESH (%build)
I: [iurt_root_command] ERROR: chroot