Closed BryanQuigley closed 3 years ago
veloren's build depends on vek 0.11.2 and 0.12.0, but the flatpak only downloads 0.11.2
Flatpak downloads both version as specified in Cargo.lock
- I guess otherwise cargo --offline fetch
would've failed.
This could caused by rust-nightly daily flathub updates. That's why i wanted to stick with synced Veloren rust-nightly toolchain. Seems like Veloren the only one project using rust-nighly at this moment on Flathub.
Maybe just bundle whatever rust nightly version they're using, if it doesn't build with the latest? I think we can peek into their CI files and automate following their rust-nightly version.
some changes just got made around vek - so maybe it would work now?
Nope, I was wrong, the vek update didn't fix it.
I'm building successfully from Veloren git with rustc 1.50.0 - so I tried the flatpak build with rust-stable (seems to 1.50 https://github.com/flathub/org.freedesktop.Sdk.Extension.rust-stable/commit/a1f59b57dddc42dfeac13e8c3a09f610917acf74) but still no luck.
My current guess is veloren's build depends on vek 0.11.2 and 0.12.0, but the flatpak only downloads 0.11.2. I can reproduce the flatpak issue locally - but my "pure" git build of veloren works fine.