[MacPorts] #39101: Dreaded error back - Can't map the URL 'file://.' to a port description file

MacPorts noreply at macports.org
Tue May 14 07:10:50 PDT 2013


#39101: Dreaded error back - Can't map the URL 'file://.' to a port description
file
----------------------+--------------------------------
  Reporter:  david@…  |      Owner:  macports-tickets@…
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.1.3
Resolution:  invalid  |   Keywords:
      Port:           |
----------------------+--------------------------------
Changes (by macsforever2000@…):

 * cc: jmr@… (removed)
 * status:  new => closed
 * resolution:   => invalid
 * port:  port =>


Old description:

> 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.

New description:

 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.
 }}}

--

Comment:

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

-- 
Ticket URL: <https://trac.macports.org/ticket/39101#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list