[MacPorts] #64787: shared-mime-info fails to build for ppc64 on Leopard: need to add muniversal PortGroup

MacPorts noreply at macports.org
Wed Apr 6 11:35:56 UTC 2022


#64787: shared-mime-info fails to build for ppc64 on Leopard: need to add
muniversal PortGroup
-------------------------------+-------------------------------------
  Reporter:  barracuda156      |      Owner:  RJVB
      Type:  defect            |     Status:  assigned
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.7.2
Resolution:                    |   Keywords:  powerpc, leopard, ppc64
      Port:  shared-mime-info  |
-------------------------------+-------------------------------------

Comment (by RJVB):

 A priori, `+universal` is only required in a dependency if it contains a
 shared library, plugin or anything else that is supported by Apple's fat
 binary architecture and that has to contain the correct architecture(s) in
 order to be used by the dependent, or if they have to be able to produce
 such components for the dependent.

 I'll have to upgrade my own version of the port to affirm whether it now
 contains components that require universal support. It shouldn't if it
 still only contains the standard mime info files (text) plus a helper to
 compiles a cache from those files plus whatever others are installed.

 Caveat emptor: the `mime.cache` file is a binary, identified as "PFM data"
 by my `file` command. I don't know what that is and it *might* not be
 cross-platform. This could be a problem if you're running 32 and 64 bit
 applications simultaneously, and there'd be very little we'd be able to do
 about that. But I think we'd know that by now...

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


More information about the macports-tickets mailing list