Opened 17 years ago

Closed 14 years ago

#15066 closed defect (fixed)

gnome-applets fails to build: libxklavier/libgnomekbd problems?

Reported by: paulbeard@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: gui-dos (Guido Soranzio)
Port: gnome-applets

Description

--->  Building gnome-applets 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_gnome_gnome-applets/work/gnome-applets-2.22.0" && make all " returned error 2
Command output: _xkl_config_registry_get_instance referenced from libgnomekbdui expected to be defined in /opt/local/lib/libxklavier.11.dylib
_xkl_config_registry_load referenced from libgnomekbdui expected to be defined in /opt/local/lib/libxklavier.11.dylib
_xkl_engine_filter_events referenced from libgnomekbdui expected to be defined in /opt/local/lib/libxklavier.11.dylib
_xkl_engine_get_current_state referenced from libgnomekbdui expected to be defined in /opt/local/lib/libxklavier.11.dylib
_xkl_engine_get_features referenced from libgnomekbdui expected to be defined in /opt/local/lib/libxklavier.11.dylib
_xkl_engine_get_instance referenced from libgnomekbdui expected to be defined in /opt/local/lib/libxklavier.11.dylib
_xkl_engine_get_num_groups referenced from libgnomekbdui expected to be defined in /opt/local/lib/libxklavier.11.dylib
_xkl_engine_set_window_transparent referenced from libgnomekbdui expected to be defined in /opt/local/lib/libxklavier.11.dylib
_xkl_engine_start_listen referenced from libgnomekbdui expected to be defined in /opt/local/lib/libxklavier.11.dylib
_xkl_engine_stop_listen referenced from libgnomekbdui expected to be defined in /opt/local/lib/libxklavier.11.dylib
_xkl_config_item_new referenced from libgnomekbd expected to be defined in /opt/local/lib/libxklavier.11.dylib
_xkl_config_registry_find_layout referenced from libgnomekbd expected to be defined in /opt/local/lib/libxklavier.11.dylib
_xkl_config_registry_find_variant referenced from libgnomekbd expected to be defined in /opt/local/lib/libxklavier.11.dylib
_xkl_engine_get_current_window_group referenced from libgnomekbd expected to be defined in /opt/local/lib/libxklavier.11.dylib
_xkl_engine_get_next_group referenced from libgnomekbd expected to be defined in /opt/local/lib/libxklavier.11.dylib
_xkl_engine_get_prev_group referenced from libgnomekbd expected to be defined in /opt/local/lib/libxklavier.11.dylib
_xkl_engine_lock_group referenced from libgnomekbd expected to be defined in /opt/local/lib/libxklavier.11.dylib
_xkl_engine_set_default_group referenced from libgnomekbd expected to be defined in /opt/local/lib/libxklavier.11.dylib
_xkl_engine_set_group_per_toplevel_window referenced from libgnomekbd expected to be defined in /opt/local/lib/libxklavier.11.dylib
_xkl_engine_set_indicators_handling referenced from libgnomekbd expected to be defined in /opt/local/lib/libxklavier.11.dylib
_xkl_config_rec_activate referenced from libgnomekbd expected to be defined in /opt/local/lib/libxklavier.11.dylib
_xkl_config_rec_get_from_backup referenced from libgnomekbd expected to be defined in /opt/local/lib/libxklavier.11.dylib
_xkl_config_rec_get_from_server referenced from libgnomekbd expected to be defined in /opt/local/lib/libxklavier.11.dylib
_xkl_get_last_error referenced from libgnomekbd expected to be defined in /opt/local/lib/libxklavier.11.dylib
_xkl_set_log_appender referenced from libgnomekbd expected to be defined in /opt/local/lib/libxklavier.11.dylib
collect2: ld returned 1 exit status
make[3]: *** [gnome-keyboard-applet] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Looks like doing a forced uninstall and reinstall of libxklavier & libgnomekbd works but I still seem to see issues with /usr/bin/ld: flag: -undefined dynamic_lookup can't be used with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1 even after exporting that value to be 10.4.

Change History (7)

comment:1 Changed 17 years ago by rhwood@…

Cc: gui_dos@… added

comment:2 Changed 17 years ago by paulbeard@…

OK, so doing a forced uninstall/reinstall as well as adding this {{{ platform darwin 7 {

configure.env-append MACOSX_DEPLOYMENT_TARGET=10.3 build.env-append MACOSX_DEPLOYMENT_TARGET=10.3

}

platform darwin 8 {

configure.env-append MACOSX_DEPLOYMENT_TARGET=10.4 build.env-append MACOSX_DEPLOYMENT_TARGET=10.4

}

platform darwin 9 {

configure.env-append MACOSX_DEPLOYMENT_TARGET=10.5 build.env-append MACOSX_DEPLOYMENT_TARGET=10.5

}

}}} to the Portfile seems to resolve this.

comment:3 Changed 16 years ago by blb@…

If setting MACOSX_DEPLOYMENT_TARGET was what's needed to fix it, then this should no longer be an issue with MacPorts 1.7 (it sets that to the current OS version automatically).

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:5 Changed 15 years ago by tobypeterson

Priority: HighNormal

comment:6 Changed 14 years ago by jmroot (Joshua Root)

Keywords: libxklavier libgnomekbd removed
Owner: changed from macports-tickets@… to devans@…
Port: gnome-applets added

comment:7 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Assuming this is fixed as per comment:3.

Note: See TracTickets for help on using tickets.