!PbcQeaWcgMyjVfeGQN:nixos.org

Nix Mozilla 🦊🐦🐒

169 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=Thunderbird49 Servers

Load older messages


SenderMessageTime
29 Oct 2024
@scrumplex:duckhub.ioScrumplexboth -devedition and -beta fail to apply /nix/store/9lx1746yy56pn3dpc35l1xr6l3lykbin-env_var_for_system_dir-ff111.patch in the PR above20:10:38
@scrumplex:duckhub.ioScrumplexLooking at the trunk (tip?) it just seems like it was moved around in the file. I will try to update the patch for 133 onwards20:11:20
@phileas:asra.grsyd installs gentoo (they/them) joined the room.20:13:37
@hexa:lossy.networkhexaok20:17:36
@scrumplex:duckhub.ioScrumplex

Current patch versus new patch. Seems like the function signature has changed slightly:

--- pkgs/applications/networking/browsers/firefox/env_var_for_system_dir-ff111.patch	2024-08-10 21:13:22.142083987 +0200
+++ pkgs/applications/networking/browsers/firefox/env_var_for_system_dir-ff133.patch	2024-10-29 21:25:17.412737463 +0100
@@ -10,13 +10,13 @@
  #include "prprf.h"
  
  #include "nsIAppStartup.h"
-@@ -309,7 +310,8 @@ static nsresult GetSystemParentDirectory(nsIFile** aFile) {
+@@ -297,7 +297,8 @@ static nsresult GetSystemParentDirectory(nsIFile** aFile) {
        "/usr/lib/mozilla"_ns
  #    endif
        ;
--  rv = NS_NewNativeLocalFile(dirname, false, getter_AddRefs(localDir));
+-  rv = NS_NewNativeLocalFile(dirname, getter_AddRefs(localDir));
 +  const char* pathVar = PR_GetEnv("MOZ_SYSTEM_DIR");
-+  rv = NS_NewNativeLocalFile((pathVar && *pathVar) ? nsDependentCString(pathVar) : reinterpret_cast<const nsCString&>(dirname), false, getter_AddRefs(localDir));
++  rv = NS_NewNativeLocalFile((pathVar && *pathVar) ? nsDependentCString(pathVar) : reinterpret_cast<const nsCString&>(dirname), getter_AddRefs(localDir));
  #  endif
  
    if (NS_SUCCEEDED(rv)) {
20:26:49
@scrumplex:duckhub.ioScrumplexThis new patch applied successfully. Let's see if it will build20:27:55
@scrumplex:duckhub.ioScrumplex

Nope :(

       >  1:02.52(B checking for nss >= 3.106... no(B(B
       >  1:02.52(B ERROR: Requested 'nss >= 3.106' but version of NSS is 3.105.0(B(B
20:29:39
@hexa:lossy.networkhexaon staging20:29:44
@scrumplex:duckhub.ioScrumplexI see. Sooo rebase the PR on staging?20:30:00
@hexa:lossy.networkhexabecause ... reasons20:30:02
@hexa:lossy.networkhexalet me check20:30:14
@scrumplex:duckhub.ioScrumplexOr should I move the beta ones out of this PR and handle them in a separate staging PR?20:30:23
@hexa:lossy.networkhexa
  • Bug 1925975 - NSS 3.106 should be distributed with NSPR 4.36.
20:30:30
@scrumplex:duckhub.ioScrumplex * Or should I move the beta/133+ ones out of this PR and handle them in a separate staging PR?20:30:31
@hexa:lossy.networkhexabecause nspr20:30:31
@hexa:lossy.networkhexaideally, yeah20:30:40
@hexa:lossy.networkhexaand nspr causes a rebuild of nss, which is mass-rebuildy20:30:53
@hexa:lossy.networkhexacan you pick 795da483b5cf1c00dea6a14e381a12572135a7c3 into your pr?20:32:09
@hexa:lossy.networkhexa"should" should allow us to to do it anyway20:32:25
@scrumplex:duckhub.ioScrumplexInto the one targeting master?20:32:43
@hexa:lossy.networkhexayes20:34:06
@scrumplex:duckhub.ioScrumplexBut I assume you don't want me to push that right? It's just for testing the build right?20:35:04
@hexa:lossy.networkhexajust push it20:35:10
@hexa:lossy.networkhexait will be fine20:35:12
@scrumplex:duckhub.ioScrumplexOh I see that it causes <100 rebuilds. I assumed it would be way more20:36:05
@scrumplex:duckhub.ioScrumplexI have another rebase in the oven to make sure all packages build when bisecting (moving nss and @Scrumplex buildMozillaMach before all other commits).20:37:53
@scrumplex:duckhub.ioScrumplex * I have another rebase in the oven to make sure all packages build when bisecting (moving nss and buildMozillaMach before all other commits).20:37:57
@hexa:lossy.networkhexanss_latest is cheap, nss isn't20:37:58
@scrumplex:duckhub.ioScrumplexLooks good so far. Both devedition and beta are quite a few minutes into the build. I also was building thunderbird while trying to get the Firefoxes working. Will report back once all builds are done20:46:36
@scrumplex:duckhub.ioScrumplexMy Thunderbird build got OOM killed during linking 🥲21:37:42

Show newer messages


Back to Room ListRoom Version: 9