[MacPorts] #25119: Putty install fails on gtk1

MacPorts noreply at macports.org
Thu Jun 3 17:23:11 PDT 2010


#25119: Putty install fails on gtk1
--------------------------------+-------------------------------------------
  Reporter:  kanaria@…          |       Owner:  macports-tickets@…                   
      Type:  defect             |      Status:  closed                               
  Priority:  Normal             |   Milestone:                                       
 Component:  ports              |     Version:  1.8.2                                
Resolution:  duplicate          |    Keywords:                                       
      Port:  gtk1               |  
--------------------------------+-------------------------------------------
Changes (by ryandesign@…):

  * status:  new => closed
 * cc: ryandesign@… (added)
  * resolution:  => duplicate
  * port:  => gtk1


Old description:

> Hello,
>
> My appologies if this is a duplicated ticket, but i am new to mac and i
> red allready some tickets regarding this issue. I couldn't find any
> solution. Can somebody please help me with installation of Putty on my
> macbook?
>
> Thanks in advance. Below i paste the debug output.
>
> Best regards,
> Efsane
>

> sudo /opt/local/bin/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.2
> 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.2
> 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 -j2 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 gtkoptionmenu.c
> rm -f .libs/gtkoptionmenu.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 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 gtkoptionmenu.c  -fno-common -DPIC -o
> .libs/gtkoptionmenu.lo
> 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'
> make[2]: *** [gtkmain.lo] Error 1
> make[2]: *** Waiting for unfinished jobs....
> /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 gtkoptionmenu.c -o gtkoptionmenu.o >/dev/null 2>&1
> mv -f .libs/gtkoptionmenu.lo gtkoptionmenu.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 -j2 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 -j2 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>

New description:

 Hello,

 My appologies if this is a duplicated ticket, but i am new to mac and i
 red allready some tickets regarding this issue. I couldn't find any
 solution. Can somebody please help me with installation of Putty on my
 macbook?

 Thanks in advance. Below i paste the debug output.

 Best regards, [[br]]
 Efsane

 {{{
 sudo /opt/local/bin/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.2
 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.2
 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 -j2 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 gtkoptionmenu.c
 rm -f .libs/gtkoptionmenu.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 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 gtkoptionmenu.c  -fno-common -DPIC -o
 .libs/gtkoptionmenu.lo
 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'
 make[2]: *** [gtkmain.lo] Error 1
 make[2]: *** Waiting for unfinished jobs....
 /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 gtkoptionmenu.c -o gtkoptionmenu.o >/dev/null 2>&1
 mv -f .libs/gtkoptionmenu.lo gtkoptionmenu.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 -j2 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 -j2 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>
 }}}

--

Comment:

 Duplicate of #24915 where you can read about the workaround (downgrade to
 gettext 0.17).

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


More information about the macports-tickets mailing list