Opened 14 years ago

Last modified 14 years ago

#25061 closed defect

Putty Install Fail — at Initial Version

Reported by: jsdrouin@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: gtk1

Description

I have been trying to install Putty on my MacBook Pro (OS 10.6.3; Xcode 3.2.2; MacPorts 1.8.2) and keep getting an error message that reads as follows:

Error: The following dependencies failed to build: gtk1
Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.

When I ran the command again as sudo port -d install putty, I got the following output:

Jeff-Drouins-MacBook-Pro:~ jeff$ sudo port -d install putty
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/security/putty
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/security/putty
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.3.1
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port putty.
DEBUG: Requested variant i386 is not provided by port putty.
DEBUG: Requested variant macosx is not provided by port putty.
--->  Computing dependencies for putty
DEBUG: Searching for dependency: gtk1
DEBUG: Didn't find receipt, going to depspec regex for: gtk1
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/gtk1
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/gtk1
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.3.1
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: 'universal_variant no' specified, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port gtk1.
DEBUG: Requested variant i386 is not provided by port gtk1.
DEBUG: Requested variant macosx is not provided by port gtk1.
DEBUG: Searching for dependency: gettext
DEBUG: Found Dependency: receipt exists for gettext
DEBUG: Searching for dependency: glib1
DEBUG: Found Dependency: receipt exists for glib1
DEBUG: Searching for dependency: xorg-libXext
DEBUG: Found Dependency: receipt exists for xorg-libXext
DEBUG: Searching for dependency: xorg-libXt
DEBUG: Found Dependency: receipt exists for xorg-libXt
DEBUG: Executing org.macports.main (gtk1)
DEBUG: Skipping completed org.macports.fetch (gtk1)
DEBUG: Skipping completed org.macports.checksum (gtk1)
DEBUG: Skipping completed org.macports.extract (gtk1)
DEBUG: Skipping completed org.macports.patch (gtk1)
DEBUG: Skipping completed org.macports.configure (gtk1)
--->  Building gtk1
DEBUG: Executing org.macports.build (gtk1)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: 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 -j4 all'
/usr/bin/make  all-recursive
Making all in po
make[2]: Nothing to be done for `all'.
Making all in gdk
make[2]: Nothing to be done for `all'.
Making all in gtk
/bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -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  -O2 -arch x86_64 -Wall -c gtkmain.c
/bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -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  -O2 -arch x86_64 -Wall -c gtkrc.c
/bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -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  -O2 -arch x86_64 -Wall -c gtkscale.c
/bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -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  -O2 -arch x86_64 -Wall -c gtkscrollbar.c
rm -f .libs/gtkscale.lo
rm -f .libs/gtkmain.lo
/usr/bin/gcc-4.2 -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 -O2 -arch x86_64 -Wall -c gtkscale.c  -fno-common -DPIC -o .libs/gtkscale.lo
rm -f .libs/gtkscrollbar.lo
/usr/bin/gcc-4.2 -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 -O2 -arch x86_64 -Wall -c gtkmain.c  -fno-common -DPIC -o .libs/gtkmain.lo
/usr/bin/gcc-4.2 -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 -O2 -arch x86_64 -Wall -c gtkscrollbar.c  -fno-common -DPIC -o .libs/gtkscrollbar.lo
rm -f .libs/gtkrc.lo
/usr/bin/gcc-4.2 -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 -O2 -arch x86_64 -Wall -c gtkrc.c  -fno-common -DPIC -o .libs/gtkrc.lo
/usr/bin/gcc-4.2 -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 -O2 -arch x86_64 -Wall -c gtkscrollbar.c -o gtkscrollbar.o >/dev/null 2>&1
In file included from gtkintl.h:7,
                 from gtkmain.c:56:
/opt/local/include/libintl.h:434: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'libintl_newlocale'
In file included from gtkintl.h:7,
                 from gtkrc.c:40:
/opt/local/include/libintl.h:434: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'libintl_newlocale'
make[2]: *** [gtkmain.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [gtkrc.lo] Error 1
mv -f .libs/gtkscrollbar.lo gtkscrollbar.lo
/usr/bin/gcc-4.2 -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 -O2 -arch x86_64 -Wall -c gtkscale.c -o gtkscale.o >/dev/null 2>&1
mv -f .libs/gtkscale.lo gtkscale.lo
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] 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_gtk1/work/gtk+-1.2.10" && /usr/bin/make -j4 all " returned error 2
DEBUG: Backtrace: 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 -j4 all " returned error 2
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for gtk1): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: The following dependencies failed to build: gtk1
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

I found this ticket that contains the same error message (https://trac.macports.org/ticket/21135), but it seems to have been due to some omissions in prior versions of X11 or MacPorts (I think?).

gtk1 is installed on my MacBook. What am I missing here?

Change History (0)

Note: See TracTickets for help on using tickets.