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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

androidenv: fix NDK toolchains #300386

Closed
wants to merge 2 commits into from

Conversation

hadilq
Copy link
Contributor

@hadilq hadilq commented Mar 31, 2024

Description of changes

This fixes #298285. Wrab executables in toolchains.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 馃憤 reaction to pull requests you find important.

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/3725

@numinit
Copy link
Contributor

numinit commented Mar 31, 2024

LGTM. FYI #300407

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/3769

@matheus23
Copy link

matheus23 commented Apr 19, 2024

I'm a nix newbe on NixOS, trying to get Tauri in the android emulator to work.

Before this PR:

/nix/store/clnxi2n37rwxrp47nnv3ajrfwkrva7ih-androidsdk/libexec/android-sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: error while loading shared libraries: libc++.so.1: cannot open shared object file: No such file or directory

After this PR - I'm not getting this error anymore :)

Co-authored-by: Philipp Mildenberger <philipp@mildenberger.me>
domenkozar pushed a commit that referenced this pull request May 29, 2024
Fixes #298285, alternative to #300386.

As suggested in #298285 `lib64` was renamed to `lib`, so just doing the same
as for `lib64` seems to fix the issue.

See also recent discussion in #300386.
@hadilq hadilq closed this May 29, 2024
@hadilq
Copy link
Contributor Author

hadilq commented May 29, 2024

Its alternative PR got merged, so I assume the problem is fixed and we don't need this one.

wattmto-nixpkgs-automation bot pushed a commit to wattmto/nixpkgs that referenced this pull request Jun 1, 2024
Fixes NixOS#298285, alternative to NixOS#300386.

As suggested in NixOS#298285 `lib64` was renamed to `lib`, so just doing the same
as for `lib64` seems to fix the issue.

See also recent discussion in NixOS#300386.
florian-sanders-cc pushed a commit to florian-sanders-cc/nixpkgs that referenced this pull request Jun 6, 2024
Fixes NixOS#298285, alternative to NixOS#300386.

As suggested in NixOS#298285 `lib64` was renamed to `lib`, so just doing the same
as for `lib64` seems to fix the issue.

See also recent discussion in NixOS#300386.
github-actions bot pushed a commit that referenced this pull request Jun 10, 2024
Fixes #298285, alternative to #300386.

As suggested in #298285 `lib64` was renamed to `lib`, so just doing the same
as for `lib64` seems to fix the issue.

See also recent discussion in #300386.

(cherry picked from commit de0fdc1)
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.

Android NDK 26.1.10909125 is broken
8 participants