[MacPorts] #70804: MPlayer @1.5.0_1 won't build on ARM64 macOS Sequoia

MacPorts noreply at macports.org
Sat Sep 21 19:11:14 UTC 2024


#70804: MPlayer @1.5.0_1 won't build on ARM64 macOS Sequoia
-----------------------+----------------------
  Reporter:  wdormann  |      Owner:  jeremyhu
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  MPlayer   |
-----------------------+----------------------

Comment (by kencu):

 this is a workaround to get MPlayer built on Sequoia:
 {{{
 # fix i386 builds
 patchfiles          patch-mplayer-i386.diff

 + # https://trac.macports.org/ticket/70804
 + configure.cflags-append -Wno-incompatible-function-pointer-types -Wno-
 int-conversion
 + configure.env-append    HCFLAGS=${configure.cflags}

 depends_build-append \
 }}}

 {{{
 % port -v installed mplayer
 The following ports are currently installed:
   MPlayer @1.5.0_1 (active) requested_variants='' platform='darwin 24'
 archs='arm64' date='2024-09-21T12:03:33-0700'
 }}}

 And it works fine, with brief testing.

 Obviously, this just turns the errors off, and lets it build as it has
 been building on systems up until now.

 There are a number of proper fixes in the MPlayer svn trunk, and mplayer-
 devel can be updated to a new version to pick those up. However, even when
 I did that, and mplayer-devel is updated to current commits, it still
 won't build and needs more work done.

 The above flags disabling the errors seem to be needed only on Sequoia so
 far. I would imagine they are needed on all newer clang versions as well,
 though. I haven't tested what gcc thinks of those flags.

 So if it is decided to go with disabling the flags, it might be limited in
 some way to the systems that are likely affected.

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


More information about the macports-tickets mailing list