Opened 8 years ago
Closed 5 years ago
#53903 closed defect (fixed)
freeciv @2.5.6: warning "deprecated Carbon Component Manager for hosting Audio Units" on running freeciv-gtk2 or freeciv-sdl
Reported by: | JDLH (Jim DeLaHunt) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.1 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | freeciv-x11 freeciv |
Description
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) orfreeciv-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
andfreeciv-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)."
Change History (2)
comment:1 Changed 8 years ago by kencu (Ken)
comment:2 Changed 5 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Doesn't seem to be happening in the current version.
It'll be SDL1.2.
<https://github.com/schismtracker/schismtracker/issues/33>
<https://bugzilla.libsdl.org/show_bug.cgi?id=3127>
Nothing to worry about just now, but perhaps someday SDL1.2 won't compile on some new macOS version.
(I note the x11 version pulls in libsdl_mixer as well.)