Closed svenper closed 3 years ago
--disable-dbus
was removed.
https://bugzilla.mozilla.org/show_bug.cgi?id=1561207
--disable-dbus was removed.
This is false. --disable-dbus
is still supported. The Firefox build system errors during configure if unsupported flags are used (it doesn't with --disable-dbus
).
What happened in Firefox 69 was a regression, it's a bug that --disable-dbus
still lets through a dbus
related component.
I have written a patch for it here and Firefox builds fine without dbus
afterwards: https://github.com/kisslinux/repo/blob/master/extra/firefox/patches/firefox-69-no-dbus.patch
@dylanaraps thanks for the info! I was able to apply your v72 patch to Void after stripping one path level. Was there anything in particular that caused you to downgrade to the ESR version?
Firefox (and Chromium) are hard to maintain and each year this issue gets worse and worse. Firefox started taking up a lot of my time as each release broke something.
Swapping to the ESR means a singe big (and breaking) release a year with minor security fixes throughout. Much easier to maintain and it allows me to dedicate more time elsewhere.
The ESR has also enabled me to ship a firefox-bin
package to users which enables them to avoid building rust
, nodejs
, gtk2
, python2
and Firefox every so often.
I also don't know what the future holds for Firefox and staying behind the main releases gives me some breathing room regarding dbus
, alsa
(still working), etc.
@dylanaraps did you ever encounter this error or have an idea what could cause it?
collect2: fatal error: ld terminated with signal 9 [Killed]
I'm trying to build Void's 76.0.1_1 with the only change being adding your latest patch. 75 worked
Interesting. I can't personally reproduce this at all. It builds fine here. Tried having a look at what build flags we use, etc?
checked dmesg for oom kill?
This is usually a sign of ENOMEM
.
What exactly are we looking for?
[21662.541308] Out of memory: Killed process 4869 (ld) total-vm:11085876kB, anon-rss:3796320kB, file-rss:4kB, shmem-rss:0kB, UID:1000 pgtables:20292kB oom_score_adj:0
Yes was killed because your system did run out of memory.
After clearing some disk space I was able to build! Still confusing though, is that I have 8GB RAM plus 8GB swap. Am I reading the total-vm:11085876kB
correctly that it killed at 11GB? I probably ran out of disk space but the swap file should be a fixed size anyway, so why this error, and not a disk space error?
(I was definitely not using 5GB of RAM for anything else, xbps-src was the only thing running except the desktop and the terminal, I even closed the browser)
$ free
total used free shared buff/cache available
Mem: 8122788 423424 6753304 283556 946060 7065116
Swap: 8323068 4444 8318624
Is this issue still relevant?
not as of 81.0.1_1, I haven't built later ones yet however
Feel free to reopen if you experience the issue again.
Thanks!
System
firefox-69.0_1: broken, unresolvable shlib `libdbus-glib-1.so.2' Transaction aborted due to unresolved shlibs. dmesg: read kernel buffer failed: Operation not permitted Void 5.2.11_1 x86_64-musl GenuineIntel uptodate hold rrnFFFFFFFFFFF
firefox-69.0_1
Expected behavior
Firefox can either build without dbus, or does not have dbus optional.
Actual behavior
Firefox does not build without these template options. References to
dbus::Error::empty
,dbus::connection::Connection::get_private
,dbus::connection::Connection::conn_from_ptr
,dbus::watch::WatchList::new
, etc. fail. Lots of lines ofBuilding firefox on my machine is quite slow so I've yet to find exactly what build options cause the fail but it looks like dbus based on the log.
end of log
Steps to reproduce the behavior