Opened 15 years ago

Closed 14 years ago

#21262 closed defect (duplicate)

Unable to execute port: wrong # args: should be "source ?-encoding name? fileName"

Reported by: john@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.8.0
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Keep getting the following error -

--->  Computing dependencies for ruby
Error: Unable to execute port: wrong # args: should be "source ?-encoding name? fileName"

I have tried multiple ports with the same error.

Attachments (1)

error.txt (3.2 KB) - added by john@… 15 years ago.
Error log

Download all attachments as: .zip

Change History (12)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Component: portsbase

Did you follow the Migration instructions?

comment:2 in reply to:  1 ; Changed 15 years ago by john@…

Replying to jmr@…:

Did you follow the Migration instructions?

I uninstalled macports, installed from scratch, then did a self update.

comment:3 in reply to:  2 Changed 15 years ago by john@…

Replying to john@…:

Replying to jmr@…:

Did you follow the Migration instructions?

I uninstalled macports, installed from scratch, then did a self update.

This was my uninstall method.

sudo rm -rf \
    /opt/local \
    /Applications/DarwinPorts \
    /Applications/MacPorts \
    /Library/LaunchDaemons/org.macports.* \
    /Library/Receipts/DarwinPorts*.pkg \
    /Library/Receipts/MacPorts*.pkg \
    /Library/StartupItems/DarwinPortsStartup \
    /Library/Tcl/darwinports1.0 \
    /Library/Tcl/macports1.0 \
    ~/.macports 

I also made sure that I installed the snow leopard version and did a selfupdate.

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Please remember WikiFormatting.

comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Please show us the debug output -- use the -d switch on whatever command you're executing, for example:

sudo port -d install ruby

Maybe that will shed some light on the problem.

comment:6 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: Issue after snow leopard updateUnable to execute port: wrong # args: should be "source ?-encoding name? fileName"

Changed 15 years ago by john@…

Attachment: error.txt added

Error log

comment:7 in reply to:  5 Changed 15 years ago by john@…

Replying to ryandesign@…:

Please show us the debug output -- use the -d switch on whatever command you're executing, for example:

sudo port -d install ruby

Maybe that will shed some light on the problem.

I have attached the error log.

One thing of note is that my /opt is a symlink. This has worked in previous versions. Thank you for the help.

comment:8 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

/opt being a symlink is broken in MacPorts 1.8.0; see #21082. But I haven't seen that problem cause the error message you're seeing.

comment:9 in reply to:  8 Changed 15 years ago by john@…

Replying to ryandesign@…:

/opt being a symlink is broken in MacPorts 1.8.0; see #21082. But I haven't seen that problem cause the error message you're seeing.

Found a work around. Renamed"Mac Ports" "macports"

"Mac Ports" was functioning in the past though.

Thanks again for the help.

comment:10 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Oh. I didn't even notice that in the log. Hmm.

comment:11 Changed 14 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.