Created attachment 904599 [details] Log File Dear, i have this error during compiling the build : bashline.c:4810:24: error: ‘RL_STATE_TIMEOUT’ undeclared (first use in this function); did you mean ‘RL_STATE_MOREINPUT’? 4810 | else if (RL_ISSTATE (RL_STATE_TIMEOUT)) /* just in case */ | ^~~~~~~~~~~~~~~~ bashline.c:4810:24: note: each undeclared identifier is reported only once for each function it appears in rm -f stringlib.o i686-pc-linux-gnu-gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i686"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"i686-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I./include -I. -I./include -I./lib -DDEFAULT_PATH_VALUE='"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"' -DSTANDARD_UTILS_PATH='"/bin:/usr/bin:/sbin:/usr/sbin"' -DSYS_BASHRC='"/etc/bash/bashrc"' -DSYS_BASH_LOGOUT='"/etc/bash/bash_logout"' -DNON_INTERACTIVE_LOGIN_SHELLS -DSSH_SOURCE_BASHRC -O2 -march=i686 -pipe -c stringlib.c make: *** [Makefile:106: bashline.o] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: app-shells/bash-5.2_p26-r6::gentoo failed (compile phase): * emake failed In attached the output log. Best Regards Giovanni
>RL_STATE_TIMEOUT This was added in readline-8.2, and getting that error gives me the impression it's building against readline-8.1? ...which shouldn't happen given that version of bash depends on >=readline-8.2_p1 *and* the build.log says that it detected 8.2 But perhaps there is other files somewhere like outdated readline headers in /usr/local breaking it? Does it ring any bells?
(In reply to Ionen Wolkens from comment #1) > But perhaps there is other files somewhere like outdated readline headers in > /usr/local breaking it? Does it ring any bells? Tried and I can reproduce if I install readline-8.1 in /usr/local (and bash still says that it detects 8.2), so that scenario sounds likely. Please clean it up from /usr/local if so.
Dear, I checked on my user/local and I find this file ./lib/pkgconfig/readline.pc After remove I haven't the error. Thank you for your support Giovanni