Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#17608 closed defect (worksforme)

Problems with dependencies when upgrading gimp2

Reported by: james@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Gimp2 Cc: dbevans (David B. Evans), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), sudarshan.lamkhede@…
Port:

Description

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 

Change History (11)

comment:1 Changed 15 years ago by dbevans (David B. Evans)

Keywords: Xfree gegl removed
Port: gtk2 gegl poppler XFree86 added; Gimp2 removed
Summary: Gimp2 port upgrade error -Problems with dependencies when upgrading gimp2

This appears no to be a problem with gimp2 directly but with many of its dependencies individually. Suggest you resync your ports and then clean each and upgrade them individually to see what their various issues are, then when you have done that successfully, try upgrading gimp again.

What does

port outdated

say?

comment:2 Changed 15 years ago by dbevans (David B. Evans)

Cc: devans@… added

Cc Me!

comment:3 in reply to:  1 ; Changed 15 years ago by james@…

Replying to devans@…:

This appears no to be a problem with gimp2 directly but with many of its dependencies individually. Suggest you resync your ports and then clean each and upgrade them individually to see what their various issues are, then when you have done that successfully, try upgrading gimp again.

What does

port outdated

say?

Thanks for the quick reply. Here is 'port outdated'

The following installed ports are outdated:
apache2                        2.2.8_0 < 2.2.10_0        
apr                            1.2.12_1 < 1.3.3_0        
apr-util                       1.2.12_0 < 1.3.4_1        
bison                          2.3_2 < 2.4_1             
cclient                        2006h_0 < 2007d_0         
docbook-xml                    4.5_1 < 5.0_0             
docbook-xsl                    1.72.0_0 < 1.74.0_0       
fftw-3                         3.1.2_3 < 3.2_0           
g95                            0.90_5 < 0.91_1           
ghostscript                    8.62_0 < 8.63_0           
gimp2                          2.4.5_0 < 2.6.3_0         
gtk-doc                        1.9_1 < 1.11_0            
gtk2                           2.12.9_0 < 2.14.4_1       
libgnomecups                   0.2.3_0 < 0.2.3_1         
libgnomeprint                  2.18.3_0 < 2.18.5_0       
mysql5                         5.0.51_0 < 5.0.67_1       
neon                           0.26.4_1 < 0.28.3_0       
php5                           5.2.5_1 < 5.2.8_0         
poppler                        0.10.1_0 < 0.10.2_0       
scrollkeeper                   0.3.14_6 < 0.3.14_7       
sqlite3                        3.5.7_0 < 3.6.6.2_0       
xmlto                          0.0.18_3 < 0.0.21_0       
xorg-util-macros               1.1.5_0 < 1.2.0_0      

I will resync again, clean and update the ports individually and report back.

Thank you

comment:4 in reply to:  3 Changed 15 years ago by james@…

I cleaned XFree86, gtk2, poppler and gegl, then resyncd via selfupdate. Here is what I got trying to update each:

I dont have XFree86 installed already, it must dependency of gimp2, should I be using 'install' vs 'upgrade'?

mac$ sudo port upgrade XFree86
--->  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.

This what I get running 'install' instead. I didnt move X11, as I dont want to mess anything else up. ????

mac$ sudo port install XFree86
--->  Fetching XFree86
Error: Target org.macports.fetch returned: 

                    You have an Apple X11 installation already.
                        MacPorts will not overwrite it.

                    If you really want to use XFree86 instead,
                        please move it aside first :

                            sudo mv /usr/X11R6 /usr/X11R6.apple
                
