Opened 5 months ago

Last modified 5 weeks ago

#70289 assigned defect

abaddon @0.2.1_2 ppc: fails to build on Leopard

Reported by: ScarlettPPC (ScarlettPPC) Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc: barracuda156
Port: abaddon

Description

Trying to build on Mac OS results in an error. Possible to be caused because the compiler is too old. Check log for details

Attachments (2)

main.log.gz (175.7 KB) - added by ScarlettPPC (ScarlettPPC) 5 months ago.
main2.log (430.3 KB) - added by ScarlettPPC (ScarlettPPC) 4 months ago.
gcc13

Download all attachments as: .zip

Change History (18)

Changed 5 months ago by ScarlettPPC (ScarlettPPC)

Attachment: main.log.gz added

comment:1 Changed 5 months ago by barracuda156

Given that it builds and actually works on 10.6 ppc, should be fixable for 10.5 too. I will look into this today, though I cannot personally test it at the moment.

comment:2 Changed 5 months ago by kencu (Ken)

It will need a newer gcc than gcc7.

error: 'std::filesystem' has not been declared

comment:3 Changed 5 months ago by ScarlettPPC (ScarlettPPC)

I tried building the source code before trying the MacPort package and got the same error, so I made it use GCC10 instead and that actually managed to build the whole project. That is until it reached the linker which just spat out a bunch of undefined symbols and failed.

comment:4 in reply to:  2 Changed 5 months ago by barracuda156

Replying to kencu:

It will need a newer gcc than gcc7.

error: 'std::filesystem' has not been declared

Oh, I had no idea it is not supported with gcc7. We have a lot of stuff using filesystem, including my own ports.

Ken, what you would want from me in order for you to support the PR to switch to gcc13? I have it working on 10.6 for long enough, I think it is verifiably working, both via test results of multiple ports and from a fact that I have modern GUI-using ports working (so anyone can easily see they do work).

Re ppc64, I talked to Kirill, it may be an issue with how gcc10-bootstrap was changed with respect to universal variant. Likely nothing to do with the ld64. But perhaps ppc64 is not our primary concern at the moment.

comment:5 in reply to:  3 ; Changed 5 months ago by barracuda156

Replying to ScarlettPPC:

I tried building the source code before trying the MacPort package and got the same error, so I made it use GCC10 instead and that actually managed to build the whole project. That is until it reached the linker which just spat out a bunch of undefined symbols and failed.

Which exactly gcc10? You have to make sure it uses libgcc10 or later (in MacPorts presently it is libgcc13). You may be also able to build it either with gcc10-bootstrap (which does not need libgcc) or outside of MacPorts with any modern gcc which you build yourself.

Or you may try my changes to switch MacPorts to gcc13 and actually help us to test it IRL. (It is well-tested on my 10.6 ppc but on 10.5 ppc is was tested with gcc11 only.)

comment:6 Changed 5 months ago by barracuda156

Honestly it should be done with gcc14, but MacPorts is stuck with an outdated gcc13 (ironically broken for Intel and arm64, though working fine on PowerPC), but it I try that, the PR will get stuck again for many months :(

For the record, gcc15 also builds and appears working fine on PowerPC. I am running gfortran tests with gcc15 now.

comment:7 Changed 5 months ago by kencu (Ken)

the upgrade to a newer gcc for 10.4 and 10.5 is primarily awaiting a decision regarding:

  1. supporting every gcc between gcc 7 and gcc13 on 10.4. and 10.5
  2. skipping gcc8-12 on 10.4 and 10.5.

Supporting every gcc version means a very very onerous building of many libgcc versions would be needed to get gcc48, gcc5, gcc6, and gcc7 to build.

and I only just recently made the bootstrap gcc version that would allow gcc13 to build on 10.4.

The simple truth is nobody has as yet done the work needed to get it done. Your PR doesn't do it.

comment:8 in reply to:  5 Changed 5 months ago by ScarlettPPC (ScarlettPPC)

Replying to barracuda156:

Replying to ScarlettPPC:

I tried building the source code before trying the MacPort package and got the same error, so I made it use GCC10 instead and that actually managed to build the whole project. That is until it reached the linker which just spat out a bunch of undefined symbols and failed.

Which exactly gcc10? You have to make sure it uses libgcc10 or later (in MacPorts presently it is libgcc13). You may be also able to build it either with gcc10-bootstrap (which does not need libgcc) or outside of MacPorts with any modern gcc which you build yourself.

Or you may try my changes to switch MacPorts to gcc13 and actually help us to test it IRL. (It is well-tested on my 10.6 ppc but on 10.5 ppc is was tested with gcc11 only.)

I got a prebuilt binary from leopard.sh because I didn't have it built on my machine. Sure I'll try building gcc10 and gcc13 and see if it works with either of them.

comment:9 Changed 4 months ago by ScarlettPPC (ScarlettPPC)

Okay I've got gcc13 and 10 working now. How do I make MacPorts use either? I tried "sudo port select gcc mp-gcc13" but it still uses gcc7 when building the port and gets stuck on the same error

comment:10 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)

What you sudo port select is for your own enjoyment on the command line outside of MacPorts; MacPorts ports will not use what you have selected. (If they do, it is a bug that must be fixed.)

You can temporarily test the use of a compiler to build a port like this:

sudo port -s install foo configure.compiler=macports-gcc-13

You can override other variables the same way. This is only for testing purposes; it is not intended for MacPorts users to do this on a regular basis in the normal course of installing ports.

comment:11 Changed 4 months ago by ScarlettPPC (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

Changed 4 months ago by ScarlettPPC (ScarlettPPC)

Attachment: main2.log added

gcc13

comment:12 in reply to:  11 Changed 5 weeks ago by barracuda156

Replying to 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.

comment:13 in reply to:  10 Changed 5 weeks ago by barracuda156

Replying to ryandesign:

Could you please assign the ticket to me?

comment:14 Changed 5 weeks ago by barracuda156

Version 0, edited 5 weeks ago by barracuda156 (next)

comment:15 in reply to:  14 ; Changed 5 weeks ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to barracuda156
Status: newassigned

Replying to barracuda156:

Looks like Apple docs are misleading.

In what way?

comment:16 in reply to:  15 Changed 5 weeks ago by barracuda156

Replying to ryandesign:

Replying to barracuda156:

Looks like Apple docs are misleading.

In what way?

AudioComponent and friends are all available in 10.6+ already. Only 10.5 needs a fallback.

Note: See TracTickets for help on using tickets.