Opened 15 years ago
Closed 15 years ago
#24192 closed defect (invalid)
policykit-0.9 link error — symbol(s) not found
Reported by: | cshei@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | ||
Port: | policykit |
Description
While trying to install gnome-terminal on 10.6.2 with the latest XCode, the policykit install fails with the following error:
---> Building policykit DEBUG: Executing org.macports.build (policykit) 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_security_policykit/work/PolicyKit-0.9" && /usr/bin/make -j2 all' /usr/bin/make all-recursive Making all in data make[2]: Nothing to be done for `all'. Making all in src Making all in kit make[3]: Nothing to be done for `all'. Making all in polkit make[3]: Nothing to be done for `all'. Making all in polkit-dbus /bin/sh ../../libtool --tag=CC --mode=link /usr/bin/gcc-4.2 -O2 -arch x86_64 -arch i386 -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security -version-info 2:0:0 -export-dynamic -no-undefined -export-symbols-regex '^polkit_.*' -L/opt/local/lib -L/usr/lib -arch x86_64 -arch i386 -o libpolkit-dbus.la -rpath /opt/local/lib polkit-dbus.lo polkit-simple.lo -L/opt/local/lib -ldbus-1 -lpthread ../../src/kit/libkit.la ../../src/polkit/libpolkit.la rm -fr .libs/libpolkit-dbus.exp .libs/libpolkit-dbus.lax generating symbol list for `libpolkit-dbus.la' /usr/bin/nm .libs/polkit-dbus.o .libs/polkit-simple.o ../../src/kit/.libs/libkit.a | sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | /opt/local/bin/gsed 's/.* //' | sort | uniq > .libs/libpolkit-dbus.exp /usr/bin/grep -E -e "^polkit_.*" ".libs/libpolkit-dbus.exp" > ".libs/libpolkit-dbus.expT" mv -f ".libs/libpolkit-dbus.expT" ".libs/libpolkit-dbus.exp" rm -fr .libs/libpolkit-dbus.lax mkdir .libs/libpolkit-dbus.lax rm -fr .libs/libpolkit-dbus.lax/libkit.a mkdir .libs/libpolkit-dbus.lax/libkit.a Extracting /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_policykit/work/PolicyKit-0.9/src/polkit-dbus/../../src/kit/.libs/libkit.a libkit.a has multiple architectures x86_64 i386 (cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_policykit/work/PolicyKit-0.9/src/polkit-dbus/.libs/libpolkit-dbus.lax/libkit.a/unfat-88836/libkit.a-x86_64 && ar x libkit.a) (cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_policykit/work/PolicyKit-0.9/src/polkit-dbus/.libs/libpolkit-dbus.lax/libkit.a/unfat-88836/libkit.a-i386 && ar x libkit.a) sed 's,^,_,' < .libs/libpolkit-dbus.exp > .libs/libpolkit-dbus-symbols.expsym /usr/bin/gcc-4.2 -dynamiclib -o .libs/libpolkit-dbus.2.0.0.dylib .libs/polkit-dbus.o .libs/polkit-simple.o .libs/libpolkit-dbus.lax/libkit.a/kit-entity.o .libs/libpolkit-dbus.lax/libkit.a/kit-file.o .libs/libpolkit-dbus.lax/libkit.a/kit-hash.o .libs/libpolkit-dbus.lax/libkit.a/kit-lib.o .libs/libpolkit-dbus.lax/libkit.a/kit-list.o .libs/libpolkit-dbus.lax/libkit.a/kit-memory.o .libs/libpolkit-dbus.lax/libkit.a/kit-message.o .libs/libpolkit-dbus.lax/libkit.a/kit-spawn.o .libs/libpolkit-dbus.lax/libkit.a/kit-string.o .libs/libpolkit-dbus.lax/libkit.a/kit-test.o -L/opt/local/lib -L/usr/lib /opt/local/lib/libdbus-1.dylib /usr/lib/libpthread.dylib -lpthread ../../src/polkit/.libs/libpolkit.dylib /opt/local/lib/libexpat.dylib -arch x86_64 -arch i386 -arch x86_64 -arch i386 -install_name /opt/local/lib/libpolkit-dbus.2.dylib -compatibility_version 3 -current_version 3.0 -Wl,-single_module -Wl,-exported_symbols_list,.libs/libpolkit-dbus-symbols.expsym ld: warning: in /opt/local/lib/libdbus-1.dylib, file is not of required architecture Undefined symbols: "_dbus_error_free", referenced from: _polkit_check_authv in polkit-simple.o "_dbus_message_iter_get_fixed_array", referenced from: _polkit_caller_new_from_dbus_name in polkit-dbus.o "_dbus_message_iter_init", referenced from: __polkit_is_authorization_relevant_internal in polkit-dbus.o _polkit_caller_new_from_pid in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o "_dbus_bus_get_unix_user", referenced from: _polkit_caller_new_from_dbus_name in polkit-dbus.o "_dbus_message_iter_get_arg_type", referenced from: __polkit_is_authorization_relevant_internal in polkit-dbus.o __polkit_is_authorization_relevant_internal in polkit-dbus.o __polkit_is_authorization_relevant_internal in polkit-dbus.o "_dbus_message_get_path", referenced from: _polkit_tracker_dbus_func in polkit-dbus.o _polkit_tracker_dbus_func in polkit-dbus.o _polkit_tracker_dbus_func in polkit-dbus.o "_dbus_connection_unref", referenced from: _polkit_tracker_unref in polkit-dbus.o _polkit_auth_obtain in polkit-simple.o _polkit_check_authv in polkit-simple.o _polkit_check_authv in polkit-simple.o "_dbus_message_unref", referenced from: __polkit_is_authorization_relevant_internal in polkit-dbus.o __polkit_is_authorization_relevant_internal in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_caller_new_from_pid in polkit-dbus.o _polkit_caller_new_from_pid in polkit-dbus.o _polkit_caller_new_from_pid in polkit-dbus.o _polkit_caller_new_from_pid in polkit-dbus.o _polkit_caller_new_from_pid in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_session_new_from_cookie in polkit-dbus.o _polkit_session_new_from_cookie in polkit-dbus.o _polkit_session_new_from_cookie in polkit-dbus.o _polkit_session_new_from_cookie in polkit-dbus.o _polkit_session_new_from_cookie in polkit-dbus.o _polkit_auth_obtain in polkit-simple.o _polkit_auth_obtain in polkit-simple.o "_dbus_message_iter_next", referenced from: __polkit_is_authorization_relevant_internal in polkit-dbus.o "_dbus_connection_send_with_reply_and_block", referenced from: __polkit_is_authorization_relevant_internal in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_caller_new_from_pid in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_session_new_from_cookie in polkit-dbus.o _polkit_auth_obtain in polkit-simple.o "_dbus_message_get_args", referenced from: _polkit_tracker_dbus_func in polkit-dbus.o _polkit_tracker_dbus_func in polkit-dbus.o _polkit_tracker_dbus_func in polkit-dbus.o _polkit_tracker_dbus_func in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_cookie in polkit-dbus.o _polkit_auth_obtain in polkit-simple.o "_dbus_error_has_name", referenced from: _polkit_dbus_error_parse in polkit-simple.o "_dbus_error_is_set", referenced from: __polkit_is_authorization_relevant_internal in polkit-dbus.o __polkit_is_authorization_relevant_internal in polkit-dbus.o _polkit_tracker_is_authorization_relevant in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_caller_new_from_pid in polkit-dbus.o _polkit_caller_new_from_pid in polkit-dbus.o _polkit_tracker_get_caller_from_pid in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_tracker_get_caller_from_dbus_name in polkit-dbus.o _polkit_session_new_from_cookie in polkit-dbus.o _polkit_session_new_from_cookie in polkit-dbus.o _polkit_dbus_error_parse in polkit-simple.o _polkit_dbus_error_generate in polkit-simple.o _polkit_auth_obtain in polkit-simple.o _polkit_auth_obtain in polkit-simple.o "_dbus_message_is_signal", referenced from: _polkit_tracker_dbus_func in polkit-dbus.o _polkit_tracker_dbus_func in polkit-dbus.o _polkit_tracker_dbus_func in polkit-dbus.o _polkit_tracker_dbus_func in polkit-dbus.o "_dbus_message_new_method_call", referenced from: __polkit_is_authorization_relevant_internal in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_session_new_from_objpath in polkit-dbus.o _polkit_caller_new_from_pid in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_session_new_from_cookie in polkit-dbus.o _polkit_auth_obtain in polkit-simple.o "_dbus_connection_ref", referenced from: _polkit_tracker_set_system_bus_connection in polkit-dbus.o "_dbus_message_append_args", referenced from: __polkit_is_authorization_relevant_internal in polkit-dbus.o _polkit_session_new_from_cookie in polkit-dbus.o _polkit_auth_obtain in polkit-simple.o "_dbus_message_iter_get_basic", referenced from: __polkit_is_authorization_relevant_internal in polkit-dbus.o _polkit_caller_new_from_pid in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o "_dbus_error_init", referenced from: _polkit_tracker_dbus_func in polkit-dbus.o _polkit_tracker_dbus_func in polkit-dbus.o _polkit_tracker_dbus_func in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_dbus_error_parse_from_strings in polkit-simple.o _polkit_auth_obtain in polkit-simple.o _polkit_auth_obtain in polkit-simple.o _polkit_check_authv in polkit-simple.o "_dbus_message_iter_init_append", referenced from: _polkit_caller_new_from_pid in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o "_dbus_message_iter_recurse", referenced from: __polkit_is_authorization_relevant_internal in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o "_dbus_message_iter_append_basic", referenced from: _polkit_caller_new_from_pid in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o _polkit_caller_new_from_dbus_name in polkit-dbus.o "_dbus_set_error_const", referenced from: _polkit_dbus_error_parse_from_strings in polkit-simple.o "_dbus_bus_get", referenced from: _polkit_auth_obtain in polkit-simple.o _polkit_check_authv in polkit-simple.o "_dbus_set_error", referenced from: _polkit_tracker_get_caller_from_pid in polkit-dbus.o _polkit_dbus_error_generate in polkit-simple.o __auth_show_dialog_text in polkit-simple.o ld: symbol(s) not found collect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//ccaO8ije.out (No such file or directory) make[3]: *** [libpolkit-dbus.la] Error 1 make[2]: *** [all-recursive] Error 1 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_security_policykit/work/PolicyKit-0.9" && /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_security_policykit/work/PolicyKit-0.9" && /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 policykit): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: The following dependencies failed to build: gconf policykit libgnome gnome-vfs desktop-file-utils popt gnome-mime-data libbonobo startup-notification xcb imake xorg-cf-files xorg-libxcb xorg-libpthread-stubs xorg-xcb-proto xorg-xcb-util vte py26-gtk libglade2 py26-cairo py26-numpy py26-nose py26-setuptools py26-gobject libffi Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
Change History (3)
comment:1 Changed 15 years ago by cshei@…
Cc: | cshei@… added |
---|
comment:2 Changed 15 years ago by cshei@…
Oops, this was because my dbus and dbus-glib weren't built with +universal!
comment:3 Changed 15 years ago by mf2k (Frank Schima)
Cc: | cshei@… removed |
---|---|
Keywords: | policykit removed |
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Cc Me!