Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940614 - app-shells/bash-5.2_p26-r6::gentoo failed
Summary: app-shells/bash-5.2_p26-r6::gentoo failed
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-01 15:05 UTC by Giovanni Affuso
Modified: 2024-10-02 08:03 UTC (History)
2 users (show)

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


Attachments
Log File (bash_error.zip,32.65 KB, application/x-zip-compressed)
2024-10-01 15:05 UTC, Giovanni Affuso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Giovanni Affuso 2024-10-01 15:05:09 UTC
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
Comment 1 Ionen Wolkens gentoo-dev 2024-10-01 15:58:23 UTC
>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?
Comment 2 Ionen Wolkens gentoo-dev 2024-10-01 16:15:50 UTC
(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.
Comment 3 Giovanni Affuso 2024-10-02 08:03:25 UTC
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