Opened 15 years ago
Closed 15 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)
Change History (12)
comment:1 follow-up: 2 Changed 15 years ago by jmroot (Joshua Root)
Component: | ports → base |
---|
comment:2 follow-up: 3 Changed 15 years ago by john@…
comment:3 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 follow-up: 7 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 update → Unable to execute port: wrong # args: should be "source ?-encoding name? fileName" |
---|
comment:7 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 rubyMaybe 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 follow-up: 9 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 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 15 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Did you follow the Migration instructions?