Opened 4 years ago

Last modified 9 months ago

#60420 new defect

jack @1.9.12 does not build on 10.5.8 PPC

Reported by: udbraumann Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: leopard powerpc Cc: cooljeanius (Eric Gallager)
Port: jack

Description (last modified by udbraumann)

While installing jack @1.9.14 (an requirement for gpac @0.8.0_1 which in turn is a prerequisite for MP4Joiner @2.2_2) on my PPC G4 building of JackCoreAudioDriver.mm stops with an internal compiler error of gcc7:

...
:info:build In file included from ../macosx/coreaudio/JackCoreAudioDriver.mm:29:0:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_jack/jack/work/jack2-1.9.12/common/JackLockedEngine.h: In member function 'int Jack::JackLockedEngine::PortRegister(int, const char*, const char*, unsigned int, unsigned int, jack_port_id_t*)':
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_jack/jack/work/jack2-1.9.12/common/JackLockedEngine.h:196:13: internal compiler error: in objc_eh_runtime_type, at objc/objc-next-runtime-abi-01.c:2791
:info:build          int PortRegister(int refnum, const char* name, const char *type, unsigned int flags, unsigned int buffer_size, jack_port_id_t* port)
:info:build              ^~~~~~~~~~~~
:info:build libbacktrace could not find executable to open
:info:build Please submit a full bug report,
:info:build with preprocessed source if appropriate.
:info:build See <https://trac.macports.org/newticket> for instructions.
:info:build Waf: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_jack/jack/work/jack2-1.9.12/build'
:info:build Build failed
:info:build  -> task in 'coreaudio' failed (exit status 1):
:info:build     {task 22241648: cxx JackCoreAudioDriver.mm -> JackCoreAudioDriver.mm.8.o}
:info:build ['/opt/local/bin/g++-mp-7', '-pipe', '-Os', '-D_GLIBCXX_USE_CXX11_ABI=0', '-m32', '-Wall', '-fPIC', '-I/opt/local/include', '-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_jack/jack/work/jack2-1.9.12/build', '-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_jack/jack/work/jack2-1.9.12', '-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_jack/jack/work/jack2-1.9.12/build/common', '-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_jack/jack/work/jack2-1.9.12/common', '-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_jack/jack/work/jack2-1.9.12/build/common/jack', '-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_jack/jack/work/jack2-1.9.12/common/jack', '-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_jack/jack/work/jack2-1.9.12/build/macosx', '-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_jack/jack/work/jack2-1.9.12/macosx', '-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_jack/jack/work/jack2-1.9.12/build/posix', '-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_jack/jack/work/jack2-1.9.12/posix', '-DAFTEN=1', '-DHAVE_DOXYGEN=0', '-DHAVE_ALSA=0', '-DHAVE_FIREWIRE=0', '-DHAVE_FREEBOB=0', '-DHAVE_IIO=0', '-DHAVE_PORTAUDIO=0', '-DHAVE_WINMME=0', '-DHAVE_CELT=0', '-DHAVE_OPUS=0', '-DHAVE_SAMPLERATE=1', '-DHAVE_SNDFILE=1', '-DHAVE_READLINE=0', '-DHAVE_EXECINFO_H=1', '-DUSE_CLASSIC_AUTOLAUNCH=1', '-DCLIENT_NUM=64', '-DPORT_NUM_FOR_CLIENT=768', '-DADDON_DIR="/opt/local/lib/jack"', '-DJACK_LOCATION="/opt/local/bin"', '-DUSE_POSIX_SHM=1', '-DJACKMP=1', '-DHAVE_CONFIG_H', '-DSERVER_SIDE', '../macosx/coreaudio/JackCoreAudioDriver.mm', '-c', '-o', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_jack/jack/work/jack2-1.9.12/build/macosx/coreaudio/JackCoreAudioDriver.mm.8.o']
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_jack/jack/work/jack2-1.9.12" && /opt/local/bin/python2.7 ./waf build
:info:build Exit code: 1
:error:build Failed to build jack: command execution failed
...

Just now, after my installation attempt, I notice that jack @1.9.14 is available. I will try this soon.

Attachments (1)

main.log (214.7 KB) - added by udbraumann 4 years ago.

Download all attachments as: .zip

Change History (8)

Changed 4 years ago by udbraumann

Attachment: main.log added

comment:1 Changed 4 years ago by udbraumann

Description: modified (diff)

comment:2 Changed 4 years ago by udbraumann

Description: modified (diff)

comment:3 Changed 4 years ago by udbraumann

Description: modified (diff)

comment:4 Changed 4 years ago by kencu (Ken)

internal compiler errors are a hard one to fix. Is there a crashreport?

comment:5 Changed 4 years ago by udbraumann

Nothing, except this message inside the report given above taken from the main.log: internal compiler error: in objc_eh_runtime_type, at objc/objc-next-runtime-abi-01.c:2791

I meanwhile managed to check if jack @1.9.14 behaves differently, but does not, below a similar snippet from the main.log, but starting a few lines earlier:

...
:info:build 12:46:27 runner ['/opt/local/bin/g++-mp-7', '-pipe', '-Os', '-arch', 'ppc', '-Wall', '-std=gnu++11', '-fPIC', '-I.', '-I..', '-Icommon', '-I../common', '-Icommon/jack', '-I../common/jack', '-Imacosx', '-I../macosx', '-Iposix', '-I../posix', '-DAFTEN=1', '-DHAVE_DOXYGEN=0', '-DHAVE_ALSA=0', '-DHAVE_FIREWIRE=0', '-DHAVE_IIO=0', '-DHAVE_PORTAUDIO=0', '-DHAVE_WINMME=0', '-DHAVE_CELT=0', '-DHAVE_OPUS=0', '-DHAVE_SAMPLERATE=1', '-DHAVE_SNDFILE=1', '-DHAVE_READLINE=0', '-DHAVE_SYSTEMD=0', '-DHAVE_DB_H=1', '-DHAVE_DB=0', '-DHAVE_ALLOCA_H=1', '-DHAVE_EXECINFO_H=1', '-DUSE_CLASSIC_AUTOLAUNCH=1', '-DCLIENT_NUM=64', '-DPORT_NUM_FOR_CLIENT=768', '-DADDON_DIR="/opt/local/lib/jack"', '-DJACK_LOCATION="/opt/local/bin"', '-DUSE_POSIX_SHM=1', '-DJACKMP=1', '-DHAVE_CONFIG_H', '-DSERVER_SIDE', '../macosx/coreaudio/JackCoreAudioDriver.mm', '-c', '-o/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_jack/jack/work/jackaudio-jack2-b54a09b/build/macosx/coreaudio/JackCoreAudioDriver.mm.8.o', '-I/opt/local/include']
:info:build ../macosx/coreaudio/JackCoreAudioDriver.mm:783:53: warning: multi-character character constant [-Wmultichar]
:info:build              if (format_list[j].mFormat.mFormatID == 'IAC3' ||
:info:build                                                      ^~~~~~
:info:build ../macosx/coreaudio/JackCoreAudioDriver.mm:784:53: warning: multi-character character constant [-Wmultichar]
:info:build                  format_list[j].mFormat.mFormatID == 'iac3' ||
:info:build                                                      ^~~~~~
:info:build In file included from ../macosx/coreaudio/JackCoreAudioDriver.mm:29:0:
:info:build ../common/JackLockedEngine.h: In member function 'int Jack::JackLockedEngine::PortRegister(int, const char*, const char*, unsigned int, unsigned int, jack_port_id_t*)':
:info:build ../common/JackLockedEngine.h:196:13: internal compiler error: in objc_eh_runtime_type, at objc/objc-next-runtime-abi-01.c:2791
:info:build          int PortRegister(int refnum, const char* name, const char *type, unsigned int flags, unsigned int buffer_size, jack_port_id_t* port)
:info:build              ^~~~~~~~~~~~
:info:build libbacktrace could not find executable to open
:info:build Please submit a full bug report,
:info:build with preprocessed source if appropriate.
:info:build See <https://trac.macports.org/newticket> for instructions.
...

What I could provide is the JackLockedEngine.h, but I need to start compiling again, as I had cleaned already.

comment:6 Changed 9 months ago by barracuda156

Still unfixed in the latest version, and same error with gcc12. #67794 https://github.com/jackaudio/jack2/issues/950

comment:7 Changed 9 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.