Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 907152 Details for
Bug 942415
app-misc/bfr-1.6-r5 - [gcc-15] 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]
app-misc:bfr-1.6-r5:20241028-071041.log
app-misc:bfr-1.6-r5:20241028-071041.log (text/plain), 9.28 KB, created by
Toralf Förster
on 2024-10-28 18:19:25 UTC
(
hide
)
Description:
app-misc:bfr-1.6-r5:20241028-071041.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-10-28 18:19:25 UTC
Size:
9.28 KB
patch
obsolete
> * Package: app-misc/bfr-1.6-r5:0 > * Repository: gentoo > * Maintainer: shell-tools@gentoo.org > * USE: abi_x86_64 amd64 elibc_musl kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking bfr-1.6.tar.bz2 to /var/tmp/portage/app-misc/bfr-1.6-r5/work >>>> Source unpacked in /var/tmp/portage/app-misc/bfr-1.6-r5/work >>>> Preparing source in /var/tmp/portage/app-misc/bfr-1.6-r5/work/bfr-1.6 ... > * Applying bfr-1.6-perl.patch ... > [ ok ] > * Applying bfr-1.6-long-types.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/app-misc/bfr-1.6-r5/work/bfr-1.6' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/app-misc/bfr-1.6-r5/temp/aclocal' ... > [ ok ] > * Moving configure.in to configure.ac (bug #426262) > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader --force' ... > [ ok ] > * Running 'automake --add-missing --copy --force-missing' ... > [ ok ] > * Running elibtoolize in: bfr-1.6/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-misc/bfr-1.6-r5/work/bfr-1.6 ... > * econf: updating bfr-1.6/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating bfr-1.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/bfr-1.6-r5 --htmldir=/usr/share/doc/bfr-1.6-r5/html --libdir=/usr/lib >configure: loading site script /usr/share/config.site >checking for a BSD-compatible install... /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c >checking whether sleep supports fractional seconds... yes >checking filesystem timestamp resolution... 0.01 >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 xargs -n works... 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 x86_64-pc-linux-musl-gcc... (cached) x86_64-pc-linux-musl-gcc >checking whether the compiler supports GNU C... (cached) yes >checking whether x86_64-pc-linux-musl-gcc accepts -g... (cached) yes >checking for x86_64-pc-linux-musl-gcc option to enable C11 features... (cached) none needed >checking whether x86_64-pc-linux-musl-gcc understands -c and -o together... (cached) yes >checking dependency style of x86_64-pc-linux-musl-gcc... (cached) none >checking whether make sets $(MAKE)... (cached) 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 sys/time.h... yes >checking for grep that handles long lines and -e... /usr/bin/grep >checking for egrep... /usr/bin/grep -E >checking for fcntl.h... yes >checking for sys/time.h... (cached) yes >checking for unistd.h... (cached) yes >checking for gettimeofday... yes >checking for select... yes >checking for strstr... yes >checking for strtol... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating testit/Makefile >config.status: creating Makefile >config.status: creating bfr.spec >config.status: creating config.h >config.status: executing depfiles commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-misc/bfr-1.6-r5/work/bfr-1.6 ... >make -O -j4 >make all-recursive >Making all in testit >make[2]: Entering directory '/var/tmp/portage/app-misc/bfr-1.6-r5/work/bfr-1.6/testit' >x86_64-pc-linux-musl-gcc -Wall -DHAVE_CONFIG_H test.c -o test >make[2]: Leaving directory '/var/tmp/portage/app-misc/bfr-1.6-r5/work/bfr-1.6/testit' >make[2]: Entering directory '/var/tmp/portage/app-misc/bfr-1.6-r5/work/bfr-1.6' >x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -O2 -Wall -O2 -Wall -O2 -Wall -O2 -pipe -march=native -fno-diagnostics-color -c -o getopt.o getopt.c >getopt.c: In function '_getopt_internal': >getopt.c:386:30: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] > 386 | if (optind != argc && !strcmp (argv[optind], "--")) > | ^~~~~~ >getopt.c:98:1: note: include '<string.h>' or provide a declaration of 'strcmp' > 97 | #include "getopt.h" > +++ |+#include <string.h> > 98 | >getopt.c:455:14: error: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] > 455 | if (!strncmp (p->name, nextchar, s - nextchar)) > | ^~~~~~~ >getopt.c:455:14: note: include '<string.h>' or provide a declaration of 'strncmp' >getopt.c:455:44: 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] > 455 | if (!strncmp (p->name, nextchar, s - nextchar)) > | ~~^~~~~~~~~~ ><built-in>: note: built-in 'strncmp' declared here >getopt.c:457:33: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] > 457 | if (s - nextchar == strlen (p->name)) > | ^~~~~~ >getopt.c:457:33: note: include '<string.h>' or provide a declaration of 'strlen' >getopt.c:457:33: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] >getopt.c:457:33: note: include '<string.h>' or provide a declaration of 'strlen' >getopt.c:481:23: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] > 481 | nextchar += strlen (nextchar); > | ^~~~~~ >getopt.c:481:23: note: include '<string.h>' or provide a declaration of 'strlen' >getopt.c:511:31: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] > 511 | nextchar += strlen (nextchar); > | ^~~~~~ >getopt.c:511:31: note: include '<string.h>' or provide a declaration of 'strlen' >getopt.c:524:31: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] > 524 | nextchar += strlen (nextchar); > | ^~~~~~ >getopt.c:524:31: note: include '<string.h>' or provide a declaration of 'strlen' >getopt.c:528:23: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] > 528 | nextchar += strlen (nextchar); > | ^~~~~~ >getopt.c:528:23: note: include '<string.h>' or provide a declaration of 'strlen' >make[2]: *** [Makefile:485: getopt.o] Error 1 >make[2]: Leaving directory '/var/tmp/portage/app-misc/bfr-1.6-r5/work/bfr-1.6' >make[2]: *** Waiting for unfinished jobs.... >make[2]: Entering directory '/var/tmp/portage/app-misc/bfr-1.6-r5/work/bfr-1.6' >x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -O2 -Wall -O2 -Wall -O2 -Wall -O2 -pipe -march=native -fno-diagnostics-color -c -o getopt1.o getopt1.c >make[2]: Leaving directory '/var/tmp/portage/app-misc/bfr-1.6-r5/work/bfr-1.6' >make[2]: Entering directory '/var/tmp/portage/app-misc/bfr-1.6-r5/work/bfr-1.6' >x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -O2 -Wall -O2 -Wall -O2 -Wall -O2 -pipe -march=native -fno-diagnostics-color -c -o bfr.o bfr.c >make[2]: Leaving directory '/var/tmp/portage/app-misc/bfr-1.6-r5/work/bfr-1.6' >make[2]: Entering directory '/var/tmp/portage/app-misc/bfr-1.6-r5/work/bfr-1.6' >x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -O2 -Wall -O2 -Wall -O2 -Wall -O2 -pipe -march=native -fno-diagnostics-color -DBUFPLAY -c bfr.c -o bfp.o -g -ggdb >make[2]: Leaving directory '/var/tmp/portage/app-misc/bfr-1.6-r5/work/bfr-1.6' >make[1]: *** [Makefile:544: all-recursive] Error 1 >make: *** [Makefile:363: all] Error 2 > * ERROR: app-misc/bfr-1.6-r5::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-misc/bfr-1.6-r5::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-misc/bfr-1.6-r5::gentoo'`. > * The complete build log is located at '/var/log/portage/app-misc:bfr-1.6-r5:20241028-071041.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-misc/bfr-1.6-r5/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-misc/bfr-1.6-r5/temp/environment'. > * Working directory: '/var/tmp/portage/app-misc/bfr-1.6-r5/work/bfr-1.6' > * S: '/var/tmp/portage/app-misc/bfr-1.6-r5/work/bfr-1.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 942415
:
907151
| 907152 |
907153
|
907154
|
907155
|
907156
|
907157
|
907158
|
907159