Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 915345 Details for
Bug 947100
sys-devel/bc-1.07.1-r6: fails to compile with musl /gcc15 - getopt.c:1135:1: error: conflicting types for 'getopt'; have 'int(int, char * const*, const char *)'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Build log
build.log (text/plain), 7.18 KB, created by
meartzheast877
on 2024-12-28 09:15:09 UTC
(
hide
)
Description:
Build log
Filename:
MIME Type:
Creator:
meartzheast877
Created:
2024-12-28 09:15:09 UTC
Size:
7.18 KB
patch
obsolete
> * Package: sys-devel/bc-1.07.1-r6:0 > * Repository: gentoo > * Maintainer: base-system@gentoo.org > * USE: abi_x86_64 amd64 elibc_musl kernel_linux readline > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking bc-1.07.1.tar.gz to /var/tmp/portage/sys-devel/bc-1.07.1-r6/work >>>> Source unpacked in /var/tmp/portage/sys-devel/bc-1.07.1-r6/work >>>> Preparing source in /var/tmp/portage/sys-devel/bc-1.07.1-r6/work/bc-1.07.1 ... > * Applying bc-1.07.1-no-ed-its-sed.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sys-devel/bc-1.07.1-r6/work/bc-1.07.1 ... >./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/bc-1.07.1-r6 --htmldir=/usr/share/doc/bc-1.07.1-r6/html --libdir=/usr/lib --with-readline --program-suffix=-reference --without-libedit >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 thread-safe 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 we are using the GNU C compiler... yes >checking whether x86_64-pc-linux-musl-gcc accepts -g... yes >checking for x86_64-pc-linux-musl-gcc option to accept ISO C89... none needed >checking whether x86_64-pc-linux-musl-gcc understands -c and -o together... yes >checking for style of include used by make... GNU >checking dependency style of x86_64-pc-linux-musl-gcc... none >checking how to run the C preprocessor... x86_64-pc-linux-musl-gcc -E >checking for grep that handles long lines and -e... /usr/bin/grep >checking for egrep... /usr/bin/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 minix/config.h usability... no >checking minix/config.h presence... no >checking for minix/config.h... no >checking whether it is safe to define __EXTENSIONS__... yes >checking for flex... flex >checking lex output file root... lex.yy >checking lex library... -lfl >checking whether yytext is a pointer... yes >checking for x86_64-pc-linux-musl-ar... x86_64-pc-linux-musl-ar >checking the archiver (x86_64-pc-linux-musl-ar) interface... ar >checking for bison... bison -y >checking for x86_64-pc-linux-musl-ranlib... x86_64-pc-linux-musl-ranlib >checking whether make sets $(MAKE)... (cached) yes >checking for stdarg.h... yes >checking for stddef.h... yes >checking for stdlib.h... (cached) yes >checking for string.h... (cached) yes >checking for errno.h... yes >checking for limits.h... yes >checking for unistd.h... (cached) yes >checking for lib.h... no >checking for an ANSI C-conforming const... yes >checking for size_t... yes >checking for ptrdiff_t... yes >checking for vprintf... yes >checking for _doprnt... no >checking for isgraph... yes >checking for setvbuf... yes >checking for fstat... yes >checking for strtol... yes >checking for tparm in -lncurses... no >checking for tgetent in -ltermcap... no >checking for readline in -lreadline... yes >checking readline/readline.h usability... yes >checking readline/readline.h presence... yes >checking for readline/readline.h... yes >Using the readline library. >Adding GCC specific compile flags. >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating bc/Makefile >config.status: creating dc/Makefile >config.status: creating lib/Makefile >config.status: creating doc/Makefile >config.status: creating doc/texi-ver.incl >config.status: creating config.h >config.status: executing depfiles commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/sys-devel/bc-1.07.1-r6/work/bc-1.07.1 ... >make -j9 AR=x86_64-pc-linux-musl-ar >make all-recursive >make[1]: Entering directory '/var/tmp/portage/sys-devel/bc-1.07.1-r6/work/bc-1.07.1' >Making all in lib >make[2]: Entering directory '/var/tmp/portage/sys-devel/bc-1.07.1-r6/work/bc-1.07.1/lib' >x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I./../h -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -c -o getopt.o getopt.c >x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I./../h -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -c -o getopt1.o getopt1.c >x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I./../h -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -c -o vfprintf.o vfprintf.c >x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I./../h -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -O2 -pipe -Wall -funsigned-char -O2 -pipe -Wall -funsigned-char -c -o number.o number.c >getopt.c: In function '_getopt_initialize': >getopt.c:348:21: error: too many arguments to function 'getenv'; expected 0, have 1 > 348 | posixly_correct = getenv ("POSIXLY_CORRECT"); > | ^~~~~~ ~~~~~~~~~~~~~~~~~ >getopt.c:200:14: note: declared here > 200 | extern char *getenv (); > | ^~~~~~ >getopt.c: At top level: >getopt.c:1135:1: error: conflicting types for 'getopt'; have 'int(int, char * const*, const char *)' > 1135 | getopt (int argc, char *const *argv, const char *optstring) > | ^~~~~~ >In file included from getopt.c:106: >./../h/getopt.h:144:12: note: previous declaration of 'getopt' with type 'int(void)' > 144 | extern int getopt (); > | ^~~~~~ >make[2]: *** [Makefile:319: getopt.o] Error 1 >make[2]: *** Waiting for unfinished jobs.... >make[2]: Leaving directory '/var/tmp/portage/sys-devel/bc-1.07.1-r6/work/bc-1.07.1/lib' >make[1]: *** [Makefile:357: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/sys-devel/bc-1.07.1-r6/work/bc-1.07.1' >make: *** [Makefile:297: all] Error 2 > * ERROR: sys-devel/bc-1.07.1-r6::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=sys-devel/bc-1.07.1-r6::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sys-devel/bc-1.07.1-r6::gentoo'`. > * The complete build log is located at '/var/tmp/portage/sys-devel/bc-1.07.1-r6/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sys-devel/bc-1.07.1-r6/temp/environment'. > * Working directory: '/var/tmp/portage/sys-devel/bc-1.07.1-r6/work/bc-1.07.1' > * S: '/var/tmp/portage/sys-devel/bc-1.07.1-r6/work/bc-1.07.1'
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 947100
: 915345 |
915346