Howdy,

This system is a Fedora 42 x86_64 system.

I've been trying to build bash from a repository 
"https://git.savannah.gnu.org/git/bash.git"; and a having the devil's own time 
in the process.

Did I just catch the repository in the middle of a rework? I have a full log of 
the build process if it's needed. The failure appears with the nonexperimental 
GCC as well as a version I built a few days ago from their repository. 
gcc-15.0.1-0.9.fc42.x86_64 or gcc (GCC) 15.0.1 20250320 (experimental).

I'm seeing a TON of messages like these, am I doing something wrong?

Best regards,

George...

    836 make[1]: Entering directory '/export/home/tools/bash/bash/builtins'
    837 rm -f mkbuiltins.o
    838 gcc -c  -DHAVE_CONFIG_H -DSHELL  -I. -I..  -I.. -I../include -I../lib 
-I. -I../lib/intl -I/tools/bash/b    838 ash/lib/intl -Wno-parentheses 
-Wno-format-security   -g -O2  mkbuiltins.c
    839 mkbuiltins.c: In function ‘main’:
    840 mkbuiltins.c:232:1: warning: old-style function definition 
[-Wold-style-definition]
    841   232 | main (argc, argv)
    842       | ^~~~
    843 mkbuiltins.c:267:29: error: too many arguments to function ‘xmalloc’; 
expected 0, have 1
    844   267 |           error_directory = xmalloc (2 + strlen 
(argv[arg_index]));
    845       |                             ^~~~~~~  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    846 mkbuiltins.c:62:14: note: declared here
    847    62 | static char *xmalloc (), *xrealloc ();
    848       |              ^~~~~~~
    849 mkbuiltins.c:307:34: error: too many arguments to function ‘xmalloc’; 
expected 0, have 1
    850   307 |           temp_struct_filename = xmalloc (15);




Reply via email to