Error: Status 1 encountered during processing.
mac$ sudo port upgrade gtk2
Password:
--->  Fetching xrender
--->  Verifying checksum(s) for xrender
--->  Extracting xrender
--->  Configuring xrender
--->  Building xrender with target all
--->  Staging xrender into destroot
--->  Deactivating xrender 0.9.4_2+macosx
--->  Installing xrender 0.9.4_3+macosx
--->  Activating xrender 0.9.4_3+macosx
--->  Cleaning xrender
--->  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.
--->  Fetching gtk2
--->  Attempting to fetch gtk+-2.14.4.tar.bz2 from http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/gtk+/2.14/
--->  Verifying checksum(s) for gtk2
--->  Extracting gtk2
--->  Applying patches to gtk2
--->  Configuring gtk2
--->  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:  /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 gdkdnd-x11.lo -MD -MP -MF .deps/gdkdnd-x11.Tpo -c gdkdnd-x11.c  -fno-common -DPIC -o .libs/gdkdnd-x11.o
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 gdkdrawable-x11.lo -MD -MP -MF ".deps/gdkdrawable-x11.Tpo" \
	  -c -o gdkdrawable-x11.lo `test -f 'gdkdrawable-x11.c' || echo './'`gdkdrawable-x11.c; \
	then mv -f ".deps/gdkdrawable-x11.Tpo" ".deps/gdkdrawable-x11.Plo"; \
	else rm -f ".deps/gdkdrawable-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 gdkdrawable-x11.lo -MD -MP -MF .deps/gdkdrawable-x11.Tpo -c gdkdrawable-x11.c  -fno-common -DPIC -o .libs/gdkdrawable-x11.o
gdkdrawable-x11.c:1289: warning: 'get_shm_pixmap_for_image' defined but not used
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
mac$ sudo port upgrade poppler
Password:
--->  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
--->  Fetching poppler
--->  Attempting to fetch poppler-0.10.2.tar.gz from http://poppler.freedesktop.org/
--->  Verifying checksum(s) for poppler
--->  Extracting poppler
--->  Configuring poppler
--->  Building poppler with target all
--->  Staging poppler into destroot
--->  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.
mac$ sudo port install gegl
Password:
--->  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

Error: Status 1 encountered during processing.

comment:5 Changed 15 years ago by jmroot (Joshua Root)

Uninstall XFree86 and install xorg-libXrandr.

comment:6 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

comment:7 in reply to:  5 ; Changed 15 years ago by james@…

Replying to jmr@…:

Uninstall XFree86 and install xorg-libXrandr.

Apparently XFree86 has a bunch dependencies:

--->  Unable to uninstall XFree86 4.6.0_0+macosx, the following ports depend on it:
--->  	xrender
--->  	pango
--->  	gtk2
--->  	pango
--->  	ghostscript
--->  	xrender
--->  	xrender
--->  	pango
--->  	ghostscript
--->  	pango
--->  	dbus
--->  	poppler
--->  	libsdl
--->  	graphviz

Trying to uninstall just triggers more uninstalls and dependencies:

mac$ sudo port uninstall pango
--->  The following versions of pango are currently installed:
--->  	pango @1.14.9_0
--->  	pango @1.16.4_0
--->  	pango @1.20.0_0
--->  	pango @1.22.3_0 (active)
Error: port uninstall failed: Registry error: Please specify the full version as recorded in the port registry.
mac$ sudo port uninstall pango @1.14.9_0
--->  Unable to uninstall pango 1.14.9_0, the following ports depend on it:
--->  	gtk2
--->  	libgnomecanvas
--->  	gtk2
--->  	libgnomeprint
--->  	py25-gtk
--->  	libgnomecanvas
--->  	graphviz

I'm afraid that if I try to uninstall all this stuff that my system will be mangled 4 hours later. I could easily restore from backup, but I really don't want to waste all this time. Is there a better way to go about this?

Thanks

comment:8 in reply to:  7 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to james@…:

---> Unable to uninstall pango 1.14.9_0, the following ports depend on it:

Update to MacPorts 1.7.0:

sudo port selfupdate

It no longer complains when uninstalling an older version of a port of which you already have a newer version installed.

comment:9 Changed 15 years ago by sudarshan.lamkhede@…

Cc: sudarshan.lamkhede@… added

Cc Me!

comment:10 Changed 15 years ago by dbevans (David B. Evans)

Port: gtk2 gegl poppler XFree86 removed
Resolution: worksforme
Status: newclosed

This appears to be a problem with misconfiguration or corruption of a particular MacPorts installation rather than a particular port and no response for 3 weeks so will close this ticket now and suggest that if the problem persists to ask for help on the macports-users list.

comment:11 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.