There is an updated pull request by fosslinux against master on the void-packages repository https://github.com/fosslinux/void-packages anki-2.1.26 https://github.com/void-linux/void-packages/pull/22219 WIP: anki: update to 2.1.26 This has a wide variety of changes as if you have heard my ranting in #xbps it has turned into a Bad Build System - there is rust (nightly!), nodejs, python, etc etc, no proper install target... A few things to note: - python3-mypy is updated as mypy-protobuf needs the new version, otherwise the build failed. - same thing with python-protobuf, but for anki and at runtime - maturin is some weird build system at the intersection of rust and python. - mypy-protobuf-python is what anki uses for binding python and rust together, partly. - mypy-protobuf-go is the go implementation of mypy-protobuf-python that I thought should be packaged anywway. - python-stringcase is a new dependency. - anki is an archd package (not nocross), because the rust code is obviously platform specific. - anki uses rustup. This is because it and some of its dependencies require archd code (notably pyo3). This is unavoidable, afaict. Still todo: - [x] Apply archlinux's aqt_build patch, which stops it from polluting /usr directly (:vomiting_face:) - [x] Update python3-protobuf - hopefully will fix `AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key'`. - [x] Look into travis musl error. https://github.com/rust-lang/rust/issues/40174. Hopefully, using rust 1.44 as the rust version *should* fix this. What a PITA. I understand that this is because it works when I cross-compile to x86_64-musl from x86_64 but we need it to work native build from x86_64-musl for the builders... - [ ] Get off rustup and onto rust stable. Needs either a) pyo3 to work on stable or b) anki to be patched for rust-cpython. Also blocked by rust 1.44. - [ ] Travis wth on i686? - [x] Make it open. - [ ] More extensive runtime testing. - [ ] Runtime test on musl. Questions: - Is there any problems with removing `arch=nocross`? - Does the rustup stuff look (somewhat) sane? - Are the patches sane? A patch file from https://github.com/void-linux/void-packages/pull/22219.patch is attached