bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash-5.2.32 fails "make install" on RHEL 9


From: Dennis Clarke
Subject: bash-5.2.32 fails "make install" on RHEL 9
Date: Sat, 24 Aug 2024 23:53:56 -0400
User-agent: Mozilla Thunderbird


This seemed to happen over and over and only during "make install".

So I went for a simple config just to get something.

Config was trivial :

$ ../bash-5.2.32/configure --prefix=/opt/bw \
--enable-minimal-config --enable-history --enable-job-control \
--enable-multibyte --enable-readline \
--enable-strict-posix-default --enable-threads=posix

which seems fine.

My env vars were trivial :

CC=/usr/bin/gcc

CFLAGS=-m64 -g -O0 -fno-builtin -march=k8 -mtune=k8 -mieee-fp -mhard-float -fno-fast-math -mno-fancy-math-387 -malign-double -m128bit-long-double -mstackrealign -mpreferred-stack-boundary=8

CPPFLAGS=-D_LARGEFILE64_SOURCE

HOME=/home/dclarke
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_TIME=C
PAGER=/usr/bin/more
PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin

really nothing too interesting.

However after the compile I get this for "make install" :

/usr/bin/gcc -fPIC -DHAVE_CONFIG_H -DSHELL -D_LARGEFILE64_SOURCE -m64 -g -O0 -fno-builtin -march=k8 -mtune=k8 -mieee-fp -mhard-float -fno-fast-math -mno-fancy-math-387 -malign-double -m128bit-long-double -mstackrealign -mpreferred-stack-boundary=8 -I. -I.. -I../../../bash-5.2.32 -I../../../bash-5.2.32/lib -I../../../bash-5.2.32/builtins -I../../../bash-5.2.32/examples/loadables -I../../../bash-5.2.32/include -I/opt/bw/build/bash-5.2.32_rhel9_amd64.001 -I/opt/bw/build/bash-5.2.32_rhel9_amd64.001/lib -I/opt/bw/build/bash-5.2.32_rhel9_amd64.001/builtins -c -o realpath.o ../../../bash-5.2.32/examples/loadables/realpath.c ../../../bash-5.2.32/examples/loadables/realpath.c: In function ‘realpath_builtin’: ../../../bash-5.2.32/examples/loadables/realpath.c:169:25: warning: implicit declaration of function ‘bind_array_element’ [-Wimplicit-function-declaration]
  169 |                         bind_array_element (v, ind, r, 0);
      |                         ^~~~~~~~~~~~~~~~~~
../../../bash-5.2.32/examples/loadables/realpath.c:169:45: error: ‘v’ undeclared (first use in this function)
  169 |                         bind_array_element (v, ind, r, 0);
      |                                             ^
../../../bash-5.2.32/examples/loadables/realpath.c:169:45: note: each undeclared identifier is reported only once for each function it appears in ../../../bash-5.2.32/examples/loadables/realpath.c:169:48: error: ‘ind’ undeclared (first use in this function); did you mean ‘int’?
  169 |                         bind_array_element (v, ind, r, 0);
      |                                                ^~~
      |                                                int
make[1]: *** [Makefile:101: realpath.o] Error 1
make[1]: Leaving directory '/opt/bw/build/bash-5.2.32_rhel9_amd64.001/examples/loadables'
make: [Makefile:846: install] Error 2 (ignored)

Not very helpful.

This is off the shelf bone stock RHEL9 with the default compiler and linker and nothing remotely interesting.

--
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken



reply via email to

[Prev in Thread] Current Thread [Next in Thread]