patchThe GNU Bourne-Again SHell - Patches: patch #9759, Failed to build from source when...


You are not allowed to post comments on this tracker with your current authentication level.

patch #9759: Failed to build from source when configured with '--disable-bang-history'

Submitter:  WHR <whr>
Submitted:  Wed 27 Feb 2019 03:41:53 AM UTC
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Open

Wed 27 Feb 2019 03:41:53 AM UTC, original submission:  

Source version: 5.0.2
Build platform: x86_64-pc-solaris2.11
Host platform: i386-pc-solaris2.11
Configure environment: CC=gcc-4.3.2
Configure command line: configure --host=i386-pc-solaris2.11 --sysconfdir=/etc --localstatedir=/var --disable-rpath --localedir=/usr/share/locale --with-curses --disable-bang-history

Build failed with a compiler error:
gcc-4.3.2  -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i386"' -DCONF_OSTYPE='"solaris2"' -DCONF_MACHTYPE='"i386-pc-solaris2.11"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DSOLARIS   -I.  -I. -I./include -I./lib   -I/usr/local/include -g -O2 -Wno-parentheses -Wno-format-security -c shell.c
shell.c: In function ‘init_interactive’:
shell.c:1773: error: ‘histexp_flag’ undeclared (first use in this function)
shell.c:1773: error: (Each undeclared identifier is reported only once
shell.c:1773: error: for each function it appears in.)

A diff file that fixes the bug is attached.

WHR <whr>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by chet (Updated the item)
  • -email is unavailable- added by whr (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-02-27 chet StatusNone Done
    2019-02-27 whr Attached File- Added bash-5.0-disable-bang-history-bug-fix.diff, #46361

    Back to the top

    Powered by Savane 3.13-b921.
    Corresponding source code