Discussion:
[Freeciv-Dev] [bug #25554] warning "deprecated Carbon Component Manager for hosting Audio Units" on running freeciv-gtk2
Jim DeLaHunt
2017-03-03 00:35:15 UTC
Permalink
URL:
<http://gna.org/bugs/?25554>

Summary: warning "deprecated Carbon Component Manager for
hosting Audio Units" on running freeciv-gtk2
Project: Freeciv
Submitted by: jdlh
Submitted on: Fri 03 Mar 2017 12:35:14 AM UTC
Category: client-gtk-2.0
Severity: 2 - Minor
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release: 2.5.5
Discussion Lock: Any
Operating System: Mac OS
Planned Release:
Contains string changes: None

_______________________________________________________

Details:

When I invoke the freeciv-gtk2 client from the command line, I see a warning
message. The initial Freeciv window still appears.

% freeciv-gtk2
2017-03-02 16:30:54.886 freeciv-gtk2[99591:5959094] 16:30:54.886 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.

Freeciv-gtk2 2.0 client, freeciv 2.5.5, installed from MacPorts.
Observed on Mac OS X 10.11.6 "El Capitan".
When running a similar version of the freeciv-gtk2 client v2.5.5 on this same
computer, when it still had Mac OS X 10.10.5, this message did not appear.





_______________________________________________________

Reply to this item at:

<http://gna.org/bugs/?25554>

_______________________________________________
Message sent via/by Gna!
http://gna.org/
Jim DeLaHunt
2017-03-03 06:58:14 UTC
Permalink
Follow-up Comment #1, bug #25554 (project freeciv):

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)."

_______________________________________________________

Reply to this item at:

<http://gna.org/bugs/?25554>

_______________________________________________
Message sent via/by Gna!
http://gna.org/
Jacob Nevins
2017-04-01 19:06:22 UTC
Permalink
Follow-up Comment #2, bug #25554 (project freeciv):

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.

_______________________________________________________

Reply to this item at:

<http://gna.org/bugs/?25554>

_______________________________________________
Message sent via/by Gna!
http://gna.org/
Jim DeLaHunt
2017-04-02 00:17:41 UTC
Permalink
Follow-up Comment #3, bug #25554 (project freeciv):

Fair enough. I've opened up this Mac Ports issue to track the problem there:
https://trac.macports.org/ticket/53903

_______________________________________________________

Reply to this item at:

<http://gna.org/bugs/?25554>

_______________________________________________
Message sent via/by Gna!
http://gna.org/
David Lowe
2017-04-02 14:44:36 UTC
Permalink
Follow-up Comment #4, bug #25554 (project freeciv):

I can verify that this doesn't come from Freeciv itself, i get the exact
same message when i start up ScummVM. I *believe* it is coming from the SDL
audio library, or at least something that it touches.

_______________________________________________________

Reply to this item at:

<http://gna.org/bugs/?25554>

_______________________________________________
Message sent via/by Gna!
http://gna.org/
David Lowe
2017-04-02 15:17:41 UTC
Permalink
Follow-up Comment #5, bug #25554 (project freeciv):

As an aside, will the SDL 2 client provide another sound plugin?

_______________________________________________________

Reply to this item at:

<http://gna.org/bugs/?25554>

_______________________________________________
Message sent via/by Gna!
http://gna.org/
Marko Lindqvist
2017-04-02 15:20:10 UTC
Permalink
Follow-up Comment #6, bug #25554 (project freeciv):

SDL2_mixer is supported in S2_5 (--enable-sdl-mixer=sdl2), and default in S2_6
and later.

_______________________________________________________

Reply to this item at:

<http://gna.org/bugs/?25554>

_______________________________________________
Message sent via/by Gna!
http://gna.org/
Jacob Nevins
2017-04-04 08:24:55 UTC
Permalink
Update of bug #25554 (project freeciv):

Status: None => Invalid
Open/Closed: Open => Closed

_______________________________________________________

Follow-up Comment #7:

From the Trac ticket in comment #3:

"It'll be SDL1.2. Nothing to worry about just now, but perhaps someday SDL1.2
won't compile on some new macOS version."

Hopefully 2.6 with SDL2 support will be out before that day.

Doesn't seem any point keeping this ticket open, anyway.

_______________________________________________________

Reply to this item at:

<http://gna.org/bugs/?25554>

_______________________________________________
Message sent via/by Gna!
http://gna.org/

Loading...