Opened 7 years ago

Closed 7 years ago

#35198 closed defect (fixed)

fluidsynth build fails on Lion: error: unknown type name 'AudioDeviceID'

Reported by: dritz+macports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: lion Cc: domiman@…, nonstop.server@…, jk@…, byron@…
Port: fluidsynth

Description

Error: org.macports.build for port fluidsynth returned: command execution failed
Please see the log file for port fluidsynth for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_fluidsynth/fluidsynth/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

Attachments (1)

main.log (49.6 KB) - added by dritz+macports@… 7 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_fluidsynth/fluidsynth/main.log

Download all attachments as: .zip

Change History (12)

Changed 7 years ago by dritz+macports@…

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_fluidsynth/fluidsynth/main.log

comment:1 Changed 7 years ago by ryandesign (Ryan Schmidt)

Cc: dritz+macports@… removed
Keywords: lion added
Port: @1.1.5 removed
Summary: org.macports.build for port fluidsynth returned: command execution failedfluidsynth build fails on Lion: error: unknown type name 'AudioDeviceID'

Yes I got the same report from the Lion buildbot.

It builds fine for me on Snow Leopard.

Please report the problem to the developers of fluidsynth so they can fix it.

comment:2 Changed 7 years ago by domiman@…

Cc: domiman@… added

Cc Me!

comment:3 Changed 7 years ago by domiman@…

maybe macports needs to revert to 1.1.3 again?

comment:4 Changed 7 years ago by domiman@…

I've opened a ticket at fluidsynth's trac https://sourceforge.net/apps/trac/fluidsynth/ticket/106

Unfortunately, SourceForge will close down all hosted apps for projects, including trac, sometime in Q4 2012. So who knows whether this gets resolved in time.

comment:5 Changed 7 years ago by nonstop.server@…

Cc: nonstop.server@… added

Cc Me!

comment:6 Changed 7 years ago by nonstop.server@…

Has duplicate #35234.

comment:7 Changed 7 years ago by jk@…

Cc: jk@… added

Cc Me!

comment:8 in reply to:  description Changed 7 years ago by ross.martin@…

The fix it requires is incredibly minor. Just add this one line to fluid_coreaudio.c:

#include <AudioToolbox/AudioServices.h>

A good place to add it is below this line:

#include <AudioUnit/AudioUnit.h>

After that, it compiles fine.

comment:9 Changed 7 years ago by domiman@…

yes, this has been fixed it seems in SVN of fluidsynth, though with #include <CoreAudio/AudioHardware.h> above #include <AudioUnit/AudioUnit.h>

http://fluidsynth.svn.sourceforge.net/viewvc/fluidsynth/trunk/fluidsynth/src/drivers/fluid_coreaudio.c?r1=431&r2=438

we are real geniuses, we could have looked up their SVN first... :)

comment:10 Changed 7 years ago by byron@…

Cc: byron@… added

Cc Me!

comment:11 Changed 7 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.