New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #34012 (new defect)

Opened 14 months ago

Last modified 3 weeks ago

openal: error: 'CAStreamBasicDescription.h' file not found

Reported by: moligaloo@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: lion mountainlion Cc: snc@…, robink@…, computers57@…, willy.wolff.0@…, andyeh@…, fgenolini@…, philippe.groarke@…, SlaunchaMan@…, egall@…
Port: openal

Description (last modified by ryandesign@…) (diff)

--->  Building openal
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for openal is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_openal/openal/main.log
Error: Status 1 encountered during processing.

Attachments

main.log (27.7 KB) - added by moligaloo@… 14 months ago.
New error log

Change History

comment:1 Changed 14 months ago by ryandesign@…

  • Keywords openal removed
  • Description modified (diff)

comment:2 follow-up: ↓ 3 Changed 14 months ago by ryandesign@…

Since this was not a clean build attempt (log contains "Skipping completed"), please "sudo port clean openal", try again, then attach the new main.log.

Changed 14 months ago by moligaloo@…

New error log

comment:3 in reply to: ↑ 2 Changed 14 months ago by moligaloo@…

Replying to ryandesign@…: Ok, new error log was attached.

Since this was not a clean build attempt (log contains "Skipping completed"), please "sudo port clean openal", try again, then attach the new main.log.

comment:4 Changed 13 months ago by snc@…

  • Cc snc@…, ryandesign@… added

I don't see the missing file anywhere on Lion either (CAStreamBasicDescription.h).

comment:5 Changed 13 months ago by ryandesign@…

  • Keywords lion added
  • Cc ryandesign@… removed
  • Summary changed from Openal can not be built under Mac OS X Lion to openal: error: 'CAStreamBasicDescription.h' file not found

Maybe upgrading openal would help.

comment:6 Changed 13 months ago by robink@…

  • Cc robink@… added

Cc Me!

comment:7 Changed 12 months ago by computers57@…

  • Cc computers57@… added

Cc Me!

comment:8 Changed 8 months ago by willy.wolff.0@…

  • Cc willy.wolff.0@… added

Cc Me!

comment:9 Changed 6 months ago by ryandesign@…

  • Cc andyeh@… added

Has duplicate #37122.

comment:10 Changed 5 months ago by ryandesign@…

  • Keywords mountainlion added

comment:11 Changed 4 months ago by fgenolini@…

OpenAL 1.15.1 builds successfully on Mac OSX 10.8.2 with XCode Version 4.5.2 (4G2008a)

Download from: http://kcat.strangesoft.net/openal.html

http://kcat.strangesoft.net/openal-releases/openal-soft-1.15.1.tar.bz2

Fixup CMake settings, then builds OK

Regards,

comment:12 Changed 4 months ago by ryandesign@…

  • Cc fgenolini@…, philippe.groarke@… added

Has duplicate #37895.

@fgenolini, can you supply a patch that updates the portfile?

comment:13 follow-up: ↓ 14 Changed 4 months ago by fgenolini@…

I have not yet created patches for MacPort's portfiles and I am not too sure where to start.

I have modified the CMakeLists.txt to turn CoreAudio ON:

OPTION(ALSOFT_REQUIRE_COREAUDIO  "Require CoreAudio backend"          ON)

I have then modified the XCode (Version 4.6 (4H127)) project settings to add /opt/local/lib to the library search path of the 3 ffmpeg examples compiled with OpenAL 1.15.1

I guess the new Portfile could look something like:

# $Id$

PortSystem              1.0
PortGroup               xcode 1.0

name                    openal
version                 1.15.1
categories              audio devel
license                 LGPL-2
maintainers             chris dot kcat at gmail dot com

description             OpenAL is a cross-platform 3D audio API
long_description        OpenAL is a cross-platform 3D audio API appropriate \
                        for use with gaming applications and many other types \
                        of audio applications.

homepage                http://www.openal.org/
master_sites            sourceforge:macports
use_bzip2               yes
checksums               sha1 somenewchecksum \
                        rmd160 somerothernewchecksum

# distfile exported from git://repo.or.cz/openal-soft.git
worksrcdir              ${name}-${version}/OpenAL-MacOSX

xcode.target            OpenAL
xcode.destroot.type     framework

if {${os.major} <= 9} {
    post-patch {
        some suitable patch for the CMakeLists.txt to turn on CoreAudio, and fix-up for the generated XCode project (add /opt/local/lib to the library search path for the ffmpeg examples)
    }
}
Last edited 3 months ago by ryandesign@… (previous) (diff)

comment:14 in reply to: ↑ 13 Changed 4 months ago by larryv@…

Replying to fgenolini@…:

I have not yet created patches for MacPort's portfiles and I am not too sure where to start.

Refer to the guide for help with patching.

comment:15 follow-up: ↓ 16 Changed 4 months ago by fgenolini@…

I have sent a request to the openal-soft mailing list to have the issues resolved in their code before I create a new Portfile for this package.

comment:16 in reply to: ↑ 15 Changed 4 months ago by larryv@…

Replying to fgenolini@…:

I have sent a request to the openal-soft mailing list to have the issues resolved in their code before I create a new Portfile for this package.

If possible, could you provide a link to that upstream report?

comment:17 Changed 3 months ago by philippe.groarke@…

Any updates on OpenAL side?

comment:18 Changed 3 months ago by fgenolini@…

No, email sent. No reply. Request to join mailing list. No reply.

comment:19 Changed 3 months ago by philippe.groarke@…

OK, I guess I should mention I've reverted to OSX's native OpenAL framework, so I am personally fine and don't need this port anymore. Though this is off-topic and hopefully it will be resolved for dependencies.

comment:20 Changed 2 months ago by SlaunchaMan@…

  • Cc SlaunchaMan@… added

Cc Me!

comment:21 Changed 8 weeks ago by egall@…

  • Cc egall@… added

Cc Me!

comment:22 Changed 3 weeks ago by ryandesign@…

Has duplicate #39008.

comment:23 follow-up: ↓ 24 Changed 3 weeks ago by egall@…

I'd like to see this issue fixed for the SFML port I've been working on in #38987. It works with the system OpenAL, but I'd rather use the MacPorts one for reasons outlined in wiki:FAQ#ownlibs

Last edited 3 weeks ago by egall@… (previous) (diff)

comment:24 in reply to: ↑ 23 Changed 3 weeks ago by larryv@…

Replying to egall@…:

I'd like to see this issue fixed for the SFML port I've been working on in #38987.

Patches welcome.

Note: See TracTickets for help on using tickets.