Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944055 - www-client/w3m-0.5.3_p20230121 cannot be compiled with gcc15.0.0_pre20241117-r2::gentoo
Summary: www-client/w3m-0.5.3_p20230121 cannot be compiled with gcc15.0.0_pre20241117-...
Status: RESOLVED DUPLICATE of bug 943868
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-19 22:48 UTC by OldManSeph
Modified: 2024-11-20 04:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
www-client/w3m-0.5.3_p20230121 (w3m-0.5.3_p20230121.build.log,17.29 KB, text/x-log)
2024-11-19 22:48 UTC, OldManSeph
Details
OldManSeph emerge --info (emerge_info.txt,6.93 KB, text/plain)
2024-11-19 22:48 UTC, OldManSeph
Details

Note You need to log in before you can comment on or make changes to this bug.
Description OldManSeph 2024-11-19 22:48:13 UTC
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
Comment 1 OldManSeph 2024-11-19 22:48:34 UTC
Created attachment 910402 [details]
OldManSeph emerge --info
Comment 2 immolo 2024-11-20 04:03:13 UTC

*** This bug has been marked as a duplicate of bug 943868 ***