Opened 19 months ago
Last modified 19 months ago
#67399 assigned defect
BoCA fails to build on 10.6.8 Rosetta: config.cpp: error: ‘kAudioFormatMPEG4AAC_ELD’ is not a member of ‘CA’
Reported by: | barracuda156 | Owned by: | janosch |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | powerpc, snowleopard, rosetta | Cc: | |
Port: | BoCA |
Description
:info:build config.cpp: In constructor ‘BoCA::ConfigureCoreAudio::ConfigureCoreAudio()’: :info:build config.cpp:99: error: ‘kAudioFormatMPEG4AAC_ELD’ is not a member of ‘CA’ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_BoCA/BoCA/work/compwrap/cxx/usr/bin/g++-4.2 -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_BoCA/BoCA/work/boca-1.0.5/components/tagger/id3v2/id3" -DHAVE_CONFIG_H -DID3LIB_LINKOPTION=LINKOPTION_STATIC -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_BoCA/BoCA/work/boca-1.0.5/components/tagger/id3v2/id3"/../zlib -fPIC -Os -arch ppc -c tag_render.cpp -o tag_render.o :info:build config.cpp: In member function ‘smooth::Void BoCA::ConfigureCoreAudio::SetCodec()’: :info:build config.cpp:262: error: ‘kAudioFormatMPEG4AAC_ELD’ is not a member of ‘CA’ :info:build make[3]: *** [config.o] Error 1 :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_BoCA/BoCA/work/boca-1.0.5/components/encoder/coreaudio' :info:build make[2]: *** [coreaudio] Error 2 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_BoCA/BoCA/work/boca-1.0.5/components/encoder' :info:build make[1]: *** [encoder] Error 2 :info:build make[1]: *** Waiting for unfinished jobs...
Attachments (1)
Change History (3)
Changed 19 months ago by barracuda156
Attachment: | BoCA_log.txt added |
---|
comment:1 Changed 19 months ago by barracuda156
comment:2 Changed 19 months ago by barracuda156
With gcc-12 on Rosetta it fails on:
make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_BoCA/BoCA/work/boca-1.0.5/components/tagger/apev2' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_BoCA/BoCA/work/compwrap/cxx/opt/local/bin/g++-mp-12 -fvisibility=hidden -DBOCA_COMPONENT_BUILD -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_BoCA/BoCA/work/boca-1.0.5/components/tagger/apev2"/../../../include -fPIC -pthread -Os -arch ppc -c apev2.cpp -o apev2.o In file included from /opt/local/include/gcc12/c++/stdlib.h:36, from /usr/include/assert.h:44, from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:13, from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:20, from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20, from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21, from coreaudio.cpp:18: /opt/local/include/gcc12/c++/cstdlib:240:22: error: 'lldiv_t' has not been declared in '__gnu_cxx' 240 | using ::__gnu_cxx::lldiv_t; | ^~~~~~~ /opt/local/include/gcc12/c++/cstdlib:242:22: error: '_Exit' has not been declared in '__gnu_cxx' 242 | using ::__gnu_cxx::_Exit; | ^~~~~ /opt/local/include/gcc12/c++/cstdlib:244:22: error: 'llabs' has not been declared in '__gnu_cxx' 244 | using ::__gnu_cxx::llabs; | ^~~~~ /opt/local/include/gcc12/c++/cstdlib:245:22: error: 'div' has not been declared in '__gnu_cxx' 245 | using ::__gnu_cxx::div; | ^~~ /opt/local/include/gcc12/c++/cstdlib:246:22: error: 'lldiv' has not been declared in '__gnu_cxx' 246 | using ::__gnu_cxx::lldiv; | ^~~~~ /opt/local/include/gcc12/c++/cstdlib:248:22: error: 'atoll' has not been declared in '__gnu_cxx' 248 | using ::__gnu_cxx::atoll; | ^~~~~ /opt/local/include/gcc12/c++/cstdlib:249:22: error: 'strtof' has not been declared in '__gnu_cxx' 249 | using ::__gnu_cxx::strtof; | ^~~~~~ /opt/local/include/gcc12/c++/cstdlib:250:22: error: 'strtoll' has not been declared in '__gnu_cxx' 250 | using ::__gnu_cxx::strtoll; | ^~~~~~~ /opt/local/include/gcc12/c++/cstdlib:251:22: error: 'strtoull' has not been declared in '__gnu_cxx' 251 | using ::__gnu_cxx::strtoull; | ^~~~~~~~ /opt/local/include/gcc12/c++/cstdlib:252:22: error: 'strtold' has not been declared in '__gnu_cxx' 252 | using ::__gnu_cxx::strtold; | ^~~~~~~ /opt/local/include/gcc12/c++/stdlib.h:54:12: error: 'abs' has not been declared in 'CA::std' 54 | using std::abs; | ^~~ In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:160: /opt/local/include/gcc12/c++/fenv.h:58:11: error: 'fenv_t' has not been declared in '::' 58 | using ::fenv_t; | ^~~~~~ /opt/local/include/gcc12/c++/fenv.h:59:11: error: 'fexcept_t' has not been declared in '::' 59 | using ::fexcept_t; | ^~~~~~~~~ /opt/local/include/gcc12/c++/fenv.h:62:11: error: 'feclearexcept' has not been declared in '::' 62 | using ::feclearexcept; | ^~~~~~~~~~~~~ /opt/local/include/gcc12/c++/fenv.h:63:11: error: 'fegetexceptflag' has not been declared in '::' 63 | using ::fegetexceptflag; | ^~~~~~~~~~~~~~~ /opt/local/include/gcc12/c++/fenv.h:64:11: error: 'feraiseexcept' has not been declared in '::' 64 | using ::feraiseexcept; | ^~~~~~~~~~~~~ /opt/local/include/gcc12/c++/fenv.h:65:11: error: 'fesetexceptflag' has not been declared in '::' 65 | using ::fesetexceptflag; | ^~~~~~~~~~~~~~~ /opt/local/include/gcc12/c++/fenv.h:66:11: error: 'fetestexcept' has not been declared in '::' 66 | using ::fetestexcept; | ^~~~~~~~~~~~ /opt/local/include/gcc12/c++/fenv.h:68:11: error: 'fegetround' has not been declared in '::' 68 | using ::fegetround; | ^~~~~~~~~~ /opt/local/include/gcc12/c++/fenv.h:69:11: error: 'fesetround' has not been declared in '::' 69 | using ::fesetround; | ^~~~~~~~~~ /opt/local/include/gcc12/c++/fenv.h:71:11: error: 'fegetenv' has not been declared in '::' 71 | using ::fegetenv; | ^~~~~~~~ /opt/local/include/gcc12/c++/fenv.h:72:11: error: 'feholdexcept' has not been declared in '::' 72 | using ::feholdexcept; | ^~~~~~~~~~~~ /opt/local/include/gcc12/c++/fenv.h:73:11: error: 'fesetenv' has not been declared in '::' 73 | using ::fesetenv; | ^~~~~~~~ /opt/local/include/gcc12/c++/fenv.h:74:11: error: 'feupdateenv' has not been declared in '::' 74 | using ::feupdateenv; | ^~~~~~~~~~~ make[3]: *** [coreaudio.o] Error 1
Note: See
TracTickets for help on using
tickets.
FWIW, this code in Makefile-options is simply ignored:
On ppc32 it still uses bin64 and lib64 (both Rosetta and native).