[MacPorts] #56495: gstreamer1-gst-plugins-base @1.14.1 +universal: error: -fobjc-arc is not supported on platforms using the legacy runtime

MacPorts noreply at macports.org
Sun Jun 24 01:34:28 UTC 2018


#56495: gstreamer1-gst-plugins-base @1.14.1 +universal: error: -fobjc-arc is not
supported on platforms using the legacy runtime
------------------------------------------+-----------------------
  Reporter:  ryandesign                   |      Owner:  (none)
      Type:  defect                       |     Status:  new
  Priority:  Normal                       |  Milestone:
 Component:  ports                        |    Version:
Resolution:                               |   Keywords:  legacy-os
      Port:  gstreamer1-gst-plugins-base  |
------------------------------------------+-----------------------

Comment (by Ionic):

 Replying to [comment:7 ryandesign]:
 > Replying to [comment:6 Ionic]:
 > > Replying to [comment:3 ryandesign]:
 > > > With 1.14.1, it now appears to affect only Mavericks and Yosemite,
 not earlier or later versions.
 > >
 > > I wonder why that is. Did Apple actually implement ARC for x86 in
 newer versions? Why does it seem to work there? Can you find that out?

 FWIW, I looked around on a 10.13 machine and libarclite was x86_64-only
 there, too. I don't understand why it would have worked `+universal` on
 that platform. Maybe you didn't look correctly or didn't actually build it
 `+universal`?

 > All of the files changed by the above commit are in directories named
 "gl". Is it possible that these GL features are only used on some systems?
 Is it possible to disable the GL features on all systems and thus avoid
 the problematic code?

 Good question. We could `--disable-opengl`, but that would also disable
 OpenGL if `+x11` was used. Instead, I'd `--disable-cocoa`.

 I haven't noticed that before, but for Darwin < 13 we already pass
 `--disable-cocoa --disable-opengl`, which explains why it worked for older
 versions.

 I think we should add a `cocoa` variant and make that conflicting with
 `universal`, enable it by default + disable/not offer it on systems not
 supporting ARC (so... anything prior 10.6?)

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


More information about the macports-tickets mailing list