===>>> 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
You use PORTS_READLINE=on. Just run "make rmconfig" or 'make config" and disable PORTS_READLINE in sysutils/bash and try again.
(In reply to Herbert J. Skuhra from comment #1) Thank you. Now it works. Maybe it needs a newer version of readline.
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.
For the record. I've just added a note to ports/UPDATING as this might not be obvious.