[MacPorts] #65978: liblangtag fails to build on 10.5.8: lt-tag.c: error: ‘for’ loop initial declaration used outside C99 mode

MacPorts noreply at macports.org
Sun Oct 9 19:38:10 UTC 2022


#65978: liblangtag fails to build on 10.5.8: lt-tag.c: error: ‘for’ loop initial
declaration used outside C99 mode
--------------------------+---------------------------------
 Reporter:  barracuda156  |      Owner:  MarcusCalhoun-Lopez
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.7.2
 Keywords:                |       Port:  liblangtag
--------------------------+---------------------------------
 I was going to open a ticket about a broken sed in gengir.sh (which is
 still broken in 0.6.4), but 0.6.3 fails earlier with:
 {{{
 lt-tag.c: In function ‘lt_tag_convert_to_locale’:
 lt-tag.c:2016: error: ‘for’ loop initial declaration used outside C99 mode
 fatal error: lipo: can't open input file:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_liblangtag/liblangtag/work/.tmp/cc6cM546.out
 (No such file or directory)
 make[4]: *** [liblangtag_la-lt-tag.lo] Error 1
 make[4]: *** Waiting for unfinished jobs....
 make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_liblangtag/liblangtag/work/liblangtag-0.6.3/liblangtag'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_liblangtag/liblangtag/work/liblangtag-0.6.3/liblangtag'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_liblangtag/liblangtag/work/liblangtag-0.6.3/liblangtag'
 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_textproc_liblangtag/liblangtag/work/liblangtag-0.6.3'
 make: *** [all] Error 2
 }}}

 No need to fix this however, since apparently it is fixed in 0.6.4
 already. The sed is broken though in both versions:
 {{{
 sed: 1: gengir.vlBTAnnD: extra characters at the end of p command
 sed: -e: No such file or directory
 }}}

 I am going to update the port if I fix sed completely. Halfway through
 now.

-- 
Ticket URL: <https://trac.macports.org/ticket/65978>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list