[MacPorts] #55433: glib2 2.54.2_0 -universal -x11: build error on osx 10.6

MacPorts noreply at macports.org
Wed Nov 29 18:23:21 UTC 2017


#55433: glib2 2.54.2_0  -universal -x11: build error on osx 10.6
-------------------------+-------------------
 Reporter:  pkoshevoy    |      Owner:
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.4.2
 Keywords:  snowleopard  |       Port:  glib2
-------------------------+-------------------
 {{{
 :info:build libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I..
 -I/opt/local/include -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../glib
 -I.. -I../gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION
 -DGIO_MODULE_DIR=\"/opt/local/lib/gio/modules\" -I/opt/local/include -D_R
 EENTRANT -fvisibility=hidden -xobjective-c -pipe -Os -fstrict-aliasing
 -arch x86_64 -MT libgio_2_0_la-gosxcontenttype.lo -MD -MP -MF .deps
 /libgio_2_0_la-gosxcontenttype.Tpo -c gosxcontenttype.c  -fno-common -DPIC
 -o .libs/libgio_2_0_la-gosxcontenttype.o
 :info:build gosxappinfo.c: In function ‘create_cstr_from_cfstring’:
 :info:build gosxappinfo.c:202: error: ‘for’ loop initial declaration used
 outside C99 mode
 :info:build make[4]: *** [libgio_2_0_la-gosxappinfo.lo] Error 1
 :info:build make[4]: *** Waiting for unfinished jobs....
 :info:build gosxcontenttype.c: In function ‘create_cstr_from_cfstring’:
 :info:build gosxcontenttype.c:80: error: ‘for’ loop initial declaration
 used outside C99 mode
 :info:build make[4]: *** [libgio_2_0_la-gosxcontenttype.lo] Error 1
 :info:build make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.54.2/gio'
 }}}

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


More information about the macports-tickets mailing list