Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 620576 Details for
Bug 712876
net-analyzer/nstats-0.4-r3 : src/packet.c: error: struct tcphdr has no member named source
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-analyzer:nstats-0.4-r3:20200316-103043.log
net-analyzer:nstats-0.4-r3:20200316-103043.log (text/plain), 8.60 KB, created by
Toralf Förster
on 2020-03-16 13:32:07 UTC
(
hide
)
Description:
net-analyzer:nstats-0.4-r3:20200316-103043.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-03-16 13:32:07 UTC
Size:
8.60 KB
patch
obsolete
> * Package: net-analyzer/nstats-0.4-r3 > * Repository: gentoo > * Maintainer: netmon@gentoo.org > * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking nstats-0.4.tar.gz to /var/tmp/portage/net-analyzer/nstats-0.4-r3/work >>>> Source unpacked in /var/tmp/portage/net-analyzer/nstats-0.4-r3/work >>>> Preparing source in /var/tmp/portage/net-analyzer/nstats-0.4-r3/work/nstats-0.4 ... > * Applying nstats-0.4-glibc24.patch ... > [ ok ] > * Applying nstats-0.4-makefile.patch ... > [ ok ] > * Applying nstats-0.4-tinfo.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/net-analyzer/nstats-0.4-r3/work/nstats-0.4' ... > * Running 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 elibtoolize in: nstats-0.4/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-analyzer/nstats-0.4-r3/work/nstats-0.4 ... > * econf: updating nstats-0.4/config.sub with /usr/share/gnuconfig/config.sub >./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 --docdir=/usr/share/doc/nstats-0.4-r3 --htmldir=/usr/share/doc/nstats-0.4-r3/html --libdir=/usr/lib >configure: loading site script /usr/share/config.site >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 we are using the GNU C compiler... yes >checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes >checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... none needed >checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E >checking whether make sets $(MAKE)... yes >checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c >checking for an ANSI C-conforming const... yes >checking return type of signal handlers... void >checking for x86_64-gentoo-linux-musl-pkg-config... /usr/bin/x86_64-gentoo-linux-musl-pkg-config >checking pkg-config is at least version 0.9.0... yes >checking for ncurses... yes >checking for initscr in -lncurses... yes >checking for pcap_open_live in -lpcap... yes >configure: creating ./config.status >config.status: creating Makefile.opts >config.status: WARNING: 'Makefile.opts.in' seems to ignore the --datarootdir setting >config.status: creating config.h > > *** WARNING *** > > nstats is in development and may not work, crash or push your > coffee cup from the table. > >Status of each component: > > * bmon: Should be working quite well, there might be a display error from > time to time but you can redraw the screen with ^l. > > * cmon: It seems to display something, I don't know if it's correct. It's > definitly not completly correct as fragmented packets aren't > correctly. handled. > > * nstats: As I said, fragmented packets are not handled correctly and I think > nmon: there are some other bugs. > > * imon: Did you create imon.c? Cool, well the iptables stuff is broken > until i find a way to clearly identify the ipt_entry structure. > > Good luck. > > >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-analyzer/nstats-0.4-r3/work/nstats-0.4 ... >make -j1 >x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -fcommon -Wall -c -o src/nstats.o src/nstats.c >src/nstats.c: In function âmainâ: >src/nstats.c:100:38: warning: variable âdevâ set but not used [-Wunused-but-set-variable] > 100 | char filter[4096], device[256], *dev; > | ^~~ >src/nstats.c:124:17: warning: âstrncpyâ specified bound 4096 equals destination size [-Wstringop-truncation] > 124 | strncpy(cf, optarg, sizeof(cf)); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/nstats.c:194:17: warning: âstrncpyâ specified bound 256 equals destination size [-Wstringop-truncation] > 194 | strncpy(device, optarg, sizeof(device)); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/nstats.c:191:17: warning: âstrncpyâ specified bound 4096 equals destination size [-Wstringop-truncation] > 191 | strncpy(filter, optarg, sizeof(filter)); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -fcommon -Wall -c -o src/pcap.o src/pcap.c >src/pcap.c: In function âstart_pcapâ: >src/pcap.c:48:13: warning: âpcap_lookupdevâ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] > 48 | if ( !(dev = pcap_lookupdev(err)) ) > | ^~ >In file included from /usr/include/pcap.h:43, > from src/pcap.c:10: >/usr/include/pcap/pcap.h:328:16: note: declared here > 328 | PCAP_API char *pcap_lookupdev(char *) > | ^~~~~~~~~~~~~~ >x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -fcommon -Wall -c -o src/packet.o src/packet.c >src/packet.c: In function âhandle_tcpâ: >src/packet.c:49:20: error: âstruct tcphdrâ has no member named âsourceâ > 49 | sp = ntohs(tptr->source); > | ^~ >src/packet.c:50:20: error: âstruct tcphdrâ has no member named âdestâ > 50 | dp = ntohs(tptr->dest); > | ^~ >src/packet.c:54:13: error: âstruct tcphdrâ has no member named âurgâ > 54 | if (tptr->urg) { > | ^~ >src/packet.c:59:13: error: âstruct tcphdrâ has no member named âackâ > 59 | if (tptr->ack) { > | ^~ >src/packet.c:64:13: error: âstruct tcphdrâ has no member named âpshâ > 64 | if (tptr->psh) { > | ^~ >src/packet.c:69:13: error: âstruct tcphdrâ has no member named ârstâ > 69 | if (tptr->rst) { > | ^~ >src/packet.c:74:13: error: âstruct tcphdrâ has no member named âsynâ > 74 | if (tptr->syn) { > | ^~ >src/packet.c:79:13: error: âstruct tcphdrâ has no member named âfinâ > 79 | if (tptr->fin) { > | ^~ >src/packet.c:92:13: error: âstruct tcphdrâ has no member named âres2â > 92 | if (tptr->res2 & e1 && tptr->res2 & e2) { > | ^~ >src/packet.c:92:32: error: âstruct tcphdrâ has no member named âres2â > 92 | if (tptr->res2 & e1 && tptr->res2 & e2) { > | ^~ >src/packet.c:95:20: error: âstruct tcphdrâ has no member named âres2â > 95 | } else if (tptr->res2 & e1) { > | ^~ >src/packet.c:98:20: error: âstruct tcphdrâ has no member named âres2â > 98 | } else if (tptr->res2 & e2) { > | ^~ >src/packet.c: In function âhandle_udpâ: >src/packet.c:114:20: error: âstruct udphdrâ has no member named âsourceâ > 114 | sp = ntohs(uptr->source); > | ^~ >src/packet.c:115:20: error: âstruct udphdrâ has no member named âdestâ > 115 | dp = ntohs(uptr->dest); > | ^~ >src/packet.c: In function âlook_at_packetâ: >src/packet.c:466:9: warning: variable âfragidâ set but not used [-Wunused-but-set-variable] > 466 | int fragid, mf, offset; > | ^~~~~~ >make: *** [<builtin>: src/packet.o] Error 1 > * ERROR: net-analyzer/nstats-0.4-r3::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-analyzer/nstats-0.4-r3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-analyzer/nstats-0.4-r3::gentoo'`. > * The complete build log is located at '/var/log/portage/net-analyzer:nstats-0.4-r3:20200316-103043.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/nstats-0.4-r3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/nstats-0.4-r3/temp/environment'. > * Working directory: '/var/tmp/portage/net-analyzer/nstats-0.4-r3/work/nstats-0.4' > * S: '/var/tmp/portage/net-analyzer/nstats-0.4-r3/work/nstats-0.4'
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 712876
:
620566
|
620568
|
620570
|
620572
|
620574
| 620576 |
620578