Bug 266897

Summary: shells/bash portmaster indicates bash port is broken
Product: Ports & Packages Reporter: Oclair <jason>
Component: Individual Port(s)Assignee: Emanuel Haupt <ehaupt>
Status: Closed Works As Intended    
Severity: Affects Only Me CC: bsd
Priority: --- Flags: bugzilla: maintainer-feedback? (ehaupt)
Version: Latest   
Hardware: Any   
OS: Any   

Description Oclair 2022-10-08 05:25:23 UTC
===>>> All >> libx264-0.163.3060 >> bash-5.1.16 (14/136)

===>  Cleaning for bash-5.2.2
===>  bash-5.2.2 is marked as broken: ld: error: undefined symbol:
rl_trim_arg_from_keyseq.
*** Error code 1

Stop.
make: stopped in /usr/ports/shells/bash

===>>> make build failed for shells/bash
===>>> Aborting update

===>>> Update for bash-5.1.16 failed
===>>> Aborting update

===>>> Update for multimedia/libx264 failed
===>>> Aborting update
Comment 1 bsd 2022-10-08 05:51:50 UTC
Error message is not the most user friendly one, workaround is to unselect option PORTS_READLINE.
Comment 2 Emanuel Haupt freebsd_committer freebsd_triage 2022-10-08 09:48:58 UTC
See '20221002' entry in ports/UPDATING.
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-10-08 12:32:06 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=85b186f4fe637bea891134ef8f82322c815f01fe

commit 85b186f4fe637bea891134ef8f82322c815f01fe
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2022-10-08 12:31:30 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2022-10-08 12:31:30 +0000

    shells/bash: Improve message for PORTS_READLINE_BROKEN

    PR:             266897 (based on)

 shells/bash/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)