[MacPorts] #17608: Gimp2 port upgrade error -

MacPorts noreply at macports.org
Wed Dec 10 18:35:25 PST 2008


#17608: Gimp2 port upgrade error -
-------------------------------+--------------------------------------------
 Reporter:  james@…            |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:  Port Bugs                            
Component:  ports              |     Version:  1.6.0                                
 Keywords:  Gimp2 Xfree gegl   |        Port:  Gimp2                                
-------------------------------+--------------------------------------------
 Having problems doing port upgrade on gimp 2.4.5. I have Leopard, and
 after reading ticket #17409 tried cleaning the troubled ports. Still
 having trouble with a successful upgrade. Any idea what I should do to
 resolve? Below is the output.

 {{{
 mac$ sudo port clean --all gimp2
 --->  Cleaning gimp2
 mac$ sudo port clean --all gegl
 --->  Cleaning gegl
 mac$ sudo port upgrade gimp2
 --->  Fetching gegl
 --->  Attempting to fetch gegl-0.0.20.tar.bz2 from
 ftp://ftp.gimp.org/pub/gegl/0.0/
 --->  Verifying checksum(s) for gegl
 --->  Extracting gegl
 --->  Configuring gegl
 --->  Building gegl with target all
 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_gegl/work/gegl-0.0.20"
 && make all " returned error 2
 Command output: creating subtract.la
 (cd .libs && rm -f subtract.la && ln -s ../subtract.la subtract.la)
 /bin/sh ../../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0
 -DHAVE_CONFIG_H   -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/babl-0.0 -I/opt/local/include
 -DG_DISABLE_SINGLE_INCLUDES -I. -I../.. -I../.. -I../../gegl
 -I../../gegl/buffer -I../../gegl/operation -I../../gegl/property-types
 -I../../gegl/module -I/opt/local/include -DG_DISABLE_SINGLE_INCLUDES  -O2
 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-
 declarations -Winit-self -Wpointer-arith -Wold-style-definition -mmmx
 -msse -c -o svg-multiply.la.lo svg-multiply.c
  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -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/babl-0.0 -I/opt/local/include
 -DG_DISABLE_SINGLE_INCLUDES -I. -I../.. -I../.. -I../../gegl
 -I../../gegl/buffer -I../../gegl/operation -I../../gegl/property-types
 -I../../gegl/module -I/opt/local/include -DG_DISABLE_SINGLE_INCLUDES -O2
 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-
 declarations -Winit-self -Wpointer-arith -Wold-style-definition -mmmx
 -msse -c svg-multiply.c  -fno-common -DPIC -o .libs/svg-multiply.la.o
 /bin/sh ../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -avoid-version
 -export-dynamic -module  -L/opt/local/lib -O2 -Wall -Wdeclaration-after-
 statement -Wmissing-prototypes -Wmissing-declarations -Winit-self
 -Wpointer-arith -Wold-style-definition -mmmx -msse -L/opt/local/lib
 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl
 -liconv    -o svg-multiply.la -rpath /opt/local/lib/gegl-0.0 svg-
 multiply.la.lo
 /usr/bin/gcc-4.0 ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o
 .libs/svg-multiply.so -bundle  .libs/svg-multiply.la.o  -L/opt/local/lib
 /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libgobject-2.0.dylib
 /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libgthread-2.0.dylib
 /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib
 /opt/local/lib/libiconv.dylib  -mmmx -msse
 dsymutil .libs/svg-multiply.so || :
 warning: no debug map in executable (-arch i386)
 creating svg-multiply.la
 (cd .libs && rm -f svg-multiply.la && ln -s ../svg-multiply.la svg-
 multiply.la)
 /bin/sh ../../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0
 -DHAVE_CONFIG_H   -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/babl-0.0 -I/opt/local/include
 -DG_DISABLE_SINGLE_INCLUDES -I. -I../.. -I../.. -I../../gegl
 -I../../gegl/buffer -I../../gegl/operation -I../../gegl/property-types
 -I../../gegl/module -I/opt/local/include -DG_DISABLE_SINGLE_INCLUDES  -O2
 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-
 declarations -Winit-self -Wpointer-arith -Wold-style-definition -mmmx
 -msse -c -o xor.la.lo xor.c
  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -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/babl-0.0 -I/opt/local/include
 -DG_DISABLE_SINGLE_INCLUDES -I. -I../.. -I../.. -I../../gegl
 -I../../gegl/buffer -I../../gegl/operation -I../../gegl/property-types
 -I../../gegl/module -I/opt/local/include -DG_DISABLE_SINGLE_INCLUDES -O2
 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-
 declarations -Winit-self -Wpointer-arith -Wold-style-definition -mmmx
 -msse -c xor.c  -fno-common -DPIC -o .libs/xor.la.o
 /bin/sh ../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -avoid-version
 -export-dynamic -module  -L/opt/local/lib -O2 -Wall -Wdeclaration-after-
 statement -Wmissing-prototypes -Wmissing-declarations -Winit-self
 -Wpointer-arith -Wold-style-definition -mmmx -msse -L/opt/local/lib
 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl
 -liconv    -o xor.la -rpath /opt/local/lib/gegl-0.0 xor.la.lo
 /usr/bin/gcc-4.0 ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o
 .libs/xor.so -bundle  .libs/xor.la.o  -L/opt/local/lib
 /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libgobject-2.0.dylib
 /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libgthread-2.0.dylib
 /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib
 /opt/local/lib/libiconv.dylib  -mmmx -msse
 dsymutil .libs/xor.so || :
 warning: no debug map in executable (-arch i386)
 creating xor.la
 (cd .libs && rm -f xor.la && ln -s ../xor.la xor.la)
 make[3]: Nothing to be done for `all-am'.
 Making all in bin
 if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../gegl
 -I../gegl/buffer -I../gegl/property-types -I../gegl/buffer
 -I../gegl/operation -I../gegl/module -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/gtk-2.0
 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0
 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include -I/opt/local/include/pixman-1
 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12
 -I/usr/X11/include   -I/opt/local/include/babl-0.0
 -I/opt/local/include/libpng12    -I/opt/local/include
 -DG_DISABLE_SINGLE_INCLUDES  -O2 -Wall -Wdeclaration-after-statement
 -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith
 -Wold-style-definition -mmmx -msse -MT gegl.o -MD -MP -MF ".deps/gegl.Tpo"
 -c -o gegl.o gegl.c; \
         then mv -f ".deps/gegl.Tpo" ".deps/gegl.Po"; else rm -f
 ".deps/gegl.Tpo"; exit 1; fi
 In file included from /opt/local/include/gtk-2.0/gdk/gdkspawn.h:26,
                  from /opt/local/include/gtk-2.0/gdk/gdk.h:52,
                  from /opt/local/include/gtk-2.0/gtk/gtk.h:31,
                  from gegl.c:43:
 /opt/local/include/glib-2.0/glib/gspawn.h:22:2: error: #error "Only
 <glib.h> can be included directly."
 make[2]: *** [gegl.o] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 --->  Activating XFree86 4.6.0_0+macosx
 Error: Activating XFree86 4.6.0_0 failed: Image error:
 /usr/X11R6/bin/appres already exists and does not belong to a registered
 port.  Unable to activate port XFree86.
 --->  Building gtk2 with target all
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/gtk+-2.14.4"
 && make all " returned error 2
 Command output: make[2]: Nothing to be done for `all'.
 Making all in gdk-pixbuf
 make  all-recursive
 Making all in pixops
 make[4]: Nothing to be done for `all'.
 Making all in gdk
 make  all-recursive
 Making all in x11
 if /bin/sh ../../libtool --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H
 -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../..
 -I../../gdk -I../../gdk -DG_DISABLE_CAST_CHECKS -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/pango-1.0
 -I/opt/local/include/cairo -I/opt/local/include/pixman-1
 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12
 -I/usr/X11/include      -I/opt/local/include -no-cpp-precomp -DX_LOCALE
 -I/usr/X11R6/include -DG_DISABLE_SINGLE_INCLUDES
 -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES
 -DGTK_DISABLE_SINGLE_INCLUDES -I/opt/local/include -I/usr/X11/include
 -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -funroll-loops -fstrict-aliasing -Wall
 -MT gdkevents-x11.lo -MD -MP -MF ".deps/gdkevents-x11.Tpo" \
           -c -o gdkevents-x11.lo `test -f 'gdkevents-x11.c' || echo
 './'`gdkevents-x11.c; \
         then mv -f ".deps/gdkevents-x11.Tpo" ".deps/gdkevents-x11.Plo"; \
         else rm -f ".deps/gdkevents-x11.Tpo"; exit 1; \
         fi
  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\"
 -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_CAST_CHECKS
 -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/pango-1.0 -I/opt/local/include/cairo
 -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include -no-
 cpp-precomp -DX_LOCALE -I/usr/X11R6/include -DG_DISABLE_SINGLE_INCLUDES
 -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES
 -DGTK_DISABLE_SINGLE_INCLUDES -I/opt/local/include -I/usr/X11/include
 -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -funroll-loops -fstrict-aliasing -Wall
 -MT gdkevents-x11.lo -MD -MP -MF .deps/gdkevents-x11.Tpo -c
 gdkevents-x11.c  -fno-common -DPIC -o .libs/gdkevents-x11.o
 gdkevents-x11.c: In function 'gdk_event_translate':
 gdkevents-x11.c:2110: error: 'RRNotify' undeclared (first use in this
 function)
 gdkevents-x11.c:2110: error: (Each undeclared identifier is reported only
 once
 gdkevents-x11.c:2110: error: for each function it appears in.)
 gdkevents-x11.c:2112: error: 'XRRNotifyEvent' undeclared (first use in
 this function)
 gdkevents-x11.c:2112: error: 'notify' undeclared (first use in this
 function)
 gdkevents-x11.c:2112: error: syntax error before ')' token
 gdkevents-x11.c: In function 'gdk_x11_screen_get_window_manager_name':
 gdkevents-x11.c:2721: warning: dereferencing type-punned pointer will
 break strict-aliasing rules
 gdkevents-x11.c: In function 'gdk_x11_screen_supports_net_wm_hint':
 gdkevents-x11.c:2821: warning: dereferencing type-punned pointer will
 break strict-aliasing rules
 make[4]: *** [gdkevents-x11.lo] Error 1
 make[3]: *** [all-recursive] Error 1
 make[2]: *** [all] Error 2
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Error: Unable to upgrade port: 1
 --->  Deactivating poppler 0.10.1_0
 Error: Deactivating poppler 0.10.1_0 failed: Active version of poppler is
 not 0.10.1_0 but 0.10.1_0+x11.
 --->  Building fftw-3 with target all
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_fftw-3/work/fftw-3.2"
 && make all " returned error 2
 Command output:       _destroy in ct.o
       _mkplan in ct.o
       _destroy in rdft-vrank-geq1.o
       _destroy in rdft-vrank-geq1.o
       _mkplan in rdft-vrank-geq1.o
       _destroy in hc2hc.o
       _destroy in hc2hc.o
       _mkplan in hc2hc.o
       _destroy in vrank-geq1-rdft2.o
       _destroy in vrank-geq1-rdft2.o
       _mkplan in vrank-geq1-rdft2.o
   "_fftw_mkplan_d", referenced from:
       _mkplan in dft-vrank-geq1.o
       _mkplan in ct.o
       _mkplan in ct.o
       _mkplan in rdft-vrank-geq1.o
       _mkplan in hc2hc.o
       _mkplan in hc2hc.o
       _mkplan in vrank-geq1-rdft2.o
   "_fftw_tensor_tornk1", referenced from:
       _mkplan in ct.o
       _mkplan in hc2hc.o
   "_fftw_mkplan_dft", referenced from:
       _mkplan in dft-vrank-geq1.o
       _mkplan in ct.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make[2]: *** [libfftw3_threads.la] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Error: Unable to upgrade port: 1
 --->  Building gegl with target all
 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_gegl/work/gegl-0.0.20"
 && make all " returned error 2
 Command output: Making all in process
 make[3]: Nothing to be done for `all'.
 Making all in property-types
 make[3]: Nothing to be done for `all'.
 make[3]: Nothing to be done for `all-am'.
 Making all in operations
 Making all in affine
 make[3]: Nothing to be done for `all'.
 Making all in core
 make[3]: Nothing to be done for `all'.
 Making all in common
 Making all in perlin
 make[4]: Nothing to be done for `all'.
 make[4]: Nothing to be done for `all-am'.
 Making all in external
 make[3]: Nothing to be done for `all'.
 Making all in generated
 make[3]: Nothing to be done for `all'.
 make[3]: Nothing to be done for `all-am'.
 Making all in bin
 if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../gegl
 -I../gegl/buffer -I../gegl/property-types -I../gegl/buffer
 -I../gegl/operation -I../gegl/module -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/gtk-2.0
 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0
 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include -I/opt/local/include/pixman-1
 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12
 -I/usr/X11/include   -I/opt/local/include/babl-0.0
 -I/opt/local/include/libpng12    -I/opt/local/include
 -DG_DISABLE_SINGLE_INCLUDES  -O2 -Wall -Wdeclaration-after-statement
 -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith
 -Wold-style-definition -mmmx -msse -MT gegl.o -MD -MP -MF ".deps/gegl.Tpo"
 -c -o gegl.o gegl.c; \
         then mv -f ".deps/gegl.Tpo" ".deps/gegl.Po"; else rm -f
 ".deps/gegl.Tpo"; exit 1; fi
 In file included from /opt/local/include/gtk-2.0/gdk/gdkspawn.h:26,
                  from /opt/local/include/gtk-2.0/gdk/gdk.h:52,
                  from /opt/local/include/gtk-2.0/gtk/gtk.h:31,
                  from gegl.c:43:
 /opt/local/include/glib-2.0/glib/gspawn.h:22:2: error: #error "Only
 <glib.h> can be included directly."
 make[2]: *** [gegl.o] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Error: The following dependencies failed to build: gegl
 Error: Unable to upgrade port: 1
 }}}

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


More information about the macports-tickets mailing list