-
Notifications
You must be signed in to change notification settings - Fork 987
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
nix: upgrade nixpkgs to latest nixos-23.05 #14944
Conversation
Jenkins BuildsClick to see older builds (48)
|
2e205d6
to
aeacf4c
Compare
Looks like something is broken with the loader for prebuilt
|
This issue was introduced by this PR and commit due to a typo: I've fixed it in: |
265fbf7
to
4010ca1
Compare
still relevant? |
It will be when the React Native upgrade goes through. |
@jakubgs is there the specific version we're waiting for? i believe one major upgrade has been merged already. |
Actually, now that we don't depend on Gradle 5 I could update this and get it merged: Line 60 in 56dbb77
Since just yesterday a new NixOS release was cut: Which no longer contains Gradle 5: So we can try using that now. Although I'm wondering if maybe I should take this opportunity and teach @yakimant about upgrade of |
5595d02
to
1d0c698
Compare
Looks like linting is failing with:
Might be due to Clojure upgrade, or Clj-kondo upgrade, no idea. |
Also APK Analyzer fails to start:
|
сс @yqrashawn could you take a look pls |
guess these checks are from clj-kondo |
thanks @yqrashawn , @jakubgs should be fixed now |
There's two failure modes for
Which can be induced by changing from The other one seems to be due to inability to find Android SDK
The only obvious change are just Android SDK
So the surrounding tooling, the bash wrapper around the tool, or something about Android SDK must have changed. @yakimant I'd appreciate if you could investigate what's the issue here. The most likely fix will probably be somewhere in I have done some initial research into how |
Summary of investigation:
Tools versions
There are 2 possible solutions of upgrade issues:
|
I think upgrading to OpenJDK 11 is a good idea. We should do it eventually, so it would be good to try it Thanks for researching. |
We've switched:
As I see CI jobs pass succesfully, so we need some testing from Mobile developers. I also created an issue for broken |
@jakubgs I guess PR can be merged, if @jakubgs has more ideas what can be checked here - please share. |
Notable upgrades: * Bash `5.1` to `5.2` * Git `2.37.3` to `2.40.1` * Curl `7.85.0` to `8.0.1` * OpenSSL `3.0.5` to `3.0.8` * Go `1.18.6` to `1.18.9` * NodeJS `18.9.1` to `18.16.0` * Java `1.8.0_322` to `11.0.11` * Ruby `3.1.2` to `3.1.4` * Python `2.7.18` to `3.10.11` * Clojure `1.11.1.1165` to `1.11.1.1273` * Clj-kondo `v2022.10.05` to `v2023.04.14` * Zprint `1.2.5` to `1.2.6` * Bundler `2.3.22` to `2.4.13` * Gradle `6.9.2` to `6.9.4` * Android Platform Tools `33.0.2` to `33.0.3` * Android SDK Tools to Android SDK Command-Line Tools Removals: * Zprint since the version in `nixpkgs` was newer than in overlay. * Xcode wrapper definition was removed since my fixes were merged: - NixOS/nixpkgs#204278 - NixOS/nixpkgs#228696 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Fixes following error: ``` ld: framework not found IOKit clang-11: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [status_nodejs_addon.target.mk:175: Release/status_nodejs_addon.node] Error 1 ``` The `make test` target started to fail on macOS after #14944. This PR adds 2 Apple SDK frameworks to default shell: `IOKit` and `CoreServices` The other 2 mentioned in `binding.gyp` are not added, but build is ok. Resolves: #16356 Signed-off-by: Jakub Sokołowski <jakub@status.im>
watchman was upgraded significantly during the last #14944 (4.9.0 (Aug 16, 2017) to 2023.01.30.00 - 6 years between): status-im/nixpkgs@4e9c02b Probably causing developers to have "too many files open" issue #16341 This PR is an attempt to fix the issue by downgrading the watchman
watchman was upgraded significantly during the last #14944 (4.9.0 (Aug 16, 2017) to 2023.01.30.00 - 6 years between): status-im/nixpkgs@4e9c02b Probably causing developers to have "too many files open" issue #16341 This PR is an attempt to fix the issue by downgrading the watchman
To match the version we upgrade to in: status-im/status-mobile#14944 Signed-off-by: Jakub Sokołowski <jakub@status.im>
To match the version we upgrade to in: status-im/status-mobile#14944 I'm upgrading Protobuf to `3.19` since `3.17` is gone: ``` error: protobuf3_17 does not receive updates anymore and has been removed ``` Not sure if that's a big deal. Signed-off-by: Jakub Sokołowski <jakub@status.im>
To match the version we upgrade to in: status-im/status-mobile#14944 I'm upgrading Protobuf to `3.20` since `3.17` is gone: ``` error: protobuf3_17 does not receive updates anymore and has been removed ``` Not sure if that's a big deal. Signed-off-by: Jakub Sokołowski <jakub@status.im>
watchman was upgraded significantly during the last #14944 (4.9.0 (Aug 16, 2017) to 2023.01.30.00 - 6 years between): status-im/nixpkgs@4e9c02b Probably causing developers to have "too many files open" issue #16341 This PR is an attempt to fix the issue by downgrading the watchman
watchman was upgraded significantly during the last #14944 (4.9.0 (Aug 16, 2017) to 2023.01.30.00 - 6 years between): status-im/nixpkgs@4e9c02b Probably causing developers to have "too many files open" issue #16341 This PR is an attempt to fix the issue by downgrading the watchman
watchman was upgraded significantly during the last #14944 (4.9.0 (Aug 16, 2017) to 2023.01.30.00 - 6 years between): status-im/nixpkgs@4e9c02b Probably causing developers to have "too many files open" issue #16341 This PR is an attempt to fix the issue by downgrading the watchman Signed-off-by: Jakub Sokołowski <jakub@status.im>
Fixes following error: ``` ld: framework not found IOKit clang-11: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [status_nodejs_addon.target.mk:175: Release/status_nodejs_addon.node] Error 1 ``` The `make test` target started to fail on macOS after #14944. This PR adds 2 Apple SDK frameworks to default shell: `IOKit` and `CoreServices` The other 2 mentioned in `binding.gyp` are not added, but build is ok. Resolves: #16356 Signed-off-by: Jakub Sokołowski <jakub@status.im>
watchman was upgraded significantly during the last #14944 (4.9.0 (Aug 16, 2017) to 2023.01.30.00 - 6 years between): status-im/nixpkgs@4e9c02b Probably causing developers to have "too many files open" issue #16341 This PR is an attempt to fix the issue by downgrading the watchman Signed-off-by: Jakub Sokołowski <jakub@status.im>
To match the version we upgrade to in: status-im/status-mobile#14944 I'm upgrading Protobuf to `3.20` since `3.17` is gone: ``` error: protobuf3_17 does not receive updates anymore and has been removed ``` Not sure if that's a big deal. Signed-off-by: Jakub Sokołowski <jakub@status.im>
To match the version we upgrade to in: status-im/status-mobile#14944 I'm upgrading Protobuf to `3.20` since `3.17` is gone: ``` error: protobuf3_17 does not receive updates anymore and has been removed ``` Not sure if that's a big deal. Signed-off-by: Jakub Sokołowski <jakub@status.im>
Notable upgrades:
5.1
to5.2
2.37.3
to2.40.1
7.85.0
to8.0.1
3.0.5
to3.0.8
1.18.6
to1.18.9
18.9.1
to18.16.0
1.8.0_322
to1.8.0_362
3.1.2
to3.1.4
2.7.18
to3.10.11
1.11.1.1165
to1.11.1.1273
v2022.10.05
tov2023.04.14
1.2.5
to1.2.6
6.9.2
to6.9.4
2.3.22
to2.3.26
33.0.2
to33.0.3
Removals:
nixpkgs
was newer than in overlay.