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

MacPorts noreply at macports.org
Sun Oct 9 19:51:40 UTC 2022


#65978: liblangtag fails to build on 10.5.8: lt-tag.c: error: ‘for’ loop initial
declaration used outside C99 mode & broken sed in gengir.sh
---------------------------+---------------------------------
  Reporter:  barracuda156  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:
      Port:  liblangtag    |
---------------------------+---------------------------------

Comment (by barracuda156):

 Provisionally, I fixed the sed, though warnings are multiple (I omit many
 similar warnings):
 {{{
   GISCAN   LangTag-0.6.gir
 /usr/bin/gcc-4.2 -std=gnu99 -E -I/opt/local/include
 -D__LANGTAG_COMPILATION -U__BLOCKS__ -I.
 -I/opt/local/var/macports/build/_opt_PPCLeopardPorts_textproc_liblangtag/liblangtag/work/liblangtag-0.6.4
 /liblangtag-gobject
 -I/opt/local/var/macports/build/_opt_PPCLeopardPorts_textproc_liblangtag/liblangtag/work/liblangtag-0.6.4
 -I/opt/local/var/macports/build/_opt_PPCLeopardPorts_textproc_liblangtag/liblangtag/work/liblangtag-0.6.4/liblangtag
 -I/opt/local/var/macports/build/_opt_PPCLeopardPorts_textproc_liblangtag/liblangtag/work/liblangtag-0.6.4
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -o g-ir-
 cpp-oeirh36o.i -C
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_textproc_liblangtag/liblangtag/work/liblangtag-0.6.4
 /liblangtag-gobject/g-ir-cpp-oeirh36o.c
 lt-macros.gir.h:350: Warning: LangTag: symbol='lt_pointer_t': Unknown
 namespace for identifier 'lt_pointer_t'

 /usr/bin/gcc-4.2 -std=gnu99 -pipe -Os -arch ppc -arch ppc64
 -I/opt/local/include -D__LANGTAG_COMPILATION -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/var/macports/build/_opt_PPCLeopardPorts_textproc_liblangtag/liblangtag/work/liblangtag-0.6.4
 /liblangtag-gobject
 -I/opt/local/var/macports/build/_opt_PPCLeopardPorts_textproc_liblangtag/liblangtag/work/liblangtag-0.6.4
 -I/opt/local/var/macports/build/_opt_PPCLeopardPorts_textproc_liblangtag/liblangtag/work/liblangtag-0.6.4/liblangtag
 -I/opt/local/var/macports/build/_opt_PPCLeopardPorts_textproc_liblangtag/liblangtag/work/liblangtag-0.6.4
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -c
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_textproc_liblangtag/liblangtag/work/liblangtag-0.6.4
 /liblangtag-gobject/tmp-introspectw913m9xd/LangTag-0.6.c -o
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_textproc_liblangtag/liblangtag/work/liblangtag-0.6.4
 /liblangtag-gobject/tmp-introspectw913m9xd/LangTag-0.6.o -Wno-deprecated-
 declarations
 lt-extlang.gir.c:124: Warning: LangTag: lt_extlang_ref: argument extlang:
 Unresolved type: 'lt_extlang_t*'

 warning: unknown install library directory! GObject Introspection GIR and
 TYPELIB files might not work!
   GICOMP   LangTag-0.6.gir
 }}}

 I have no idea what should be done about these, if anything.

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


More information about the macports-tickets mailing list