Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 765389 Details for
Bug 833613
net-libs/daq-2.0.7 - daq_nfq.c: fatal error: sys/unistd.h: No such file or directory
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-libs:daq-2.0.7:20220218-142146.log
net-libs:daq-2.0.7:20220218-142146.log (text/plain), 49.74 KB, created by
Toralf Förster
on 2022-02-18 15:24:52 UTC
(
hide
)
Description:
net-libs:daq-2.0.7:20220218-142146.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-02-18 15:24:52 UTC
Size:
49.74 KB
patch
obsolete
> * Package: net-libs/daq-2.0.7 > * Repository: gentoo > * Maintainer: netmon@gentoo.org > * USE: abi_x86_64 afpacket amd64 dump elibc_musl ipv6 kernel_linux nfq pcap userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking daq-2.0.7.tar.gz to /var/tmp/portage/net-libs/daq-2.0.7/work >>>> Source unpacked in /var/tmp/portage/net-libs/daq-2.0.7/work >>>> Preparing source in /var/tmp/portage/net-libs/daq-2.0.7/work/daq-2.0.7 ... > * Applying daq-2.0.6-parallel-grammar.patch ... > [ ok ] > * Applying daq-2.0.6-static-libs.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/net-libs/daq-2.0.7/work/daq-2.0.7' ... > * Running 'libtoolize --install --copy --force --automake' ... > [ ok ] > * Running 'aclocal -I m4 --system-acdir=/var/tmp/portage/net-libs/daq-2.0.7/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --foreign --force-missing' ... > [ ok ] > * Running elibtoolize in: daq-2.0.7/ > * Applying portage/1.2.0 patch ... > * Applying sed/1.5.6 patch ... > * Applying as-needed/2.4.3 patch ... > * Applying static-flags/2.4.6 patch ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-libs/daq-2.0.7/work/daq-2.0.7 ... > * econf: updating daq-2.0.7/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating daq-2.0.7/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/daq-2.0.7 --htmldir=/usr/share/doc/daq-2.0.7/html --with-sysroot=/ --libdir=/usr/lib --enable-afpacket-module --enable-dump-module --disable-ipq-module --enable-ipv6 --enable-nfq-module --enable-pcap-module --disable-static --disable-bundled-modules --disable-ipfw-module --enable-shared >checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C... yes >checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes >checking for x86_64-gentoo-linux-musl-gcc option to enable C11 features... none needed >checking whether x86_64-gentoo-linux-musl-gcc understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of x86_64-gentoo-linux-musl-gcc... none >checking build system type... x86_64-gentoo-linux-musl >checking host system type... x86_64-gentoo-linux-musl >checking how to print strings... printf >checking for a sed that does not truncate output... /bin/sed >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for fgrep... /bin/grep -F >checking for ld used by x86_64-gentoo-linux-musl-gcc... /usr/x86_64-gentoo-linux-musl/bin/ld >checking if the linker (/usr/x86_64-gentoo-linux-musl/bin/ld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-gentoo-linux-musl-nm -B >checking the name lister (/usr/bin/x86_64-gentoo-linux-musl-nm -B) interface... BSD nm >checking whether ln -s works... yes >checking the maximum length of command line arguments... 98304 >checking how to convert x86_64-gentoo-linux-musl file names to x86_64-gentoo-linux-musl format... func_convert_file_noop >checking how to convert x86_64-gentoo-linux-musl file names to toolchain format... func_convert_file_noop >checking for /usr/x86_64-gentoo-linux-musl/bin/ld option to reload object files... -r >checking for x86_64-gentoo-linux-musl-objdump... x86_64-gentoo-linux-musl-objdump >checking how to recognize dependent libraries... pass_all >checking for x86_64-gentoo-linux-musl-dlltool... no >checking for dlltool... no >checking how to associate runtime and link libraries... printf %s\n >checking for x86_64-gentoo-linux-musl-ar... x86_64-gentoo-linux-musl-ar >checking for archiver @FILE support... @ >checking for x86_64-gentoo-linux-musl-strip... x86_64-gentoo-linux-musl-strip >checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-ranlib >checking command to parse /usr/bin/x86_64-gentoo-linux-musl-nm -B output from x86_64-gentoo-linux-musl-gcc object... ok >checking for sysroot... / >checking for a working dd... /bin/dd >checking how to truncate binary pipes... /bin/dd bs=4096 count=1 >checking for x86_64-gentoo-linux-musl-mt... no >checking for mt... no >checking if : is a manifest tool... no >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for sys/param.h... yes >checking for dlfcn.h... yes >checking for objdir... .libs >checking if x86_64-gentoo-linux-musl-gcc supports -fno-rtti -fno-exceptions... no >checking for x86_64-gentoo-linux-musl-gcc option to produce PIC... -fPIC -DPIC >checking if x86_64-gentoo-linux-musl-gcc PIC flag -fPIC -DPIC works... yes >checking if x86_64-gentoo-linux-musl-gcc static flag -static works... yes >checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... yes >checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... (cached) yes >checking whether the x86_64-gentoo-linux-musl-gcc linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... no >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 for linux/if_ether.h... yes >checking for linux/if_packet.h... yes >checking for x86_64-gentoo-linux-musl-gcc options needed to detect all undeclared functions... none needed >checking whether TPACKET2_HDRLEN is declared... yes >checking whether PACKET_TX_RING is declared... yes >checking for pcap.h... yes >checking for pcap_lib_version in -lpcap... yes >checking for netinet/in.h... yes >checking for libnetfilter_queue/libnetfilter_queue.h... yes >checking for linux/netfilter.h... 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"... (cached) yes >checking for dnet.h... yes >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... 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 for sys/ioctl.h... yes >checking for sys/param.h... (cached) yes >checking for sys/socket.h... 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 GNU libc compatible malloc... 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 > >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-libs/daq-2.0.7/work/daq-2.0.7 ... >make -j4 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/net-libs/daq-2.0.7/work/daq-2.0.7' >Making all in api >make[2]: Entering directory '/var/tmp/portage/net-libs/daq-2.0.7/work/daq-2.0.7/api' >/bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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 >/bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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)); > | ^~~~~~~~~~~~ >/bin/sh ../libtool --tag=CC --mode=link x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -version-info 2:4:0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libdaq.la -rpath /usr/lib daq_base.lo daq_mod_ops.lo -ldl >libtool: link: x86_64-gentoo-linux-musl-gcc -shared -fPIC -DPIC .libs/daq_base.o .libs/daq_mod_ops.o -Wl,--as-needed -ldl -march=native -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -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: ( cd ".libs" && rm -f "libdaq.la" && ln -s "../libdaq.la" "libdaq.la" ) >make[2]: Leaving directory '/var/tmp/portage/net-libs/daq-2.0.7/work/daq-2.0.7/api' >Making all in sfbpf >make[2]: Entering directory '/var/tmp/portage/net-libs/daq-2.0.7/work/daq-2.0.7/sfbpf' >/bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -Dyylval=sfbpf_lval -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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 >/bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -Dyylval=sfbpf_lval -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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 >/bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -Dyylval=sfbpf_lval -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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 >/bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -Dyylval=sfbpf_lval -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -Dyylval=sfbpf_lval -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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 >libtool: compile: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -Dyylval=sfbpf_lval -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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 >libtool: compile: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -Dyylval=sfbpf_lval -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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 >libtool: compile: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -Dyylval=sfbpf_lval -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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 >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_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[] = > | ^~~~~ >sf_gencode.c: In function 'sf_gen_scode': >sf_nametoaddr.c:29:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] > 29 | static const char rcsid[] = > | ^~~~~ >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[] = > | ^~~~~ >/bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -Dyylval=sfbpf_lval -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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 >/bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -Dyylval=sfbpf_lval -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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 >bison -y -p sfbpf_ -d ./grammar.y >./grammar.y:289.13-14: warning: POSIX yacc reserves %type to nonterminals [8;id=ad1879110005d84b9b104c2600000000;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wyacc\-Wyacc8;;\] > 289 | %type <s> ID > | ^~ >./grammar.y:290.13-15: warning: POSIX yacc reserves %type to nonterminals [8;id=ad1879110005d84b9b104c2600000001;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wyacc\-Wyacc8;;\] > 290 | %type <e> EID > | ^~~ >./grammar.y:291.13-15: warning: POSIX yacc reserves %type to nonterminals [8;id=ad1879110005d84b9b104c2600000002;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wyacc\-Wyacc8;;\] > 291 | %type <e> AID > | ^~~ >./grammar.y:292.13-15: warning: POSIX yacc reserves %type to nonterminals [8;id=ad1879110005d84b9b104c2600000003;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wyacc\-Wyacc8;;\] > 292 | %type <s> HID HID6 > | ^~~ >./grammar.y:292.17-20: warning: POSIX yacc reserves %type to nonterminals [8;id=ad1879110005d84b9b104c2600000004;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wyacc\-Wyacc8;;\] > 292 | %type <s> HID HID6 > | ^~~~ >./grammar.y:293.13-15: warning: POSIX yacc reserves %type to nonterminals [8;id=ad1879110005d84b9b104c2600000005;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wyacc\-Wyacc8;;\] > 293 | %type <i> NUM action reason type subtype type_subtype dir > | ^~~ >libtool: compile: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -Dyylval=sfbpf_lval -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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 >libtool: compile: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -Dyylval=sfbpf_lval -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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 >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[] = > | ^~~~~ >mv y.tab.c sf_grammar.c >mv y.tab.h tokdefs.h >/bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -Dyylval=sfbpf_lval -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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 >./runlex.sh flex -Psfbpf_ -osf_scanner.c ./scanner.l >/bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -Dyylval=sfbpf_lval -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -Dyylval=sfbpf_lval -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -Dyylval=sfbpf_lval -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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 > | ><command-line>: note: this is the location of the previous definition >sf_scanner.c:4362:16: warning: 'input' defined but not used [-Wunused-function] > 4362 | #else > | ^ >/bin/sh ../libtool --tag=CC --mode=link x86_64-gentoo-linux-musl-gcc -Dyylval=sfbpf_lval -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -version-info 0:1:0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libsfbpf.la -rpath /usr/lib 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: x86_64-gentoo-linux-musl-gcc -shared -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 -Wl,--as-needed -march=native -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -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: ( cd ".libs" && rm -f "libsfbpf.la" && ln -s "../libsfbpf.la" "libsfbpf.la" ) >make[2]: Leaving directory '/var/tmp/portage/net-libs/daq-2.0.7/work/daq-2.0.7/sfbpf' >Making all in os-daq-modules >make[2]: Entering directory '/var/tmp/portage/net-libs/daq-2.0.7/work/daq-2.0.7/os-daq-modules' >/bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -DBUILDING_SO -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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 >/bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -DBUILDING_SO -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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 >/bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -DBUILDING_SO -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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 >/bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -DBUILDING_SO -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -DBUILDING_SO -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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 >libtool: compile: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -DBUILDING_SO -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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 >libtool: compile: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -DBUILDING_SO -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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 >libtool: compile: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -DBUILDING_SO -pipe -march=native -fno-diagnostics-color -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -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_nfq.c:30:10: fatal error: sys/unistd.h: No such file or directory > 30 | #include <sys/unistd.h> > | ^~~~~~~~~~~~~~ >compilation terminated. >make[2]: *** [Makefile:726: daq_nfq_la-daq_nfq.lo] Error 1 >make[2]: *** Waiting for unfinished jobs.... >In file included from daq_afpacket.c:38: >/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp] > 1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h> > | ^~~~~~~ >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 | %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 | 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 | rrlen, "%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 | buf, 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 | f(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_pcap.c: In function 'pcap_daq_initialize': >daq_pcap.c:207:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] > 207 | , "%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 | n, "%s: Couldn't allocate memory for the filename string!", __FUNCTION__); > | ^~~~~~~~~~~~ > >daq_afpacket.c: In function 'start_instance': >daq_pcap.c:243:90: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] > 243 | len, "%s: Couldn't allocate memory for the device string!", __FUNCTION__); > | ^~~~~~~~~~~~ > >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__) > | ^~~~~~~~~~~ >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_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_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_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_pcap.c:295:80: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] > 295 | text->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 | 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__) > | ^~~~~~~~~~~ >daq_afpacket.c: In function 'afpacket_daq_initialize': >daq_afpacket.c:573:96: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] > 573 | 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 | len, "%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 | rbuf, 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 | rintf(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 | len, "%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 | rrlen, "%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 | rbuf, 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 | buf, "%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_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_afpacket.c:710:72: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] > 710 | (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_dump.c:118:70: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] > 118 | nprintf(errBuf, errMax, "%s: no file capable daq provided", __FUNCTION__); > | ^~~~~~~~~~~~ > >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 | rbuf, "%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 | ->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__) > | ^~~~~~~~~~~ >make[2]: Leaving directory '/var/tmp/portage/net-libs/daq-2.0.7/work/daq-2.0.7/os-daq-modules' >make[1]: *** [Makefile:408: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/net-libs/daq-2.0.7/work/daq-2.0.7' >make: *** [Makefile:340: all] Error 2 > * ERROR: net-libs/daq-2.0.7::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-libs/daq-2.0.7::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-libs/daq-2.0.7::gentoo'`. > * The complete build log is located at '/var/log/portage/net-libs:daq-2.0.7:20220218-142146.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-libs/daq-2.0.7/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-libs/daq-2.0.7/temp/environment'. > * Working directory: '/var/tmp/portage/net-libs/daq-2.0.7/work/daq-2.0.7' > * S: '/var/tmp/portage/net-libs/daq-2.0.7/work/daq-2.0.7' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 833613
:
765384
|
765385
|
765386
|
765387
|
765388
| 765389 |
765390