[MacPorts] #71216: LyX: checksums mismatch

MacPorts noreply at macports.org
Sat Nov 2 00:45:17 UTC 2024


#71216: LyX: checksums mismatch
---------------------------+----------------------------
  Reporter:  barracuda156  |      Owner:  kurthindenburg
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.3
Resolution:                |   Keywords:
      Port:  LyX           |
---------------------------+----------------------------

Comment (by ryandesign):

 Replying to [comment:6 ryandesign]:
 > However the general problem with switching versions in a variant is not
 solvable by a port because MacPorts wasn't designed to accommodate it.
 There is only one entry for a port in the portindex. One set of
 information, including the port's version. Let's say that the portindex
 records the port's information with no variants selected, so the version
 of this port in the index is 2.4.2. But the user installs the port with
 the +qt4 variant, so the version that's actually installed is 2.3.8. Every
 time the user runs `port outdated`, MacPorts will tell the user that
 version 2.4.2 is available, even though it isn't. The user will try to run
 `sudo port upgrade LyX` which will do nothing.

 For this port, the general problem is not quite so bad because the port
 enables the +qt4 variant by default on some systems. There are separate
 portindexes for each major OS version on each architecture, so on those
 systems where the +qt4 variant is selected by default, the 2.3.8 version
 will be recorded in the index and `port outdated` won't show misleading
 information. There will only be a problem if the user tries to select the
 +qt4 or +qt5 variant if that was not the default. You could avoid the
 problem entirely by removing the qt4 and qt5 variants and just force the
 port into qt4 or qt5 mode as required by the OS version. Or you could make
 separate qt4 and qt5 versions of the port, using subports if you desire.

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


More information about the macports-tickets mailing list