[MacPorts] #25748: gtk1 won't build for me

MacPorts noreply at macports.org
Mon Jul 19 14:01:37 PDT 2010


#25748: gtk1 won't build for me
-----------------------------+----------------------------------------------
 Reporter:  kevin@…          |       Owner:  macports-tickets@…                   
     Type:  defect           |      Status:  new                                  
 Priority:  Normal           |   Milestone:                                       
Component:  ports            |     Version:  1.9.1                                
 Keywords:  gtk1             |        Port:  gtk1                                 
-----------------------------+----------------------------------------------
 I'm trying to build gtk1 1.2.10 on OS X 10.5.8, macports 1.9.1. Here are
 the results:

 :debug:build build phase started at Mon Jul 19 15:53:53 CDT 2010
 :debug:build Executing org.macports.build (gtk1)
 :debug:build Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk1/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.5'
 :debug:build Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk1/work/gtk+-1.2.10"
 && /usr/bin/make -j2 all'
 :info:build /usr/bin/make  all-recursive
 :info:build Making all in po
 :info:build make[2]: Nothing to be done for `all'.
 :info:build Making all in gdk
 :info:build make[2]: Nothing to be done for `all'.
 :info:build Making all in gtk
 :info:build /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0
 -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H
 -DGTK_LIBDIR=\"/opt/local/lib\" -DGTK_DATA_PREFIX=\"/opt/local\"
 -DGTK_SYSCONFDIR=\"/opt/local/etc\"
 -DGTK_LOCALEDIR=\"/opt/local/share/locale\" -I.. -DGTK_NO_CHECK_CASTS
 -DUSE_XIM -DX_LOCALE -I/opt/local/include/glib-1.2
 -I/opt/local/lib/glib/include -D_REENTRANT  -I/opt/local/include  -pipe
 -O2 -arch i386 -Wall -c gtkmain.c
 :info:build /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0
 -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H
 -DGTK_LIBDIR=\"/opt/local/lib\" -DGTK_DATA_PREFIX=\"/opt/local\"
 -DGTK_SYSCONFDIR=\"/opt/local/etc\"
 -DGTK_LOCALEDIR=\"/opt/local/share/locale\" -I.. -DGTK_NO_CHECK_CASTS
 -DUSE_XIM -DX_LOCALE -I/opt/local/include/glib-1.2
 -I/opt/local/lib/glib/include -D_REENTRANT  -I/opt/local/include  -pipe
 -O2 -arch i386 -Wall -c gtkmarshal.c
 :info:build rm -f .libs/gtkmain.lo
 :info:build /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I..
 -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H
 -DGTK_LIBDIR=\"/opt/local/lib\" -DGTK_DATA_PREFIX=\"/opt/local\"
 -DGTK_SYSCONFDIR=\"/opt/local/etc\"
 -DGTK_LOCALEDIR=\"/opt/local/share/locale\" -I.. -DGTK_NO_CHECK_CASTS
 -DUSE_XIM -DX_LOCALE -I/opt/local/include/glib-1.2
 -I/opt/local/lib/glib/include -D_REENTRANT -I/opt/local/include -pipe -O2
 -arch i386 -Wall -c gtkmain.c  -fno-common -DPIC -o .libs/gtkmain.lo
 :info:build rm -f .libs/gtkmarshal.lo
 :info:build /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I..
 -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H
 -DGTK_LIBDIR=\"/opt/local/lib\" -DGTK_DATA_PREFIX=\"/opt/local\"
 -DGTK_SYSCONFDIR=\"/opt/local/etc\"
 -DGTK_LOCALEDIR=\"/opt/local/share/locale\" -I.. -DGTK_NO_CHECK_CASTS
 -DUSE_XIM -DX_LOCALE -I/opt/local/include/glib-1.2
 -I/opt/local/lib/glib/include -D_REENTRANT -I/opt/local/include -pipe -O2
 -arch i386 -Wall -c gtkmarshal.c  -fno-common -DPIC -o .libs/gtkmarshal.lo
 :info:build /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I..
 -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H
 -DGTK_LIBDIR=\"/opt/local/lib\" -DGTK_DATA_PREFIX=\"/opt/local\"
 -DGTK_SYSCONFDIR=\"/opt/local/etc\"
 -DGTK_LOCALEDIR=\"/opt/local/share/locale\" -I.. -DGTK_NO_CHECK_CASTS
 -DUSE_XIM -DX_LOCALE -I/opt/local/include/glib-1.2
 -I/opt/local/lib/glib/include -D_REENTRANT -I/opt/local/include -pipe -O2
 -arch i386 -Wall -c gtkmarshal.c -o gtkmarshal.o >/dev/null 2>&1
 :info:build In file included from gtkintl.h:7,
 :info:build                  from gtkmain.c:56:
 :info:build /opt/local/include/libintl.h:440: error: syntax error before
 'libintl_newlocale'
 :info:build /opt/local/include/libintl.h:440: error: syntax error before
 'locale_t'
 :info:build /opt/local/include/libintl.h:440: warning: type defaults to
 'int' in declaration of 'libintl_newlocale'
 :info:build /opt/local/include/libintl.h:440: warning: data definition has
 no type or storage class
 :info:build make[2]: *** [gtkmain.lo] Error 1
 :info:build make[2]: *** Waiting for unfinished jobs....
 :info:build mv -f .libs/gtkmarshal.lo gtkmarshal.lo
 :info:build make[1]: *** [all-recursive] Error 1
 :info:build make: *** [all-recursive-am] Error 2
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk1/work/gtk+-1.2.10"
 && /usr/bin/make -j2 all " returned error 2
 :error:build Target org.macports.build returned: shell command failed
 :debug:build Backtrace: shell command failed
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: the following items did not execute (for gtk1):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :notice:build Log for gtk1 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk1/main.log

 I've tried to search this website for a solution to the problem but I'm
 not coming up with anything.

 I have done "port clean gtk1" since I have previously had gtk1 installed
 and working on this machine.

-- 
Ticket URL: <http://trac.macports.org/ticket/25748>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list