[MacPorts] #70289: abaddon @0.2.1_2 ppc: fails to build on Leopard

MacPorts noreply at macports.org
Fri Oct 4 08:41:52 UTC 2024


#70289: abaddon @0.2.1_2 ppc: fails to build on Leopard
--------------------------+--------------------
  Reporter:  ScarlettPPC  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.9.3
Resolution:               |   Keywords:
      Port:  abaddon      |
--------------------------+--------------------

Comment (by barracuda156):

 Replying to [comment:11 ScarlettPPC]:
 > Thank you! I just tried it, now it's spitting a different error.
 Guessing it's something to do with miniaudio. Here's the log

 I am sorry, I missed this reply and completely forgot there was this
 ticket.

 Someone tested the build with gcc14 on 10.5.8 now, and it also fails:

 {{{
 :info:build [  4%] Building CXX object
 CMakeFiles/abaddon.dir/src/audio/ma_impl.cpp.o
 :info:build /opt/local/bin/g++-mp-14 -DABADDON_IS_BIG_ENDIAN
 -DENABLE_NOTIFICATION_SOUNDS -DFMT_SHARED -DSPDLOG_COMPILED_LIB
 -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -DWITH_LIBHANDY -DWITH_MINIAUDIO
 -DWITH_RNNOISE -DWITH_VOICE
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/src
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/build
 -I/opt/local/include/gtkmm-3.0 -I/opt/local/lib/gtkmm-3.0/include
 -I/opt/local/include/gdkmm-3.0 -I/opt/local/lib/gdkmm-3.0/include
 -I/opt/local/include/gtk-3.0 -I/opt/local/include/gdk-pixbuf-2.0
 -I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include
 -I/opt/local/include/giomm-2.4 -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/lib/giomm-2.4/include
 -I/opt/local/include/pangomm-1.4 -I/opt/local/lib/pangomm-1.4/include
 -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz
 -I/opt/local/include/cairo -I/opt/local/include/freetype2
 -I/opt/local/include/cairomm-1.0 -I/opt/local/lib/cairomm-1.0/include
 -I/opt/local/include/atkmm-1.6 -I/opt/local/lib/atkmm-1.6/include
 -I/opt/local/include/atk-1.0 -I/opt/local/include/sigc++-2.0
 -I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/libhandy-1
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio
 -isystem /opt/local/include -isystem /opt/local/include/libfmt10 -isystem
 /opt/local/include/opus -pipe -I/opt/local/libexec/openssl3/include -Os
 -DNDEBUG -I/opt/local/libexec/openssl3/include -isystem/opt/local/include
 -D_GLIBCXX_USE_CXX11_ABI=0 -std=gnu++17 -arch ppc -mmacosx-version-
 min=10.5 -MD -MT CMakeFiles/abaddon.dir/src/audio/ma_impl.cpp.o -MF
 CMakeFiles/abaddon.dir/src/audio/ma_impl.cpp.o.d -o
 CMakeFiles/abaddon.dir/src/audio/ma_impl.cpp.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/src/audio/ma_impl.cpp
 :info:build In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/src/audio/ma_impl.cpp:6:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:31948:9:
 error: ISO C++ forbids declaration of 'AudioComponent' with no type
 [-fpermissive]
 :info:build 31948 | typedef AudioComponent (*
 ma_AudioComponentFindNext_proc)(AudioComponent inComponent, const
 AudioComponentDescription* inDesc);
 :info:build       |         ^~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:31948:9:
 error: typedef 'AudioComponent' is initialized (use 'decltype' instead)
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:31948:27:
 error: 'ma_AudioComponentFindNext_proc' was not declared in this scope
 :info:build 31948 | typedef AudioComponent (*
 ma_AudioComponentFindNext_proc)(AudioComponent inComponent, const
 AudioComponentDescription* inDesc);
 :info:build       |
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:31949:21:
 error: typedef 'ma_AudioComponentInstanceDispose_proc' is initialized (use
 'decltype' instead)
 :info:build 31949 | typedef OSStatus (*
 ma_AudioComponentInstanceDispose_proc)(AudioComponentInstance inInstance);
 :info:build       |
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:31949:60:
 error: 'AudioComponentInstance' was not declared in this scope; did you
 mean 'badComponentInstance'?
 :info:build 31949 | typedef OSStatus (*
 ma_AudioComponentInstanceDispose_proc)(AudioComponentInstance inInstance);
 :info:build       |
 ^~~~~~~~~~~~~~~~~~~~~~
 :info:build       |
 badComponentInstance
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:31950:21:
 error: typedef 'ma_AudioComponentInstanceNew_proc' is initialized (use
 'decltype' instead)
 :info:build 31950 | typedef OSStatus (*
 ma_AudioComponentInstanceNew_proc)(AudioComponent inComponent,
 AudioComponentInstance* outInstance);
 :info:build       |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:31950:56:
 error: 'AudioComponent' was not declared in this scope; did you mean
 'AudioFileComponent'?
 :info:build 31950 | typedef OSStatus (*
 ma_AudioComponentInstanceNew_proc)(AudioComponent inComponent,
 AudioComponentInstance* outInstance);
 :info:build       |
 ^~~~~~~~~~~~~~
 :info:build       |
 AudioFileComponent
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:31950:84:
 error: 'AudioComponentInstance' was not declared in this scope; did you
 mean 'badComponentInstance'?
 :info:build 31950 | typedef OSStatus (*
 ma_AudioComponentInstanceNew_proc)(AudioComponent inComponent,
 AudioComponentInstance* outInstance);
 :info:build       |
 ^~~~~~~~~~~~~~~~~~~~~~
 :info:build       |
 badComponentInstance
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:31950:108:
 error: 'outInstance' was not declared in this scope; did you mean
 'NoteInstanceID'?
 :info:build 31950 | typedef OSStatus (*
 ma_AudioComponentInstanceNew_proc)(AudioComponent inComponent,
 AudioComponentInstance* outInstance);
 :info:build       |
 ^~~~~~~~~~~
 :info:build       |
 NoteInstanceID
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:
 In function 'ma_result ma_device_uninit__coreaudio(ma_device*)':
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34150:11:
 error: 'ma_AudioComponentInstanceDispose_proc' was not declared in this
 scope
 :info:build 34150 |
 ((ma_AudioComponentInstanceDispose_proc)pDevice->pContext->coreaudio.AudioComponentInstanceDispose)((AudioUnit)pDevice->coreaudio.audioUnitCapture);
 :info:build       |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34150:49:
 error: expected ')' before 'pDevice'
 :info:build 34150 |
 ((ma_AudioComponentInstanceDispose_proc)pDevice->pContext->coreaudio.AudioComponentInstanceDispose)((AudioUnit)pDevice->coreaudio.audioUnitCapture);
 :info:build       |         ~
 ^~~~~~~
 :info:build       |                                                 )
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34153:11:
 error: 'ma_AudioComponentInstanceDispose_proc' was not declared in this
 scope
 :info:build 34153 |
 ((ma_AudioComponentInstanceDispose_proc)pDevice->pContext->coreaudio.AudioComponentInstanceDispose)((AudioUnit)pDevice->coreaudio.audioUnitPlayback);
 :info:build       |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34153:49:
 error: expected ')' before 'pDevice'
 :info:build 34153 |
 ((ma_AudioComponentInstanceDispose_proc)pDevice->pContext->coreaudio.AudioComponentInstanceDispose)((AudioUnit)pDevice->coreaudio.audioUnitPlayback);
 :info:build       |         ~
 ^~~~~~~
 :info:build       |                                                 )
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:
 At global scope:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34183:5:
 error: 'AudioComponent' does not name a type; did you mean
 'AudioFileComponent'?
 :info:build 34183 |     AudioComponent component;
 :info:build       |     ^~~~~~~~~~~~~~
 :info:build       |     AudioFileComponent
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:
 In function 'ma_result ma_device_init_internal__coreaudio(ma_context*,
 ma_device_type, const ma_device_id*,
 ma_device_init_internal_data__coreaudio*, void*)':
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34218:12:
 error: 'struct ma_device_init_internal_data__coreaudio' has no member
 named 'component'
 :info:build 34218 |     pData->component = NULL;
 :info:build       |            ^~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34242:16:
 error: 'ma_AudioComponentInstanceNew_proc' was not declared in this scope
 :info:build 34242 |     status =
 ((ma_AudioComponentInstanceNew_proc)pContext->coreaudio.AudioComponentInstanceNew)((AudioComponent)pContext->coreaudio.component,
 (AudioUnit*)&pData->audioUnit);
 :info:build       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34242:50:
 error: expected ')' before 'pContext'
 :info:build 34242 |     status =
 ((ma_AudioComponentInstanceNew_proc)pContext->coreaudio.AudioComponentInstanceNew)((AudioComponent)pContext->coreaudio.component,
 (AudioUnit*)&pData->audioUnit);
 :info:build       |              ~
 ^~~~~~~~
 :info:build       |                                                  )
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34256:11:
 error: 'ma_AudioComponentInstanceDispose_proc' was not declared in this
 scope
 :info:build 34256 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34256:49:
 error: expected ')' before 'pContext'
 :info:build 34256 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |         ~
 ^~~~~~~~
 :info:build       |                                                 )
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34263:11:
 error: 'ma_AudioComponentInstanceDispose_proc' was not declared in this
 scope
 :info:build 34263 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34263:49:
 error: expected ')' before 'pContext'
 :info:build 34263 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |         ~
 ^~~~~~~~
 :info:build       |                                                 )
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34272:11:
 error: 'ma_AudioComponentInstanceDispose_proc' was not declared in this
 scope
 :info:build 34272 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34272:49:
 error: expected ')' before 'pContext'
 :info:build 34272 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |         ~
 ^~~~~~~~
 :info:build       |                                                 )
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34323:15:
 error: 'ma_AudioComponentInstanceDispose_proc' was not declared in this
 scope
 :info:build 34323 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34323:53:
 error: expected ')' before 'pContext'
 :info:build 34323 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |             ~
 ^~~~~~~~
 :info:build       |                                                     )
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34330:15:
 error: 'ma_AudioComponentInstanceDispose_proc' was not declared in this
 scope
 :info:build 34330 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34330:53:
 error: expected ')' before 'pContext'
 :info:build 34330 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |             ~
 ^~~~~~~~
 :info:build       |                                                     )
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34422:15:
 error: 'ma_AudioComponentInstanceDispose_proc' was not declared in this
 scope
 :info:build 34422 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34422:53:
 error: expected ')' before 'pContext'
 :info:build 34422 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |             ~
 ^~~~~~~~
 :info:build       |                                                     )
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34427:15:
 error: 'ma_AudioComponentInstanceDispose_proc' was not declared in this
 scope
 :info:build 34427 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34427:53:
 error: expected ')' before 'pContext'
 :info:build 34427 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |             ~
 ^~~~~~~~
 :info:build       |                                                     )
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34513:11:
 error: 'ma_AudioComponentInstanceDispose_proc' was not declared in this
 scope
 :info:build 34513 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34513:49:
 error: expected ')' before 'pContext'
 :info:build 34513 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |         ~
 ^~~~~~~~
 :info:build       |                                                 )
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34526:15:
 error: 'ma_AudioComponentInstanceDispose_proc' was not declared in this
 scope
 :info:build 34526 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34526:53:
 error: expected ')' before 'pContext'
 :info:build 34526 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |             ~
 ^~~~~~~~
 :info:build       |                                                     )
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34539:15:
 error: 'ma_AudioComponentInstanceDispose_proc' was not declared in this
 scope
 :info:build 34539 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34539:53:
 error: expected ')' before 'pContext'
 :info:build 34539 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |             ~
 ^~~~~~~~
 :info:build       |                                                     )
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34546:15:
 error: 'ma_AudioComponentInstanceDispose_proc' was not declared in this
 scope
 :info:build 34546 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34546:53:
 error: expected ')' before 'pContext'
 :info:build 34546 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |             ~
 ^~~~~~~~
 :info:build       |                                                     )
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34555:15:
 error: 'ma_AudioComponentInstanceDispose_proc' was not declared in this
 scope
 :info:build 34555 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34555:53:
 error: expected ')' before 'pContext'
 :info:build 34555 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |             ~
 ^~~~~~~~
 :info:build       |                                                     )
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34565:11:
 error: 'ma_AudioComponentInstanceDispose_proc' was not declared in this
 scope
 :info:build 34565 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_abaddon/abaddon/work/abaddon-0.2.1/subprojects/miniaudio/miniaudio.h:34565:49:
 error: expected ')' before 'pContext'
 :info:build 34565 |
 ((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
 :info:build       |         ~
 ^~~~~~~~
 :info:build       |                                                 )
 }}}

 Need to see what is going in here.

 `AudioComponent` and friends are only available in 10.12+:
 https://developer.apple.com/documentation/audiotoolbox/audiocomponent
 So they can’t possibly exist in my 10.6 ppc either. However, on 10.6 the
 build works fine: at least it did when I added the port and when it was
 updated last time.

-- 
Ticket URL: <https://trac.macports.org/ticket/70289#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list