[MacPorts] #68234: ffmpeg @4.4.4_2+gpl2+x11: Unable to build it under Ventura 13.6 + Xcode 14.3.1 or 15.0

MacPorts noreply at macports.org
Tue Sep 26 18:11:50 UTC 2023


#68234: ffmpeg @4.4.4_2+gpl2+x11: Unable to build it under Ventura 13.6 + Xcode
14.3.1 or 15.0
---------------------+-----------------------------
  Reporter:  czo     |      Owner:  mascguy
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.8.1
Resolution:          |   Keywords:  xcode14 xcode15
      Port:  ffmpeg  |
---------------------+-----------------------------

Comment (by butter71):

 ''xcode 15 / sonoma / x86''

 ''port variant: -x11 +gpl2''

 I was able to build by modifying the Portfile to add "-ld_classic" to the
 LDFLAGS.  Xcode 15 switched the default linker to Apple's "prime" version.
 "-ld_classic" forces it to use the same one as Xcode 14 (and earlier).
 This is probably a temporary solution until someone more knowledgeable
 figures out what's going on with the new linker.


 {{{
 + configure.ldflags-append \
 +                     -ld_classic
 }}}

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


More information about the macports-tickets mailing list