Skip to content

Conversation

icota
Copy link
Contributor

@icota icota commented Mar 28, 2021

No description provided.

@@ -32,6 +32,9 @@ if [ -n "$ANDROID_TOOLS_URL" ]; then
DOCKER_EXEC unzip -o "$ANDROID_TOOLS_PATH" -d "${ANDROID_HOME}/cmdline-tools"
DOCKER_EXEC "yes | ${ANDROID_HOME}/cmdline-tools/tools/bin/sdkmanager --install \"build-tools;${ANDROID_BUILD_TOOLS_VERSION}\" \"platform-tools\" \"platforms;android-${ANDROID_API_LEVEL}\" \"ndk;${ANDROID_NDK_VERSION}\""

# Remove cached Qt
DOCKER_EXEC rm -rf "${DEPENDS_DIR}"/built/aarch64-linux-android/qt
Copy link
Member

Choose a reason for hiding this comment

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

Is there any insight available as to why this fixes the ci?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There's partial insight.

APK CI build fails when there is no qtbase*.tar.xz archive in depends/sources to extract "Qt for Android" java files from.
Line above forces a redownload of Qt sources and fixes that particular issue.

I could produce a proper fix if I knew why or when the sources are removed in between CI runs. I see a clean-all target that wipes $(SOURCES_PATH) clean but surely that's not it? Since that one would delete build as well.

Copy link
Member

@maflcko maflcko Mar 28, 2021

Choose a reason for hiding this comment

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

depends/sources isn't cached and never has been

See #21541 for a fix

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That was extermely fast. Thank you!

Closing this.

@icota icota closed this Mar 28, 2021
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants