Summary: |
www-client/w3m-0.5.3_p20230121 cannot be compiled with gcc15.0.0_pre20241117-r2::gentoo |
Product: |
Gentoo Linux
|
Reporter: |
OldManSeph <sschaefering> |
Component: |
Current packages | Assignee: |
Gentoo Linux bug wranglers <bug-wranglers> |
Status: |
RESOLVED
DUPLICATE
|
|
|
Severity: |
normal
|
CC: |
immoloism, sschaefering
|
Priority: |
Normal
|
|
|
Version: |
unspecified | |
|
Hardware: |
All | |
|
OS: |
Linux | |
|
Whiteboard: |
|
Package list:
|
|
Runtime testing required:
|
---
|
Bug Depends on: |
|
|
|
Bug Blocks: |
880545
|
|
|
Attachments: |
www-client/w3m-0.5.3_p20230121
OldManSeph emerge --info
|
Created attachment 910401 [details] www-client/w3m-0.5.3_p20230121 x86_64-pc-linux-gnu-gcc -I.. -I.. -I. -O2 -pipe -I./libwc -DUSE_UNICODE -I. -I./.. -DHAVE_CONFIG_H -c -o big5.o big5.c x86_64-pc-linux-gnu-gcc -I.. -I.. -I. -O2 -pipe -I./libwc -DUSE_UNICODE -I. -I./.. -DHAVE_CONFIG_H -c -o ces.o ces.c w3mbookmark.c: In function ‘main’: w3mbookmark.c:186:18: error: conflicting types for ‘getenv’; have ‘char *(void)’ 186 | extern char *getenv(); | ^~~~~~ In file included from w3mbookmark.c:2: /usr/include/stdlib.h:773:14: note: previous declaration of ‘getenv’ with type ‘char *(const char *)’ 773 | extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; | ^~~~~~ w3mbookmark.c:199:9: error: too many arguments to function ‘getenv’ 199 | p = getenv("REQUEST_METHOD"); | ^~~~~~ w3mbookmark.c:186:18: note: declared here 186 | extern char *getenv(); | ^~~~~~ w3mbookmark.c:202:9: error: too many arguments to function ‘getenv’ 202 | p = getenv("CONTENT_LENGTH"); | ^~~~~~ w3mbookmark.c:186:18: note: declared here 186 | extern char *getenv(); | ^~~~~~ w3mbookmark.c:212:9: error: too many arguments to function ‘getenv’ 212 | p = getenv("LOCAL_COOKIE_FILE"); | ^~~~~~ w3mbookmark.c:186:18: note: declared here 186 | extern char *getenv(); | ^~~~~~ make: *** [<builtin>: w3mbookmark.o] Error 1 make: *** Waiting for unfinished jobs.... x86_64-pc-linux-gnu-gcc -I.. -I.. -I. -O2 -pipe -I./libwc -DUSE_UNICODE -I. -I./.. -DHAVE_CONFIG_H -c -o char_conv.o char_conv.c char_conv.c: In function ‘wc_char_conv’: char_conv.c:19:25: error: too many arguments to function ‘char_conv_st.ces_info->char_conv’ 19 | return wc_Str_conv((*char_conv_st.ces_info->char_conv)((wc_uchar)c, &char_conv_st), | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I.. -I.. -I. -O2 -pipe -I./libwc -DUSE_UNICODE -I. -I./.. -DHAVE_CONFIG_H -c -o charset.o charset.c make[1]: *** [<builtin>: char_conv.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/var/tmp/portage/www-client/w3m-0.5.3_p20230121/work/w3m-0.5.3-git20230121/libwc' make: *** [Makefile:198: libwc] Error 2 * ERROR: www-client/w3m-0.5.3_p20230121::gentoo failed (compile phase): * emake failed