Skip to content

anki: update to 25.07.3. adopt#56290

Open
mmdbalkhi wants to merge 1 commit intovoid-linux:masterfrom
mmdbalkhi:anki
Open

anki: update to 25.07.3. adopt#56290
mmdbalkhi wants to merge 1 commit intovoid-linux:masterfrom
mmdbalkhi:anki

Conversation

@mmdbalkhi
Copy link
Contributor

@mmdbalkhi mmdbalkhi commented Jul 15, 2025

Testing the changes

  • I tested the changes in this PR: YES

Local build testing

  • I built this PR locally for my native architecture, x86_64(glibc)

@mmdbalkhi mmdbalkhi force-pushed the anki branch 2 times, most recently from 4b13242 to be9487f Compare July 15, 2025 08:39
@mmdbalkhi mmdbalkhi force-pushed the anki branch 2 times, most recently from 948098b to 4d94448 Compare July 21, 2025 09:59
@mmdbalkhi mmdbalkhi changed the title anki: update to 25.07.2. adopt anki: update to 25.07.3. adopt Jul 21, 2025
@mmdbalkhi mmdbalkhi force-pushed the anki branch 4 times, most recently from ff420a2 to 6654591 Compare July 21, 2025 11:31
python_version=3
case "$XBPS_TARGET_MACHINE" in
i686*|armv6*|armv7*|mips*|ppc*)
broken="Anki only supports 64-bit platforms due to Rust runner"
Copy link
Contributor

@ii8 ii8 Jul 25, 2025

Choose a reason for hiding this comment

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

Would it make sense to use XBPS_TARGET_WORDSIZE instead? Otherwise if anki explicitly only supports 64 bit maybe it should be set in archs instead

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's the runner that requires a 64-bit, not Anki itself. I'm not sure if it's possible to build runner on a 64-bit host machine and then use it to cross-build Anki for 32-bit targets without packaging the runner.

@mmdbalkhi mmdbalkhi force-pushed the anki branch 5 times, most recently from 84159b7 to ae5b767 Compare July 25, 2025 21:27
@historical-theology
Copy link

@mmdbalkhi , could you do another force push and update so that we can try to get this accepted by one of the hard working Void core team members? I am sure that I am not the only person who would appreciate having Anki available as a native package in Void rather than needing to use the Anki project's official (new) scripted setup. Thank you for doing this for all of our benefit.

@sburris0
Copy link
Contributor

Is there anything I can help with to get this finished?

@ii8
Copy link
Contributor

ii8 commented Nov 21, 2025

@sburris0 This PR doesn't build at the moment, that needs to be fixed. The logs have expired so no clue what the problem was, you'll have to try building to find out.

@mmdbalkhi
Copy link
Contributor Author

Sorry for late reply @sburris0 @ii8
cross-build fails because anki's build runs target-arch helpers (configure/runner) on host, but they need qemu to run (no native exec)

For example, see this:

https://github.com/ankitects/anki/blob/5614d20bedcc4dd268136d389ad796b404a69d2c/build/runner/src/build.rs#L155-L158

@github-actions
Copy link

Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.

@github-actions github-actions bot added the Stale label Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants