Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 2004 17:15:36 +0100 (CET)
From:      Michiel Boland <michiel@boland.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/75315: shells/bash2 is broken on -CURRENT
Message-ID:  <200412201615.iBKGFaIQ006421@xs6.xs4all.nl>
Resent-Message-ID: <200412201620.iBKGKN06095230@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         75315
>Category:       ports
>Synopsis:       the shells/bash2 port is broken on -CURRENT
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 20 16:20:22 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michiel Boland
>Release:        FreeBSD 6.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD leefnet.office.internl.net 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Fri Dec 10 13:49:33 CET 2004 root@leefnet.office.internl.net:/usr/obj/usr/src/sys/LEEFNET i386


	
>Description:
The shells/bash2 port is broken on -CURRENT.
To be precise, it was broken by the import of GNU Readline 5.0
in src/contrib and the addition of the 'timestamp' member to the
HIST_ENTRY structure.
The brokenness manifests itself in coredumps (see How-To-Repeat section.)
>How-To-Repeat:
At the shell prompt, type a command that spans multiple lines, like
$ echo '
'
Then bring back the previous line using ^P and press enter.
>Fix:
To fix the particular coredump mentioned above, rebuild the port as
follows: do 'make extract', then
cp /usr/include/readline/history.h ./work/bash-2.05b/lib/readline/.
and then continue the make.
Obviously this is not a real fix that would give a person a warm, fuzzy
feeling.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412201615.iBKGFaIQ006421>