[MacPorts] #39853: bash-completion(-devel): some completions expect GNU sed in $PATH
#39853: bash-completion(-devel): some completions expect GNU sed in $PATH --------------------+----------------------------- Reporter: cal@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: bash-completion --------------------+----------------------------- {{{ :) clemens@cSchlepptop:[..]/Haskell/UE/KVB$ make con^Ised: illegal option -- r usage: sed script [-Ealn] [-i extension] [file ...] sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...] ^C }}} Apparently caused by some rules using the `-r` flag to sed. `egrep -R "sed\s+-\S*r"` in /opt/local/share/bash-completion/completions suggests the culprits are colormake, gmake, gnumake, make and pmake. We should add a runtime dep on gsed and patch the sed path. -- Ticket URL: <https://trac.macports.org/ticket/39853> MacPorts <http://www.macports.org/> Ports system for OS X
#39853: bash-completion(-devel): some completions expect GNU sed in $PATH ------------------------------+---------------------- Reporter: cal@… | Owner: raimue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: bash-completion | ------------------------------+---------------------- Changes (by raimue@…): * status: new => assigned Comment: Thanks for the report. All make variants use the same completions, so it's only a single instance that needs to get fixed. As this only affects make I would think we could also patch the regex instead of adding the additional dependency on GNU sed. I am working on a patch. -- Ticket URL: <https://trac.macports.org/ticket/39853#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39853: bash-completion(-devel): some completions expect GNU sed in $PATH ------------------------------+---------------------- Reporter: cal@… | Owner: raimue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: bash-completion | ------------------------------+---------------------- Comment (by cal@…): Any progress? I recall you were already working on this, did you just forget to close the ticket? -- Ticket URL: <https://trac.macports.org/ticket/39853#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#39853: bash-completion(-devel): some completions expect GNU sed in $PATH ------------------------------+---------------------- Reporter: cal@… | Owner: raimue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: bash-completion | ------------------------------+---------------------- Changes (by raimue@…): * status: assigned => closed * resolution: => fixed Comment: Upstream: https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314345&group_... Thanks for the reminder. I actually forgot to finalize the patch. The fix has been commmitted in r109658. -- Ticket URL: <https://trac.macports.org/ticket/39853#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts