[MacPorts] #21715: gimp2 fails to compile on snow leopard

MacPorts noreply at macports.org
Wed Sep 30 02:45:33 PDT 2009


#21715: gimp2 fails to compile on snow leopard
------------------------------------+---------------------------------------
 Reporter:  francesco086@…          |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  1.8.1                                
 Keywords:  gimp2                   |        Port:  gimp2                                
------------------------------------+---------------------------------------
 I have a macbook pro core 2 duo, 2,4 Ghz and I've installed snow leopard.
 I tried to install gimp, but in compiling gimp2 occurs the following
 error:

 --->  Fetching gimp2
 --->  Attempting to fetch gimp-2.6.7.tar.bz2 from
 ftp://ftp.gimp.org/pub/gimp/v2.6/
 --->  Verifying checksum(s) for gimp2
 --->  Extracting gimp2
 --->  Applying patches to gimp2
 --->  Configuring gimp2
 --->  Building gimp2
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gimp2/work/gimp-2.6.7"
 && /usr/bin/make -j2 all " returned error 2
 Command output: Merging translations into gimp.desktop.
 Making all in menus
 make[2]: Nothing to be done for `all'.
 Making all in libgimpbase
 /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -I. -I.. -I.. -D_REENTRANT -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include -DPREFIX=\""/opt/local"\" -DGIMPDIR=\"".gimp-2.6"\"
 -DDATADIR=\""/opt/local/share/gimp/2.0"\"
 -DLOCALEDIR=\""/opt/local/share/locale"\"
 -DPLUGINDIR=\""/opt/local/lib/gimp/2.0"\"
 -DSYSCONFDIR=\""/opt/local/etc/gimp/2.0"\" -DGIMP_PACKAGE=\""gimp"\"
 -DGIMP_DATA_VERSION=\"2.0\" -DGIMP_SYSCONF_VERSION=\"2.0\"
 -DGIMP_PLUGIN_VERSION=\"2.0\" -DG_LOG_DOMAIN=\"LibGimpBase\"
 -I/opt/local/include -DGIMP_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE
 -DGTK_MULTIHEAD_SAFE  -O2 -arch x86_64 -Wall -Wdeclaration-after-statement
 -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith
 -Wold-style-definition -MT gimpbasetypes.lo -MD -MP -MF
 .deps/gimpbasetypes.Tpo -c -o gimpbasetypes.lo gimpbasetypes.c
 /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -I. -I.. -I.. -D_REENTRANT -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include -DPREFIX=\""/opt/local"\" -DGIMPDIR=\"".gimp-2.6"\"
 -DDATADIR=\""/opt/local/share/gimp/2.0"\"
 -DLOCALEDIR=\""/opt/local/share/locale"\"
 -DPLUGINDIR=\""/opt/local/lib/gimp/2.0"\"
 -DSYSCONFDIR=\""/opt/local/etc/gimp/2.0"\" -DGIMP_PACKAGE=\""gimp"\"
 -DGIMP_DATA_VERSION=\"2.0\" -DGIMP_SYSCONF_VERSION=\"2.0\"
 -DGIMP_PLUGIN_VERSION=\"2.0\" -DG_LOG_DOMAIN=\"LibGimpBase\"
 -I/opt/local/include -DGIMP_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE
 -DGTK_MULTIHEAD_SAFE  -O2 -arch x86_64 -Wall -Wdeclaration-after-statement
 -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith
 -Wold-style-definition -MT gimpbase-private.lo -MD -MP -MF .deps/gimpbase-
 private.Tpo -c -o gimpbase-private.lo gimpbase-private.c
 libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I..
 -D_REENTRANT -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include -DPREFIX=\"/opt/local\" -DGIMPDIR=\".gimp-2.6\"
 -DDATADIR=\"/opt/local/share/gimp/2.0\"
 -DLOCALEDIR=\"/opt/local/share/locale\"
 -DPLUGINDIR=\"/opt/local/lib/gimp/2.0\"
 -DSYSCONFDIR=\"/opt/local/etc/gimp/2.0\" -DGIMP_PACKAGE=\"gimp\"
 -DGIMP_DATA_VERSION=\"2.0\" -DGIMP_SYSCONF_VERSION=\"2.0\"
 -DGIMP_PLUGIN_VERSION=\"2.0\" -DG_LOG_DOMAIN=\"LibGimpBase\"
 -I/opt/local/include -DGIMP_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE
 -DGTK_MULTIHEAD_SAFE -O2 -arch x86_64 -Wall -Wdeclaration-after-statement
 -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith
 -Wold-style-definition -MT gimpbasetypes.lo -MD -MP -MF
 .deps/gimpbasetypes.Tpo -c gimpbasetypes.c  -fno-common -DPIC -o
 .libs/gimpbasetypes.o
 libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I..
 -D_REENTRANT -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include -DPREFIX=\"/opt/local\" -DGIMPDIR=\".gimp-2.6\"
 -DDATADIR=\"/opt/local/share/gimp/2.0\"
 -DLOCALEDIR=\"/opt/local/share/locale\"
 -DPLUGINDIR=\"/opt/local/lib/gimp/2.0\"
 -DSYSCONFDIR=\"/opt/local/etc/gimp/2.0\" -DGIMP_PACKAGE=\"gimp\"
 -DGIMP_DATA_VERSION=\"2.0\" -DGIMP_SYSCONF_VERSION=\"2.0\"
 -DGIMP_PLUGIN_VERSION=\"2.0\" -DG_LOG_DOMAIN=\"LibGimpBase\"
 -I/opt/local/include -DGIMP_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE
 -DGTK_MULTIHEAD_SAFE -O2 -arch x86_64 -Wall -Wdeclaration-after-statement
 -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith
 -Wold-style-definition -MT gimpbase-private.lo -MD -MP -MF .deps/gimpbase-
 private.Tpo -c gimpbase-private.c  -fno-common -DPIC -o .libs/gimpbase-
 private.o
 mv -f .deps/gimpbasetypes.Tpo .deps/gimpbasetypes.Plo
 mv -f .deps/gimpbase-private.Tpo .deps/gimpbase-private.Plo
 /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -I. -I.. -I.. -D_REENTRANT -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include -DPREFIX=\""/opt/local"\" -DGIMPDIR=\"".gimp-2.6"\"
 -DDATADIR=\""/opt/local/share/gimp/2.0"\"
 -DLOCALEDIR=\""/opt/local/share/locale"\"
 -DPLUGINDIR=\""/opt/local/lib/gimp/2.0"\"
 -DSYSCONFDIR=\""/opt/local/etc/gimp/2.0"\" -DGIMP_PACKAGE=\""gimp"\"
 -DGIMP_DATA_VERSION=\"2.0\" -DGIMP_SYSCONF_VERSION=\"2.0\"
 -DGIMP_PLUGIN_VERSION=\"2.0\" -DG_LOG_DOMAIN=\"LibGimpBase\"
 -I/opt/local/include -DGIMP_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE
 -DGTK_MULTIHEAD_SAFE  -O2 -arch x86_64 -Wall -Wdeclaration-after-statement
 -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith
 -Wold-style-definition -MT gimpchecks.lo -MD -MP -MF .deps/gimpchecks.Tpo
 -c -o gimpchecks.lo gimpchecks.c
 /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -I. -I.. -I.. -D_REENTRANT -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include -DPREFIX=\""/opt/local"\" -DGIMPDIR=\"".gimp-2.6"\"
 -DDATADIR=\""/opt/local/share/gimp/2.0"\"
 -DLOCALEDIR=\""/opt/local/share/locale"\"
 -DPLUGINDIR=\""/opt/local/lib/gimp/2.0"\"
 -DSYSCONFDIR=\""/opt/local/etc/gimp/2.0"\" -DGIMP_PACKAGE=\""gimp"\"
 -DGIMP_DATA_VERSION=\"2.0\" -DGIMP_SYSCONF_VERSION=\"2.0\"
 -DGIMP_PLUGIN_VERSION=\"2.0\" -DG_LOG_DOMAIN=\"LibGimpBase\"
 -I/opt/local/include -DGIMP_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE
 -DGTK_MULTIHEAD_SAFE  -O2 -arch x86_64 -Wall -Wdeclaration-after-statement
 -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith
 -Wold-style-definition -MT gimpcpuaccel.lo -MD -MP -MF
 .deps/gimpcpuaccel.Tpo -c -o gimpcpuaccel.lo gimpcpuaccel.c
 libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I..
 -D_REENTRANT -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include -DPREFIX=\"/opt/local\" -DGIMPDIR=\".gimp-2.6\"
 -DDATADIR=\"/opt/local/share/gimp/2.0\"
 -DLOCALEDIR=\"/opt/local/share/locale\"
 -DPLUGINDIR=\"/opt/local/lib/gimp/2.0\"
 -DSYSCONFDIR=\"/opt/local/etc/gimp/2.0\" -DGIMP_PACKAGE=\"gimp\"
 -DGIMP_DATA_VERSION=\"2.0\" -DGIMP_SYSCONF_VERSION=\"2.0\"
 -DGIMP_PLUGIN_VERSION=\"2.0\" -DG_LOG_DOMAIN=\"LibGimpBase\"
 -I/opt/local/include -DGIMP_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE
 -DGTK_MULTIHEAD_SAFE -O2 -arch x86_64 -Wall -Wdeclaration-after-statement
 -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith
 -Wold-style-definition -MT gimpchecks.lo -MD -MP -MF .deps/gimpchecks.Tpo
 -c gimpchecks.c  -fno-common -DPIC -o .libs/gimpchecks.o
 libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I..
 -D_REENTRANT -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include -DPREFIX=\"/opt/local\" -DGIMPDIR=\".gimp-2.6\"
 -DDATADIR=\"/opt/local/share/gimp/2.0\"
 -DLOCALEDIR=\"/opt/local/share/locale\"
 -DPLUGINDIR=\"/opt/local/lib/gimp/2.0\"
 -DSYSCONFDIR=\"/opt/local/etc/gimp/2.0\" -DGIMP_PACKAGE=\"gimp\"
 -DGIMP_DATA_VERSION=\"2.0\" -DGIMP_SYSCONF_VERSION=\"2.0\"
 -DGIMP_PLUGIN_VERSION=\"2.0\" -DG_LOG_DOMAIN=\"LibGimpBase\"
 -I/opt/local/include -DGIMP_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE
 -DGTK_MULTIHEAD_SAFE -O2 -arch x86_64 -Wall -Wdeclaration-after-statement
 -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith
 -Wold-style-definition -MT gimpcpuaccel.lo -MD -MP -MF
 .deps/gimpcpuaccel.Tpo -c gimpcpuaccel.c  -fno-common -DPIC -o
 .libs/gimpcpuaccel.o
 mv -f .deps/gimpchecks.Tpo .deps/gimpchecks.Plo
 /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -I. -I.. -I.. -D_REENTRANT -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include -DPREFIX=\""/opt/local"\" -DGIMPDIR=\"".gimp-2.6"\"
 -DDATADIR=\""/opt/local/share/gimp/2.0"\"
 -DLOCALEDIR=\""/opt/local/share/locale"\"
 -DPLUGINDIR=\""/opt/local/lib/gimp/2.0"\"
 -DSYSCONFDIR=\""/opt/local/etc/gimp/2.0"\" -DGIMP_PACKAGE=\""gimp"\"
 -DGIMP_DATA_VERSION=\"2.0\" -DGIMP_SYSCONF_VERSION=\"2.0\"
 -DGIMP_PLUGIN_VERSION=\"2.0\" -DG_LOG_DOMAIN=\"LibGimpBase\"
 -I/opt/local/include -DGIMP_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE
 -DGTK_MULTIHEAD_SAFE  -O2 -arch x86_64 -Wall -Wdeclaration-after-statement
 -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith
 -Wold-style-definition -MT gimpdatafiles.lo -MD -MP -MF
 .deps/gimpdatafiles.Tpo -c -o gimpdatafiles.lo gimpdatafiles.c
 /var/tmp//ccorVnxD.s:125:suffix or operands invalid for `pushf'
 /var/tmp//ccorVnxD.s:126:suffix or operands invalid for `pushf'
 /var/tmp//ccorVnxD.s:127:suffix or operands invalid for `pop'
 /var/tmp//ccorVnxD.s:130:suffix or operands invalid for `push'
 /var/tmp//ccorVnxD.s:131:suffix or operands invalid for `popf'
 /var/tmp//ccorVnxD.s:132:suffix or operands invalid for `pushf'
 /var/tmp//ccorVnxD.s:133:suffix or operands invalid for `pop'
 /var/tmp//ccorVnxD.s:134:suffix or operands invalid for `popf'
 make[2]: *** [gimpcpuaccel.lo] Error 1
 make[2]: *** Waiting for unfinished jobs....
 libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I..
 -D_REENTRANT -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include -DPREFIX=\"/opt/local\" -DGIMPDIR=\".gimp-2.6\"
 -DDATADIR=\"/opt/local/share/gimp/2.0\"
 -DLOCALEDIR=\"/opt/local/share/locale\"
 -DPLUGINDIR=\"/opt/local/lib/gimp/2.0\"
 -DSYSCONFDIR=\"/opt/local/etc/gimp/2.0\" -DGIMP_PACKAGE=\"gimp\"
 -DGIMP_DATA_VERSION=\"2.0\" -DGIMP_SYSCONF_VERSION=\"2.0\"
 -DGIMP_PLUGIN_VERSION=\"2.0\" -DG_LOG_DOMAIN=\"LibGimpBase\"
 -I/opt/local/include -DGIMP_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE
 -DGTK_MULTIHEAD_SAFE -O2 -arch x86_64 -Wall -Wdeclaration-after-statement
 -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith
 -Wold-style-definition -MT gimpdatafiles.lo -MD -MP -MF
 .deps/gimpdatafiles.Tpo -c gimpdatafiles.c  -fno-common -DPIC -o
 .libs/gimpdatafiles.o
 mv -f .deps/gimpdatafiles.Tpo .deps/gimpdatafiles.Plo
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Error: The following dependencies failed to build: gimp-app gimp2 gimp-jp2
 gimp-lqr-plugin liblqr gtk-nodoka-engine coreutils gutenprint icns-gimp
 ufraw exiv2 gtkimageview xsane sane-backends libusb-compat libusb
 Error: Status 1 encountered during processing.

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


More information about the macports-tickets mailing list