Opened 3 years ago

Closed 2 years ago

#64610 closed defect (fixed)

FLAC fails to build for ppc on 10.6.8: [FLAC.tag] Bus error

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

Description

--->  Building flac
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.3" && /usr/bin/make -j4 -w all OBJ_FORMAT=macho 
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.3'
/usr/bin/make  all-recursive
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.3'
Making all in doc
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.3/doc'
Making all in .
make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.3/doc'
doxygen Doxyfile
doxygen(18510) malloc: *** error for object 0xa00fd754: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
doxygen(18510) malloc: *** error for object 0xa00fd7c4: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
warning: Tag 'USE_WINDOWS_ENCODING' at line 64 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'DETAILS_AT_TOP' at line 156 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'SHOW_DIRECTORIES' at line 382 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'COLS_IN_ALPHA_INDEX' at line 595 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'HTML_ALIGN_MEMBERS' at line 650 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'XML_SCHEMA' at line 882 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'XML_DTD' at line 888 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'PERL_PATH' at line 1049 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'CLASS_DIAGRAMS' at line 1062 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'MAX_DOT_GRAPH_WIDTH' at line 1164 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'MAX_DOT_GRAPH_HEIGHT' at line 1172 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: argument 'a4wide' for option PAPER_TYPE is not a valid enum value
Using the default: a4!
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.3/include/FLAC/callback.h:186: warning: end of file while inside a group
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.3/include/FLAC/export.h:98: warning: end of file while inside a group
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.3/include/FLAC/format.h:1026: warning: end of file while inside a group
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.3/include/FLAC/metadata.h:2183: warning: end of file while inside a group
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.3/include/FLAC/stream_decoder.h:1560: warning: end of file while inside a group
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.3/include/FLAC/stream_encoder.h:1791: warning: end of file while inside a group
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.3/include/FLAC++/export.h:87: warning: end of file while inside a group
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.3/include/FLAC/export.h:38: warning: explicit link request to 'defines' could not be resolved
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.3/include/FLAC++/export.h:38: warning: explicit link request to 'defines' could not be resolved
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.3/include/FLAC/export.h:48: warning: explicit link request to 'defines' could not be resolved
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.3/include/FLAC++/export.h:48: warning: explicit link request to 'defines' could not be resolved
make[3]: *** [FLAC.tag] Bus error
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.3/doc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.3/doc'
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_flac/flac/work/flac-1.3.3'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.3'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.3" && /usr/bin/make -j4 -w all OBJ_FORMAT=macho 
Exit code: 2
Error: Failed to build flac: command execution failed

Attachments (2)

main.log (47.7 KB) - added by barracuda156 3 years ago.
config.log (162.0 KB) - added by barracuda156 3 years ago.

Download all attachments as: .zip

Change History (6)

Changed 3 years ago by barracuda156

Attachment: main.log added

Changed 3 years ago by barracuda156

Attachment: config.log added

comment:1 Changed 3 years ago by kencu (Ken)

This looks like the error commonly seen when there is a standard library mismatch using a current version of libgcc on an older OS.

malloc: *** error for object 0xa00fd7c4: pointer being freed was not allocated

This is what iains was talking about someday fixing in gcc perhaps. For now, we have a kinda ugly workaround in legacysupport 1.1 that can work, sometimes. See the TCL code of the legacysupport 1.1 PortGroup for the gory details.

comment:2 Changed 3 years ago by kencu (Ken)

The error might actually be in the port that provides doxygen.

It might be just broken (doxygen). Try running doxygen directly in a terminal.

If it is doxygen that is broken, the fix would be to use the legacysupport wrapping trick in the port that provides doxygen.

comment:3 Changed 2 years ago by kencu (Ken)

doxygen works perfectly on ppc in Tiger PPC.

We will not want to disable doxygen for all ppc just to suite a rosetta build hardly anyone uses.

perhaps you can sort out what is wrong with it on rosetta.

Version 0, edited 2 years ago by kencu (Ken) (next)

comment:4 Changed 2 years ago by barracuda156

Owner: set to barracuda156
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.