Opened 13 years ago
Closed 5 years ago
#34012 closed defect (wontfix)
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: | nerdling (Jeremy Lavergne), robink@…, MaddTheSane (C.W. Betts), willy.wolff.0@…, andyeh@…, fgenolini@…, philippe.groarke@…, SlaunchaMan (Jeff Kelley), cooljeanius (Eric Gallager) |
Port: | openal |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
---> 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 (1)
Change History (27)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | openal removed |
comment:2 follow-up: 3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
comment:3 Changed 13 years 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 years ago by nerdling (Jeremy Lavergne)
Cc: | snc@… ryandesign@… added |
---|
I don't see the missing file anywhere on Lion either (CAStreamBasicDescription.h).
comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… removed |
---|---|
Keywords: | lion added |
Summary: | Openal can not be built under Mac OS X Lion → openal: error: 'CAStreamBasicDescription.h' file not found |
Maybe upgrading openal would help.
comment:9 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | andyeh@… added |
---|
Has duplicate #37122.
comment:10 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | mountainlion added |
---|
comment:11 Changed 12 years 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 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | fgenolini@… philippe.groarke@… added |
---|
Has duplicate #37895.
@fgenolini, can you supply a patch that updates the portfile?
comment:13 follow-up: 14 Changed 12 years 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) } }
comment:14 Changed 12 years ago by larryv (Lawrence Velázquez)
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 12 years 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 Changed 12 years ago by larryv (Lawrence Velázquez)
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:18 Changed 12 years ago by fgenolini@…
No, email sent. No reply. Request to join mailing list. No reply.
comment:19 Changed 12 years 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:23 follow-up: 24 Changed 12 years ago by cooljeanius (Eric Gallager)
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
comment:24 Changed 12 years ago by larryv (Lawrence Velázquez)
comment:25 Changed 7 years ago by kencu (Ken)
I just tried to build openal on Lion and ran into exactly the same error.
I was about to launch into fixing this ticket, but it appears that an alternative implementation of this software, openal-soft, is available on MacPorts, and builds for all architectures on the buildbots except PPC <http://packages.macports.org/openal-soft/>. Openal seems to build only for 10.6 <http://packages.macports.org/openal/> on the buildbots.
Is there any need for the openal port, or this ticket, any longer?
comment:26 Changed 5 years ago by kencu (Ken)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
closing as per last comment, 2 years ago.
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.