[MacPorts] #63685: MacPorts reuses previous OS portindex after OS upgrade if no portindex is available via rsync

MacPorts noreply at macports.org
Sun Nov 28 18:01:33 UTC 2021


#63685: MacPorts reuses previous OS portindex after OS upgrade if no portindex is
available via rsync
--------------------------------+-----------------------------
  Reporter:  captainproton1971  |      Owner:  (none)
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:  MacPorts Future
 Component:  base               |    Version:  2.7.1
Resolution:                     |   Keywords:  monterey
      Port:                     |
--------------------------------+-----------------------------
Changes (by ryandesign):

 * cc: cjones051073 (added)


Comment:

 The problem was fixed in cyrus-sasl2 in
 [5848d16670ddcf04e06163a1800e00a9b5606c50/macports-ports] when it was
 bumped to the same version for all OS versions.

 I will fix the problem in zstd by revbumping it on Monterey.


 Replying to [comment:17 ednl]:
 > This problem does persist for me with `librsvg 2.40.20_4 < 2.52.3_0` on
 Monterey arm64 after `sudo port -d sync` which used `ftp.fau.de`. Is that
 mirror not yet up to date, perhaps? Compare:

 ftp.fau.de is the public master from which all the other mirrors get their
 updates.

 > {{{
 > $ port -v installed | grep librsvg
 >   librsvg @2.40.20_4 (active) requested_variants='' platform='darwin 21'
 archs='arm64' date='2021-11-04T14:12:02+0100'
 > }}}
 >
 > {{{
 > $ port list librsvg
 > librsvg                        @2.52.3         graphics/librsvg
 > }}}
 >
 > {{{
 > $ port outdated
 > The following installed ports are outdated:
 > librsvg                        2.40.20_4 < 2.52.3_0
 > $ sudo port upgrade outdated
 > --->  Scanning binaries for linking errors
 > --->  No broken files found.
 > --->  No broken ports found.
 > }}}
 >
 > Edit: and today two more:
 >
 > {{{
 > gcc-devel                      12-20211028_0 < 12-20211031_0
 > libgcc-devel                   12-20211028_0 < 12-20211031_0
 > }}}

 librsvg, gcc-devel, and libgcc-devel use `build_arch` to determine which
 port version to use, which is not permitted. Ports must use `os.arch` for
 such a determination. I can fix this in a moment.

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


More information about the macports-tickets mailing list