Opened 11 years ago

Closed 11 years ago

#39101 closed defect (invalid)

Dreaded error back - Can't map the URL 'file://.' to a port description file

Reported by: davidfavor (David Favor) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port:

Description (last modified by mf2k (Frank Schima))

Unsure how this started. Maybe I've munged something.

Someone let me know if this is something for me to fix or a real bug.

Read through past tickets relating to this. Tried lots of things. No joy.

port clean all - works.

port clean of one package works...

David-Favor-iMac# port -dv clean sox
DEBUG: Copying /Users/david/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/audio/sox
DEBUG: OS darwin/12.3.0 (Mac OS X 10.8) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Executing org.macports.main (sox)
DEBUG: clean phase started at Tue May 14 07:52:35 CDT 2013
--->  Cleaning sox
DEBUG: Executing org.macports.clean (sox)
--->  Removing work directory for sox
DEBUG: No work directory found to remove at /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_sox/sox
DEBUG: No work directory found to remove at /Users/david/.macports/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_sox/sox
DEBUG: No log directory found to remove at /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_sox

port -dv clean - fails

David-Favor-iMac# port -dv clean
DEBUG: Copying /Users/david/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
DEBUG: Changing to port directory: /Applications
Can't map the URL 'file://.' to a port description file ("Could not find Portfile in /Applications").
Please verify that the directory and portfile syntax are correct.
To use the current port, you must be in a port's directory.

Change History (3)

comment:1 Changed 11 years ago by davidfavor (David Favor)

Hum... I did update Xcode command tools recently. Unsure if this is my first port clean since the update.

comment:2 Changed 11 years ago by davidfavor (David Favor)

Darn it... forgot the escaping of the second port command.

Trac syntax bites rocks.

comment:3 Changed 11 years ago by mf2k (Frank Schima)

Cc: jmr@… removed
Description: modified (diff)
Port: port removed
Resolution: invalid
Status: newclosed

You did not specify a port name with your clean command.

Note: See TracTickets for help on using tickets.