Bug 252126

Summary: shells/bash: error magesages on install bash 5.1.4
Product: Ports & Packages Reporter: John Y. <freebsd.org>
Component: Individual Port(s)Assignee: Emanuel Haupt <ehaupt>
Status: Closed DUPLICATE    
Severity: Affects Only Me CC: ehaupt
Priority: --- Flags: linimon: maintainer-feedback? (ehaupt)
Version: Latest   
Hardware: Any   
OS: Any   

Description John Y. 2020-12-25 08:41:35 UTC
On install bash-5.1.4, some error appear:

---- 8< -------------
[9/9] Extracting bash-5.1.4: 100%
pkg: Failed to execute lua script: [string "shell_path = pkg.prefixed_path("bin/bash")..."]:7: attempt to index a nil value (global 'shell')
pkg: lua script failed

---- 8< -------------

Env info: 
  freebsd-version -u : 11.4-RELEASE-p6
  pkg -v             : 1.15.10
Comment 1 Emanuel Haupt freebsd_committer freebsd_triage 2020-12-25 09:22:12 UTC
It's a known bug in pkg, please see:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250926

*** This bug has been marked as a duplicate of bug 250926 ***