Skip to content

Conversation

@mhsmith
Copy link
Member

@mhsmith mhsmith commented Dec 3, 2025

Should fix this failure: https://github.com/beeware/briefcase/actions/runs/19875943952/job/56963552104

Android emulator failures started happening around the same time in the CPython repository, e.g. this run. The error message is completely different, but emulator error reporting has always been poor, so it's possible it has the same cause.

Toga appears unaffected so far.

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

@mhsmith
Copy link
Member Author

mhsmith commented Dec 3, 2025

pybind11 started hitting the same errors as CPython 2 weeks ago: pybind/pybind11#5914.

@mhsmith mhsmith requested a review from freakboy3742 December 3, 2025 17:10
@mhsmith
Copy link
Member Author

mhsmith commented Dec 3, 2025

I copied this script from the cibuildwheel CI, which removes all NDK versions except the one it uses. But Briefcase doesn't use the NDK at all anymore, so I've changed it to remove all versions.

Copy link
Member

@freakboy3742 freakboy3742 left a comment

Choose a reason for hiding this comment

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

This unblocks the immediate problem, but I don't love this. While we might not need the NDK (or node, chromium, CodeQL) right now, this seems like the sort of thing that might bite us in the future when we suddenly do need one of these tools, and the GitHub docs say they should be available, and we forget that our CI deletes them.

If it's disk space that is the issue. I wonder if doing a more aggressive cleanup after each individual build might be a better way to go (i.e., build the system app, then delete the build/dist folders; build the flatpak app, then delete the folders and purge the flatpak archive etc).

I'll merge this as an immediate fix; but I'll have a poke around to see if I can make a "cleanup" approach work.

@freakboy3742 freakboy3742 merged commit a54b24f into beeware:main Dec 4, 2025
72 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants