Skip to content
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

[19.09] firefox 70 (staging) #71714

Merged
merged 10 commits into from Nov 2, 2019
Merged

Conversation

andir
Copy link
Member

@andir andir commented Oct 22, 2019

Motivation for this change

Port of #71580 & #71624

This should through staging on 19.09 as it carries a rather large rebuild.

This went into the master staging process earlier today and there doesn't seem to be much unexpected breakage. @FRidh seems to be aware of a python regression and is likely able to help out there.

I compiled firefox from this branch and opened this PR using it.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc RMs @lheckemann @disassembler
cc @FRidh as he might know about some python/sqlachemy breakage from the sqlite change

@FRidh
Copy link
Member

FRidh commented Oct 23, 2019

@andir as I mentioned https://github.com/NixOS/nixpkgs/pull/70593#issuecomment-545057600 I hope we don't have to backport any newer version of sqlite.

https://github.com/NixOS/nixpkgs/pull/71695 we have instead a CVE fix for sqlite.

@andir
Copy link
Member Author

andir commented Oct 23, 2019

The update isn't for the CVE but more because firefox has that as minimum supported version…

I am very unhappy about the state of maintaining firefox on release versions. I am almost in favor of just using bundled libraries at this stage.. I did flip that switch on 18.03 as it was about to go EOL and that avoided having to deal with a bunch of breakage.

@FRidh
Copy link
Member

FRidh commented Oct 23, 2019

If firefox moves this fast with its dependencies, then I see no way for us to build the latest firefox on stable from source using our Nixpkgs packages, without indeed using bundled/vendored/firefox-specific versions of packages. It's good then that they have ESR versions...

@jtojnar
Copy link
Contributor

jtojnar commented Oct 23, 2019

We would either need to vendor dependencies in master, or convert Firefox to vendored after every branch-off, choosing between ugliness and lot of work and ugliness. At that point, I would rather just drop non-ESR versions after branch-off. People will still be able to use latest Firefox from unstable.

@FRidh FRidh added this to New in Staging Oct 24, 2019
@FRidh FRidh moved this from New to Not ready in Staging Oct 24, 2019
@FRidh FRidh removed this from Not ready in Staging Oct 24, 2019
@FRidh FRidh added this to WIP in Staging (stable) Oct 24, 2019
@FRidh FRidh moved this from WIP to Needs review in Staging (stable) Oct 24, 2019
@FRidh FRidh removed their assignment Oct 27, 2019
@andir
Copy link
Member Author

andir commented Oct 27, 2019

Well then I guess we will mark firefox as insecure in 19.09? @FRidh @jtojnar

@jtojnar
Copy link
Contributor

jtojnar commented Oct 27, 2019

Sounds good.

andir and others added 8 commits November 1, 2019 22:21
The expand tests require unstable rust features.

(cherry picked from commit 2deef75)
(cherry picked from commit f19920f)
(cherry picked from commit b4f278a)
(cherry picked from commit 1b2b476)
(cherry picked from commit 20dae73)
(cherry picked from commit dc6ea54)
(cherry picked from commit 14282e9)
(cherry picked from commit 0bc5d7f)
@andir
Copy link
Member Author

andir commented Nov 2, 2019

I reworked that a bit. The main difference is now that the sqlite update ended up in a new attribute that only firefox is consuming. I went forward with keeping the nss update since that is a minor bump and fixes things like static time execution of some algorithms so I consider that worthy.
Same story for rust-cbindgen. It is a minor update and the rebuilds it introduces are minor compared to those caused by nss.

For the next Firefox releases I plan on providing dedicated attributes or overrides for packages that need updating on the 19.09 branch.

Does this look better to you @FRidh ?

Copy link
Member

@FRidh FRidh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it works then I think it's good. Thanks!

@ofborg ofborg bot requested a review from lovek323 November 2, 2019 10:09
@andir andir merged commit e65f424 into NixOS:staging-19.09 Nov 2, 2019
@vcunat
Copy link
Member

vcunat commented Nov 3, 2019

A suggestion to consider: perhaps keep default sqlite for all firefoxPackages except the latest one? (with ffversion > 70)

@FRidh
Copy link
Member

FRidh commented Nov 3, 2019

Ah right indeed, forgot about that one.

@FRidh FRidh moved this from Needs review to Merged in Staging (stable) Nov 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet

5 participants