Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] firefox 69 fails build with some options disabled
@ 2019-09-06 19:57 voidlinux-github
  2019-09-06 22:48 ` voidlinux-github
                   ` (28 more replies)
  0 siblings, 29 replies; 30+ messages in thread
From: voidlinux-github @ 2019-09-06 19:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1454 bytes --]

New issue by svenper on void-packages repository

https://github.com/void-linux/void-packages/issues/14269

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  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
* package:  
  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 of 
```
/usr/bin/ld: DWARF error: mangled line number section (bad file number)
```

Building 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](https://gist.githubusercontent.com/svenper/93c4ff5f5b78cead49c482ce091abcd2/raw)

### Steps to reproduce the behavior

```
./xbps-src pkg firefox -o alsa,~dbus,~pulseaudio,~sndio,~startup_notification,~wayland,~xscreensaver
```

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
@ 2019-09-06 22:48 ` voidlinux-github
  2019-10-01 13:50 ` voidlinux-github
                   ` (27 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: voidlinux-github @ 2019-09-06 22:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 226 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-529038734

Comment:
`--disable-dbus` was removed.
https://bugzilla.mozilla.org/show_bug.cgi?id=1561207

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
  2019-09-06 22:48 ` voidlinux-github
@ 2019-10-01 13:50 ` voidlinux-github
  2019-10-01 13:51 ` voidlinux-github
                   ` (26 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: voidlinux-github @ 2019-10-01 13:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 550 bytes --]

New comment by dylanaraps on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-537045644

Comment:
> --disable-dbus was removed.

This is false. `--disable-dbus` is still supported.

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

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
  2019-09-06 22:48 ` voidlinux-github
  2019-10-01 13:50 ` voidlinux-github
@ 2019-10-01 13:51 ` voidlinux-github
  2020-01-25 22:01 ` voidlinux-github
                   ` (25 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: voidlinux-github @ 2019-10-01 13:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 667 bytes --]

New comment by dylanaraps on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-537045644

Comment:
> --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

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (2 preceding siblings ...)
  2019-10-01 13:51 ` voidlinux-github
@ 2020-01-25 22:01 ` voidlinux-github
  2020-01-25 22:08 ` voidlinux-github
                   ` (24 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: voidlinux-github @ 2020-01-25 22:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 462 bytes --]

New comment by svenper on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-578446803

Comment:
@dylanaraps thanks for the info! I was able to apply [your v72 patch](https://github.com/kisslinux/repo/blob/35fd7ff2fe1ec6f814bfc40c6d7122404af70088/extra/firefox/patches/firefox-72-no-dbus.patch) to Void after stripping one path level. Was there anything in particular that caused you to downgrade to the ESR version?

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (3 preceding siblings ...)
  2020-01-25 22:01 ` voidlinux-github
@ 2020-01-25 22:08 ` voidlinux-github
  2020-02-22  9:41 ` svenper
                   ` (23 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: voidlinux-github @ 2020-01-25 22:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 840 bytes --]

New comment by dylanaraps on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-578447269

Comment:
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.

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (4 preceding siblings ...)
  2020-01-25 22:08 ` voidlinux-github
@ 2020-02-22  9:41 ` svenper
  2020-02-22 11:09 ` svenper
                   ` (22 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: svenper @ 2020-02-22  9:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 628 bytes --]

New comment by svenper on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-578446803

Comment:
@dylanaraps thanks for the info! I was able to apply [your v72 patch](https://github.com/kisslinux/repo/blob/35fd7ff2fe1ec6f814bfc40c6d7122404af70088/extra/firefox/patches/firefox-72-no-dbus.patch) to Void after stripping one path level. Was there anything in particular that caused you to downgrade to the ESR version?

### Edit: my adaptation of that patch for 73.0.1

[firefox-73-no-dbus.patch](https://github.com/void-linux/void-packages/files/4239063/firefox-73-no-dbus.txt)


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (5 preceding siblings ...)
  2020-02-22  9:41 ` svenper
@ 2020-02-22 11:09 ` svenper
  2020-03-31 19:56 ` svenper
                   ` (21 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: svenper @ 2020-02-22 11:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 612 bytes --]

New comment by svenper on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-578446803

Comment:
@dylanaraps thanks for the info! I was able to apply [your v72 patch](https://github.com/kisslinux/repo/blob/35fd7ff2fe1ec6f814bfc40c6d7122404af70088/extra/firefox/patches/firefox-72-no-dbus.patch) to Void after stripping one path level. Was there anything in particular that caused you to downgrade to the ESR version?

### Edit: my adaptation of that patch for 73.0.1

[firefox-73-no-dbus.patch](https://gist.github.com/svenper/e7508b0b23f3023d9654fadd221f66f4)


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (6 preceding siblings ...)
  2020-02-22 11:09 ` svenper
@ 2020-03-31 19:56 ` svenper
  2020-03-31 19:56 ` svenper
                   ` (20 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: svenper @ 2020-03-31 19:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 704 bytes --]

New comment by svenper on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-578446803

Comment:
@dylanaraps thanks for the info! I was able to apply [your v72 patch](https://github.com/kisslinux/repo/blob/35fd7ff2fe1ec6f814bfc40c6d7122404af70088/extra/firefox/patches/firefox-72-no-dbus.patch) to Void after stripping one path level. Was there anything in particular that caused you to downgrade to the ESR version?

### Edit: my adaptation of that patch for 73.0.1

[firefox-73-no-dbus.patch](https://gist.github.com/svenper/e7508b0b23f3023d9654fadd221f66f4)
[firefox-74-no-dbus.patch](https://gist.github.com/svenper/97b351d7c40dd356cbc8df3bf8f53992)

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (7 preceding siblings ...)
  2020-03-31 19:56 ` svenper
@ 2020-03-31 19:56 ` svenper
  2020-05-31 13:30 ` svenper
                   ` (19 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: svenper @ 2020-03-31 19:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 712 bytes --]

New comment by svenper on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-578446803

Comment:
@dylanaraps thanks for the info! I was able to apply [your v72 patch](https://github.com/kisslinux/repo/blob/35fd7ff2fe1ec6f814bfc40c6d7122404af70088/extra/firefox/patches/firefox-72-no-dbus.patch) to Void after stripping one path level. Was there anything in particular that caused you to downgrade to the ESR version?

### Edit: my adaptation of that patch for later versions

[firefox-73-no-dbus.patch](https://gist.github.com/svenper/e7508b0b23f3023d9654fadd221f66f4)
[firefox-74-no-dbus.patch](https://gist.github.com/svenper/97b351d7c40dd356cbc8df3bf8f53992)

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (8 preceding siblings ...)
  2020-03-31 19:56 ` svenper
@ 2020-05-31 13:30 ` svenper
  2020-05-31 13:31 ` svenper
                   ` (18 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: svenper @ 2020-05-31 13:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 523 bytes --]

New comment by svenper on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-636471825

Comment:
@dylanaraps did you ever encounter this error or have an idea what could cause it?

```text
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](https://github.com/kisslinux/repo/blob/5ad83189aba96dc7f70830a21f4110fc5163c779/extra/firefox/patches/no-dbus.patch). 75 worked

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (9 preceding siblings ...)
  2020-05-31 13:30 ` svenper
@ 2020-05-31 13:31 ` svenper
  2020-05-31 13:32 ` dylanaraps
                   ` (17 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: svenper @ 2020-05-31 13:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2933 bytes --]

New comment by svenper on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-636471825

Comment:
@dylanaraps did you ever encounter this error or have an idea what could cause it?

```text
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](https://github.com/kisslinux/repo/blob/5ad83189aba96dc7f70830a21f4110fc5163c779/extra/firefox/patches/no-dbus.patch). 75 worked

in context:

```text
53:46.55 widget/gtk/mozwayland/libmozwayland.so
53:46.70 tools/power/rapl
53:46.85 toolkit/components/telemetry/pingsender/pingsender
53:47.03 browser/app/firefox
53:47.66 media/ffvpx/libavcodec/libmozavcodec.so.symbols.stub
53:47.74 config/external/nspr/ds/libplds4.so
53:47.91 media/ffvpx/libavcodec/libmozavcodec.so
53:48.03 config/external/nspr/libc/libplc4.so
53:48.33 security/nss/lib/util/out.nssutil.def.stub
53:48.59 security/nss/lib/util/libnssutil3.so
53:48.69 security/nss/lib/freebl/out.freebl_hash_vector.def.stub
53:48.94 security/nss/lib/freebl/out.freebl_hash.def.stub
53:48.94 security/nss/lib/freebl/libfreeblpriv3.so
53:49.20 security/nss/lib/freebl/libfreebl3.so
53:49.44 security/nss/lib/ckfw/builtins/out.nssckbi.def.stub
53:49.49 security/nss/lib/softoken/out.softokn.def.stub
53:49.70 security/nss/lib/ckfw/builtins/libnssckbi.so
53:49.74 security/nss/lib/softoken/libsoftokn3.so
53:50.07 js/src/build/libjs_static.a
53:50.15 security/sandbox/linux/libmozsandbox.so
53:50.68 security/nss/lib/nss/out.nss.def.stub
53:50.93 security/nss/lib/nss/libnss3.so
53:51.81 security/nss/lib/smime/out.smime.def.stub
53:52.10 security/nss/lib/smime/libsmime3.so
53:52.58 security/nss/lib/ssl/out.ssl.def.stub
53:52.82 security/nss/lib/ssl/libssl3.so
53:53.77 media/gmp-clearkey/0.1/libclearkey.so
53:53.94 security/nss/cmd/shlibsign/shlibsign
53:54.30 security/nss/cmd/pk12util/pk12util
53:54.34 security/nss/cmd/modutil/modutil
53:54.65 security/nss/cmd/certutil/certutil
54:52.53     Finished release [optimized] target(s) in 52m 35s
54:53.70 toolkit/library/build/symverscript.stub
54:53.86 toolkit/library/build/libxul.so
58:22.85 collect2: fatal error: ld terminated with signal 9 [Killed]
58:22.85 compilation terminated.
58:22.85 make[4]: *** [/builddir/firefox-76.0.1/config/rules.mk:610: libxul.so] Error 1
58:22.85 make[4]: *** Deleting file 'libxul.so'
58:22.85 make[3]: *** [/builddir/firefox-76.0.1/config/recurse.mk:74: toolkit/library/build/target] Error 2
58:22.85 make[2]: *** [/builddir/firefox-76.0.1/config/recurse.mk:34: compile] Error 2
58:22.85 make[1]: *** [/builddir/firefox-76.0.1/config/rules.mk:394: default] Error 2
58:22.87 make: *** [client.mk:125: build] Error 2
58:22.89 0 compiler warnings present.
58:23.21 ccache (direct) hit rate: 90.3%; (preprocessed) hit rate: 1.0%; miss rate: 8.7%
```

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (10 preceding siblings ...)
  2020-05-31 13:31 ` svenper
@ 2020-05-31 13:32 ` dylanaraps
  2020-05-31 13:51 ` Duncaen
                   ` (16 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: dylanaraps @ 2020-05-31 13:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 274 bytes --]

New comment by dylanaraps on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-636472022

Comment:
Interesting. I can't personally reproduce this at all. It builds fine here. Tried having a look at what build flags we use, etc?

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (11 preceding siblings ...)
  2020-05-31 13:32 ` dylanaraps
@ 2020-05-31 13:51 ` Duncaen
  2020-05-31 13:51 ` pullmoll
                   ` (15 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Duncaen @ 2020-05-31 13:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 170 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-636474279

Comment:
checked dmesg for oom kill?

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (12 preceding siblings ...)
  2020-05-31 13:51 ` Duncaen
@ 2020-05-31 13:51 ` pullmoll
  2020-05-31 14:02 ` svenper
                   ` (14 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: pullmoll @ 2020-05-31 13:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-636474295

Comment:
This is usually a sign of `ENOMEM`.

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (13 preceding siblings ...)
  2020-05-31 13:51 ` pullmoll
@ 2020-05-31 14:02 ` svenper
  2020-05-31 14:02 ` svenper
                   ` (13 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: svenper @ 2020-05-31 14:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1509 bytes --]

New comment by svenper on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-636475650

Comment:
What exactly are we looking for?

<details>
  <summary>sudo dmesg | grep -Ei 'memory|oom|mem\b'</summary>

```dmesg
[21662.540805] IPDL Background invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
[21662.540832]  oom_kill_process.cold+0xb/0x10
[21662.540836]  out_of_memory+0x1a1/0x440
[21662.540954] Mem-Info:
                mapped:4134 shmem:4208 pagetables:7889 bounce:0
[21662.540966] Node 0 active_anon:3227628kB inactive_anon:645436kB active_file:196kB inactive_file:224kB unevictable:16776kB isolated(anon):256kB isolated(file):0kB mapped:16536kB dirty:0kB writeback:8kB shmem:16832kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 0kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
[21662.541050] 0 pages HighMem/MovableOnly
[21662.541053] Tasks state (memory values in pages):
[21662.541054] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
[21662.541294] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/,task=ld,pid=4869,uid=1000
[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
[21664.624082] oom_reaper: reaped process 4869 (ld), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
```
</details>

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (14 preceding siblings ...)
  2020-05-31 14:02 ` svenper
@ 2020-05-31 14:02 ` svenper
  2020-05-31 14:04 ` Duncaen
                   ` (12 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: svenper @ 2020-05-31 14:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2977 bytes --]

New comment by svenper on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-636471825

Comment:
@dylanaraps did you ever encounter this error or have an idea what could cause it?

```text
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](https://github.com/kisslinux/repo/blob/5ad83189aba96dc7f70830a21f4110fc5163c779/extra/firefox/patches/no-dbus.patch). 75 worked

<details>
  <summary>In context:</summary>

```text
53:46.55 widget/gtk/mozwayland/libmozwayland.so
53:46.70 tools/power/rapl
53:46.85 toolkit/components/telemetry/pingsender/pingsender
53:47.03 browser/app/firefox
53:47.66 media/ffvpx/libavcodec/libmozavcodec.so.symbols.stub
53:47.74 config/external/nspr/ds/libplds4.so
53:47.91 media/ffvpx/libavcodec/libmozavcodec.so
53:48.03 config/external/nspr/libc/libplc4.so
53:48.33 security/nss/lib/util/out.nssutil.def.stub
53:48.59 security/nss/lib/util/libnssutil3.so
53:48.69 security/nss/lib/freebl/out.freebl_hash_vector.def.stub
53:48.94 security/nss/lib/freebl/out.freebl_hash.def.stub
53:48.94 security/nss/lib/freebl/libfreeblpriv3.so
53:49.20 security/nss/lib/freebl/libfreebl3.so
53:49.44 security/nss/lib/ckfw/builtins/out.nssckbi.def.stub
53:49.49 security/nss/lib/softoken/out.softokn.def.stub
53:49.70 security/nss/lib/ckfw/builtins/libnssckbi.so
53:49.74 security/nss/lib/softoken/libsoftokn3.so
53:50.07 js/src/build/libjs_static.a
53:50.15 security/sandbox/linux/libmozsandbox.so
53:50.68 security/nss/lib/nss/out.nss.def.stub
53:50.93 security/nss/lib/nss/libnss3.so
53:51.81 security/nss/lib/smime/out.smime.def.stub
53:52.10 security/nss/lib/smime/libsmime3.so
53:52.58 security/nss/lib/ssl/out.ssl.def.stub
53:52.82 security/nss/lib/ssl/libssl3.so
53:53.77 media/gmp-clearkey/0.1/libclearkey.so
53:53.94 security/nss/cmd/shlibsign/shlibsign
53:54.30 security/nss/cmd/pk12util/pk12util
53:54.34 security/nss/cmd/modutil/modutil
53:54.65 security/nss/cmd/certutil/certutil
54:52.53     Finished release [optimized] target(s) in 52m 35s
54:53.70 toolkit/library/build/symverscript.stub
54:53.86 toolkit/library/build/libxul.so
58:22.85 collect2: fatal error: ld terminated with signal 9 [Killed]
58:22.85 compilation terminated.
58:22.85 make[4]: *** [/builddir/firefox-76.0.1/config/rules.mk:610: libxul.so] Error 1
58:22.85 make[4]: *** Deleting file 'libxul.so'
58:22.85 make[3]: *** [/builddir/firefox-76.0.1/config/recurse.mk:74: toolkit/library/build/target] Error 2
58:22.85 make[2]: *** [/builddir/firefox-76.0.1/config/recurse.mk:34: compile] Error 2
58:22.85 make[1]: *** [/builddir/firefox-76.0.1/config/rules.mk:394: default] Error 2
58:22.87 make: *** [client.mk:125: build] Error 2
58:22.89 0 compiler warnings present.
58:23.21 ccache (direct) hit rate: 90.3%; (preprocessed) hit rate: 1.0%; miss rate: 8.7%
```
</details>

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (15 preceding siblings ...)
  2020-05-31 14:02 ` svenper
@ 2020-05-31 14:04 ` Duncaen
  2020-05-31 19:40 ` svenper
                   ` (11 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Duncaen @ 2020-05-31 14:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-636475889

Comment:
> ```
> [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.

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (16 preceding siblings ...)
  2020-05-31 14:04 ` Duncaen
@ 2020-05-31 19:40 ` svenper
  2020-05-31 19:40 ` svenper
                   ` (10 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: svenper @ 2020-05-31 19:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 656 bytes --]

New comment by svenper on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-636518557

Comment:
After clearing some 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?

```text
$ free
              total        used        free      shared  buff/cache   available
Mem:        8122788      423424     6753304      283556      946060     7065116
Swap:       8323068        4444     8318624
```

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (17 preceding siblings ...)
  2020-05-31 19:40 ` svenper
@ 2020-05-31 19:40 ` svenper
  2020-05-31 19:42 ` svenper
                   ` (9 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: svenper @ 2020-05-31 19:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 661 bytes --]

New comment by svenper on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-636518557

Comment:
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?

```text
$ free
              total        used        free      shared  buff/cache   available
Mem:        8122788      423424     6753304      283556      946060     7065116
Swap:       8323068        4444     8318624
```

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (18 preceding siblings ...)
  2020-05-31 19:40 ` svenper
@ 2020-05-31 19:42 ` svenper
  2020-05-31 19:49 ` svenper
                   ` (8 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: svenper @ 2020-05-31 19:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 689 bytes --]

New comment by svenper on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-636518557

Comment:
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?

```text
$ free
              total        used        free      shared  buff/cache   available
Mem:        8122788      423424     6753304      283556      946060     7065116
Swap:       8323068        4444     8318624
```

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (19 preceding siblings ...)
  2020-05-31 19:42 ` svenper
@ 2020-05-31 19:49 ` svenper
  2020-05-31 19:50 ` svenper
                   ` (7 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: svenper @ 2020-05-31 19:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 817 bytes --]

New comment by svenper on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-636518557

Comment:
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 7GB of RAM for anything else, it was the only thing running except the desktop and the terminal)

```text
$ free
              total        used        free      shared  buff/cache   available
Mem:        8122788      423424     6753304      283556      946060     7065116
Swap:       8323068        4444     8318624
```

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (20 preceding siblings ...)
  2020-05-31 19:49 ` svenper
@ 2020-05-31 19:50 ` svenper
  2020-05-31 19:50 ` svenper
                   ` (6 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: svenper @ 2020-05-31 19:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 844 bytes --]

New comment by svenper on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-636518557

Comment:
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 7GB of RAM for anything else, it was the only thing running except the desktop and the terminal, I even closed the browser)

```text
$ free
              total        used        free      shared  buff/cache   available
Mem:        8122788      423424     6753304      283556      946060     7065116
Swap:       8323068        4444     8318624
```

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (21 preceding siblings ...)
  2020-05-31 19:50 ` svenper
@ 2020-05-31 19:50 ` svenper
  2020-05-31 19:51 ` svenper
                   ` (5 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: svenper @ 2020-05-31 19:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 844 bytes --]

New comment by svenper on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-636518557

Comment:
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, it was the only thing running except the desktop and the terminal, I even closed the browser)

```text
$ free
              total        used        free      shared  buff/cache   available
Mem:        8122788      423424     6753304      283556      946060     7065116
Swap:       8323068        4444     8318624
```

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (22 preceding siblings ...)
  2020-05-31 19:50 ` svenper
@ 2020-05-31 19:51 ` svenper
  2020-12-13 21:48 ` ericonr
                   ` (4 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: svenper @ 2020-05-31 19:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 850 bytes --]

New comment by svenper on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-636518557

Comment:
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)

```text
$ free
              total        used        free      shared  buff/cache   available
Mem:        8122788      423424     6753304      283556      946060     7065116
Swap:       8323068        4444     8318624
```

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (23 preceding siblings ...)
  2020-05-31 19:51 ` svenper
@ 2020-12-13 21:48 ` ericonr
  2020-12-14 16:22 ` svenper
                   ` (3 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: ericonr @ 2020-12-13 21:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 172 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-744073792

Comment:
Is this issue still relevant?

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (24 preceding siblings ...)
  2020-12-13 21:48 ` ericonr
@ 2020-12-14 16:22 ` svenper
  2020-12-14 16:24 ` svenper
                   ` (2 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: svenper @ 2020-12-14 16:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 199 bytes --]

New comment by svenper on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-744550789

Comment:
not as of 81.0.1, I haven't built later ones yet however

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (25 preceding siblings ...)
  2020-12-14 16:22 ` svenper
@ 2020-12-14 16:24 ` svenper
  2020-12-14 19:36 ` ericonr
  2020-12-14 19:36 ` [ISSUE] [CLOSED] " ericonr
  28 siblings, 0 replies; 30+ messages in thread
From: svenper @ 2020-12-14 16:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 201 bytes --]

New comment by svenper on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-744550789

Comment:
not as of 81.0.1_1, I haven't built later ones yet however

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (26 preceding siblings ...)
  2020-12-14 16:24 ` svenper
@ 2020-12-14 19:36 ` ericonr
  2020-12-14 19:36 ` [ISSUE] [CLOSED] " ericonr
  28 siblings, 0 replies; 30+ messages in thread
From: ericonr @ 2020-12-14 19:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 208 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/14269#issuecomment-744663582

Comment:
Feel free to reopen if you experience the issue again.

Thanks!

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [ISSUE] [CLOSED] firefox 69 fails build with some options disabled
  2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
                   ` (27 preceding siblings ...)
  2020-12-14 19:36 ` ericonr
@ 2020-12-14 19:36 ` ericonr
  28 siblings, 0 replies; 30+ messages in thread
From: ericonr @ 2020-12-14 19:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1457 bytes --]

Closed issue by svenper on void-packages repository

https://github.com/void-linux/void-packages/issues/14269

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  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
* package:  
  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 of 
```
/usr/bin/ld: DWARF error: mangled line number section (bad file number)
```

Building 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](https://gist.githubusercontent.com/svenper/93c4ff5f5b78cead49c482ce091abcd2/raw)

### Steps to reproduce the behavior

```
./xbps-src pkg firefox -o alsa,~dbus,~pulseaudio,~sndio,~startup_notification,~wayland,~xscreensaver
```

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2020-12-14 19:36 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-06 19:57 [ISSUE] firefox 69 fails build with some options disabled voidlinux-github
2019-09-06 22:48 ` voidlinux-github
2019-10-01 13:50 ` voidlinux-github
2019-10-01 13:51 ` voidlinux-github
2020-01-25 22:01 ` voidlinux-github
2020-01-25 22:08 ` voidlinux-github
2020-02-22  9:41 ` svenper
2020-02-22 11:09 ` svenper
2020-03-31 19:56 ` svenper
2020-03-31 19:56 ` svenper
2020-05-31 13:30 ` svenper
2020-05-31 13:31 ` svenper
2020-05-31 13:32 ` dylanaraps
2020-05-31 13:51 ` Duncaen
2020-05-31 13:51 ` pullmoll
2020-05-31 14:02 ` svenper
2020-05-31 14:02 ` svenper
2020-05-31 14:04 ` Duncaen
2020-05-31 19:40 ` svenper
2020-05-31 19:40 ` svenper
2020-05-31 19:42 ` svenper
2020-05-31 19:49 ` svenper
2020-05-31 19:50 ` svenper
2020-05-31 19:50 ` svenper
2020-05-31 19:51 ` svenper
2020-12-13 21:48 ` ericonr
2020-12-14 16:22 ` svenper
2020-12-14 16:24 ` svenper
2020-12-14 19:36 ` ericonr
2020-12-14 19:36 ` [ISSUE] [CLOSED] " ericonr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).