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

F-Droid build of v0.11.4 fails #590

Closed
licaon-kter opened this issue Apr 19, 2023 · 11 comments
Closed

F-Droid build of v0.11.4 fails #590

licaon-kter opened this issue Apr 19, 2023 · 11 comments
Labels
bug Something isn't working

Comments

@licaon-kter
Copy link
Contributor

licaon-kter commented Apr 19, 2023

ref: https://monitor.f-droid.org/builds/log/com.adilhanney.saber/11040#site-footer

No sure which environment variable is used exactly 🤷

/LE fyi https://gitlab.com/fdroid/fdroiddata/-/commit/9685361d4d0281216ecfc33cfb48fe47415c6e91

@licaon-kter licaon-kter added the bug Something isn't working label Apr 19, 2023
@adil192 adil192 changed the title F-Droid can't build F-Droid build of v0.11.4 fails Apr 19, 2023
@adil192
Copy link
Member

adil192 commented Apr 19, 2023

I see that the F-Droid page for Saber lists v0.11.3 as successfully built.

Nothing's changed on my end: the plugin that requires the NDK super_clipboard is at 0.3.0+2 on both versions.
Has something changed in the build environment?

@licaon-kter
Copy link
Contributor Author

Nothing changed, it's not only in the main server, it does not build for me locally either.

@adil192
Copy link
Member

adil192 commented Apr 20, 2023

Are you able to rebuild v0.11.3 successfully?

@linsui
Copy link

linsui commented Apr 27, 2023

11.6 builds for me. I feel that it's a network issue.

@adil192
Copy link
Member

adil192 commented Apr 28, 2023

If this helps, in actions/runner-images#7053, they have the following NDK environment variables:

Name Value
ANDROID_NDK /usr/local/lib/android/sdk/ndk/25.2.9519653
ANDROID_NDK_HOME /usr/local/lib/android/sdk/ndk/25.2.9519653
ANDROID_NDK_LATEST_HOME /usr/local/lib/android/sdk/ndk/25.2.9519653
ANDROID_NDK_ROOT /usr/local/lib/android/sdk/ndk/25.2.9519653

and in actions/runner-images#5930, they have instructions for manually downloading a version of the NDK with:

ANDROID_ROOT=/usr/local/lib/android
ANDROID_SDK_ROOT=${ANDROID_ROOT}/sdk
SDKMANAGER=${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager
echo "y" | $SDKMANAGER "ndk;21.4.7075529"

@Iey4iej3

This comment was marked as spam.

@Iey4iej3

This comment was marked as spam.

@adil192
Copy link
Member

adil192 commented May 5, 2023

I've submitted a merge request at fdroiddata!13036 that should fix this problem

@linsui
Copy link

linsui commented May 7, 2023

12010 builds and we finally find the problem...

@adil192
Copy link
Member

adil192 commented May 7, 2023

12010 builds and we finally find the problem...

Was it saber - try long ndk form that fixed it?

@linsui
Copy link

linsui commented May 7, 2023

Yes, something expects the long ndk form.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants