Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#64951 closed defect (worksforme)

Error: Unable to open port: wrong # args: no script following

Reported by: carolinestraatman Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: mascguy (Christopher Nielsen)
Port:

Description (last modified by carolinestraatman)

I get this error while running the command sudo port -f clean --all all

It occurs for an unknown port:

--->  Cleaning git-sizer
--->  Cleaning git-sweep_select
--->  Cleaning git-toolbelt
--->  Cleaning git-tools
--->  Cleaning git-town
Error: Unable to open port: wrong # args: no script following "
        dist_subdir         ${PortInfo(name)}
    " argument

This looks like #59043, except that the port is not known here.

I've tried to find out for which port the error occurs, by looking for lists of installed ports. E.g.,

  • port installed
  • port echo leaves

such that I would know what comes after git-town. However the git-* ports do not get listed anywhere.

In addition, I have no clue where to find a potential log file for my problem. What could be a possible next step?

Change History (5)

comment:1 Changed 2 years ago by carolinestraatman

Description: modified (diff)

comment:2 Changed 2 years ago by reneeotten (Renee Otten)

I think this should be fixed already and was likely caused by a change in a PortGroup, nothing specific to this port. Please do sudo port selfupdate to get the latest ports tree and try again.

comment:3 in reply to:  2 Changed 2 years ago by mascguy (Christopher Nielsen)

Replying to reneeotten:

I think this should be fixed already and was likely caused by a change in a PortGroup, nothing specific to this port. Please do sudo port selfupdate to get the latest ports tree and try again.

Agreed. For anyone interested, this was specifically fixed via commit:

https://github.com/macports/macports-ports/commit/ad2d0931947815820c81c23d86580d90fd144094

comment:4 Changed 2 years ago by mascguy (Christopher Nielsen)

Resolution: worksforme
Status: newclosed

comment:5 Changed 2 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added
Note: See TracTickets for help on using tickets.