[MacPorts] #63438: base 2.7.1: port checksum outdated chokes

MacPorts noreply at macports.org
Thu Sep 2 21:53:57 UTC 2021


#63438: base 2.7.1: port checksum outdated chokes
---------------------------+--------------------
 Reporter:  jmarshallidau  |      Owner:  (none)
     Type:  defect         |     Status:  new
 Priority:  Normal         |  Milestone:
Component:  base           |    Version:  2.7.1
 Keywords:                 |       Port:
---------------------------+--------------------
 Ever since upgrading MacPorts to 2.7.1, 'port checksum outdated' chokes on
 the first 'outdated' port with:
  Error: ${first_outdated_port} version ${old_version} is not available
 (current version is ${new_version})
 See following example. 'port upgrade outdated' works just fine.

 {{{
 rwnb04# port selfupdate
 --->  Updating MacPorts base sources using rsync
 MacPorts base version 2.7.1 installed,
 MacPorts base version 2.7.1 downloaded.
 --->  Updating the ports tree
 --->  MacPorts base is already the latest version

 The ports tree has been updated. To upgrade your installed ports, you
 should run
   port upgrade outdated
 rwnb04#
 rwnb04# port outdated
 The following installed ports are outdated:
 apr                            1.7.0_2 < 1.7.0_3
 glib2                          2.62.6_0 < 2.62.6_1
 libffi                         3.3_1 < 3.4.2_0
 p11-kit                        0.24.0_0 < 0.24.0_1
 python27                       2.7.18_2 < 2.7.18_3
 python38                       3.8.11_0 < 3.8.12_1
 python39                       3.9.6_0 < 3.9.7_0
 realpath                       1.0.1_1 < 1.0.2_0
 ruby24                         2.4.10_5 < 2.4.10_6
 ruby26                         2.6.8_0 < 2.6.8_1
 tesseract                      4.1.1_1 < 4.1.1_2
 rwnb04#
 rwnb04# port checksum outdated
 Error: apr version 1.7.0_2 is not available (current version is 1.7.0_3)
 rwnb04#
 }}}

 I work around this problem with:

 {{{
 rwnb04# port checksum $(port -q outdated | cut -d' ' -f1)
 --->  Fetching distfiles for apr
 --->  Attempting to fetch apr-1.7.0.tar.bz2 from
 file:///kits/macports/links
 --->  Verifying checksums for apr
 --->  Fetching distfiles for glib2
 ...
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/63438>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list