flatpak-builder-tools icon indicating copy to clipboard operation
flatpak-builder-tools copied to clipboard

cargo generator cant seem to find `build-dependencies`

Open ImUrX opened this issue 2 years ago • 3 comments

flatpak-builder version

1.2.3

Linux distribution and version

NixOS 23.11.20230830.e7f38be

Affected flatpak-builder tool

cargo/flatpak-cargo-generator.py

flatpak-builder tool cli args

No response

Source repository URL

https://github.com/SlimeVR/SlimeVR-Server.git

Flatpak-builder manifest URL

https://github.com/flathub/dev.slimevr.SlimeVR.git

Description

I'm trying to generate a sources.json and it seems its trying to find build-dependencies item when it doesn't exist, I'm really unsure for the reason. I saw that I had a repeated dependency and fixed it but it still happens.

ImUrX avatar Aug 31 '23 19:08 ImUrX

any workaround?

pugaizai avatar Nov 30 '23 14:11 pugaizai

I am not sure I understand when the error happens. Does it happen when you run flatpak-cargo-generator, or later when you are trying to build the flatpak with the generated sources?

Is it possible to have logs about the operation? Also it is possible to link to a particular revision of a Cargo.lock file where this is reproducible? I tried the projects linked here but the script ran without any error.

zecakeh avatar Apr 06 '24 10:04 zecakeh

This is pretty old, I don't remember, but I usually use flatpak on releases, so if u check for the tag that was made in a close date to this issue's creation date, you will probably find it

ImUrX avatar Apr 06 '24 15:04 ImUrX