Repository navigation
chromium,chromedriver: 155.0.8059.84 -> 156.0.8078.47 - #576960
Conversation
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin release-26.05
git worktree add -d .worktree/backport-576960-to-release-26.05 origin/release-26.05
cd .worktree/backport-576960-to-release-26.05
git switch --create backport-576960-to-release-26.05
git cherry-pick -x f69104be186364293038584d43bb8d2af6be67aa |
|
After this landed, I couldn't build
The PR itself is fine. Both revs match upstream's I think that Gitiles is the problem. It 404s on both If anyone needs to build in the meantime, seeding the store over git produces the identical fixed-output paths, which let me build my system. seed() { # url rev
local d; d=$(mktemp -d)
git -C "$d" init -q
git -C "$d" fetch -q --depth=1 "$1" "$2"
mkdir "$d/out"
git -C "$d" archive FETCH_HEAD | tar -x -C "$d/out"
nix store add --name source "$d/out"
}
seed https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.git 9f796802e5d633c96dbe97e0b6683d5e62594f9f
seed https://chromium.googlesource.com/external/search_engines_data.git 5dc9f1afd38a8ac2b26b1972eb4fc1bbd5754e8c |
|
chromium.googlesource.com has been less reliable lately, probably because it struggles to keep up against the flood of abusive crawlers and bots, if I had to guess. Smaller service degradations are usually fixed before h.n.o tries to fetch the tarballs. Major version bumps with many uncached tarballs are at much greater risk. I am sure there are many more such incidents, that I don't know of. This particular issue you are having is peculiar and has been ongoing since at least yesterday. I am able to reproduce it. You can work around this by passing Depending on your nix implementation, you can pass the required header via the impure # /run/systemd/system/[email protected]/override.conf
[Service]
Environment="NIX_CURL_FLAGS=--header=Cookie:gi=0"Let's just hope this will be resolved as usual before h.n.o hits it. |
|
Also, if I may ask: What makes you build |
I've run on |
|
I decided to file an issue at https://issues.chromium.org/issues/576745302 as this continues to be a problem |
|
I did not expect this service degradation to last that long. What's your prefered way to go about this @vcunat? I could commit a hotfix that redirects these two affected tarballs to We could also just sit this out and wait for upstream to respond. Or you could work around this out of tree, which would spare us some churn and evals, by temporarily setting the above mentioned |
|
We'll try these flags in the infra temporarily. |
|
fyi I have the following diff ready if you change your mind or diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix
index 235d2ec696f9..91434a90281e 100644
--- a/pkgs/applications/networking/browsers/chromium/common.nix
+++ b/pkgs/applications/networking/browsers/chromium/common.nix
@@ -7,6 +7,7 @@
fetchFromGitHub,
fetchFromGitiles,
fetchNpmDeps,
+ fetchgit,
fetchzip,
rustPlatform,
buildGoModule,
@@ -361,10 +362,32 @@ let
rustcVersion = buildPackages.rustc.version;
llvmVersion = buildPackages.rustc.llvmPackages.llvm.version;
+ # Use fetchgit where fetchFromGitiles is currently causing issues:
+ # See https://issues.chromium.org/issues/576745302
+ # and https://github.com/NixOS/nixpkgs/pull/576960
+ # We use rev as identifier because it is unique and for some
+ # reason other revs of the same repository work just fine.
+ fetcher =
+ args:
+ if
+ lib.elem args.rev [
+ "9f796802e5d633c96dbe97e0b6683d5e62594f9f"
+ "5dc9f1afd38a8ac2b26b1972eb4fc1bbd5754e8c"
+ ]
+ then
+ fetchgit args
+ else
+ fetchFromGitiles args;
+
chromiumDeps = lib.mapAttrs (
path: args:
- fetchFromGitiles (
- removeAttrs args [ "recompress" ]
+ fetcher (
+ {
+ # force fetchgit to default to the same name as fetchFromGitiles
+ # so the store path stays the same with either fetcher
+ name = "source";
+ }
+ // removeAttrs args [ "recompress" ]
// lib.optionalAttrs args.recompress or false {
name = "source.tar.zstd";
downloadToTemp = false;
|
|
It does work. NixOS/infra#1278 |
|
Thanks for implementing the hotfix. I believe it can be reverted again now that the two affected tarballs are on cache.nixos.org. Note that this does technically also effect electron_45, but there is 1) no init PR for to that version yet and 2) it will just use the same store path that is now on cache.nixos.org. I'll continue to keep an eye on the upstream issue I filled for any updates. |
|
I am building the system with Do you know if |
https://chromereleases.googleblog.com/2026/10/stable-channel-update-for-desktop_02018666648.html
This update includes 353 security fixes.
Things done
./result/bin/.nixpkgs-reviewon this PR. See nixpkgs-review usage.passthru.tests.nixosTests.chromium).