D: [iurt_root_command] chroot warning: Macro expanded in comment on line 17: %{name}-%{version}.tar.gz.sig Installing /home/iurt/rpmbuild/SRPMS/daq-2.0.6-4.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.6tQtIT + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf daq-2.0.6 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/daq-2.0.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd daq-2.0.6 + /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/iurt/rpmbuild/tmp/rpm-tmp.KpVvUV + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd daq-2.0.6 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -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 -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 -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 -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=. + '[' 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.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./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 + /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 . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 Forcing run-time library search path definition in configure to prevent libtool from adding rpath for standard directories (configure was generated with libtool without support for autodetection) + ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-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 --disable-ipfw-module checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for aarch64-mageia-linux-gnu-gcc... aarch64-mageia-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether aarch64-mageia-linux-gnu-gcc accepts -g... yes checking for aarch64-mageia-linux-gnu-gcc option to accept ISO C89... none needed checking whether aarch64-mageia-linux-gnu-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of aarch64-mageia-linux-gnu-gcc... none checking build system type... aarch64-mageia-linux-gnu checking host system type... aarch64-mageia-linux-gnu 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 aarch64-mageia-linux-gnu-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/aarch64-mageia-linux-gnu-nm -p checking the name lister (/usr/bin/aarch64-mageia-linux-gnu-nm -p) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-mageia-linux-gnu file names to aarch64-mageia-linux-gnu format... func_convert_file_noop checking how to convert aarch64-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 aarch64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-mageia-linux-gnu-ar... aarch64-mageia-linux-gnu-ar checking for archiver @FILE support... @ checking for aarch64-mageia-linux-gnu-strip... no checking for strip... strip checking for aarch64-mageia-linux-gnu-ranlib... aarch64-mageia-linux-gnu-ranlib checking command to parse /usr/bin/aarch64-mageia-linux-gnu-nm -p output from aarch64-mageia-linux-gnu-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 aarch64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... aarch64-mageia-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if aarch64-mageia-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for aarch64-mageia-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if aarch64-mageia-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if aarch64-mageia-linux-gnu-gcc static flag -static works... no checking if aarch64-mageia-linux-gnu-gcc supports -c -o file.o... yes checking if aarch64-mageia-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the aarch64-mageia-linux-gnu-gcc linker (/usr/bin/ld) 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 visibility support... yes checking CFLAGS for gcc -Wall... -Wall checking CFLAGS for gcc -Wwrite-strings... -Wwrite-strings checking CFLAGS for gcc -Wsign-compare... -Wsign-compare checking CFLAGS for gcc -Wcast-align... -Wcast-align checking CFLAGS for gcc -Wextra... -Wextra checking CFLAGS for gcc -Wformat... -Wformat checking CFLAGS for gcc -Wformat-security... -Wformat-security checking CFLAGS for gcc -Wno-unused-parameter... -Wno-unused-parameter checking CFLAGS for gcc -fno-strict-aliasing... -fno-strict-aliasing checking CFLAGS for gcc -fdiagnostics-show-option... -fdiagnostics-show-option checking CFLAGS for gcc -pedantic -std=c99 -D_GNU_SOURCE... -pedantic -std=c99 -D_GNU_SOURCE checking for getaddrinfo... yes checking for flex... flex checking for flex 2.4 or higher... yes checking for bison... bison checking linux/if_ether.h usability... yes checking linux/if_ether.h presence... yes checking for linux/if_ether.h... yes checking linux/if_packet.h usability... yes checking linux/if_packet.h presence... yes checking for linux/if_packet.h... yes checking whether TPACKET2_HDRLEN is declared... yes checking whether PACKET_TX_RING is declared... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for pcap_lib_version in -lpcap... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking libipq.h usability... no checking libipq.h presence... no checking for libipq.h... no checking for linux/netfilter.h... yes checking for netinet/in.h... (cached) yes checking libnetfilter_queue/libnetfilter_queue.h usability... yes checking libnetfilter_queue/libnetfilter_queue.h presence... yes checking for libnetfilter_queue/libnetfilter_queue.h... yes checking for linux/netfilter.h... (cached) yes checking for pcap.h... (cached) yes checking for pcap_lib_version... checking for pcap_lib_version in -lpcap... (cached) yes checking for libpcap version >= "1.0.0"... yes checking for net/netmap.h... no checking for net/netmap_user.h... no checking whether NETMAP_API is declared... no checking dnet.h usability... yes checking dnet.h presence... yes checking for dnet.h... yes checking dumbnet.h usability... no checking dumbnet.h presence... no checking for dumbnet.h... no checking for eth_set in -ldnet... yes checking for eth_set in -ldumbnet... no checking for dlopen in -ldl... yes checking for inttypes.h... (cached) yes checking for memory.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking for netinet/in.h... (cached) yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for inline... inline checking for size_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for gethostbyname... yes checking for getpagesize... (cached) yes checking for memset... yes checking for munmap... yes checking for socket... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strrchr... yes checking for strstr... yes checking for strtoul... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating api/Makefile config.status: creating os-daq-modules/Makefile config.status: creating os-daq-modules/daq-modules-config config.status: creating sfbpf/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands Build AFPacket DAQ module.. : yes Build Dump DAQ module...... : yes Build IPFW DAQ module...... : no Build IPQ DAQ module....... : no Build NFQ DAQ module....... : yes Build PCAP DAQ module...... : yes Build netmap DAQ module.... : no + /usr/bin/make -C sfbpf sf_grammar.c make: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' bison -y -p sfbpf_ -d ./grammar.y ./grammar.y:289.13-14: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 289 | %type ID | ^~ ./grammar.y:290.13-15: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 290 | %type EID | ^~~ ./grammar.y:291.13-15: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 291 | %type AID | ^~~ ./grammar.y:292.13-15: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 292 | %type HID HID6 | ^~~ ./grammar.y:292.17-20: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 292 | %type HID HID6 | ^~~~ ./grammar.y:293.13-15: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 293 | %type NUM action reason type subtype type_subtype dir | ^~~ mv y.tab.c sf_grammar.c mv y.tab.h tokdefs.h make: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in api make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/api' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DSTATIC_MODULE_LIST -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libdaq_static_la-daq_mod_ops.lo `test -f 'daq_mod_ops.c' || echo './'`daq_mod_ops.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DSTATIC_MODULE_LIST -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_mod_ops.c -fPIC -DPIC -o .libs/libdaq_static_la-daq_mod_ops.o libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DSTATIC_MODULE_LIST -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_mod_ops.c -o libdaq_static_la-daq_mod_ops.o >/dev/null 2>&1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/api' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/api' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o daq_mod_ops.lo daq_mod_ops.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_mod_ops.c -fPIC -DPIC -o .libs/daq_mod_ops.o libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_mod_ops.c -o daq_mod_ops.o >/dev/null 2>&1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/api' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/api' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o daq_base.lo daq_base.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_base.c -fPIC -DPIC -o .libs/daq_base.o daq_base.c: In function 'daq_config_set_value': daq_base.c:535:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 535 | __FUNCTION__, (unsigned long) sizeof(struct _daq_dict_entry)); | ^~~~~~~~~~~~ daq_base.c:542:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 542 | __FUNCTION__, (unsigned long) (strlen(key) + 1)); | ^~~~~~~~~~~~ daq_base.c:555:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 555 | __FUNCTION__, (unsigned long) (strlen(value) + 1)); | ^~~~~~~~~~~~ libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_base.c -o daq_base.o >/dev/null 2>&1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/api' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/api' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DSTATIC_MODULE_LIST -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libdaq_static_la-daq_base.lo `test -f 'daq_base.c' || echo './'`daq_base.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DSTATIC_MODULE_LIST -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_base.c -fPIC -DPIC -o .libs/libdaq_static_la-daq_base.o daq_base.c: In function 'daq_config_set_value': daq_base.c:535:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 535 | __FUNCTION__, (unsigned long) sizeof(struct _daq_dict_entry)); | ^~~~~~~~~~~~ daq_base.c:542:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 542 | __FUNCTION__, (unsigned long) (strlen(key) + 1)); | ^~~~~~~~~~~~ daq_base.c:555:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 555 | __FUNCTION__, (unsigned long) (strlen(value) + 1)); | ^~~~~~~~~~~~ libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DSTATIC_MODULE_LIST -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_base.c -o libdaq_static_la-daq_base.o >/dev/null 2>&1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/api' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/api' /bin/sh ../libtool --tag=CC --mode=link aarch64-mageia-linux-gnu-gcc -DSTATIC_MODULE_LIST -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -static -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libdaq_static.la -rpath /usr/lib64 libdaq_static_la-daq_base.lo libdaq_static_la-daq_mod_ops.lo libtool: link: aarch64-mageia-linux-gnu-ar cru .libs/libdaq_static.a libdaq_static_la-daq_base.o libdaq_static_la-daq_mod_ops.o libtool: link: aarch64-mageia-linux-gnu-ranlib .libs/libdaq_static.a libtool: link: ( cd ".libs" && rm -f "libdaq_static.la" && ln -s "../libdaq_static.la" "libdaq_static.la" ) make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/api' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/api' /bin/sh ../libtool --tag=CC --mode=link aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -version-info 2:4:0 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libdaq.la -rpath /usr/lib64 daq_base.lo daq_mod_ops.lo -ldl libtool: link: aarch64-mageia-linux-gnu-gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/daq_base.o .libs/daq_mod_ops.o -O2 -g -fstack-protector -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -ldl -Wl,-soname -Wl,libdaq.so.2 -o .libs/libdaq.so.2.0.4 libtool: link: (cd ".libs" && rm -f "libdaq.so.2" && ln -s "libdaq.so.2.0.4" "libdaq.so.2") libtool: link: (cd ".libs" && rm -f "libdaq.so" && ln -s "libdaq.so.2.0.4" "libdaq.so") libtool: link: aarch64-mageia-linux-gnu-ar cru .libs/libdaq.a daq_base.o daq_mod_ops.o libtool: link: aarch64-mageia-linux-gnu-ranlib .libs/libdaq.a libtool: link: ( cd ".libs" && rm -f "libdaq.la" && ln -s "../libdaq.la" "libdaq.la" ) make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/api' Making all in sfbpf make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' ./runlex.sh flex -Psfbpf_ -osf_scanner.c ./scanner.l make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libsfbpf_la-sfbpf-int.lo `test -f 'sfbpf-int.c' || echo './'`sfbpf-int.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c sfbpf-int.c -fPIC -DPIC -o .libs/libsfbpf_la-sfbpf-int.o libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c sfbpf-int.c -o libsfbpf_la-sfbpf-int.o >/dev/null 2>&1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libsfbpf_la-sf_bpf_filter.lo `test -f 'sf_bpf_filter.c' || echo './'`sf_bpf_filter.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c sf_bpf_filter.c -fPIC -DPIC -o .libs/libsfbpf_la-sf_bpf_filter.o sf_bpf_filter.c:73:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 73 | #if defined(__hpux) || SOLARIS | ^~~~~~~ sf_bpf_filter.c:73:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] sf_bpf_filter.c:73:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] sf_bpf_filter.c: In function 'sfbpf_filter': sf_bpf_filter.c:301:23: warning: comparison of integer expressions of different signedness: 'int' and 'u_int' {aka 'unsigned int'} [-Wsign-compare] 301 | if (k >= buflen) | ^~ sf_bpf_filter.c:363:23: warning: comparison of integer expressions of different signedness: 'int' and 'u_int' {aka 'unsigned int'} [-Wsign-compare] 363 | if (k >= buflen) | ^~ sf_bpf_filter.c:381:23: warning: comparison of integer expressions of different signedness: 'int' and 'u_int' {aka 'unsigned int'} [-Wsign-compare] 381 | if (k >= buflen) | ^~ sf_bpf_filter.c: In function 'sfbpf_validate': sf_bpf_filter.c:566:19: warning: comparison of integer expressions of different signedness: 'u_int' {aka 'unsigned int'} and 'int' [-Wsign-compare] 566 | for (i = 0; i < len; ++i) | ^ sf_bpf_filter.c:669:41: warning: comparison of integer expressions of different signedness: 'u_int' {aka 'unsigned int'} and 'int' [-Wsign-compare] 669 | if (from + p->k >= len) | ^~ sf_bpf_filter.c:677:42: warning: comparison of integer expressions of different signedness: 'u_int' {aka 'unsigned int'} and 'int' [-Wsign-compare] 677 | if (from + p->jt >= len || from + p->jf >= len) | ^~ sf_bpf_filter.c:677:65: warning: comparison of integer expressions of different signedness: 'u_int' {aka 'unsigned int'} and 'int' [-Wsign-compare] 677 | if (from + p->jt >= len || from + p->jf >= len) | ^~ At top level: sf_bpf_filter.c:45:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 45 | static const char rcsid[] = | ^~~~~ libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c sf_bpf_filter.c -o libsfbpf_la-sf_bpf_filter.o >/dev/null 2>&1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libsfbpf_la-sf_bpf_printer.lo `test -f 'sf_bpf_printer.c' || echo './'`sf_bpf_printer.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c sf_bpf_printer.c -fPIC -DPIC -o .libs/libsfbpf_la-sf_bpf_printer.o libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c sf_bpf_printer.c -o libsfbpf_la-sf_bpf_printer.o >/dev/null 2>&1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libsfbpf_la-sf_nametoaddr.lo `test -f 'sf_nametoaddr.c' || echo './'`sf_nametoaddr.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c sf_nametoaddr.c -fPIC -DPIC -o .libs/libsfbpf_la-sf_nametoaddr.o sf_nametoaddr.c:29:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 29 | static const char rcsid[] = | ^~~~~ libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c sf_nametoaddr.c -o libsfbpf_la-sf_nametoaddr.o >/dev/null 2>&1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libsfbpf_la-sf_grammar.lo `test -f 'sf_grammar.c' || echo './'`sf_grammar.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c sf_grammar.c -fPIC -DPIC -o .libs/libsfbpf_la-sf_grammar.o libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c sf_grammar.c -o libsfbpf_la-sf_grammar.o >/dev/null 2>&1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libsfbpf_la-sf_scanner.lo `test -f 'sf_scanner.c' || echo './'`sf_scanner.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c sf_scanner.c -fPIC -DPIC -o .libs/libsfbpf_la-sf_scanner.o ./scanner.l:85: warning: "yylval" redefined 85 | #define yylval pcap_lval | : note: this is the location of the previous definition sf_scanner.c:4362:16: warning: 'input' defined but not used [-Wunused-function] 4362 | #else | ^ libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c sf_scanner.c -o libsfbpf_la-sf_scanner.o >/dev/null 2>&1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libsfbpf_la-sf_optimize.lo `test -f 'sf_optimize.c' || echo './'`sf_optimize.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c sf_optimize.c -fPIC -DPIC -o .libs/libsfbpf_la-sf_optimize.o sf_optimize.c: In function 'opt_peep': sf_optimize.c:933:20: warning: comparison of integer expressions of different signedness: 'sfbpf_int32' {aka 'int'} and 'unsigned int' [-Wsign-compare] 933 | if (b->s.k == 0xffffffff) | ^~ sf_optimize.c:964:34: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'sfbpf_int32' {aka 'int'} [-Wsign-compare] 964 | v = (unsigned) v > b->s.k; | ^ sf_optimize.c:968:34: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'sfbpf_int32' {aka 'int'} [-Wsign-compare] 968 | v = (unsigned) v >= b->s.k; | ^~ sf_optimize.c: In function 'convert_code_r': sf_optimize.c:2172:23: warning: comparison of integer expressions of different signedness: 'u_int' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2172 | for (off = 0; off < slen && src; off++) | ^ sf_optimize.c:2200:17: warning: comparison of integer expressions of different signedness: 'u_int' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2200 | if (off == slen - 2) /*??? */ | ^~ At top level: sf_optimize.c:26:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 26 | static const char rcsid[] = | ^~~~~ libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c sf_optimize.c -o libsfbpf_la-sf_optimize.o >/dev/null 2>&1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libsfbpf_la-sf_gencode.lo `test -f 'sf_gencode.c' || echo './'`sf_gencode.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c sf_gencode.c -fPIC -DPIC -o .libs/libsfbpf_la-sf_gencode.o In file included from sf_gencode.c:78: sf_gencode.c: In function 'sf_sdup': sfbpf-int.h:44:44: warning: right-hand operand of comma expression has no effect [-Wunused-value] 43 | (strncpy((x), (y), (z)), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 44 | ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 45 | strlen((y))) | ~~~~~~~~~~~~ sf_gencode.c:339:5: note: in expansion of macro 'strlcpy' 339 | strlcpy(cp, s, n); | ^~~~~~~ sf_gencode.c: In function 'sf_gen_scode': sf_gencode.c:6047:34: warning: comparison of integer expressions of different signedness: 'u_int' {aka 'unsigned int'} and 'int' [-Wsign-compare] 6047 | if (off_linktype == -1 && tproto == Q_DEFAULT) | ^~ sf_gencode.c: In function 'sf_gen_mcode6': sf_gencode.c:6407:26: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 6407 | if (sizeof(mask) * 8 < masklen) | ^ sf_gencode.c: In function 'sf_gen_ncode': sf_gencode.c:6374:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 6374 | syntax(); | ^~~~~~~~ sf_gencode.c:6377:9: note: here 6377 | default: | ^~~~~~~ At top level: sf_gencode.c:26:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 26 | static const char rcsid[] = | ^~~~~ libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c sf_gencode.c -o libsfbpf_la-sf_gencode.o >/dev/null 2>&1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' /bin/sh ../libtool --tag=CC --mode=link aarch64-mageia-linux-gnu-gcc -Dyylval=sfbpf_lval -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -version-info 0:1:0 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libsfbpf.la -rpath /usr/lib64 libsfbpf_la-sf_bpf_filter.lo libsfbpf_la-sf_bpf_printer.lo libsfbpf_la-sf_gencode.lo libsfbpf_la-sf_nametoaddr.lo libsfbpf_la-sf_optimize.lo libsfbpf_la-sfbpf-int.lo libsfbpf_la-sf_grammar.lo libsfbpf_la-sf_scanner.lo libtool: link: aarch64-mageia-linux-gnu-gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/libsfbpf_la-sf_bpf_filter.o .libs/libsfbpf_la-sf_bpf_printer.o .libs/libsfbpf_la-sf_gencode.o .libs/libsfbpf_la-sf_nametoaddr.o .libs/libsfbpf_la-sf_optimize.o .libs/libsfbpf_la-sfbpf-int.o .libs/libsfbpf_la-sf_grammar.o .libs/libsfbpf_la-sf_scanner.o -O2 -g -fstack-protector -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,-soname -Wl,libsfbpf.so.0 -o .libs/libsfbpf.so.0.0.1 libtool: link: (cd ".libs" && rm -f "libsfbpf.so.0" && ln -s "libsfbpf.so.0.0.1" "libsfbpf.so.0") libtool: link: (cd ".libs" && rm -f "libsfbpf.so" && ln -s "libsfbpf.so.0.0.1" "libsfbpf.so") libtool: link: aarch64-mageia-linux-gnu-ar cru .libs/libsfbpf.a libsfbpf_la-sf_bpf_filter.o libsfbpf_la-sf_bpf_printer.o libsfbpf_la-sf_gencode.o libsfbpf_la-sf_nametoaddr.o libsfbpf_la-sf_optimize.o libsfbpf_la-sfbpf-int.o libsfbpf_la-sf_grammar.o libsfbpf_la-sf_scanner.o libtool: link: aarch64-mageia-linux-gnu-ranlib .libs/libsfbpf.a libtool: link: ( cd ".libs" && rm -f "libsfbpf.la" && ln -s "../libsfbpf.la" "libsfbpf.la" ) make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' Making all in os-daq-modules make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_NFQ_MODULE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libdaq_static_modules_la-daq_static_modules.lo `test -f 'daq_static_modules.c' || echo './'`daq_static_modules.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_NFQ_MODULE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_static_modules.c -fPIC -DPIC -o .libs/libdaq_static_modules_la-daq_static_modules.o libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_NFQ_MODULE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_static_modules.c -o libdaq_static_modules_la-daq_static_modules.o >/dev/null 2>&1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILDING_SO -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o daq_dump_la-daq_dump.lo `test -f 'daq_dump.c' || echo './'`daq_dump.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILDING_SO -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_dump.c -fPIC -DPIC -o .libs/daq_dump_la-daq_dump.o daq_dump.c: In function 'dump_daq_initialize': daq_dump.c:113:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 113 | __FUNCTION__); | ^~~~~~~~~~~~ daq_dump.c:118:70: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 118 | snprintf(errBuf, errMax, "%s: no file capable daq provided", __FUNCTION__); | ^~~~~~~~~~~~ libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILDING_SO -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_dump.c -o daq_dump_la-daq_dump.o >/dev/null 2>&1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_NFQ_MODULE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libdaq_static_modules_la-daq_dump.lo `test -f 'daq_dump.c' || echo './'`daq_dump.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_NFQ_MODULE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_dump.c -fPIC -DPIC -o .libs/libdaq_static_modules_la-daq_dump.o daq_dump.c: In function 'dump_daq_initialize': daq_dump.c:113:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 113 | __FUNCTION__); | ^~~~~~~~~~~~ daq_dump.c:118:70: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 118 | snprintf(errBuf, errMax, "%s: no file capable daq provided", __FUNCTION__); | ^~~~~~~~~~~~ libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_NFQ_MODULE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_dump.c -o libdaq_static_modules_la-daq_dump.o >/dev/null 2>&1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILDING_SO -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o daq_pcap_la-daq_pcap.lo `test -f 'daq_pcap.c' || echo './'`daq_pcap.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILDING_SO -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_pcap.c -fPIC -DPIC -o .libs/daq_pcap_la-daq_pcap.o daq_pcap.c: In function 'pcap_daq_initialize': daq_pcap.c:207:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 207 | snprintf(errbuf, len, "%s: Couldn't allocate memory for the new PCAP context!", __FUNCTION__); | ^~~~~~~~~~~~ daq_pcap.c:232:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 232 | snprintf(errbuf, len, "%s: Couldn't allocate memory for the filename string!", __FUNCTION__); | ^~~~~~~~~~~~ daq_pcap.c:243:90: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 243 | snprintf(errbuf, len, "%s: Couldn't allocate memory for the device string!", __FUNCTION__); | ^~~~~~~~~~~~ In file included from daq_pcap.c:41: daq_pcap.c: In function 'pcap_daq_set_filter': daq_pcap.c:276:58: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 276 | DPE(context->errbuf, "%s: pcap_compile: %s", __FUNCTION__, pcap_geterr(context->handle)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_pcap.c:283:60: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 283 | DPE(context->errbuf, "%s: pcap_setfilter: %s", __FUNCTION__, pcap_geterr(context->handle)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_pcap.c:295:80: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 295 | DPE(context->errbuf, "%s: Could not allocate a dead PCAP handle!", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_pcap.c:300:58: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 300 | DPE(context->errbuf, "%s: pcap_compile: %s", __FUNCTION__, pcap_geterr(dead_handle)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_pcap.c:312:104: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 312 | DPE(context->errbuf, "%s: Could not allocate space to store a copy of the filter string!", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILDING_SO -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_pcap.c -o daq_pcap_la-daq_pcap.o >/dev/null 2>&1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_NFQ_MODULE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libdaq_static_modules_la-daq_nfq.lo `test -f 'daq_nfq.c' || echo './'`daq_nfq.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_NFQ_MODULE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_nfq.c -fPIC -DPIC -o .libs/libdaq_static_modules_la-daq_nfq.o daq_nfq.c: In function 'nfq_daq_get_setup': daq_nfq.c:130:52: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 130 | "%s: variable needs value (%s)\n", __FUNCTION__, entry->key); | ^~~~~~~~~~~~ daq_nfq.c:140:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 140 | __FUNCTION__, entry->value); | ^~~~~~~~~~~~ daq_nfq.c:150:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 150 | __FUNCTION__, entry->value); | ^~~~~~~~~~~~ daq_nfq.c:163:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 163 | __FUNCTION__, entry->value); | ^~~~~~~~~~~~ daq_nfq.c:175:25: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 175 | __FUNCTION__, entry->value); | ^~~~~~~~~~~~ daq_nfq.c:183:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 183 | __FUNCTION__, entry->key, entry->value); | ^~~~~~~~~~~~ daq_nfq.c: In function 'nfq_daq_initialize': daq_nfq.c:211:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 211 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:224:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 224 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:234:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 234 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:249:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 249 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:271:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 271 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:285:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 285 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:294:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 294 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:304:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 304 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:323:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 323 | __FUNCTION__, impl->device); | ^~~~~~~~~~~~ daq_nfq.c:334:62: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 334 | snprintf(errBuf, errMax, "%s: can't open ip!\n", __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c: In function 'SetPktHdr': daq_nfq.c:394:37: warning: passing argument 2 of 'nfq_get_payload' from incompatible pointer type [-Wincompatible-pointer-types] 394 | int len = nfq_get_payload(nfad, (char**)pkt); | ^~~~~~~~~~~ | | | char ** In file included from daq_nfq.c:40: /usr/include/libnetfilter_queue/libnetfilter_queue.h:123:67: note: expected 'unsigned char **' but argument is of type 'char **' 123 | extern int nfq_get_payload(struct nfq_data *nfad, unsigned char **data); | ~~~~~~~~~~~~~~~~^~~~ In file included from daq_nfq.c:42: daq_nfq.c: In function 'daq_nfq_callback': daq_nfq.c:442:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 442 | __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_nfq.c: In function 'nfq_daq_acquire': daq_nfq.c:520:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 520 | __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_nfq.c:538:25: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 538 | __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_nfq.c: In function 'nfq_daq_inject': daq_nfq.c:566:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 566 | __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_nfq.c: In function 'nfq_daq_set_filter': daq_nfq.c:584:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 584 | __FUNCTION__, filter); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_NFQ_MODULE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_nfq.c -o libdaq_static_modules_la-daq_nfq.o >/dev/null 2>&1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_NFQ_MODULE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libdaq_static_modules_la-daq_pcap.lo `test -f 'daq_pcap.c' || echo './'`daq_pcap.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_NFQ_MODULE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_pcap.c -fPIC -DPIC -o .libs/libdaq_static_modules_la-daq_pcap.o daq_pcap.c: In function 'pcap_daq_initialize': daq_pcap.c:207:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 207 | snprintf(errbuf, len, "%s: Couldn't allocate memory for the new PCAP context!", __FUNCTION__); | ^~~~~~~~~~~~ daq_pcap.c:232:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 232 | snprintf(errbuf, len, "%s: Couldn't allocate memory for the filename string!", __FUNCTION__); | ^~~~~~~~~~~~ daq_pcap.c:243:90: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 243 | snprintf(errbuf, len, "%s: Couldn't allocate memory for the device string!", __FUNCTION__); | ^~~~~~~~~~~~ In file included from daq_pcap.c:41: daq_pcap.c: In function 'pcap_daq_set_filter': daq_pcap.c:276:58: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 276 | DPE(context->errbuf, "%s: pcap_compile: %s", __FUNCTION__, pcap_geterr(context->handle)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_pcap.c:283:60: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 283 | DPE(context->errbuf, "%s: pcap_setfilter: %s", __FUNCTION__, pcap_geterr(context->handle)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_pcap.c:295:80: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 295 | DPE(context->errbuf, "%s: Could not allocate a dead PCAP handle!", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_pcap.c:300:58: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 300 | DPE(context->errbuf, "%s: pcap_compile: %s", __FUNCTION__, pcap_geterr(dead_handle)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_pcap.c:312:104: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 312 | DPE(context->errbuf, "%s: Could not allocate space to store a copy of the filter string!", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_NFQ_MODULE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_pcap.c -o libdaq_static_modules_la-daq_pcap.o >/dev/null 2>&1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' /bin/sh ../libtool --tag=CC --mode=link aarch64-mageia-linux-gnu-gcc -DBUILDING_SO -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -module -export-dynamic -avoid-version -shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o daq_dump.la -rpath /usr/lib64/daq daq_dump_la-daq_dump.lo -lpcap libtool: link: aarch64-mageia-linux-gnu-gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/daq_dump_la-daq_dump.o -O2 -g -fstack-protector -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -lpcap -Wl,-soname -Wl,daq_dump.so -o .libs/daq_dump.so libtool: link: ( cd ".libs" && rm -f "daq_dump.la" && ln -s "../daq_dump.la" "daq_dump.la" ) make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILDING_SO -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o daq_nfq_la-daq_nfq.lo `test -f 'daq_nfq.c' || echo './'`daq_nfq.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILDING_SO -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_nfq.c -fPIC -DPIC -o .libs/daq_nfq_la-daq_nfq.o daq_nfq.c: In function 'nfq_daq_get_setup': daq_nfq.c:130:52: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 130 | "%s: variable needs value (%s)\n", __FUNCTION__, entry->key); | ^~~~~~~~~~~~ daq_nfq.c:140:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 140 | __FUNCTION__, entry->value); | ^~~~~~~~~~~~ daq_nfq.c:150:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 150 | __FUNCTION__, entry->value); | ^~~~~~~~~~~~ daq_nfq.c:163:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 163 | __FUNCTION__, entry->value); | ^~~~~~~~~~~~ daq_nfq.c:175:25: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 175 | __FUNCTION__, entry->value); | ^~~~~~~~~~~~ daq_nfq.c:183:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 183 | __FUNCTION__, entry->key, entry->value); | ^~~~~~~~~~~~ daq_nfq.c: In function 'nfq_daq_initialize': daq_nfq.c:211:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 211 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:224:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 224 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:234:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 234 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:249:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 249 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:271:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 271 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:285:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 285 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:294:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 294 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:304:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 304 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:323:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 323 | __FUNCTION__, impl->device); | ^~~~~~~~~~~~ daq_nfq.c:334:62: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 334 | snprintf(errBuf, errMax, "%s: can't open ip!\n", __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c: In function 'SetPktHdr': daq_nfq.c:394:37: warning: passing argument 2 of 'nfq_get_payload' from incompatible pointer type [-Wincompatible-pointer-types] 394 | int len = nfq_get_payload(nfad, (char**)pkt); | ^~~~~~~~~~~ | | | char ** In file included from daq_nfq.c:40: /usr/include/libnetfilter_queue/libnetfilter_queue.h:123:67: note: expected 'unsigned char **' but argument is of type 'char **' 123 | extern int nfq_get_payload(struct nfq_data *nfad, unsigned char **data); | ~~~~~~~~~~~~~~~~^~~~ In file included from daq_nfq.c:42: daq_nfq.c: In function 'daq_nfq_callback': daq_nfq.c:442:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 442 | __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_nfq.c: In function 'nfq_daq_acquire': daq_nfq.c:520:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 520 | __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_nfq.c:538:25: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 538 | __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_nfq.c: In function 'nfq_daq_inject': daq_nfq.c:566:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 566 | __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_nfq.c: In function 'nfq_daq_set_filter': daq_nfq.c:584:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 584 | __FUNCTION__, filter); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILDING_SO -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_nfq.c -o daq_nfq_la-daq_nfq.o >/dev/null 2>&1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' /bin/sh ../libtool --tag=CC --mode=link aarch64-mageia-linux-gnu-gcc -DBUILDING_SO -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -module -export-dynamic -avoid-version -shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o daq_pcap.la -rpath /usr/lib64/daq daq_pcap_la-daq_pcap.lo -lpcap libtool: link: aarch64-mageia-linux-gnu-gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/daq_pcap_la-daq_pcap.o -O2 -g -fstack-protector -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -lpcap -Wl,-soname -Wl,daq_pcap.so -o .libs/daq_pcap.so libtool: link: ( cd ".libs" && rm -f "daq_pcap.la" && ln -s "../daq_pcap.la" "daq_pcap.la" ) make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILDING_SO -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o daq_afpacket_la-daq_afpacket.lo `test -f 'daq_afpacket.c' || echo './'`daq_afpacket.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILDING_SO -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_afpacket.c -fPIC -DPIC -o .libs/daq_afpacket_la-daq_afpacket.o In file included from daq_afpacket.c:42: daq_afpacket.c: In function 'bind_instance_interface': daq_afpacket.c:126:49: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 126 | DPE(afpc->errbuf, "%s: bind(%s): %s\n", __FUNCTION__, instance->name, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:133:49: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 133 | DPE(afpc->errbuf, "%s: getsockopt: %s", __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'set_up_ring': daq_afpacket.c:148:88: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 148 | DPE(afpc->errbuf, "%s: Could not allocate ring buffer entries for device %s!", __FUNCTION__, instance->name); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'create_instance': daq_afpacket.c:244:86: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 244 | snprintf(errbuf, errlen, "%s: Could not allocate a new instance structure.", __FUNCTION__); | ^~~~~~~~~~~~ daq_afpacket.c:251:87: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 251 | snprintf(errbuf, errlen, "%s: Could not allocate a copy of the device name.", __FUNCTION__); | ^~~~~~~~~~~~ daq_afpacket.c:259:81: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 259 | snprintf(errbuf, errlen, "%s: Could not open the PF_PACKET socket: %s", __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ daq_afpacket.c:268:76: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 268 | snprintf(errbuf, errlen, "%s: Could not find index for device %s", __FUNCTION__, instance->name); | ^~~~~~~~~~~~ In file included from daq_afpacket.c:42: daq_afpacket.c: In function 'calculate_layout': daq_afpacket.c:342:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 342 | __FUNCTION__, layout->tp_block_size, layout->tp_frame_size, afpc->device); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'create_ring': daq_afpacket.c:386:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 386 | __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'mmap_rings': daq_afpacket.c:410:62: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 410 | DPE(afpc->errbuf, "%s: Could not MMAP the ring: %s", __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'start_instance': daq_afpacket.c:434:49: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 434 | DPE(afpc->errbuf, "%s: setsockopt: %s", __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:443:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 443 | __FUNCTION__, instance->name, errno, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:450:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 450 | __FUNCTION__, instance->name, arptype, ARPHRD_ETHER); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'afpacket_daq_initialize': daq_afpacket.c:573:96: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 573 | snprintf(errbuf, errlen, "%s: Couldn't allocate memory for the new AFPacket context!", __FUNCTION__); | ^~~~~~~~~~~~ daq_afpacket.c:581:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 581 | snprintf(errbuf, errlen, "%s: Couldn't allocate memory for the device string!", __FUNCTION__); | ^~~~~~~~~~~~ daq_afpacket.c:592:80: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 592 | snprintf(errbuf, errlen, "%s: Invalid interface specification: '%s'!", __FUNCTION__, afpc->device); | ^~~~~~~~~~~~ daq_afpacket.c:601:76: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 601 | snprintf(errbuf, errlen, "%s: Interface name too long! (%zu)", __FUNCTION__, len); | ^~~~~~~~~~~~ daq_afpacket.c:609:97: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 609 | snprintf(errbuf, errlen, "%s: Using more than %d interfaces is not supported!", __FUNCTION__, AF_PACKET_MAX_INTERFACES); | ^~~~~~~~~~~~ daq_afpacket.c:629:103: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 629 | snprintf(errbuf, errlen, "%s: Couldn't create the bridge between %s and %s!", __FUNCTION__, name1, name2); | ^~~~~~~~~~~~ daq_afpacket.c:646:80: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 646 | snprintf(errbuf, errlen, "%s: Invalid interface specification: '%s'!", __FUNCTION__, afpc->device); | ^~~~~~~~~~~~ In file included from daq_afpacket.c:42: daq_afpacket.c: In function 'afpacket_daq_set_filter': daq_afpacket.c:704:82: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 704 | DPE(afpc->errbuf, "%s: Couldn't allocate memory for the filter string!", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:710:72: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 710 | DPE(afpc->errbuf, "%s: BPF state machine compilation failed!", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'afpacket_daq_acquire': daq_afpacket.c:790:79: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 790 | DPE(afpc->errbuf, "%s: Unknown TPACKET version: %u!", __FUNCTION__, instance->tp_version); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:796:25: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 796 | __FUNCTION__, tp_mac, tp_snaplen, instance->rx_ring.layout.tp_frame_size); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:859:25: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 859 | int rc; | ^~ In file included from daq_afpacket.c:42: daq_afpacket.c:893:63: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 893 | DPE(afpc->errbuf, "%s: Poll failed: %s (%d)", __FUNCTION__, strerror(errno), errno); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:907:81: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 907 | DPE(afpc->errbuf, "%s: Hang-up on a packet socket", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:909:101: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 909 | DPE(afpc->errbuf, "%s: Encountered error condition on a packet socket", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:911:97: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 911 | DPE(afpc->errbuf, "%s: Invalid polling request on a packet socket", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'afpacket_daq_inject': daq_afpacket.c:946:68: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 946 | DPE(afpc->errbuf, "%s: Error sending packet: %s (%d)", __FUNCTION__, strerror(errno), errno); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ In file included from /usr/include/string.h:519, from daq_afpacket.c:35: In function 'strncpy', inlined from 'iface_get_arptype' at daq_afpacket.c:222:5, inlined from 'start_instance' at daq_afpacket.c:439:15, inlined from 'afpacket_daq_start' at daq_afpacket.c:728:13: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILDING_SO -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_afpacket.c -o daq_afpacket_la-daq_afpacket.o >/dev/null 2>&1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_NFQ_MODULE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libdaq_static_modules_la-daq_afpacket.lo `test -f 'daq_afpacket.c' || echo './'`daq_afpacket.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_NFQ_MODULE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_afpacket.c -fPIC -DPIC -o .libs/libdaq_static_modules_la-daq_afpacket.o In file included from daq_afpacket.c:42: daq_afpacket.c: In function 'bind_instance_interface': daq_afpacket.c:126:49: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 126 | DPE(afpc->errbuf, "%s: bind(%s): %s\n", __FUNCTION__, instance->name, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:133:49: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 133 | DPE(afpc->errbuf, "%s: getsockopt: %s", __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'set_up_ring': daq_afpacket.c:148:88: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 148 | DPE(afpc->errbuf, "%s: Could not allocate ring buffer entries for device %s!", __FUNCTION__, instance->name); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'create_instance': daq_afpacket.c:244:86: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 244 | snprintf(errbuf, errlen, "%s: Could not allocate a new instance structure.", __FUNCTION__); | ^~~~~~~~~~~~ daq_afpacket.c:251:87: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 251 | snprintf(errbuf, errlen, "%s: Could not allocate a copy of the device name.", __FUNCTION__); | ^~~~~~~~~~~~ daq_afpacket.c:259:81: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 259 | snprintf(errbuf, errlen, "%s: Could not open the PF_PACKET socket: %s", __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ daq_afpacket.c:268:76: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 268 | snprintf(errbuf, errlen, "%s: Could not find index for device %s", __FUNCTION__, instance->name); | ^~~~~~~~~~~~ In file included from daq_afpacket.c:42: daq_afpacket.c: In function 'calculate_layout': daq_afpacket.c:342:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 342 | __FUNCTION__, layout->tp_block_size, layout->tp_frame_size, afpc->device); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'create_ring': daq_afpacket.c:386:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 386 | __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'mmap_rings': daq_afpacket.c:410:62: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 410 | DPE(afpc->errbuf, "%s: Could not MMAP the ring: %s", __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'start_instance': daq_afpacket.c:434:49: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 434 | DPE(afpc->errbuf, "%s: setsockopt: %s", __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:443:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 443 | __FUNCTION__, instance->name, errno, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:450:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 450 | __FUNCTION__, instance->name, arptype, ARPHRD_ETHER); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'afpacket_daq_initialize': daq_afpacket.c:573:96: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 573 | snprintf(errbuf, errlen, "%s: Couldn't allocate memory for the new AFPacket context!", __FUNCTION__); | ^~~~~~~~~~~~ daq_afpacket.c:581:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 581 | snprintf(errbuf, errlen, "%s: Couldn't allocate memory for the device string!", __FUNCTION__); | ^~~~~~~~~~~~ daq_afpacket.c:592:80: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 592 | snprintf(errbuf, errlen, "%s: Invalid interface specification: '%s'!", __FUNCTION__, afpc->device); | ^~~~~~~~~~~~ daq_afpacket.c:601:76: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 601 | snprintf(errbuf, errlen, "%s: Interface name too long! (%zu)", __FUNCTION__, len); | ^~~~~~~~~~~~ daq_afpacket.c:609:97: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 609 | snprintf(errbuf, errlen, "%s: Using more than %d interfaces is not supported!", __FUNCTION__, AF_PACKET_MAX_INTERFACES); | ^~~~~~~~~~~~ daq_afpacket.c:629:103: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 629 | snprintf(errbuf, errlen, "%s: Couldn't create the bridge between %s and %s!", __FUNCTION__, name1, name2); | ^~~~~~~~~~~~ daq_afpacket.c:646:80: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 646 | snprintf(errbuf, errlen, "%s: Invalid interface specification: '%s'!", __FUNCTION__, afpc->device); | ^~~~~~~~~~~~ In file included from daq_afpacket.c:42: daq_afpacket.c: In function 'afpacket_daq_set_filter': daq_afpacket.c:704:82: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 704 | DPE(afpc->errbuf, "%s: Couldn't allocate memory for the filter string!", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:710:72: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 710 | DPE(afpc->errbuf, "%s: BPF state machine compilation failed!", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'afpacket_daq_acquire': daq_afpacket.c:790:79: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 790 | DPE(afpc->errbuf, "%s: Unknown TPACKET version: %u!", __FUNCTION__, instance->tp_version); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:796:25: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 796 | __FUNCTION__, tp_mac, tp_snaplen, instance->rx_ring.layout.tp_frame_size); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:859:25: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 859 | int rc; | ^~ In file included from daq_afpacket.c:42: daq_afpacket.c:893:63: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 893 | DPE(afpc->errbuf, "%s: Poll failed: %s (%d)", __FUNCTION__, strerror(errno), errno); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:907:81: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 907 | DPE(afpc->errbuf, "%s: Hang-up on a packet socket", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:909:101: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 909 | DPE(afpc->errbuf, "%s: Encountered error condition on a packet socket", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:911:97: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 911 | DPE(afpc->errbuf, "%s: Invalid polling request on a packet socket", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'afpacket_daq_inject': daq_afpacket.c:946:68: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 946 | DPE(afpc->errbuf, "%s: Error sending packet: %s (%d)", __FUNCTION__, strerror(errno), errno); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ In file included from /usr/include/string.h:519, from daq_afpacket.c:35: In function 'strncpy', inlined from 'iface_get_arptype' at daq_afpacket.c:222:5, inlined from 'start_instance' at daq_afpacket.c:439:15, inlined from 'afpacket_daq_start' at daq_afpacket.c:728:13: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -I/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_NFQ_MODULE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_afpacket.c -o libdaq_static_modules_la-daq_afpacket.o >/dev/null 2>&1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' /bin/sh ../libtool --tag=CC --mode=link aarch64-mageia-linux-gnu-gcc -DBUILDING_SO -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -module -export-dynamic -avoid-version -shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o daq_afpacket.la -rpath /usr/lib64/daq daq_afpacket_la-daq_afpacket.lo ../sfbpf/libsfbpf.la libtool: link: aarch64-mageia-linux-gnu-gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/daq_afpacket_la-daq_afpacket.o -O2 -g -fstack-protector -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,-rpath -Wl,/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf/.libs -Wl,-rpath -Wl,/usr/lib64 ../sfbpf/.libs/libsfbpf.so -Wl,-soname -Wl,daq_afpacket.so -o .libs/daq_afpacket.so libtool: link: ( cd ".libs" && rm -f "daq_afpacket.la" && ln -s "../daq_afpacket.la" "daq_afpacket.la" ) make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' /bin/sh ../libtool --tag=CC --mode=link aarch64-mageia-linux-gnu-gcc -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_NFQ_MODULE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -static -avoid-version -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libdaq_static_modules.la -rpath /usr/lib64 libdaq_static_modules_la-daq_static_modules.lo libdaq_static_modules_la-daq_afpacket.lo libdaq_static_modules_la-daq_pcap.lo libdaq_static_modules_la-daq_dump.lo libdaq_static_modules_la-daq_nfq.lo libtool: link: aarch64-mageia-linux-gnu-ar cru .libs/libdaq_static_modules.a libdaq_static_modules_la-daq_static_modules.o libdaq_static_modules_la-daq_afpacket.o libdaq_static_modules_la-daq_pcap.o libdaq_static_modules_la-daq_dump.o libdaq_static_modules_la-daq_nfq.o libtool: link: aarch64-mageia-linux-gnu-ranlib .libs/libdaq_static_modules.a libtool: link: ( cd ".libs" && rm -f "libdaq_static_modules.la" && ln -s "../libdaq_static_modules.la" "libdaq_static_modules.la" ) make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' /bin/sh ../libtool --tag=CC --mode=link aarch64-mageia-linux-gnu-gcc -DBUILDING_SO -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -module -export-dynamic -avoid-version -shared -L/usr/lib64 -ldnet -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o daq_nfq.la -rpath /usr/lib64/daq daq_nfq_la-daq_nfq.lo -lnfnetlink -lnetfilter_queue -L/usr/lib64 -ldnet ../sfbpf/libsfbpf.la libtool: link: aarch64-mageia-linux-gnu-gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/daq_nfq_la-daq_nfq.o -O2 -g -fstack-protector -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,-rpath -Wl,/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf/.libs -Wl,-rpath -Wl,/usr/lib64 -L/usr/lib64 -lnfnetlink -lnetfilter_queue -ldnet ../sfbpf/.libs/libsfbpf.so -Wl,-soname -Wl,daq_nfq.so -o .libs/daq_nfq.so libtool: link: ( cd ".libs" && rm -f "daq_nfq.la" && ln -s "../daq_nfq.la" "daq_nfq.la" ) make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.c7F7fW + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64 + cd daq-2.0.6 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64 'INSTALL=/usr/bin/install -p' Making install in api make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/api' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/api' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -p libdaq.la libdaq_static.la '/home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64' libtool: install: /usr/bin/install -p .libs/libdaq.so.2.0.4 /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/libdaq.so.2.0.4 libtool: install: (cd /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64 && { ln -s -f libdaq.so.2.0.4 libdaq.so.2 || { rm -f libdaq.so.2 && ln -s libdaq.so.2.0.4 libdaq.so.2; }; }) libtool: install: (cd /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64 && { ln -s -f libdaq.so.2.0.4 libdaq.so || { rm -f libdaq.so && ln -s libdaq.so.2.0.4 libdaq.so; }; }) libtool: install: /usr/bin/install -p .libs/libdaq.lai /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/libdaq.la libtool: install: /usr/bin/install -p .libs/libdaq_static.lai /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/libdaq_static.la libtool: install: /usr/bin/install -p .libs/libdaq.a /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/libdaq.a libtool: install: chmod 644 /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/libdaq.a libtool: install: aarch64-mageia-linux-gnu-ranlib /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/libdaq.a libtool: install: /usr/bin/install -p .libs/libdaq_static.a /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/libdaq_static.a libtool: install: chmod 644 /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/libdaq_static.a libtool: install: aarch64-mageia-linux-gnu-ranlib /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/libdaq_static.a libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/include' /usr/bin/install -p -m 644 daq.h daq_api.h daq_common.h '/home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/include' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/api' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/api' Making install in sfbpf make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -p libsfbpf.la '/home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64' libtool: install: /usr/bin/install -p .libs/libsfbpf.so.0.0.1 /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/libsfbpf.so.0.0.1 libtool: install: (cd /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64 && { ln -s -f libsfbpf.so.0.0.1 libsfbpf.so.0 || { rm -f libsfbpf.so.0 && ln -s libsfbpf.so.0.0.1 libsfbpf.so.0; }; }) libtool: install: (cd /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64 && { ln -s -f libsfbpf.so.0.0.1 libsfbpf.so || { rm -f libsfbpf.so && ln -s libsfbpf.so.0.0.1 libsfbpf.so; }; }) libtool: install: /usr/bin/install -p .libs/libsfbpf.lai /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/libsfbpf.la libtool: install: /usr/bin/install -p .libs/libsfbpf.a /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/libsfbpf.a libtool: install: chmod 644 /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/libsfbpf.a libtool: install: aarch64-mageia-linux-gnu-ranlib /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/libsfbpf.a libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/include' /usr/bin/install -p -m 644 sfbpf.h sfbpf_dlt.h '/home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/include' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/sfbpf' Making install in os-daq-modules make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/bin' /usr/bin/install -p daq-modules-config '/home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/bin' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -p libdaq_static_modules.la '/home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64' libtool: install: /usr/bin/install -p .libs/libdaq_static_modules.lai /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/libdaq_static_modules.la libtool: install: /usr/bin/install -p .libs/libdaq_static_modules.a /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/libdaq_static_modules.a libtool: install: chmod 644 /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/libdaq_static_modules.a libtool: install: aarch64-mageia-linux-gnu-ranlib /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/libdaq_static_modules.a libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/daq' /bin/sh ../libtool --mode=install /usr/bin/install -p daq_afpacket.la daq_pcap.la daq_dump.la daq_nfq.la '/home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/daq' libtool: warning: relinking 'daq_afpacket.la' libtool: install: (cd /home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules; /bin/sh "/home/iurt/rpmbuild/BUILD/daq-2.0.6/libtool" --tag CC --mode=relink aarch64-mageia-linux-gnu-gcc -DBUILDING_SO -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -module -export-dynamic -avoid-version -shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o daq_afpacket.la -rpath /usr/lib64/daq daq_afpacket_la-daq_afpacket.lo ../sfbpf/libsfbpf.la -inst-prefix-dir /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64) libtool: relink: aarch64-mageia-linux-gnu-gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/daq_afpacket_la-daq_afpacket.o -O2 -g -fstack-protector -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64 -L/home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64 -L/usr/lib64 -lsfbpf -Wl,-soname -Wl,daq_afpacket.so -o .libs/daq_afpacket.so libtool: install: /usr/bin/install -p .libs/daq_afpacket.soT /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/daq/daq_afpacket.so libtool: install: /usr/bin/install -p .libs/daq_afpacket.lai /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/daq/daq_afpacket.la libtool: install: /usr/bin/install -p .libs/daq_pcap.so /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/daq/daq_pcap.so libtool: install: /usr/bin/install -p .libs/daq_pcap.lai /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/daq/daq_pcap.la libtool: install: /usr/bin/install -p .libs/daq_dump.so /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/daq/daq_dump.so libtool: install: /usr/bin/install -p .libs/daq_dump.lai /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/daq/daq_dump.la libtool: warning: relinking 'daq_nfq.la' libtool: install: (cd /home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules; /bin/sh "/home/iurt/rpmbuild/BUILD/daq-2.0.6/libtool" --tag CC --mode=relink aarch64-mageia-linux-gnu-gcc -DBUILDING_SO -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -module -export-dynamic -avoid-version -shared -L/usr/lib64 -ldnet -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o daq_nfq.la -rpath /usr/lib64/daq daq_nfq_la-daq_nfq.lo -lnfnetlink -lnetfilter_queue -L/usr/lib64 -ldnet ../sfbpf/libsfbpf.la -inst-prefix-dir /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64) libtool: relink: aarch64-mageia-linux-gnu-gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/daq_nfq_la-daq_nfq.o -O2 -g -fstack-protector -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64 -L/usr/lib64 -lnfnetlink -lnetfilter_queue -ldnet -L/home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64 -lsfbpf -Wl,-soname -Wl,daq_nfq.so -o .libs/daq_nfq.so libtool: install: /usr/bin/install -p .libs/daq_nfq.soT /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/daq/daq_nfq.so libtool: install: /usr/bin/install -p .libs/daq_nfq.lai /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/daq/daq_nfq.la libtool: warning: remember to run 'libtool --finish /usr/lib64/daq' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6/os-daq-modules' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/daq-2.0.6' + find /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64 -name '*.la' -delete + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 2.0.6-4.mga8 --unique-debug-suffix -2.0.6-4.mga8.aarch64 --unique-debug-src-base daq-2.0.6-4.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/daq-2.0.6 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/daq/daq_afpacket.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/daq/daq_dump.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/daq/daq_nfq.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/daq/daq_dump.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/daq/daq_afpacket.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/daq/daq_nfq.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/libsfbpf.so.0.0.1 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/libdaq.so.2.0.4 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/daq/daq_pcap.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/libsfbpf.so.0.0.1 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/libdaq.so.2.0.4 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/lib64/daq/daq_pcap.so original debug info size: 972kB, size after compression: 932kB /usr/lib/rpm/sepdebugcrcfix: Updated 6 CRC32s, 0 CRC32s did match. cpio: sfbpf/y.tab.c: Cannot stat: No such file or directory cpio: sfbpf/y.tab.h: Cannot stat: No such file or directory 1446 blocks + /usr/lib/rpm/check-buildroot + '[' -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/python3 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/daq-modules-config from /bin/sh to #!/usr/bin/sh Processing files: lib64daq2-2.0.6-4.mga8.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.3xz4WV + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd daq-2.0.6 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/share/doc/lib64daq2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/share/doc/lib64daq2 + cp -pr README /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64/usr/share/doc/lib64daq2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: lib64daq2 = 2.0.6-4.mga8 lib64daq2(aarch-64) = 2.0.6-4.mga8 libdaq.so.2()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.17)(64bit) Processing files: lib64sfbpf0-2.0.6-4.mga8.aarch64 Provides: lib64sfbpf0 = 2.0.6-4.mga8 lib64sfbpf0(aarch-64) = 2.0.6-4.mga8 libsfbpf.so.0()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) Conflicts: lib64daq0 < 2.0.6-4.mga8 lib64daq1 < 2.0.6-4.mga8 Processing files: daq-modules-2.0.6-4.mga8.aarch64 Provides: daq-modules = 2.0.6-4.mga8 daq-modules(aarch-64) = 2.0.6-4.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libdnet.so.1()(64bit) libnetfilter_queue.so.1()(64bit) libpcap.so.1()(64bit) libsfbpf.so.0()(64bit) Processing files: lib64daq-devel-2.0.6-4.mga8.aarch64 Provides: daq-devel = 2.0.6-4.mga8 devel(libdaq(64bit)) devel(libsfbpf(64bit)) lib64daq-devel = 2.0.6-4.mga8 lib64daq-devel(aarch-64) = 2.0.6-4.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: devel(libdl(64bit)) Processing files: daq-debugsource-2.0.6-4.mga8.aarch64 Provides: daq-debugsource = 2.0.6-4.mga8 daq-debugsource(aarch-64) = 2.0.6-4.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: daq-debuginfo-2.0.6-4.mga8.aarch64 Provides: daq-debuginfo = 2.0.6-4.mga8 daq-debuginfo(aarch-64) = 2.0.6-4.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: daq-debugsource(aarch-64) = 2.0.6-4.mga8 Processing files: lib64daq2-debuginfo-2.0.6-4.mga8.aarch64 Provides: debuginfo(build-id) = 0887f0af466ca6e117622b8256bfe6d0857cdcbf lib64daq2-debuginfo = 2.0.6-4.mga8 lib64daq2-debuginfo(aarch-64) = 2.0.6-4.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: daq-debugsource(aarch-64) = 2.0.6-4.mga8 Processing files: lib64sfbpf0-debuginfo-2.0.6-4.mga8.aarch64 Provides: debuginfo(build-id) = ac10b295bb8f4a982082c8da9c07f279a8046e5c lib64sfbpf0-debuginfo = 2.0.6-4.mga8 lib64sfbpf0-debuginfo(aarch-64) = 2.0.6-4.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: daq-debugsource(aarch-64) = 2.0.6-4.mga8 Processing files: daq-modules-debuginfo-2.0.6-4.mga8.aarch64 Provides: daq-modules-debuginfo = 2.0.6-4.mga8 daq-modules-debuginfo(aarch-64) = 2.0.6-4.mga8 debuginfo(build-id) = 6b92efc4e79244b635632ef3974dc81d4dd4fcad debuginfo(build-id) = 9defb96a2a9826663b4e007a3fdc3e175c96d144 debuginfo(build-id) = ef8364458a6434981004bc6cbe51964ea85dee5a debuginfo(build-id) = f3f6079237f156c3eaafe92720c9f51e969ab99f Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: daq-debugsource(aarch-64) = 2.0.6-4.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/daq-modules-2.0.6-4.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/daq-debuginfo-2.0.6-4.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64daq2-2.0.6-4.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64sfbpf0-2.0.6-4.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64daq2-debuginfo-2.0.6-4.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64sfbpf0-debuginfo-2.0.6-4.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/daq-modules-debuginfo-2.0.6-4.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/daq-debugsource-2.0.6-4.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64daq-devel-2.0.6-4.mga8.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.y15B3W + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd daq-2.0.6 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/daq-2.0.6-4.mga8.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.xS0WgV + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf daq-2.0.6 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!