Skip to content

F-Droid build failed #531

Closed
Closed

Description

@linsui

https://gitlab.com/fdroid/fdroiddata/-/jobs/13865210628 Could you please take a look? Thansk!

Activity

  1. maelchiotti commented on Apr 10, 2026

    @maelchiotti
    Owner

    Yes, was expecting that error.

    I updated the Mimir library to the latest version, that now uses flutter "native assets" feature. Before, the built library was pulled from GitHub, now it is built from source right when the APK is built.

    Can you confirm that the fact that the library was a pre-built one pulled from GitHub the only reason we needed to build it from source? I assumed it was but I'm not actually certain.

    So assuming that, I have removed the step needed to build that library. It's the line that executes fdroid_build_mimir.sh.

  2. self-assigned this
    on Apr 10, 2026
  3. linsui commented on Apr 10, 2026

    @linsui
    Author

    There is at least another problem: there is no Cargo.lock file in https://github.com/GregoryConrad/mimir/tree/mimir-v0.2.1%2B2/packages/mimir/native. So the build is maybe not reproducible.

  4. maelchiotti commented on Apr 10, 2026

    @maelchiotti
    Owner

    I see, I can ask the developer to include it.

  5. maelchiotti commented on Apr 13, 2026

    @maelchiotti
    Owner

    @linsui I'll make a PR to add the cargo.lock in the mimir repo.

  6. maelchiotti commented on May 29, 2026

    @maelchiotti
    Owner

    @linsui I've never used Rust, but as I understant it, mimir is a Rust workspace, so the Cargo.lock will be located in the the root directory, not in packages/mimir/native. Is that ok?

  7. linsui commented on May 29, 2026

    @linsui
    Author

    We just need the versions to be locked so we can rebuild the same binary. The lock file can be put anywhere as long as it works. :)

  8. maelchiotti commented on May 29, 2026

    @maelchiotti
    Owner

    Ok, great. I'm creating the PR to add it and will tag you again when I release the next version so you can check if it all works out!

  9. maelchiotti commented on Jun 21, 2026

    @maelchiotti
    Owner

    Hi @linsui, did the build work with the new version?

  10. linsui commented on Jun 21, 2026

    @linsui
    Author

    Nope, you need to update mimir to the commit with the Cargo.lock file.

  11. maelchiotti commented on Jun 21, 2026

    @maelchiotti
    Owner

    Oh yeah of course 🤦

  12. linked a pull request that will close this issuev2.2.0 #555on Jun 21, 2026
  13. moved this from In progress to Done in LocalMaterialNoteson Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions