[MacPorts] #65799: mupdf @1.20.3: builds fail across-the-board: expected '; ' after top level declarator

MacPorts noreply at macports.org
Thu Sep 8 12:20:24 UTC 2022


#65799: mupdf @1.20.3: builds fail across-the-board: expected ';' after top level
declarator
----------------------+-----------------------
  Reporter:  mascguy  |      Owner:  essandess
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.7.2
Resolution:           |   Keywords:
      Port:  mupdf    |
----------------------+-----------------------

Comment (by essandess):

 Replying to [comment:3 jmroot]:
 > Some of the build logs have clang segfaulting or reporting an internal
 error, and those are certainly a bug in clang. Maybe it's related to
 memory pressure, or maybe not. But with the latest Xcode clang on macOS
 12, the error is as in the ticket description, and that doesn't look like
 the compiler hitting a limit, but just invalid code.

 The C code is created at build with the script {{{scripts/hexdump.sh}}}.
 It appears to be valid C code to me, with a terminating {{{;}}}, but does
 have over 1.5 million lines of font hex strings. This must be the issue.

 {{{
 wc -l
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_mupdf/mupdf/work/mupdf-1.20.3-source//generated/resources/fonts/han
 /SourceHanSerif-Regular.ttc.c
  1550676
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_mupdf/mupdf/work/mupdf-1.20.3-source//generated/resources/fonts/han
 /SourceHanSerif-Regular.ttc.c
 }}}

 {{{SourceHanSerif-Regular.ttc.c}}}:
 {{{
 // This is an automatically generated file. Do not edit.
 const unsigned char _binary_SourceHanSerif_Regular_ttc[] =
 "\x74\x74\x63\x66\x00\x01\x00\x00\x00\x00\x00\x04\x00\x00\x00\x1c"
 "\x00\x00\x01\x18\x00\x00\x02\x14\x00\x00\x03\x10\x4f\x54\x54\x4f"
 …
 "\x03\x70\x03\x70\x03\x70\x03\x70\x03\x70\x03\x70\x03\x70\x03\x70"
 "\x03\x70\x03\x70"
 ""
 ;
 const unsigned int _binary_SourceHanSerif_Regular_ttc_size =
 sizeof(_binary_SourceHanSerif_Regular_ttc) - 1;
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/65799#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list