Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 785309 Details for
Bug 852119
net-analyzer/xprobe-0.3-r1 - datalink.cc: error: time was not declared in this scope
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-analyzer:xprobe-0.3-r1:20220615-044600.log
net-analyzer:xprobe-0.3-r1:20220615-044600.log (text/plain), 11.43 KB, created by
Toralf Förster
on 2022-06-15 09:07:21 UTC
(
hide
)
Description:
net-analyzer:xprobe-0.3-r1:20220615-044600.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-06-15 09:07:21 UTC
Size:
11.43 KB
patch
obsolete
> * Package: net-analyzer/xprobe-0.3-r1 > * Repository: gentoo > * Maintainer: netmon@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking xprobe2-0.3.tar.gz to /var/tmp/portage/net-analyzer/xprobe-0.3-r1/work >>>> Source unpacked in /var/tmp/portage/net-analyzer/xprobe-0.3-r1/work >>>> Preparing source in /var/tmp/portage/net-analyzer/xprobe-0.3-r1/work/xprobe2-0.3 ... > * Applying xprobe-0.3-gcc43.patch ... > [ ok ] > * Applying xprobe-0.3-cxx11.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-analyzer/xprobe-0.3-r1/work/xprobe2-0.3 ... > * econf: updating xprobe2-0.3/cfg-scripts/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating xprobe2-0.3/cfg-scripts/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating xprobe2-0.3/libs-external/USI++/src/cfgaux/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating xprobe2-0.3/libs-external/USI++/src/cfgaux/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 --libdir=/usr/lib64 >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking for C compiler default output file name... a.out >checking whether the C compiler works... yes >checking whether we are cross compiling... no >checking for suffix of executables... >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed >checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ >checking whether we are using the GNU C++ compiler... yes >checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E >checking for egrep... grep -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 strings.h... (cached) yes >checking for string.h... (cached) yes >checking for stdlib.h... (cached) yes >checking for unistd.h... (cached) yes >checking glib.h usability... no >checking glib.h presence... no >checking for glib.h... no >checking dlfcn.h usability... yes >checking dlfcn.h presence... yes >checking for dlfcn.h... yes >checking if sa_len is in struct sockaddr... no >checking for pcap_datalink in -lpcap... yes >checking for dlfcn.h... (cached) yes >checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c >checking whether make sets $(MAKE)... yes >configure: creating ./config.status >config.status: creating Makefile >config.status: creating src/defines.h >config.status: creating src/Makefile >config.status: creating src/xplib/Makefile >config.status: creating src/xpmodules/Makefile >config.status: creating src/xpmodules/alive_probe/Makefile >config.status: creating src/xpmodules/alive_probe/ttl_calc/Makefile >config.status: creating src/xpmodules/alive_probe/portscanner/Makefile >config.status: creating src/xpmodules/os_probe/Makefile >config.status: creating src/xpmodules/os_probe/icmp_echo_id/Makefile >config.status: creating src/xpmodules/os_probe/icmp_timestamp/Makefile >config.status: creating src/xpmodules/os_probe/icmp_addrmask/Makefile >config.status: creating src/xpmodules/os_probe/icmp_inforeq/Makefile >config.status: creating src/xpmodules/os_probe/icmp_port_unreach/Makefile >config.status: creating src/xpmodules/os_probe/tcp_handshake/Makefile >config.status: creating src/xpmodules/os_probe/tcp_rst/Makefile >config.status: creating src/xpmodules/os_probe/smb/Makefile >config.status: creating src/xpmodules/os_probe/snmp/Makefile >config.status: creating src/config.h >configure: configuring in libs-external/USI++/src >configure: running /bin/sh './configure' --prefix=/usr '--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' '--libdir=/usr/lib64' 'CFLAGS=-pipe -march=native -fno-diagnostics-color -O2' 'CXXFLAGS=-pipe -march=native -fno-diagnostics-color -O2' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' --cache-file=/dev/null --srcdir=. >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ >checking for C++ compiler default output file name... a.out >checking whether the C++ compiler works... yes >checking whether we are cross compiling... no >checking for suffix of executables... >checking for suffix of object files... o >checking whether we are using the GNU C++ compiler... yes >checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking whether we are using the GNU C compiler... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed >checking for main in -lpcap... yes >checking for pcap_setnonblock in -lpcap... yes >checking for socket in -lsocket... no >checking for inet_ntoa in -lnsl... yes >checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E >checking for egrep... grep -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 fcntl.h usability... yes >checking fcntl.h presence... yes >checking for fcntl.h... yes >checking sys/ioctl.h usability... yes >checking sys/ioctl.h presence... yes >checking for sys/ioctl.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 linux/filter.h usability... yes >checking linux/filter.h presence... yes >checking for linux/filter.h... yes >checking for an ANSI C-conforming const... yes >checking for size_t... yes >checking whether time.h and sys/time.h may both be included... yes >checking whether byte ordering is bigendian... no >configure: creating ./config.status >config.status: creating Makefile >config.status: creating config.h >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-analyzer/xprobe-0.3-r1/work/xprobe2-0.3 ... >make -j4 >cd libs-external/USI++/src; make >make[1]: Entering directory '/var/tmp/portage/net-analyzer/xprobe-0.3-r1/work/xprobe2-0.3/libs-external/USI++/src' >x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -fPIC -I/usr/include/pcap -I. -Wall -c -O2 icmp.cc >x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -fPIC -I/usr/include/pcap -I. -Wall -c -O2 datalink.cc >x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -fPIC -I/usr/include/pcap -I. -Wall -c -O2 ip.cc >x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -fPIC -I/usr/include/pcap -I. -Wall -c -O2 misc.cc >misc.cc: In function âshort unsigned int usipp::in_cksum(short unsigned int*, int, bool)â: >misc.cc:21:17: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 21 | register long sum; /* assumes long == 32 bits */ > | ^~~ >misc.cc:23:20: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 23 | register u_short answer; /* assumes u_short == 16 bits */ > | ^~~~~~ >datalink.cc: In member function âvirtual int usipp::Pcap::sniffpack(void*, size_t)â: >datalink.cc:344:25: error: âtimeâ was not declared in this scope > 344 | start = time(NULL); > | ^~~~ >datalink.cc:356:30: error: âtimeâ was not declared in this scope > 356 | if ((time(NULL) - start) > d_tv.tv_sec) { > | ^~~~ >x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -fPIC -I/usr/include/pcap -I. -Wall -c -O2 udp.cc >make[1]: *** [Makefile:27: datalink.o] Error 1 >make[1]: *** Waiting for unfinished jobs.... >icmp.cc: In member function âvirtual int usipp::ICMP::init_device(char*, int, size_t)â: >icmp.cc:296:31: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 296 | r = Layer2::setfilter("icmp"); > | ^~~~~~ >ip.cc: In member function âvirtual int usipp::IP::init_device(char*, int, size_t)â: >ip.cc:559:31: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 559 | r = Layer2::setfilter("ip"); > | ^~~~ >icmp.cc: In member function âusipp::ICMP& usipp::ICMP::operator=(const usipp::IP&)â: >icmp.cc:71:17: warning: âiphâ may be used uninitialized [-Wmaybe-uninitialized] > 71 | icmphdr = *(struct icmphdr *)((char *)&iph + IP::get_hlen() * 4); > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >icmp.cc:66:11: note: âiphâ declared here > 66 | iphdr iph; > | ^~~ >udp.cc: In member function âvirtual int usipp::UDP::init_device(char*, int, size_t)â: >udp.cc:217:31: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 217 | r = Layer2::setfilter("udp"); > | ^~~~~ >udp.cc: In member function âusipp::UDP& usipp::UDP::operator=(const usipp::IP&)â: >udp.cc:62:16: warning: âiphâ may be used uninitialized [-Wmaybe-uninitialized] > 62 | d_udph = *(udphdr *)((char *)&iph + IP::get_hlen() * 4); > | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >udp.cc:57:11: note: âiphâ declared here > 57 | iphdr iph; > | ^~~ >make[1]: Leaving directory '/var/tmp/portage/net-analyzer/xprobe-0.3-r1/work/xprobe2-0.3/libs-external/USI++/src' >make: *** [Makefile:46: all] Error 2 > * ERROR: net-analyzer/xprobe-0.3-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-analyzer/xprobe-0.3-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-analyzer/xprobe-0.3-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/net-analyzer:xprobe-0.3-r1:20220615-044600.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/xprobe-0.3-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/xprobe-0.3-r1/temp/environment'. > * Working directory: '/var/tmp/portage/net-analyzer/xprobe-0.3-r1/work/xprobe2-0.3' > * S: '/var/tmp/portage/net-analyzer/xprobe-0.3-r1/work/xprobe2-0.3' >
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 852119
:
785294
|
785297
|
785300
|
785303
|
785306
| 785309 |
785312