[MacPorts] #53903: freeciv @2.5.6: warning "deprecated Carbon Component Manager for hosting Audio Units" on running freeciv-gtk2 or freeciv-sdl
MacPorts
noreply at macports.org
Sun Apr 2 00:16:09 UTC 2017
#53903: freeciv @2.5.6: warning "deprecated Carbon Component Manager for hosting
Audio Units" on running freeciv-gtk2 or freeciv-sdl
--------------------+---------------------------------
Reporter: JDLH | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.1
Keywords: | Port: freeciv-x11 freeciv
--------------------+---------------------------------
freeciv-x11 @2.5.6: warning "deprecated Carbon Component Manager for
hosting Audio Units"
freeciv @2.5.6: warning "deprecated Carbon Component Manager for hosting
Audio Units"
This bug manifests identically for executables `freeciv-gtk2` (installed
by port freeciv-x11) and `freeciv-sdl` (installed by port freeciv).
== To reproduce
* Install port '''freeciv''' (or '''freeciv-x11''').
* Run the X11 window manager.
* From a shell, execute `freeciv-sdl` (for port '''freeciv''') or
`freeciv-gtk2` (for port '''freeciv-x11''').
== Expected behaviour
* No error messages on the shell window.
* Freeciv client app runs without problems.
== Observed behaviour
* The following error message appears on the shell window:
{{{2017-04-01 16:48:34.663 freeciv-gtk2![21875:3691451] 16:48:34.662
WARNING: 140: This application, or a library it uses, is using the
deprecated Carbon Component Manager for hosting Audio Units. Support for
this will be removed in a future release. Also, this makes the host
incompatible with version 3 audio units. Please transition to the API's in
AudioComponent.h.}}}
* This error message is the same for `freeciv-gtk2` and `freeciv-sdl`,
except that the name of the executable differs, and the initial numbers
(which are timestamps and process IDs apparently) also differ.
* However, Freeciv client app runs without apparent problems.
== Discussion
Observed on Mac OS X ''El Capitan'' v10.11.6 . I did not observe it with
earlier versions of this port on Mac OS X ''Yosemite'' v10.10.6.
Reported as Freeciv bug http://gna.org/bugs/?25554 on 2017-03-04. The
reply there: "I think this is likely to be something to do with the
Macports packaging / build setup for Freeciv, not something we can fix
upstream? I'm pretty sure upstream code has no references to Carbon
anything."
This Apple documentation seems relevant:
https://developer.apple.com/library/content/releasenotes/General/CarbonCoreDeprecations/index.html
"Carbon Core, a subframework of the Core Services umbrella framework,
contains the programming interfaces of many legacy Carbon managers, in
addition to various utilities. In OS X v10.8, most of these interfaces are
deprecated. "
Especially the section "Components"
https://developer.apple.com/library/content/releasenotes/General/CarbonCoreDeprecations/index.html#//apple_ref/doc/uid/TP40012224-CH1-SW6
"If you need to find and open audio units and audio codecs in your app,
use Audio Component Services instead of the Component Manager (for more
information, see Audio Component Services Reference)."
--
Ticket URL: <https://trac.macports.org/ticket/53903>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list