Open Bug 1561207 Opened 9 months ago Updated 3 months ago

error: undefined reference to 'dbus_error_init' and other symbols with --disable-dbus

Categories

(Firefox Build System :: General, defect)

defect
Not set

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: u636583, Assigned: padenot)

References

(Regression)

Details

(Keywords: in-triage, regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

Compiled firefox
changeset: 479951:15984bd142b7
tag: tip
parent: 479947:4a415941bef6
parent: 479950:60c8d0cdd443
date: Tue Jun 25 00:35:29 2019 +0300
summary: Merge mozilla-inbound to mozilla-central. a=merge

with mozconfig option ac_add_options --disable-dbus with which it used to work(compile fine) before.

Actual results:

 0:03.93 make[4]: Leaving directory '/home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/browser/app'
 0:14.43 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function audio_thread_priority::promote_current_thread_to_real_time: error: undefined reference to 'dbus_error_init'
 0:14.52 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function audio_thread_priority::promote_current_thread_to_real_time: error: undefined reference to 'dbus_bus_get_private'
 0:14.60 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function audio_thread_priority::promote_current_thread_to_real_time: error: undefined reference to 'dbus_connection_set_exit_on_disconnect'
 0:14.69 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function audio_thread_priority::promote_current_thread_to_real_time: error: undefined reference to 'dbus_connection_add_filter'
 0:14.78 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function audio_thread_priority::promote_current_thread_to_real_time: error: undefined reference to 'dbus_connection_set_watch_functions'
 0:14.88 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function audio_thread_priority::promote_current_thread_to_real_time: error: undefined reference to 'dbus_error_free'
 0:14.97 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function audio_thread_priority::promote_current_thread_to_real_time: error: undefined reference to 'dbus_error_free'
 0:15.06 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function audio_thread_priority::promote_current_thread_to_real_time: error: undefined reference to 'dbus_error_free'
 0:15.16 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function audio_thread_priority::promote_current_thread_to_real_time: error: undefined reference to 'dbus_error_free'
 0:15.24 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function audio_thread_priority::promote_current_thread_to_real_time: error: undefined reference to 'dbus_message_new_method_call'
 0:15.32 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function audio_thread_priority::promote_current_thread_to_real_time: error: undefined reference to 'dbus_message_iter_init_append'
 0:15.42 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function audio_thread_priority::promote_current_thread_to_real_time: error: undefined reference to 'dbus_message_unref'
 0:15.50 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function core::ptr::real_drop_in_place: error: undefined reference to 'dbus_connection_close'
 0:15.60 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function core::ptr::real_drop_in_place: error: undefined reference to 'dbus_connection_unref'
 0:15.68 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function core::ptr::real_drop_in_place: error: undefined reference to 'dbus_message_unref'
 0:15.77 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function core::ptr::real_drop_in_place: error: undefined reference to 'dbus_message_unref'
 0:15.95 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::strings::Signature::new: error: undefined reference to 'dbus_error_init'
 0:16.04 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::strings::Signature::new: error: undefined reference to 'dbus_signature_validate_single'
 0:16.21 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function std::sync::once::Once::call_once::{{closure}}: error: undefined reference to 'dbus_threads_init_default'
 0:16.29 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function core::ops::function::FnOnce::call_once{{vtable-shim}}: error: undefined reference to 'dbus_threads_init_default'
 0:16.38 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::iter_append: error: undefined reference to 'dbus_message_iter_open_container'
 0:16.47 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::iter_append: error: undefined reference to 'dbus_message_iter_close_container'
 0:16.55 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::iter_append: error: undefined reference to 'dbus_message_iter_open_container'
 0:16.64 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::iter_append: error: undefined reference to 'dbus_message_iter_close_container'
 0:16.72 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::iter_append: error: undefined reference to 'dbus_message_iter_open_container'
 0:16.82 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::iter_append: error: undefined reference to 'dbus_message_iter_close_container'
 0:16.91 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::iter_append: error: undefined reference to 'dbus_message_iter_open_container'
 0:17.00 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::iter_append: error: undefined reference to 'dbus_message_iter_close_container'
 0:17.09 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::iter_append: error: undefined reference to 'dbus_message_iter_append_basic'
 0:17.19 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::iter_append: error: undefined reference to 'dbus_message_iter_append_basic'
 0:17.27 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter: error: undefined reference to 'dbus_message_iter_next'
 0:17.35 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter: error: undefined reference to 'dbus_message_iter_next'
 0:17.44 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter_single: error: undefined reference to 'dbus_message_iter_get_arg_type'
 0:17.52 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter_single: error: undefined reference to 'dbus_message_iter_get_basic'
 0:17.62 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter_single: error: undefined reference to 'dbus_message_iter_recurse'
 0:17.72 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter_single: error: undefined reference to 'dbus_message_iter_recurse'
 0:17.82 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter_single: error: undefined reference to 'dbus_message_iter_get_basic'
 0:17.91 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter_single: error: undefined reference to 'dbus_message_iter_recurse'
 0:17.99 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter_single: error: undefined reference to 'dbus_message_iter_get_signature'
 0:18.09 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter_single: error: undefined reference to 'dbus_free'
 0:18.19 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter_single: error: undefined reference to 'dbus_message_iter_get_basic'
 0:18.27 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter_single: error: undefined reference to 'dbus_message_iter_get_basic'
 0:18.66 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter_single: error: undefined reference to 'dbus_message_iter_recurse'
 0:19.08 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::strings::Path::check_valid: error: undefined reference to 'dbus_error_init'
 0:19.16 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::strings::Path::check_valid: error: undefined reference to 'dbus_validate_path'
 0:19.33 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::prop::Props::get: error: undefined reference to 'dbus_message_new_method_call'
 0:19.43 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::prop::Props::get: error: undefined reference to 'dbus_message_iter_init_append'
 0:19.51 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::prop::Props::get: error: undefined reference to 'dbus_error_init'
 0:19.61 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::prop::Props::get: error: undefined reference to 'dbus_set_error_from_message'
 0:19.77 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::prop::Props::get: error: undefined reference to 'dbus_message_iter_init'
 0:20.04 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::prop::Props::get: error: undefined reference to 'dbus_set_error'
 0:20.15 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::prop::Props::get: error: undefined reference to 'dbus_message_unref'
 0:20.32 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::connection::Connection::send_with_reply_and_block: error: undefined reference to 'dbus_connection_send_with_reply_and_block'
 0:23.31 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::strings::Member::check_valid: error: undefined reference to 'dbus_validate_member'
 0:23.56 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::strings::Interface::check_valid: error: undefined reference to 'dbus_validate_interface'
 0:23.73 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::watch::WatchList::get_watch: error: undefined reference to 'dbus_watch_get_unix_fd'
 0:23.82 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::watch::WatchList::get_watch: error: undefined reference to 'dbus_watch_get_enabled'
 0:23.92 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::watch::WatchList::get_watch: error: undefined reference to 'dbus_watch_get_flags'
 0:24.02 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function std::panicking::try::do_call: error: undefined reference to 'dbus_message_ref'
 0:24.10 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::connection::default_filter_callback: error: undefined reference to 'dbus_message_get_type'
 0:24.28 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function <dbus::strings::BusName as core::convert::From<&str>>::from: error: undefined reference to 'dbus_validate_bus_name'
 0:26.85 clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
 0:26.85 make[4]: *** [/home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/config/rules.mk:669: libxul.so] Error 1
 0:26.86 make[4]: Leaving directory '/home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/toolkit/library'
 0:26.86 make[3]: *** [/home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/config/recurse.mk:74: toolkit/library/target] Error 2
 0:26.86 make[3]: Leaving directory '/home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu'
 0:26.86 make[2]: *** [/home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/config/recurse.mk:34: compile] Error 2
 0:26.86 make[2]: Leaving directory '/home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu'
 0:26.86 make[1]: *** [/home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/config/rules.mk:400: default] Error 2
 0:26.86 make[1]: Leaving directory '/home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu'
 0:26.86 make: *** [client.mk:125: build] Error 2
 0:26.89 52 compiler warnings present.

Expected results:

no linker errors

Regressed by: 1429847
Component: Untriaged → General
Product: Firefox → Firefox Build System

Considering this, and something else I spotted last week related to libz in rust code, I think we should fork the pkg-config crate and patch it to make it only work with things that are setup from configure. Chris, thoughts?

Flags: needinfo?(cmanchester)
Summary: Build regression at linking stage, with `--disable-dbus`, due to patches from #1429847 → error: undefined reference to 'dbus_error_init' with --disable-dbus
Summary: error: undefined reference to 'dbus_error_init' with --disable-dbus → error: undefined reference to 'dbus_error_init' and other symbols with --disable-dbus

That seems like a fine idea, but in this case wouldn't it just move the error to build script time rather than link time in this case? The vendored crate seems to depend on dbus unconditionally.

Flags: needinfo?(cmanchester)

yes, it would.

Duplicate of this bug: 1560743

when this is fixed, can --disable-dbus still be used?

Duplicate of this bug: 1579105

I've written a patch to disable the dbus dependency (by also disabling audio_thread_priority) and this enables --disable-dbus to once again work. I've been running Firefox 69.0 with this patch for a few days now without an issue (audio and video plays fine).

https://github.com/kisslinux/repo/blob/master/extra/firefox/patches/firefox-69-no-dbus.patch

(Apologies if comments like this are disallowed here, I'm sharing the patch in the hope of helping those like me who refuse to run dbus on their machines)

patch is working, thank you very much!

I doubt it's acceptable for the firefox dev's?

This patch isn't acceptable as it just rips out audio_thread_priority (which pulls in dbus) from Firefox. I'd imagine that an acceptable patch would make --disable-dbus/--enable-dbus work "properly" instead of ripping out audio_thread_priority. This patch is fine for a dbus-less system but breaks systems with dbus.

@dylan.araps, maybe the people who added audio_thread_priority without testing against --enable-dbus should carry that burden? Otherwise people who want to keep the longstanding --disable-dbus functionality working need to become experts in every piece of code that might drag in dbus (which, nowadays, is pretty much everything).

Case in point, Firefox currently segfaults with dbus disabled on Wayland. I tracked down the cause, patch attached.

Please consider adding an automated "must build with --disable-dbus" gate so this breakage doesn't continue getting worse. It's always easier for people adding new features to fix this kind of breakage before it happens.

tag: wayland

Er, sorry, I'm having a bad bugzilla day here. I thought the little button with the arrow was "edit". I was wrong.

Paul, can you help here? Seems your patch regressed this.

Flags: needinfo?(padenot)

Yep, thanks Emilio.

Assignee: nobody → padenot
Flags: needinfo?(padenot)
See Also: → 1608492
You need to log in before you can comment on or make changes to this bug.