!PbcQeaWcgMyjVfeGQN:nixos.org

Nix Mozilla πŸ¦ŠπŸ¦πŸ’

171 Members
A room about a number of weird animals (also known as Mozilla products): Firefox, Thunderbird, Spidermonkey, NSS, cacert. Also a little bit of fun times, small amounts of extreme, when building weird animals. But for bugs please file GitHub issues. | Release Schedule: https://whattrainisitnow.com | Crash-Stats: https://crash-stats.mozilla.org/search/?distribution_id=%3Dnixos&product=Firefox&product=Thunderbird51 Servers

Load older messages


SenderMessageTime
20 Sep 2023
@k900:0upti.meK900It's the dylibs that are the problem10:57:24
@k900:0upti.meK900https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/applications/networking/browsers/firefox-bin/default.nix#L179-L18110:58:14
@k900:0upti.meK900I'm pretty sure this is entirely unnecessary10:58:20
@k900:0upti.meK900And can just be removed10:58:22
@k900:0upti.meK900Also I'm pretty sure literally any attempt to load the patchelf-ed library just dies10:59:13
@k900:0upti.meK900
~/downloads/firefox 
❄ ❯ bat test.c
───────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
       β”‚ File: test.c
───────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1   β”‚ #include <dlfcn.h> 
   2   β”‚ 
   3   β”‚ int main() {
   4   β”‚   dlopen("./libmozsqlite3.so", RTLD_LAZY);
   5   β”‚ }
───────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

~/downloads/firefox 
❄ ❯ gcc test.c

~/downloads/firefox 
❄ ❯ ./a.out
Segmentation fault: oops, process './a.out' core dumped
Error: nu::shell::external_command

  Γ— External command failed
   ╭─[entry #7:1:1]
 1 β”‚ ./a.out
   Β· ───┬───
   Β·    ╰── core dumped
   ╰────
  help: Segmentation fault: child process './a.out' core dumped
11:00:44
@k900:0upti.meK900 I think we need @Mic92 11:01:19
@k900:0upti.meK900OK what the fuck is going on with firefox-bin anyway11:10:08
@k900:0upti.meK900Is it just older than autoPatchelfHook11:10:13
@vcunat:matrix.orgvcunatIIRC it can be necessary to set RPATHs on libs, not just executables. Generally, I mean.11:25:39
@k900:0upti.meK900https://github.com/NixOS/nixpkgs/pull/25629211:28:04
@k900:0upti.meK900OK I just deleted like half the firefox-bin expression11:28:14
@k900:0upti.meK900And it still works11:28:16
@k900:0upti.meK900Now let's see if this also works with Nightly11:31:42
* @nbp:mozilla.orgnbp will not ask about GPU support …11:33:11
@k900:0upti.meK900Nope, still crashes11:39:37
@k900:0upti.meK900
In reply to@nbp:mozilla.org
will not ask about GPU support …
It does work
11:39:41
@k900:0upti.meK900image.png
Download image.png
11:40:52
@k900:0upti.meK900[GFX1-]: glxtest: libpci missing11:40:57
@k900:0upti.meK900Does say this11:40:59
@k900:0upti.meK900I wonder if it'll stop if I just add it11:41:03
@k900:0upti.meK900Unfortunately, it still has to patchelf enough to fuck up the nightlies11:41:40
@nbp:mozilla.orgnbpglxtest fails all the time, and I no longer have a working zoom in the browser since … I am relying on the Nixpkgs compiled one for Zoom meetings now.11:42:12
@k900:0upti.meK900postPatch = '' # Don't download updates from Mozilla directly echo 'pref("app.update.auto", "false");' >> defaults/pref/channel-prefs.js '';11:42:47
@k900:0upti.meK900Also I'm pretty sure we don't need this anymore?11:42:52
@nbp:mozilla.orgnbpbut I am not sure if this will last…11:42:56
@k900:0upti.meK900Since it's disabled via policies11:42:58
@nbp:mozilla.orgnbpWe still need this, as otherwise it will display an annoying message everyday.11:43:21
@nbp:mozilla.orgnbpI guess this can be tested on nightly by waiting 12h.11:44:10
@k900:0upti.meK900It sets DisableAppUpdate = true;11:45:42

There are no newer messages yet.


Back to Room ListRoom Version: 9