Bug 266762 - shells/bash: bash-5.2_2 is marked as broken: ld: error: undefined symbol: rl_trim_arg_from_keyseq
Summary: shells/bash: bash-5.2_2 is marked as broken: ld: error: undefined symbol: rl_...
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Emanuel Haupt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-02 13:36 UTC by Christos Chatzaras
Modified: 2022-10-07 07:37 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (ehaupt)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christos Chatzaras 2022-10-02 13:36:37 UTC
===>>> Starting check of installed ports for available updates
===>>> Launching child to update bash-5.1.16 to bash-5.2_2

===>>> All >> bash-5.1.16 (1/1)

===>>> Currently installed version: bash-5.1.16
===>>> Port directory: /usr/ports/shells/bash

===>>> Launching 'make checksum' for shells/bash in background
===>>> Gathering dependency list for shells/bash from ports
===>>> Initial dependency check complete for shells/bash

===>>> Returning to update check of installed ports


===>>> All >> (1)

===>>> Starting build for ports that need updating <<<===

===>>> Launching child to install shells/bash

===>>> All >> shells/bash (1/1)

===>>> Currently installed version: bash-5.1.16
===>>> Port directory: /usr/ports/shells/bash

===>>> Starting check for build dependencies
===>>> Gathering dependency list for shells/bash from ports
===>>> Dependency check complete for shells/bash

===>>> All >> bash-5.1.16 (1/1)

===>  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 shells/bash failed
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> shells/bash

This command has been saved to ~/portmasterfail.txt
Comment 1 Herbert J. Skuhra 2022-10-02 14:31:43 UTC
You use PORTS_READLINE=on. Just run "make rmconfig" or 'make config" and disable PORTS_READLINE in sysutils/bash and try again.
Comment 2 Christos Chatzaras 2022-10-02 15:07:52 UTC
(In reply to Herbert J. Skuhra from comment #1)

Thank you. Now it works. Maybe it needs a newer version of readline.
Comment 3 Emanuel Haupt freebsd_committer freebsd_triage 2022-10-02 18:10:49 UTC
Yes, devel/readline is simply too old. That is why the option has been marked broken for the time being. The default option has been set to use the bundled version of libreadline.

I'd like to support the option again once devel/readline has been updated. That's why I have only marked the option broken instead of completely removing it.
Comment 4 Emanuel Haupt freebsd_committer freebsd_triage 2022-10-02 18:38:41 UTC
For the record. I've just added a note to ports/UPDATING as this might not be obvious.