Closed Bug 1761663 Opened 3 years ago Closed 3 years ago

in file included from ../browser/components/shell/nsGNOMEShellService.cpp:25: dbus/dbus-glib.h:3:15: fatal error: dbus/dbus-glib.h: No such file or directory

Categories

(Core :: Widget: Gtk, defect)

Firefox 100
defect

Tracking

()

RESOLVED FIXED
100 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox98 --- unaffected
firefox99 --- unaffected
firefox100 --- fixed

People

(Reporter: herrtimson, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

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

Steps to reproduce:

I downloaded latest github sources and compiled them

Actual results:

the compile is broken with this error in dbus-glib:

1:04.36 | ^
1:04.36 In file included from Unified_cpp_accessible_generic0.cpp:47:
1:04.36 /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-100.0/work/firefox-100.0/accessible/generic/HyperTextAccessible.cpp:1852:22: note: while referencing 'ranges'
1:04.36 1852 | nsTArray<nsRange*> ranges;
1:04.36 | ^~~~~~
1:04.54 In file included from /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-100.0/work/firefox_build/dist/include/mozilla/GRefPtr.h:16,
1:04.54 from /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-100.0/work/firefox-100.0/browser/components/shell/nsGNOMEShellService.cpp:25:
1:04.54 /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-100.0/work/firefox_build/dist/system_wrappers/dbus/dbus-glib.h:3:15: fatal error: dbus/dbus-glib.h: No such file or directory
1:04.54 3 | #include_next <dbus/dbus-glib.h>
1:04.54 | ^~~~~~~~~~~~~~~~~~
1:04.54 compilation terminated.
1:04.55 gmake[4]: *** [/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-100.0/work/firefox-100.0/config/rules.mk:660: nsGNOMEShellService.o] Error 1
1:04.55 gmake[4]: Leaving directory '/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-100.0/work/firefox_build/browser/components/shell'
1:04.55 gmake[3]: *** [/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-100.0/work/firefox-100.0/config/recurse.mk:72: browser/components/shell/target-objects] Error 2
1:04.55 gmake[3]: *** Waiting for unfinished jobs....

Expected results:

I expect the compile to pass through

will attached the compressed build log

Regressed by: 1760839

The Bugbug bot thinks this bug should belong to the 'Firefox Build System::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → General
Product: Firefox → Firefox Build System

Set release status flags based on info from the regressing bug 1760839

:emilio, since you are the author of the regressor, bug 1760839, could you take a look?
For more information, please visit auto_nag documentation.

Flags: needinfo?(emilio)

Are you building with some specific flags like --disable-dbus or so?

Flags: needinfo?(herrtimson)

Yes, I do build without dbus support. All other flags are in the build log

Flags: needinfo?(herrtimson)
Flags: needinfo?(emilio)
Assignee: nobody → emilio

thank you for the patch, it solves the initial problem for me, but there is hugh amount of linking errors with references to dbus now:

37:44.63 /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /var/tmp/portage/www-client/firefox-100.0/work/firefox_build/x86_64-unknown-linux-gnu/release/libgkrust.a(dbus-d1a996d47a9c1893.dbus.459a7590-cgu.0.rcgu.o): in function core::ops::function::FnOnce::call_once{{vtable.shim}}': 37:44.63 dbus.459a7590-cgu.0:(.text._ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h3bb40079a9f586beE+0x1a): undefined reference todbus_message_get_type'
37:44.63 /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /var/tmp/portage/www-client/firefox-100.0/work/firefox_build/x86_64-unknown-linux-gnu/release/libgkrust.a(dbus-d1a996d47a9c1893.dbus.459a7590-cgu.0.rcgu.o): in function `alloc::vec::Vec<T,A>::extend_desugared':

the full and compressed build log, the errors are all in the last 1000 lines.

Those errors come from rust callers which my patch didn't touch, so I suspect they are from bug 1760774. Can you file another bug? The audio folks would need to look at that :)

I will, thanks for directing my

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
Has Regression Range: --- → yes
Regressions: 1761691
Component: General → Widget: Gtk
Product: Firefox Build System → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: