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

[18.09] firefox 65 #54505

Merged
merged 5 commits into from Jan 26, 2019
Merged

[18.09] firefox 65 #54505

merged 5 commits into from Jan 26, 2019

Conversation

andir
Copy link
Member

@andir andir commented Jan 23, 2019

This is the stable counterpart to #54504. It is a bit more intrusive and therefore targeted towards staging-18.09.

I had to bump the usual suspects (nss, rust) and a newcomer(?) icu in order to make Firefox happy with the system libraries we are providing.

The rust upgrade is just importing the current version of rust 1.31 from stable into the tree. It replaces the previously backported version 1.29. All the previous versions of Firefox (and derived packages) build fine using the bumped versions.

The latest / last commit in this branch (052bed9) should be dropped before this is being merged.

This PR just serves the purpose of putting the changes out there and collect some initial feedback on the approach I took here.

I rebuild all the Firefox packages and executed the nixos tests for firefox. No unexpected failures.

If the general feedback is positive we should merge this into staging-18.09 before 2019-01-29 to be able to build the upcoming release version on 18.09.

cc'ing the release managers @vcunat @samueldr
and @taku0

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 nox --run "nox-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)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

alyssais and others added 5 commits January 23, 2019 01:13
(cherry picked from commit 70b8ab6)
(cherry picked from commit fdc6caf)
This removes the 1.29 backport and replaces it with the 1.31 version
from master.
jemalloc with stripped prefix would cause segfaults in free:
NixOS#49557 (comment)

This commit has been adjusted from the one on master to only carry the
relevant changes (the new optional `stripPrefix`) flag while still
keeping the other flags that were removed on master since they are no
loner supported by the version used there.

(cherry picked from commit 973eca7)
Firefox >=65 will depend on icu >=63. All the older firefox versions
(and derived packages) seem to work fine with this change.

Also the system path environment patch will fail to apply since there
was a trivial whitespace change in the source file. By adding `-l` to
patch we can avoid having to track two patches that do basically the
same. Having patchFlags per file without resorting to pre-/postPatch
would be nicer but there doesn't seem to be a facility for that right
now.

(cherry picked from commit e37b765e7897c015153552d4e33a8571ab9c5457)
@andir andir changed the title WIP: [18.09] firefox 65 [18.09] firefox 65 Jan 26, 2019
@andir andir merged commit 73c0c69 into NixOS:staging-18.09 Jan 26, 2019
@andir
Copy link
Member Author

andir commented Jan 28, 2019

It seems that Firefox65 will require an additional NSS version bump. The version isn't released yet thought :/

https://hg.mozilla.org/mozilla-unified/rev/3c3a040d5e3f

So much for trying to prepare for a release ahead of time...

@vcunat
Copy link
Member

vcunat commented Jan 28, 2019

Well, x86_64-linux is rather fast to rebuild on today's hydra.nixos.org, so the main thing is to prepare in terms of "human work".

@andir andir deleted the 18.09/firefox65 branch January 29, 2019 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants