Opened 3 years ago

Closed 8 months ago

#64400 closed defect (fixed)

zvbi @0.2.35_3 fails building on 10.5.8 PPC

Reported by: udbraumann Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: leopard Cc:
Port: doxygen

Description

While upgrading ffmpeg from 4.2.2_0 to 4.4.1_1, as a new dependency zvbi is required to be installed. However, building fails with a peculiar bus error:

...
:info:build Preprocessing /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_zvbi/zvbi/work/zvbi-0.2.35/src/packet-830.h...
:info:build Parsing file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_zvbi/zvbi/work/zvbi-0.2.35/src/packet-830.h...
:info:build Preprocessing /opt/local/var/macports/build/_opt_local_var_macports_sources_rsynmake[2]: *** [html-build.stamp] Bus error
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_zvbi/zvbi/work/zvbi-0.2.35/doc'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_zvbi/zvbi/work/zvbi-0.2.35'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_zvbi/zvbi/work/zvbi-0.2.35'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_zvbi/zvbi/work/zvbi-0.2.35" && /usr/bin/make -j1 -w all
:info:build Exit code: 2
...

Looking some lines above in main.log, it gets apparent that the trouble is caused by doxygen:

...
:info:build Making all in doc
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_zvbi/zvbi/work/zvbi-0.2.35/doc'
:info:build doxygen Doxyfile
:info:build doxygen(79869) malloc: *** error for object 0xa08293dc: Non-aligned pointer being freed
:info:build *** set a breakpoint in malloc_error_break to debug
:info:build doxygen(79869) malloc: *** error for object 0xa082936c: Non-aligned pointer being freed
:info:build *** set a breakpoint in malloc_error_break to debug
...

An hour ago I updated doxygen from 1.8.18_0 to 1.9.3_1. I will try to revert it back to 1.8.18_0 and see what happens.

Attachments (1)

main.log.gz (10.8 KB) - added by udbraumann 3 years ago.

Download all attachments as: .zip

Change History (7)

Changed 3 years ago by udbraumann

Attachment: main.log.gz added

comment:1 in reply to:  description Changed 3 years ago by udbraumann

Replying to udbraumann:

An hour ago I updated doxygen from 1.8.18_0 to 1.9.3_1. I will try to revert it back to 1.8.18_0 and see what happens.

$ sudo port installed doxygen
The following ports are currently installed:
  doxygen @1.8.18_0 (active)
  doxygen @1.9.3_1

That resolved my problem described above.

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

regarding:

:info:build doxygen(79869) malloc: *** error for object 0xa08293dc: Non-aligned pointer being freed
:info:build *** set a breakpoint in malloc_error_break to debug

this is a well-known problem involving gcc builds the past several years now.

You can review this recent comment here for some up-to-date details of why it happens:

https://github.com/iains/darwin-toolchains-start-here/discussions/3#discussioncomment-1905256

For now, the legacysupport PortGroup has a workaround to wrap the bins and make it work (usually). See the legacysupport Portgroup for details, and the fix has been used in a few dozen ports that show this problem.

If you get it fixed and can demonstrate the fix works, I'm sure everyone would appreciate a PR.

comment:3 Changed 3 years ago by udbraumann

Keywords: doxygen removed
Port: doxygen added

comment:4 Changed 3 years ago by barracuda156

flac now fails to upgrade on Leopard with this error:

doxygen Doxyfile
doxygen(51672) malloc: *** error for object 0xa0c003dc: Non-aligned pointer being freed
*** set a breakpoint in malloc_error_break to debug
doxygen(51672) malloc: *** error for object 0xa0c0036c: Non-aligned pointer being freed
*** set a breakpoint in malloc_error_break to debug
warning: Tag 'TCL_SUBST' at line 204 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 'SYMBOL_CACHE_SIZE' at line 328 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 548 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 841 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 943 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 'USE_INLINE_TREES' at line 1134 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 'LATEX_SOURCE_CODE' at line 1299 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 1397 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 1403 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 1569 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 1581 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 'MSCGEN_PATH' at line 1590 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!
doxygen(51672) malloc: *** error for object 0x12c38c0: Non-aligned pointer being freed (2)
*** set a breakpoint in malloc_error_break to debug
doxygen(51672) malloc: *** error for object 0x12c2f28: Non-aligned pointer being freed
*** set a breakpoint in malloc_error_break to debug
doxygen(51672) malloc: *** error for object 0x12c2e90: Non-aligned pointer being freed (2)
*** set a breakpoint in malloc_error_break to debug
doxygen(51672) malloc: *** error for object 0x12c2edc: Non-aligned pointer being freed
*** set a breakpoint in malloc_error_break to debug
doxygen(51672) malloc: *** error for object 0x12c2dc8: Non-aligned pointer being freed
*** set a breakpoint in malloc_error_break to debug
doxygen(51672) malloc: *** error for object 0x12c2ca0: Non-aligned pointer being freed (2)
*** set a breakpoint in malloc_error_break to debug
doxygen(51672) malloc: *** error for object 0x12c2bc0: Non-aligned pointer being freed (2)
*** set a breakpoint in malloc_error_break to debug
doxygen(51672) malloc: *** error for object 0x12c2c30: Non-aligned pointer being freed (2)
*** set a breakpoint in malloc_error_break to debug
doxygen(51672) malloc: *** error for object 0x12c2af8: Non-aligned pointer being freed
*** set a breakpoint in malloc_error_break to debug
doxygen(51672) malloc: *** error for object 0x12c3800: non-page-aligned, non-allocated pointer being freed
*** set a breakpoint in malloc_error_break to debug
doxygen(51672) malloc: *** error for object 0x12c3980: Non-aligned pointer being freed (2)
*** set a breakpoint in malloc_error_break to debug
doxygen(51672) malloc: *** error for object 0x12c398c: Non-aligned pointer being freed
*** set a breakpoint in malloc_error_break to debug
doxygen(51672) malloc: *** error for object 0x12c39a8: Non-aligned pointer being freed
*** set a breakpoint in malloc_error_break to debug
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.4/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.4/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.4/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.4/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.4/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.4/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.4/include/FLAC++/export.h:87: warning: end of file while inside a group
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.4/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.4/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.4'
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.4'
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.4" && /usr/bin/make -j4 -w all OBJ_FORMAT=macho 
Exit code: 2
Error: Failed to build flac: command execution failed

UPD. --disable-doxygen-docs solves the problem.

Last edited 3 years ago by barracuda156 (previous) (diff)

comment:5 Changed 13 months ago by mascguy (Christopher Nielsen)

Owner: set to mascguy
Status: newassigned

comment:6 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.