Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 832469 Details for
Bug 881307
net-analyzer/tcpstat-1.5_p8 - stats.c: error: incompatible function pointer types passing int (DB ,
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-analyzer:tcpstat-1.5_p8:20221114-195024.log
net-analyzer:tcpstat-1.5_p8:20221114-195024.log (text/plain), 13.62 KB, created by
Toralf Förster
on 2022-11-14 19:54:28 UTC
(
hide
)
Description:
net-analyzer:tcpstat-1.5_p8:20221114-195024.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-11-14 19:54:28 UTC
Size:
13.62 KB
patch
obsolete
> * Package: net-analyzer/tcpstat-1.5_p8:0 > * Repository: gentoo > * Maintainer: netmon@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc ipv6 kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking tcpstat-1.5.tar.gz to /var/tmp/portage/net-analyzer/tcpstat-1.5_p8/work >>>> Unpacking tcpstat_1.5-8.debian.tar.xz to /var/tmp/portage/net-analyzer/tcpstat-1.5_p8/work >>>> Source unpacked in /var/tmp/portage/net-analyzer/tcpstat-1.5_p8/work >>>> Preparing source in /var/tmp/portage/net-analyzer/tcpstat-1.5_p8/work/tcpstat-1.5 ... > * Applying libdb ... > [ ok ] > * Applying extraneous-re-warning ... > [ ok ] > * Applying kfreebsd ... > [ ok ] > * Applying fix-doc-spelling ... > [ ok ] > * Applying tcpstat-1.5_p8-_DEFAULT_SOURCE.patch ... > [ ok ] > * Applying tcpstat-1.5_p8-ipv6.patch ... > [ ok ] > * Applying tcpstat-1.5_p8-libpcap.patch ... > [ ok ] > * Applying tcpstat-1.5_p8-off-by-one.patch ... > [ ok ] > * Applying tcpstat-1.5_p8-unused.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/net-analyzer/tcpstat-1.5_p8/work/tcpstat-1.5' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/net-analyzer/tcpstat-1.5_p8/temp/aclocal' ... > [ ok ] > * This package has a configure.in file which has long been deprecated. Please > * update it to use configure.ac instead as newer versions of autotools will die > * when it finds this file. See https://bugs.gentoo.org/426262 for details. > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --force-missing' ... > [ ok ] > * Running elibtoolize in: tcpstat-1.5/ >>>> Source prepared. > * Clang 16 testing: this build is using a /etc/portage/bashrc hook! >>>> Configuring source in /var/tmp/portage/net-analyzer/tcpstat-1.5_p8/work/tcpstat-1.5 ... > * econf: updating tcpstat-1.5/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating tcpstat-1.5/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --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/tcpstat-1.5_p8 --htmldir=/usr/share/doc/tcpstat-1.5_p8/html --libdir=/usr/lib64 --enable-ipv6 --with-pcap-include= --with-pcap-lib=-lpcap >checking for a BSD-compatible install... /usr/lib/portage/python3.10/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 to see if I can guess the OS to build for... linux >checking for x86_64-pc-linux-gnu-gcc... clang >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 clang accepts -g... yes >checking for clang option to enable C11 features... none needed >checking whether clang understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of clang... none >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >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/time.h... yes >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for sys/wait.h that is POSIX.1 compatible... yes >checking for sys/time.h... (cached) yes >checking for sys/stat.h... (cached) yes >checking for unistd.h... (cached) yes >checking for strings.h... (cached) yes >checking for fcntl.h... yes >checking for net/if.h... yes >checking for net/ethernet.h... yes >checking for netinet/if_ether.h... yes >checking for net/ppp_defs.h... yes >checking for netinet/ip6.h... yes >checking for an ANSI C-conforming const... yes >checking for size_t... yes >checking for strtol... yes >checking for strtoul... yes >checking for ualarm... yes >checking for perror... yes >checking for inet_ntop... yes >checking for snprintf... yes >checking for sqrt in -lm... yes >checking for socket in -lc... yes >checking for gethostbyaddr in -lc... yes >checking for getprotobynumber in -lc... yes >checking for net/bpf.h... no >checking for pcap.h... yes >checking for pcap_major_version in -lpcap... yes >checking for db_create in -lc... no >checking for db_create in -ldb... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating doc/Makefile >config.status: creating lib/Makefile >config.status: creating src/Makefile >config.status: creating include/config.h >config.status: executing depfiles commands >>>> Source configured. >'/var/tmp/portage/net-analyzer/tcpstat-1.5_p8/temp/clang16-errors.log' -> '/var/tmp/clang/net-analyzer/tcpstat-1.5_p8/clang16-errors.log' >'/var/tmp/portage/net-analyzer/tcpstat-1.5_p8/temp/clang16-safe.log' -> '/var/tmp/clang/net-analyzer/tcpstat-1.5_p8/clang16-safe.log' >>>> Compiling source in /var/tmp/portage/net-analyzer/tcpstat-1.5_p8/work/tcpstat-1.5 ... >make -j4 >Making all in doc >make[1]: Entering directory '/var/tmp/portage/net-analyzer/tcpstat-1.5_p8/work/tcpstat-1.5/doc' >make[1]: Nothing to be done for 'all'. >make[1]: Leaving directory '/var/tmp/portage/net-analyzer/tcpstat-1.5_p8/work/tcpstat-1.5/doc' >Making all in lib >make[1]: Entering directory '/var/tmp/portage/net-analyzer/tcpstat-1.5_p8/work/tcpstat-1.5/lib' >clang -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/pcap -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wextra -c -o print_packet.o print_packet.c >clang -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/pcap -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wextra -c -o utils.o utils.c >clang -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/pcap -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wextra -c -o process.o process.c >clang -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/pcap -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wextra -c -o tcpseq.o tcpseq.c >tcpseq.c:57:13: warning: variable 'ip' set but not used > [-Wunused-but-set-variable] > struct ip *ip; > ^ >1 warning generated. >process.c:329:12: warning: 'pcap_lookupdev' is deprecated: use > 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] > fname = pcap_lookupdev(ebuf); > ^ >/usr/include/pcap/pcap.h:395:1: note: 'pcap_lookupdev' has been explicitly > marked deprecated here >PCAP_DEPRECATED(pcap_lookupdev, "use 'pcap_findalldevs' and use the firs... >^ >/usr/include/pcap/funcattrs.h:293:53: note: expanded from macro > 'PCAP_DEPRECATED' > #define PCAP_DEPRECATED(func, msg) __attribute__((deprecated(msg))) > ^ >1 warning generated. >rm -f libtcpstat.a >ar cru libtcpstat.a print_packet.o process.o tcpseq.o utils.o >x86_64-pc-linux-gnu-ranlib libtcpstat.a >make[1]: Leaving directory '/var/tmp/portage/net-analyzer/tcpstat-1.5_p8/work/tcpstat-1.5/lib' >Making all in src >make[1]: Entering directory '/var/tmp/portage/net-analyzer/tcpstat-1.5_p8/work/tcpstat-1.5/src' >clang -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/pcap -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wextra -c -o dump.o dump.c >clang -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/pcap -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wextra -c -o tcpstat.o tcpstat.c >clang -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/pcap -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wextra -c -o stats.o stats.c >clang -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/pcap -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wextra -c -o tcpprof.o tcpprof.c >tcpprof.c:169:6: warning: comparison of array 'filename' equal to a null pointer > is always false [-Wtautological-pointer-compare] > if (filename == NULL || strlen(filename) < 1) { > ^~~~~~~~ ~~~~ >stats.c:72:22: warning: unused parameter 'db' [-Wunused-parameter] >int compare_keys(DB *db, const DBT *d1, const DBT *d2) { > ^ >stats.c:163:45: error: incompatible function pointer types passing 'int (DB *, > const DBT *, const DBT *)' (aka 'int (struct __db *, const struct __db_dbt > *, const struct __db_dbt *)') to parameter of type 'int (*)(DB *, const > DBT *, const DBT *, size_t *)' (aka 'int (*)(struct __db *, const struct > __db_dbt *, const struct __db_dbt *, unsigned long *)') > [-Werror,-Wincompatible-function-pointer-types] > if (dbs[i].db->set_bt_compare(dbs[i].db, compare_keys)) > ^~~~~~~~~~~~ >stats.c:208:67: warning: format specifies type 'unsigned long long' but the > argument has type 'u_quad_t' (aka 'unsigned long') [-Wformat] > printf("\t%-*s%-10qu%-10qu%-5.4f %%\n", FIRST_COLUMN_WIDTH, str, num_p, ... > ~~~~~~ ^~~~~ > %-10lu >stats.c:208:74: warning: format specifies type 'unsigned long long' but the > argument has type 'u_quad_t' (aka 'unsigned long') [-Wformat] > ...%-10qu%-5.4f %%\n", FIRST_COLUMN_WIDTH, str, num_p, bytes, pcnt); > ~~~~~~ ^~~~~ > %-10lu >stats.c:212:28: warning: unused variable 'is_ip6packet' [-Wunused-variable] > u_int r, is_ippacket = 0, is_ip6packet = 0; > ^ >stats.c:213:10: warning: variable 'et' set but not used > [-Wunused-but-set-variable] > u_short et; > ^ >stats.c:453:10: warning: format specifies type 'unsigned long long' but the > argument has type 'u_quad_t' (aka 'unsigned long') [-Wformat] > key, u->num_packets, b, pcnt); > ^~~~~~~~~~~~~~ >stats.c:453:26: warning: format specifies type 'unsigned long long' but the > argument has type 'u_quad_t' (aka 'unsigned long') [-Wformat] > key, u->num_packets, b, pcnt); > ^ >stats.c:481:5: warning: misleading indentation; statement is not part of the > previous 'if' [-Wmisleading-indentation] > break; > ^ >stats.c:478:4: note: previous statement is here > if (key2.key && (key2.key != key1.key || src_des... > ^ >stats.c:486:5: warning: misleading indentation; statement is not part of the > previous 'if' [-Wmisleading-indentation] > break; > ^ >stats.c:484:4: note: previous statement is here > if (key1.key) > ^ >stats.c:459:42: warning: unused parameter 'types' [-Wunused-parameter] >void stats_insert(packet_data *pd, u_int types) { > ^ >stats.c:515:25: warning: unused parameter 'types' [-Wunused-parameter] >void show_results(u_int types) { > ^ >11 warnings and 1 error generated. >make[1]: *** [Makefile:378: stats.o] Error 1 shuffle=773295799 >make[1]: *** Waiting for unfinished jobs.... >dump.c:54:9: error: incompatible function pointer types passing > 'void (packet_data *)' (aka 'void (struct packet_data *)') to parameter of > type 'void (*)(packet_data *, void **)' (aka 'void (*)(struct packet_data > *, void **)') [-Werror,-Wincompatible-function-pointer-types] > -1.0, my_hook, NULL); > ^~~~~~~ >../include/tcpstat.h:237:40: note: passing argument to parameter 'hook' here > Double capture_seconds, void (*hook)(packet_data *, void **), > ^ >1 warning generated. >1 error generated. >make[1]: *** [Makefile:378: dump.o] Error 1 shuffle=773295799 >make[1]: Leaving directory '/var/tmp/portage/net-analyzer/tcpstat-1.5_p8/work/tcpstat-1.5/src' >make: *** [Makefile:359: all-recursive] Error 1 shuffle=773295799 > * ERROR: net-analyzer/tcpstat-1.5_p8::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-analyzer/tcpstat-1.5_p8::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-analyzer/tcpstat-1.5_p8::gentoo'`. > * The complete build log is located at '/var/log/portage/net-analyzer:tcpstat-1.5_p8:20221114-195024.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/tcpstat-1.5_p8/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/tcpstat-1.5_p8/temp/environment'. > * Working directory: '/var/tmp/portage/net-analyzer/tcpstat-1.5_p8/work/tcpstat-1.5' > * S: '/var/tmp/portage/net-analyzer/tcpstat-1.5_p8/work/tcpstat-1.5' >
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 881307
:
832457
|
832459
|
832461
|
832463
|
832465
|
832467
| 832469 |
832471
|
832473