Opened 14 years ago

Closed 14 years ago

#24967 closed defect (fixed)

gnome-terminal fails to install

Reported by: wailupe2000@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: gnumengor@…, gyorgy.frivolt@…
Port: gnome-terminal

Description (last modified by ryandesign (Ryan Carsten Schmidt))

--->  Computing dependencies for gnome-terminal
--->  Building gnome-terminal
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnome-terminal/work/gnome-terminal-2.26.3.1" && /usr/bin/make -j2 all " returned error 2
Command output: make[4]: Nothing to be done for `all'.
/bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.2 -D_REENTRANT -DORBIT2=1 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/cairo -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/startup-notification-1.0   -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare   -I/opt/local/include   -O2 -arch x86_64  -L/opt/local/lib -o gnome-terminal gnome_terminal-eggshell.o gnome_terminal-profile-editor.o gnome_terminal-skey-popup.o gnome_terminal-terminal.o gnome_terminal-terminal-accels.o gnome_terminal-terminal-app.o gnome_terminal-terminal-debug.o gnome_terminal-terminal-encoding.o gnome_terminal-terminal-options.o gnome_terminal-terminal-profile.o gnome_terminal-terminal-screen.o gnome_terminal-terminal-screen-container.o gnome_terminal-terminal-tab-label.o gnome_terminal-terminal-tabs-menu.o gnome_terminal-terminal-util.o gnome_terminal-terminal-window.o  gnome_terminal-eggsmclient.o  gnome_terminal-eggdesktopfile.o gnome_terminal-eggsmclient-xsmp.o    gnome_terminal-terminal-marshal.o gnome_terminal-terminal-type-builtins.o  skey/libskey.la -L/opt/local/lib -lvte -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangoft2-1.0 -lgio-2.0 -lXext -lXfixes -lcairo -lpixman-1 -lpng12 -lXrender -lX11 -lXau -lXdmcp -lpango-1.0 -lfontconfig -lexpat -lfreetype -lz -lgconf-2 -lORBit-2 -lm -lgmodule-2.0 -ldbus-glib-1 -ldbus-1 -lpthread -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv -lstartup-notification-1   -L/opt/local/lib -lSM -lICE   
libtool: link: /usr/bin/gcc-4.2 -D_REENTRANT -DORBIT2=1 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/cairo -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/startup-notification-1.0 -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/opt/local/include -O2 -arch x86_64 -o gnome-terminal gnome_terminal-eggshell.o gnome_terminal-profile-editor.o gnome_terminal-skey-popup.o gnome_terminal-terminal.o gnome_terminal-terminal-accels.o gnome_terminal-terminal-app.o gnome_terminal-terminal-debug.o gnome_terminal-terminal-encoding.o gnome_terminal-terminal-options.o gnome_terminal-terminal-profile.o gnome_terminal-terminal-screen.o gnome_terminal-terminal-screen-container.o gnome_terminal-terminal-tab-label.o gnome_terminal-terminal-tabs-menu.o gnome_terminal-terminal-util.o gnome_terminal-terminal-window.o gnome_terminal-eggsmclient.o gnome_terminal-eggdesktopfile.o gnome_terminal-eggsmclient-xsmp.o gnome_terminal-terminal-marshal.o gnome_terminal-terminal-type-builtins.o  -L/opt/local/lib skey/.libs/libskey.a /opt/local/lib/libvte.dylib -lncurses /opt/local/lib/libgtk-x11-2.0.dylib /opt/local/lib/libgdk-x11-2.0.dylib /opt/local/lib/libatk-1.0.dylib /opt/local/lib/libgdk_pixbuf-2.0.dylib /opt/local/lib/libpangocairo-1.0.dylib /opt/local/lib/libXinerama.dylib /opt/local/lib/libXi.dylib /opt/local/lib/libXrandr.dylib /opt/local/lib/libXcursor.dylib /opt/local/lib/libXcomposite.dylib /opt/local/lib/libXdamage.dylib /opt/local/lib/libpangoft2-1.0.dylib /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libXext.dylib /opt/local/lib/libXfixes.dylib /opt/local/lib/libcairo.dylib /opt/local/lib/libpixman-1.dylib /opt/local/lib/libpng12.dylib /opt/local/lib/libXrender.dylib /opt/local/lib/libpango-1.0.dylib /opt/local/lib/libfontconfig.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libfreetype.dylib -lz /opt/local/lib/libgconf-2.dylib /opt/local/lib/libORBit-2.dylib -lm /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libdbus-glib-1.dylib /opt/local/lib/libdbus-1.dylib -lpthread /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libglib-2.0.dylib -lresolv /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib /opt/local/lib/libstartup-notification-1.dylib /opt/local/lib/libxcb-aux.dylib /opt/local/lib/libxcb-event.dylib /opt/local/lib/libxcb-atom.dylib /opt/local/lib/libxcb.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libXau.dylib /opt/local/lib/libXdmcp.dylib /opt/local/lib/libSM.dylib /opt/local/lib/libICE.dylib -pthread -framework Carbon
Undefined symbols:
  "_GTK_WIDGET_NO_WINDOW", referenced from:
      _position_menu_under_widget in gnome_terminal-terminal-window.o
  "_GTK_WIDGET_TOPLEVEL", referenced from:
      _parent_parent_set_cb in gnome_terminal-terminal-screen.o
      _terminal_window_add_screen in gnome_terminal-terminal-window.o
      _close_button_clicked_cb in gnome_terminal-terminal-window.o
  "_GTK_WIDGET_MAPPED", referenced from:
      _terminal_window_set_size_force_grid in gnome_terminal-terminal-window.o
      _notebook_button_press_cb in gnome_terminal-terminal-window.o
  "_GTK_WIDGET_REALIZED", referenced from:
      _terminal_screen_system_font_notify_cb in gnome_terminal-terminal-screen.o
      _terminal_screen_profile_notify_cb in gnome_terminal-terminal-screen.o
      _terminal_screen_set_font_scale in gnome_terminal-terminal-screen.o
      _terminal_screen_style_set in gnome_terminal-terminal-screen.o
      _terminal_window_composited_changed_cb in gnome_terminal-terminal-window.o
      _terminal_window_show in gnome_terminal-terminal-window.o
      _view_fullscreen_toggled_callback in gnome_terminal-terminal-window.o
      _popup_clipboard_targets_received_cb in gnome_terminal-terminal-window.o
      _terminal_window_set_active in gnome_terminal-terminal-window.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [gnome-terminal] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Attachments (1)

gnome-terminal debug.txt (203.1 KB) - added by gnumengor@… 14 years ago.
sudo port -d install gnome-terminal

Download all attachments as: .zip

Change History (9)

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Milestone: MacPorts 1.9.0
Owner: changed from macports-tickets@… to devans@…
Port: gnome-terminal added
Summary: gnome terminal fails to installgnome-terminal fails to install

Don't forget to Cc the maintainer, fill in the Port field, not fill in the Milestone field, and to preview your report and use WikiFormatting where appropriate.

comment:2 Changed 14 years ago by gnumengor@…

Cc: gnumengor@… added

Cc Me!

Changed 14 years ago by gnumengor@…

Attachment: gnome-terminal debug.txt added

sudo port -d install gnome-terminal

comment:3 Changed 14 years ago by gyorgy.frivolt@…

I confirm that the same as reported happens to me as well. Gnome-terminal does not get installed, it fails with the attached messages.

comment:4 Changed 14 years ago by gyorgy.frivolt@…

Cc: gyorgy.frivolt@… added

Cc Me!

comment:5 Changed 14 years ago by ratogi@…

I happened to have handy another system where I hadn't recently updated MacPorts, so it still had the Portfile for gtk2 2.18.8. With that, I was able to do the following workaround:

  1. Deactivate (not deinstall) currently active gtk2 @2.20.1_0+x11 port
  2. Move the 2.20.1 Portfile out of the way (in /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/gtk2) and replace it with the 2.18.8 Portfile.
  3. port install gtk2 (which will install and activate 2.18.8).
  4. gnome-terminal should now successfully build and install.
  5. Deactivate gtk2 @2.18.8_0+x11 and reactivate gtk2 @2.20.1_0+x11.

This seems to have worked fine for me; I haven't run into any functionality issues with gnome-terminal so far in a few hours of normal use.

Hope that helps...

comment:6 in reply to:  5 ; Changed 14 years ago by as.lipton@…

Replying to ratogi@…:

I happened to have handy another system where I hadn't recently updated MacPorts, so it still had the Portfile for gtk2 2.18.8. With that, I was able to do the following workaround:

  1. Deactivate (not deinstall) currently active gtk2 @2.20.1_0+x11 port
  2. Move the 2.20.1 Portfile out of the way (in /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/gtk2) and replace it with the 2.18.8 Portfile.
  3. port install gtk2 (which will install and activate 2.18.8).
  4. gnome-terminal should now successfully build and install.
  5. Deactivate gtk2 @2.18.8_0+x11 and reactivate gtk2 @2.20.1_0+x11.

This seems to have worked fine for me; I haven't run into any functionality issues with gnome-terminal so far in a few hours of normal use.

Hope that helps...

Has anyone resolved this without going backward on gtk2?

comment:7 in reply to:  6 Changed 14 years ago by creaktive (Stanislaw Pusep)

Same problem here... Will try to apply the workaround tomorrow.

Replying to as.lipton@…:

Replying to ratogi@…:

I happened to have handy another system where I hadn't recently updated MacPorts, so it still had the Portfile for gtk2 2.18.8. With that, I was able to do the following workaround:

  1. Deactivate (not deinstall) currently active gtk2 @2.20.1_0+x11 port
  2. Move the 2.20.1 Portfile out of the way (in /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/gtk2) and replace it with the 2.18.8 Portfile.
  3. port install gtk2 (which will install and activate 2.18.8).
  4. gnome-terminal should now successfully build and install.
  5. Deactivate gtk2 @2.18.8_0+x11 and reactivate gtk2 @2.20.1_0+x11.

This seems to have worked fine for me; I haven't run into any functionality issues with gnome-terminal so far in a few hours of normal use.

Hope that helps...

Has anyone resolved this without going backward on gtk2?

comment:8 Changed 14 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

gnome-terminal updated to version 2.30.2 in r71559

Note: See TracTickets for help on using tickets.