Opened 16 years ago
Last modified 15 years ago
#17360 closed defect
gtk2 install failure while building gimp 2.6.2 on Leopard (10.5) — at Version 9
Reported by: | debitage@… | Owned by: | nox@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | gimp leopard MacOS 10.5 | Cc: | |
Port: | gtk2 |
Description (last modified by jeremyhu (Jeremy Huddleston Sequoia))
Attmpting to install gimp 2.6.2 using 'sudo port -d install gimp' on OS X Leopard, and the install fails. Without prior experience compiling software on *nix systems, the debug and error messages are more or less Greek to me. Error message:
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib DEBUG: Searching for dependency: zlib DEBUG: Found Dependency: receipt exists for zlib DEBUG: Skipping completed org.macports.main (gtk2) DEBUG: Skipping completed org.macports.fetch (gtk2) DEBUG: Skipping completed org.macports.checksum (gtk2) DEBUG: setting option extract.cmd to /usr/bin/bzip2 DEBUG: Skipping completed org.macports.extract (gtk2) DEBUG: Skipping completed org.macports.patch (gtk2) DEBUG: Skipping completed org.macports.configure (gtk2) ---> Building gtk2 with target all DEBUG: Executing org.macports.build (gtk2) DEBUG: Environment: DEBUG: port allows a parallel build DEBUG: port allows a parallel build DEBUG: Assembled 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' make all-recursive Making all in po make[2]: Nothing to be done for `all'. Making all in po-properties 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: 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 Warning: the following items did not execute (for gtk2): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: The following dependencies failed to build: gimp-app gimp2 gegl gtk2 libopenraw boost boost-jam librsvg libart_lgpl libcroco libgsf bzip2 dbus dbus-glib gnome-vfs desktop-file-utils popt gconf orbit2 libidl gnome-mime-data openssl libbonobo libsdl lua readline openexr ilmbase libtool automake autoconf help2man p5-locale-gettext m4 libexif libgnomeui gnome-icon-theme hicolor-icon-theme icon-naming-utils p5-xml-simple p5-xml-namespacesupport p5-xml-sax gnome-keyring libgcrypt libgpg-error libtasn1 libbonoboui libglade2 libgnome esound audiofile libgnomecanvas libmng lcms libwmf poppler openjpeg poppler-data py25-gtk py25-cairo py25-numpy fftw-3 py25-hashlib python25 py25-nose py25-setuptools py25-zlib py25-gobject libxslt gimp-jp2 gimp-lqr-plugin liblqr gtk-nodoka-engine coreutils gutenprint icns-gimp macclipboard-gimp macfile-gimp ufraw exiv2 xsane sane-backends libusb Error: Status 1 encountered during processing.
That's it. I've tried a few variants, attempted install from both the MacOS X terminal window and an xterm window (does this make any difference?) - no dice. Any suggestions would be greatly appreciated.
AC
Change History (9)
comment:1 Changed 16 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to nox@… |
Port: | gtk2 added; gimp removed |
Priority: | High → Normal |
Summary: | gimp 2.6.2 install failure on Leopard (10.5) → gtk2 install failure while building gimp 2.6.2 on Leopard (10.5) |
comment:3 Changed 16 years ago by debitage@…
comment:4 follow-up: 5 Changed 16 years ago by blb@…
This may be one of the issues solved by either upgrading to Xcode 3.1 (which updates the X11SDK) or installing Xquartz.
comment:5 follow-up: 6 Changed 16 years ago by debitage@…
Replying to blb@…:
This may be one of the issues solved by either upgrading to Xcode 3.1 (which updates the X11SDK) or installing Xquartz.
Thanks - while upgrading to Xcode 3.1 didn't seem to help, upgrading Xquartz got me a lot further. Now it's hanging up right after the Python 2.5 install. The latest error trap:
DEBUG: Executing org.macports.patch (py25-hashlib) DEBUG: Executing org.macports.configure (py25-hashlib) DEBUG: Executing org.macports.build (py25-hashlib) DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-hashlib/work/Python-2.5.2/Modules" && /opt/local/bin/python2.5 setup.py build' Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-hashlib/work/Python-2.5.2/Modules" && /opt/local/bin/python2.5 setup.py build " returned error 1 Command output: running build running build_ext building '_hashlib' extension creating build creating build/temp.macosx-10.3-i386-2.5 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c _hashopenssl.c -o build/temp.macosx-10.3-i386-2.5/_hashopenssl.o unable to execute -DNDEBUG: No such file or directory error: command '-DNDEBUG' failed with exit status 1 Error: The following dependencies failed to build: gimp-app gimp2 py25-gtk py25-cairo py25-numpy py25-hashlib py25-nose py25-setuptools py25-zlib py25-gobject libxslt gimp-jp2 gimp-lqr-plugin liblqr gtk-nodoka-engine coreutils gutenprint icns-gimp macclipboard-gimp macfile-gimp ufraw exiv2 xsane sane-backends libusb Error: Status 1 encountered during processing.
comment:6 Changed 16 years ago by blb@…
Replying to debitage@…:
Thanks - while upgrading to Xcode 3.1 didn't seem to help, upgrading Xquartz got me a lot further. Now it's hanging up right after the Python 2.5 install. The latest error trap:
...
unable to execute -DNDEBUG: No such file or directory
That's the Tcl env bug (#13930); run sudo port clean --work py25-hashlib
then try your install again.
comment:8 Changed 16 years ago by mf2k (Frank Schima)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:9 Changed 16 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Description: | modified (diff) |
---|---|
Resolution: | worksforme |
Status: | closed → reopened |
It looks like gtk2 should probably have:
depends_lib lib:libXrandr.2:xorg-libXrandr
(I'll add the xorg-libXrandr now...)
This is really a gtk2 build issue. Assigning to maintainer.