[MacPorts] #63534: Installing old version of port fails with "Can't map the URL 'file://.' to a port description file"

MacPorts noreply at macports.org
Sat Sep 25 16:07:14 UTC 2021


#63534: Installing old version of port fails with "Can't map the URL 'file://.' to
a port description file"
------------------------+--------------------
  Reporter:  essandess  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.7.1
Resolution:             |   Keywords:
      Port:             |
------------------------+--------------------

Comment (by kencu):

 works fine for me:

 {{{
 $ sudo git checkout 055ddcb475c444d137c5412dce86a167d59d6b4c
 Checking out files: 100% (6225/6225), done.
 Note: checking out '055ddcb475c444d137c5412dce86a167d59d6b4c'.

 You are in 'detached HEAD' state. You can look around, make experimental
 changes and commit them, and you can discard any commits you make in this
 state without impacting any branches by performing another checkout.

 If you want to create a new branch to retain commits you create, you may
 do so (now or later) by using -b with the checkout command again. Example:

   git checkout -b <new-branch-name>

 HEAD is now at 055ddcb475c google-glog: Avoid pre-release candidates in
 livecheck

 $ cd devel/google-glog


 $ port info
 google-glog @0.4.0_2 (devel)
 Variants:             debug, [+]gflags

 Description:          The glog library implements application-level
 logging. This library
                       provides logging APIs based on C++-style streams and
 various helper
                       macros.
 Homepage:             https://github.com/google/glog

 Build Dependencies:   cmake
 Library Dependencies: gflags
 Platforms:            darwin
 License:              BSD
 Maintainers:          none

 $ sudo port install
 --->  Computing dependencies for google-glog
 The following dependencies will be installed:  gflags
 Continue? [Y/n]:
 }}}

 {{{
 $ ls -la
 total 8
 drwxr-xr-x     4 root  wheel    128 25 Sep 09:06 .
 drwxr-xr-x  1099 root  wheel  35168 25 Sep 09:04 ..
 -rw-r--r--     1 root  wheel   1528 25 Sep 09:04 Portfile
 drwxr-xr-x     3 root  wheel     96 25 Sep 09:04 files
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/63534#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list