Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 895620 Details for
Bug 934059
dev-util/fuzz-0.6-r3 - [ncurses-6.5] getopt.c: error: implicit declaration of function strcmp [-Wimplicit-function-declaration]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-util:fuzz-0.6-r3:20240611-144012.log
dev-util:fuzz-0.6-r3:20240611-144012.log (text/plain), 15.75 KB, created by
Toralf Förster
on 2024-06-11 16:26:19 UTC
(
hide
)
Description:
dev-util:fuzz-0.6-r3:20240611-144012.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-06-11 16:26:19 UTC
Size:
15.75 KB
patch
obsolete
> * Package: dev-util/fuzz-0.6-r3:0 > * Repository: gentoo > * Maintainer: robbat2@gentoo.org > * USE: abi_x86_64 amd64 elibc_musl kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking fuzz-0.6.tar.gz to /var/tmp/portage/dev-util/fuzz-0.6-r3/work >>>> Unpacking fuzz_0.6-7.3.diff.gz to /var/tmp/portage/dev-util/fuzz-0.6-r3/work >>>> Source unpacked in /var/tmp/portage/dev-util/fuzz-0.6-r3/work >>>> Preparing source in /var/tmp/portage/dev-util/fuzz-0.6-r3/work/fuzz-0.6 ... > * Applying fuzz_0.6-7.3.diff ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/dev-util/fuzz-0.6-r3/work/fuzz-0.6' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/dev-util/fuzz-0.6-r3/temp/aclocal' ... > [ ok ] > * Moving configure.in to configure.ac (bug #426262) > * Running 'autoconf --force' ... > [ ok ] > * Running 'automake --add-missing --copy --force-missing' ... > [ ok ] > * Running elibtoolize in: fuzz-0.6/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-util/fuzz-0.6-r3/work/fuzz-0.6 ... > * econf: updating fuzz-0.6/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating fuzz-0.6/config.sub with /usr/share/gnuconfig/config.sub >./configure --prefix=/usr --build=x86_64-pc-linux-musl --host=x86_64-pc-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/fuzz-0.6-r3 --htmldir=/usr/share/doc/fuzz-0.6-r3/html --libdir=/usr/lib >configure: loading site script /usr/share/config.site >configure: loading site script /usr/share/config.site.d/80crossdev.conf >checking for a BSD-compatible install... /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /usr/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-musl-gcc... x86_64-pc-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-pc-linux-musl-gcc accepts -g... yes >checking for x86_64-pc-linux-musl-gcc option to enable C11 features... none needed >checking whether x86_64-pc-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-pc-linux-musl-gcc... none >checking for gawk... (cached) gawk >checking whether ln -s works... yes >checking for readline in -lreadline... yes >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... /usr/bin/grep >checking for egrep... /usr/bin/grep -E >checking for sys/wait.h that is POSIX.1 compatible... yes >checking for fcntl.h... yes >checking for unistd.h... (cached) yes >checking for an ANSI C-conforming const... yes >checking for size_t... yes >checking whether struct tm is in sys/time.h or time.h... time.h >checking return type of signal handlers... void >checking for getcwd... yes >checking for strdup... yes >checking for strerror... yes >checking for snprintf... yes >checking for getopt_long... yes >using libc's getopt_long >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: executing depfiles commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-util/fuzz-0.6-r3/work/fuzz-0.6 ... >make -j4 >x86_64-pc-linux-musl-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fuzz\" -DVERSION=\"0.6\" -DHAVE_LIBREADLINE=1 -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_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_GETCWD=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_SNPRINTF=1 -I. -O2 -pipe -march=native -fno-diagnostics-color -c -o fuzz.o fuzz.c >x86_64-pc-linux-musl-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fuzz\" -DVERSION=\"0.6\" -DHAVE_LIBREADLINE=1 -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_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_GETCWD=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_SNPRINTF=1 -I. -O2 -pipe -march=native -fno-diagnostics-color -c -o getopt.o getopt.c >x86_64-pc-linux-musl-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fuzz\" -DVERSION=\"0.6\" -DHAVE_LIBREADLINE=1 -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_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_GETCWD=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_SNPRINTF=1 -I. -O2 -pipe -march=native -fno-diagnostics-color -c -o getopt1.o getopt1.c >getopt.c: In function '_getopt_internal': >getopt.c:580:30: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] > 580 | if (optind != argc && !strcmp (argv[optind], "--")) > | ^~~~~~ >getopt.c:114:1: note: include '<string.h>' or provide a declaration of 'strcmp' > 113 | #include "getopt.h" > +++ |+#include <string.h> > 114 | >getopt.c:656:14: error: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] > 656 | if (!strncmp (p->name, nextchar, nameend - nextchar)) > | ^~~~~~~ >getopt.c:656:14: note: include '<string.h>' or provide a declaration of 'strncmp' >getopt.c:656:50: warning: 'strncmp' argument 3 type is 'long int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 656 | if (!strncmp (p->name, nextchar, nameend - nextchar)) > | ~~~~~~~~^~~~~~~~~~ ><built-in>: note: built-in 'strncmp' declared here >getopt.c:659:35: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] > 659 | == (unsigned int) strlen (p->name)) > | ^~~~~~ >getopt.c:659:35: note: include '<string.h>' or provide a declaration of 'strlen' >getopt.c:659:35: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] >getopt.c:659:35: note: include '<string.h>' or provide a declaration of 'strlen' >getopt.c:683:23: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] > 683 | nextchar += strlen (nextchar); > | ^~~~~~ >getopt.c:683:23: note: include '<string.h>' or provide a declaration of 'strlen' >getopt.c:713:31: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] > 713 | nextchar += strlen (nextchar); > | ^~~~~~ >getopt.c:713:31: note: include '<string.h>' or provide a declaration of 'strlen' >getopt.c:729:31: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] > 729 | nextchar += strlen (nextchar); > | ^~~~~~ >getopt.c:729:31: note: include '<string.h>' or provide a declaration of 'strlen' >getopt.c:734:23: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] > 734 | nextchar += strlen (nextchar); > | ^~~~~~ >getopt.c:734:23: note: include '<string.h>' or provide a declaration of 'strlen' >getopt.c:843:52: warning: 'strncmp' argument 3 type is 'long int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] > 843 | if (!strncmp (p->name, nextchar, nameend - nextchar)) > | ~~~~~~~~^~~~~~~~~~ ><built-in>: note: built-in 'strncmp' declared here >getopt.c:845:58: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] > 845 | if ((unsigned int) (nameend - nextchar) == strlen (p->name)) > | ^~~~~~ >getopt.c:845:58: note: include '<string.h>' or provide a declaration of 'strlen' >getopt.c:868:25: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] > 868 | nextchar += strlen (nextchar); > | ^~~~~~ >getopt.c:868:25: note: include '<string.h>' or provide a declaration of 'strlen' >getopt.c:888:33: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] > 888 | nextchar += strlen (nextchar); > | ^~~~~~ >getopt.c:888:33: note: include '<string.h>' or provide a declaration of 'strlen' >getopt.c:902:33: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] > 902 | nextchar += strlen (nextchar); > | ^~~~~~ >getopt.c:902:33: note: include '<string.h>' or provide a declaration of 'strlen' >getopt.c:906:25: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] > 906 | nextchar += strlen (nextchar); > | ^~~~~~ >getopt.c:906:25: note: include '<string.h>' or provide a declaration of 'strlen' >fuzz.c: In function 'main': >fuzz.c:182:26: warning: format '%u' expects argument of type 'unsigned int *', but argument 3 has type 'long unsigned int *' [-Wformat=] > 182 | if(sscanf(optarg,"%ul",&runs)!=1){ > | ~^ ~~~~~ > | | | > | | long unsigned int * > | unsigned int * > | %lu >fuzz.c:188:26: warning: format '%u' expects argument of type 'unsigned int *', but argument 3 has type 'long unsigned int *' [-Wformat=] > 188 | if(sscanf(optarg,"%ul",&len)!=1){ > | ~^ ~~~~ > | | | > | | long unsigned int * > | unsigned int * > | %lu >fuzz.c:197:26: warning: format '%u' expects argument of type 'unsigned int *', but argument 3 has type 'long unsigned int *' [-Wformat=] > 197 | if(sscanf(optarg,"%ul",&linemod)!=1){ > | ~^ ~~~~~~~~ > | | | > | | long unsigned int * > | unsigned int * > | %lu >fuzz.c:203:26: warning: format '%u' expects argument of type 'unsigned int *', but argument 3 has type 'long unsigned int *' [-Wformat=] > 203 | if(sscanf(optarg,"%ul",&maxline)!=1){ > | ~^ ~~~~~~~~ > | | | > | | long unsigned int * > | unsigned int * > | %lu >fuzz.c:209:26: warning: format '%u' expects argument of type 'unsigned int *', but argument 3 has type 'long unsigned int *' [-Wformat=] > 209 | if(sscanf(optarg,"%ul",&timeout)!=1){ > | ~^ ~~~~~~~~ > | | | > | | long unsigned int * > | unsigned int * > | %lu >fuzz.c:234:26: warning: format '%u' expects argument of type 'unsigned int *', but argument 3 has type 'long unsigned int *' [-Wformat=] > 234 | if(sscanf(optarg,"%ul",&max_args)!=1){ > | ~^ ~~~~~~~~~ > | | | > | | long unsigned int * > | unsigned int * > | %lu >fuzz.c:240:26: warning: format '%u' expects argument of type 'unsigned int *', but argument 3 has type 'long unsigned int *' [-Wformat=] > 240 | if(sscanf(optarg,"%ul",&max_arglen)!=1){ > | ~^ ~~~~~~~~~~~ > | | | > | | long unsigned int * > | unsigned int * > | %lu >fuzz.c:416:19: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] > 416 | printf("Run: %u %c",runs,print_bytes?'\n':'\r'); > | ~^ ~~~~ > | | | > | unsigned int long unsigned int > | %lu >fuzz.c: In function 'print_arglist': >fuzz.c:528:25: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'char **' [-Wformat=] > 528 | fprintf(errs,"argv=0x%x\n",argv); > | ~^ ~~~~ > | | | > | | char ** > | unsigned int >fuzz.c:530:33: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'char *' [-Wformat=] > 530 | fprintf(errs,"\targv[%u]=0x%x\n",i,argv[i]); > | ~^ ~~~~~~~ > | | | > | | char * > | unsigned int > | %s >fuzz.c:536:24: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] > 536 | fprintf(errs,"%0.2x ",argv[i][j]); > | ^~~~~~~~ >make: *** [Makefile:413: getopt.o] Error 1 >make: *** Waiting for unfinished jobs.... >fuzz.c: In function 'main': >fuzz.c:348:7: warning: 'strncat' specified bound 10240 equals destination size [-Wstringop-overflow=] > 348 | strncat(progname,"/",MAXPATH); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >fuzz.c:349:7: warning: 'strncat' specified bound 10240 equals destination size [-Wstringop-overflow=] > 349 | strncat(progname,argv[optind],MAXPATH); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > * ERROR: dev-util/fuzz-0.6-r3::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=dev-util/fuzz-0.6-r3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-util/fuzz-0.6-r3::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-util:fuzz-0.6-r3:20240611-144012.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/fuzz-0.6-r3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-util/fuzz-0.6-r3/temp/environment'. > * Working directory: '/var/tmp/portage/dev-util/fuzz-0.6-r3/work/fuzz-0.6' > * S: '/var/tmp/portage/dev-util/fuzz-0.6-r3/work/fuzz-0.6' >
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 934059
:
895619
| 895620 |
895621
|
895622
|
895623
|
895624
|
895625
|
895626
|
895627