Opened 3 years ago

Last modified 2 years ago

#64611 closed defect

libopus fail for ppc on 10.6.8: doxygen(29331) malloc: *** error for object 0xa00fd754 — at Version 3

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: powerpc, snowleopard, rosetta Cc:
Port: libopus

Description (last modified by barracuda156)

Initially configure fails:

configure: WARNING: Compiler does not support SSE intrinsics
configure: WARNING: Compiler does not support SSE2 intrinsics
configure: WARNING: Compiler does not support SSE4.1 intrinsics
configure: WARNING: Compiler does not support AVX intrinsics
checking How to get X86 CPU Info... configure: error: no supported Get CPU Info method, please disable run-time CPU capabilities detection or intrinsics
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libopus/libopus/work/opus-1.3.1" && ./configure --prefix=/opt/local --disable-silent-rules 
Exit code: 1
Error: Failed to configure libopus: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libopus/libopus/work/opus-1.3.1/config.log
Error: Failed to configure libopus: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libopus/libopus/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a
bug.
Error: Processing of port libopus failed

Change History (5)

Changed 3 years ago by barracuda156

Attachment: config.log added

comment:1 Changed 3 years ago by barracuda156

So here it fails apparently because --build is wrongly detected as i368, and that error is described in port file:

platform i386 {
    # checking How to get X86 CPU Info... configure: error: no supported Get CPU Info method, please disable intrinsics
    compiler.blacklist *gcc-4.* {clang < 500}
}

However blacklisting compiler did not have effect, gcc-4.2 was used. After adding correct triple in port file, build proceeds but fails here:

make[3]: *** [doxygen-build.stamp] Bus error
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libopus/libopus/work/opus-1.3.1/doc'
make[2]: *** [all-local] Error 2
make[2]: *** Waiting for unfinished jobs....

Changed 3 years ago by barracuda156

Attachment: main.log added

After specifying powerpc the build starts but eventually fails:

comment:2 Changed 3 years ago by barracuda156

Finally, setting gcc7 does not help either:

make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libopus/libopus/work/opus-1.3.1/doc'
doxygen
doxygen(29331) malloc: *** error for object 0xa00fd754: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
doxygen(29331) malloc: *** error for object 0xa00fd7c4: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
make[3]: *** [doxygen-build.stamp] Bus error
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libopus/libopus/work/opus-1.3.1/doc'
make[2]: *** [all-local] Error 2
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libopus/libopus/work/opus-1.3.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libopus/libopus/work/opus-1.3.1'
make: *** [all] Error 2

It must build for ppc however, since I have it on 10.6 PPC:

libopus @1.3.1_0 (active)

comment:3 Changed 3 years ago by barracuda156

Description: modified (diff)
Summary: libopus fail for ppc on 10.6.8: configure: error: no supported Get CPU Info method, please disable run-time CPU capabilities detection or intrinsicslibopus fail for ppc on 10.6.8: doxygen(29331) malloc: *** error for object 0xa00fd754
Note: See TracTickets for help on using tickets.