port-depgraph warning

db iamsudo at gmail.com
Wed Apr 12 14:02:31 UTC 2017


On 11 Apr 2017, at 22:36, db <iamsudo at gmail.com> wrote:
> Without arguments shows this warning
> 
> $ port-depgraph
> Warning: It looks like your PortIndex file for file:///opt/local/myports may be corrupt.
> Warning: It looks like your PortIndex file for file:///opt/local/var/macports/sources/github.com/macports/macports-ports/ may be corrupt.
> Error: <stdin>: syntax error in line 1 near 'Warning'

I realised that I have port-depgraph aliased, so running it without args throws that warning.

alias port-depgraph=' _() { port-depgraph "$1" | dot -T png -o "$1"_depgraph.png ; } ; _ '


More information about the macports-users mailing list