Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 820219 Details for
Bug 875149
net-misc/netstat-nat-1.4.10 - netstat-nat.c: error: call to undeclared function string_search; ISO C99
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-misc:netstat-nat-1.4.10:20221004-100508.log
net-misc:netstat-nat-1.4.10:20221004-100508.log (text/plain), 14.40 KB, created by
Toralf Förster
on 2022-10-04 16:50:54 UTC
(
hide
)
Description:
net-misc:netstat-nat-1.4.10:20221004-100508.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-10-04 16:50:54 UTC
Size:
14.40 KB
patch
obsolete
> * Package: net-misc/netstat-nat-1.4.10:0 > * 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 netstat-nat-1.4.10.tar.gz to /var/tmp/portage/net-misc/netstat-nat-1.4.10/work >>>> Source unpacked in /var/tmp/portage/net-misc/netstat-nat-1.4.10/work >>>> Preparing source in /var/tmp/portage/net-misc/netstat-nat-1.4.10/work/netstat-nat-1.4.10 ... > * Applying netstat-nat-1.4.10-install.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/net-misc/netstat-nat-1.4.10/work/netstat-nat-1.4.10' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/net-misc/netstat-nat-1.4.10/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'automake --add-missing --copy --force-missing' ... > [ ok ] > * Running elibtoolize in: netstat-nat-1.4.10/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-misc/netstat-nat-1.4.10/work/netstat-nat-1.4.10 ... > * econf: updating netstat-nat-1.4.10/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating netstat-nat-1.4.10/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/netstat-nat-1.4.10 --htmldir=/usr/share/doc/netstat-nat-1.4.10/html --libdir=/usr/lib64 >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 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 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 grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for stdio.h... (cached) yes >checking for stdlib.h... (cached) yes >checking for string.h... (cached) yes >checking for netdb.h... yes >checking for unistd.h... (cached) yes >checking for arpa/inet.h... yes >checking for errno.h... yes >checking for strings.h... (cached) yes >checking for net/if.h... yes >checking for sys/ioctl.h... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: executing depfiles commands >>>> Source configured. >'/var/tmp/portage/net-misc/netstat-nat-1.4.10/temp/clang14.log' -> '/var/tmp/clang/net-misc/netstat-nat-1.4.10/clang14.log' >'/var/tmp/portage/net-misc/netstat-nat-1.4.10/temp/clang15.log' -> '/var/tmp/clang/net-misc/netstat-nat-1.4.10/clang15.log' >>>> Compiling source in /var/tmp/portage/net-misc/netstat-nat-1.4.10/work/netstat-nat-1.4.10 ... >make -j4 >make[1]: Entering directory '/var/tmp/portage/net-misc/netstat-nat-1.4.10/work/netstat-nat-1.4.10' >clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"netstat-nat\" -DVERSION=\"1.4.10\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_NETDB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_ERRNO_H=1 -DHAVE_STRINGS_H=1 -DHAVE_NET_IF_H=1 -DHAVE_SYS_IOCTL_H=1 -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o netstat-nat.o netstat-nat.c >netstat-nat.c:283:38: warning: comparing a pointer to a null character constant; > did you mean to compare to NULL? [-Wpointer-compare] > if (optarg == NULL || optarg == '\0') { > ^~~~ > (void *)0 >netstat-nat.c:530:9: error: call to undeclared function 'string_search'; ISO C99 > and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (string_search(line, "tcp")) { > ^ >netstat-nat.c:565:9: error: call to undeclared function 'string_search'; ISO C99 > and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (string_search(line, "ESTABLISHED")) { > ^ >netstat-nat.c:615:5: error: call to undeclared function 'search_first_hit'; ISO > C99 and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > search_first_hit("src=", line, srcip_f); > ^ >netstat-nat.c:617:5: error: call to undeclared function 'search_sec_hit'; ISO > C99 and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > search_sec_hit("src=", line, srcip_s); > ^ >netstat-nat.c:633:7: warning: logical not is only applied to the left hand side > of this comparison [-Wlogical-not-parentheses] > if ((!strcmp(srcip_f, dstip_s) == 0) && (strcmp(dstip_f, srcip_s... > ^ ~~ >netstat-nat.c:633:7: note: add parentheses after the '!' to evaluate the > comparison first > if ((!strcmp(srcip_f, dstip_s) == 0) && (strcmp(dstip_f, srcip_s... > ^ > ( ) >netstat-nat.c:633:7: note: add parentheses around left hand side expression to > silence this warning > if ((!strcmp(srcip_f, dstip_s) == 0) && (strcmp(dstip_f, srcip_s... > ^ > ( ) >netstat-nat.c:638:42: warning: logical not is only applied to the left hand side > of this comparison [-Wlogical-not-parentheses] > ...dstip_s) == 0) && (!strcmp(dstip_f, srcip_s) == 0)) { > ^ ~~ >netstat-nat.c:638:42: note: add parentheses after the '!' to evaluate the > comparison first > ...dstip_s) == 0) && (!strcmp(dstip_f, srcip_s) == 0)) { > ^ > ( ) >netstat-nat.c:638:42: note: add parentheses around left hand side expression to > silence this warning > ...((strcmp(srcip_f, dstip_s) == 0) && (!strcmp(dstip_f, srcip_s) == 0)) ... > ^ > ( ) >netstat-nat.c:644:7: warning: logical not is only applied to the left hand side > of this comparison [-Wlogical-not-parentheses] > if ((!strcmp(srcip_f, srcip_s) == 0) && (!strcmp(srcip_f, dstip_... > ^ ~~ >netstat-nat.c:644:7: note: add parentheses after the '!' to evaluate the > comparison first > if ((!strcmp(srcip_f, srcip_s) == 0) && (!strcmp(srcip_f, dstip_... > ^ > ( ) >netstat-nat.c:644:7: note: add parentheses around left hand side expression to > silence this warning > if ((!strcmp(srcip_f, srcip_s) == 0) && (!strcmp(srcip_f, dstip_... > ^ > ( ) >netstat-nat.c:644:43: warning: logical not is only applied to the left hand side > of this comparison [-Wlogical-not-parentheses] > ...srcip_s) == 0) && (!strcmp(srcip_f, dstip_s) == 0) && (!strcmp(dstip_f, ... > ^ ~~ >netstat-nat.c:644:43: note: add parentheses after the '!' to evaluate the > comparison first > ...srcip_s) == 0) && (!strcmp(srcip_f, dstip_s) == 0) && (!strcmp(dstip_f, ... > ^ > ( ) >netstat-nat.c:644:43: note: add parentheses around left hand side expression to > silence this warning > ...((!strcmp(srcip_f, srcip_s) == 0) && (!strcmp(srcip_f, dstip_s) == 0) &... > ^ > ( ) >netstat-nat.c:644:79: warning: logical not is only applied to the left hand side > of this comparison [-Wlogical-not-parentheses] > ...(!strcmp(srcip_f, dstip_s) == 0) && (!strcmp(dstip_f, srcip_s) == 0) && ... > ^ ~~ >netstat-nat.c:644:79: note: add parentheses after the '!' to evaluate the > comparison first > ...dstip_s) == 0) && (!strcmp(dstip_f, srcip_s) == 0) && (!strcmp(dstip_f, ... > ^ > ( ) >netstat-nat.c:644:79: note: add parentheses around left hand side expression to > silence this warning > ...(!strcmp(srcip_f, dstip_s) == 0) && (!strcmp(dstip_f, srcip_s) == 0) && ... > ^ > ( ) >netstat-nat.c:644:115: warning: logical not is only applied to the left hand > side of this comparison [-Wlogical-not-parentheses] > ...(!strcmp(dstip_f, srcip_s) == 0) && (!strcmp(dstip_f, dstip_s) == 0) ) { > ^ ~~ >netstat-nat.c:644:115: note: add parentheses after the '!' to evaluate the > comparison first > ...(!strcmp(dstip_f, srcip_s) == 0) && (!strcmp(dstip_f, dstip_s) == 0) ) { > ^ > ( ) >netstat-nat.c:644:115: note: add parentheses around left hand side expression to > silence this warning > ...(!strcmp(dstip_f, srcip_s) == 0) && (!strcmp(dstip_f, dstip_s) == 0) ) { > ^ > ( ) >netstat-nat.c:650:7: warning: logical not is only applied to the left hand side > of this comparison [-Wlogical-not-parentheses] > if ((!strcmp(srcip_f, srcip_s) == 0) && (!strcmp(srcip_f, dstip_... > ^ ~~ >netstat-nat.c:650:7: note: add parentheses after the '!' to evaluate the > comparison first > if ((!strcmp(srcip_f, srcip_s) == 0) && (!strcmp(srcip_f, dstip_... > ^ > ( ) >netstat-nat.c:650:7: note: add parentheses around left hand side expression to > silence this warning > if ((!strcmp(srcip_f, srcip_s) == 0) && (!strcmp(srcip_f, dstip_... > ^ > ( ) >netstat-nat.c:650:43: warning: logical not is only applied to the left hand side > of this comparison [-Wlogical-not-parentheses] > ...srcip_s) == 0) && (!strcmp(srcip_f, dstip_s) == 0) && (!strcmp(dstip_f, ... > ^ ~~ >netstat-nat.c:650:43: note: add parentheses after the '!' to evaluate the > comparison first > ...srcip_s) == 0) && (!strcmp(srcip_f, dstip_s) == 0) && (!strcmp(dstip_f, ... > ^ > ( ) >netstat-nat.c:650:43: note: add parentheses around left hand side expression to > silence this warning > ...((!strcmp(srcip_f, srcip_s) == 0) && (!strcmp(srcip_f, dstip_s) == 0) &... > ^ > ( ) >netstat-nat.c:650:79: warning: logical not is only applied to the left hand side > of this comparison [-Wlogical-not-parentheses] > ...(!strcmp(srcip_f, dstip_s) == 0) && (!strcmp(dstip_f, srcip_s) == 0) && ... > ^ ~~ >netstat-nat.c:650:79: note: add parentheses after the '!' to evaluate the > comparison first > ...dstip_s) == 0) && (!strcmp(dstip_f, srcip_s) == 0) && (strcmp(dstip_f, d... > ^ > ( ) >netstat-nat.c:650:79: note: add parentheses around left hand side expression to > silence this warning > ...(!strcmp(srcip_f, dstip_s) == 0) && (!strcmp(dstip_f, srcip_s) == 0) && ... > ^ > ( ) >netstat-nat.c:824:70: warning: format specifies type 'int' but the argument has > type 'size_t' (aka 'unsigned long') [-Wformat] > ...not allocate memory (%i bytes); %s.\n -- Exiting.\n", bufsize, strerror(... > ~~ ^~~~~~~ > %zu >netstat-nat.c:837:70: warning: format specifies type 'int' but the argument has > type 'size_t' (aka 'unsigned long') [-Wformat] > ...not allocate memory (%i bytes); %s.\n -- Exiting.\n", newbufsize, strerr... > ~~ ^~~~~~~~~~ > %zu >12 warnings and 4 errors generated. >make[1]: *** [Makefile:457: netstat-nat.o] Error 1 >make[1]: Leaving directory '/var/tmp/portage/net-misc/netstat-nat-1.4.10/work/netstat-nat-1.4.10' >make: *** [Makefile:537: all-recursive] Error 1 > * ERROR: net-misc/netstat-nat-1.4.10::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-misc/netstat-nat-1.4.10::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-misc/netstat-nat-1.4.10::gentoo'`. > * The complete build log is located at '/var/log/portage/net-misc:netstat-nat-1.4.10:20221004-100508.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/netstat-nat-1.4.10/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-misc/netstat-nat-1.4.10/temp/environment'. > * Working directory: '/var/tmp/portage/net-misc/netstat-nat-1.4.10/work/netstat-nat-1.4.10' > * S: '/var/tmp/portage/net-misc/netstat-nat-1.4.10/work/netstat-nat-1.4.10' >
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 875149
:
820201
|
820204
|
820207
|
820210
|
820213
|
820216
| 820219 |
820222