New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chromium: disable patch chromium-gn-bootstrap-r14 for version 62 #29941
Conversation
I'd like to suggest @bendlas as a reviewer instead, as I'm not maintaining Chromium anymore since a long time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fail to see how your patch should make any functional difference, except for disable the warning about outdated patches. Indeed, chromium and chromiumBeta's patch phase currently work for me. chromiumDev's (63
) -r19
patch doesn't apply, but that is a different issue.
@@ -133,8 +133,10 @@ let | |||
# https://gitweb.gentoo.org/repo/gentoo.git/plain/www-client/chromium/ | |||
# https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/chromium | |||
# for updated patches and hints about build flags | |||
++ optionals (versionRange "61" "62") [ | |||
++ optionals (versionOlder version "62") [ | |||
./patches/chromium-gn-bootstrap-r14.patch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm puzzling over how that should be different from the check included with versionRange: 8a5b327#diff-f286bd0559a1a8a82983af7fe0830d69L95
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there is an issue with versionRange
, please fix that instead of circumventing it. It also functions to warn for outdated patch sets.
You're correct, that does work now for chromiumBeta without my commit. I'm not sure why a few weeks ago it was trying to apply that patch, but the logic works fine now. I'm closing this out. My mistake was assuming |
Ah, I see what I did wrong here... So I tested building chromiumBeta without my patch on 17.09-release (which is still broken), and then I made the changes against master, not realizing the problem was commits not cherry picked to 17.09-release. The problem with 17.09 is it doesn't do any version checking at all for that patch:
The commit that fixes that is Without that patch, this happens on a build:
|
Motivation for this change
tried installing chromiumDev on 17.09 and it failed trying to apply this patch. Note that on master, this affects chromiumBeta, but on 17.09 it affects chromiumDev.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)