ranfdev/Geopard

Unable to build

Closed this issue · 2 comments

I'm trying to build the project to test the mouse buttons, however I seem to be unable to get the build working with gnome-builder. Log:

flatpak build --env=TERM=xterm-256color --env=V=0 --env=CCACHE_DIR=/home/sebastian/.var/app/org.gnome.Builder/cache/gnome-builder/flatpak-builder/ccache --env=FLATPAK_CONFIG_DIR=/home/sebastian/.var/app/org.gnome.Builder/data/gnome-builder/flatpak/etc --env=PATH=/app/bin:/usr/bin:/usr/lib/sdk/rust-stable/bin --env=G_MESSAGES_DEBUG= --env=XDG_RUNTIME_DIR=/run/user/1000 --build-dir=/home/sebastian/Projects/Geopard/_build --share=network --nofilesystem=host --filesystem=/home/sebastian/.var/app/org.gnome.Builder/cache/gnome-builder --filesystem=/home/sebastian/Projects/Geopard --filesystem=/home/sebastian/Projects/Geopard/_build --env=RUST_LOG=info --env=NOCONFIGURE=1 /home/sebastian/.var/app/org.gnome.Builder/cache/gnome-builder/projects/Geopard/flatpak/staging/x86_64-master ninja
[0/1] Generating cargo-build with a custom command
    Updating git repository `https://github.com/ranfdev/gtk-rs-core.git`
error: failed to load source for dependency `gio`

Caused by:
  Unable to update https://github.com/ranfdev/gtk-rs-core.git?branch=props_macro#ba2dadf7

Caused by:
  object not found - no match for id (ba2dadf7c1e19d23f54eab9d6fbc94dcf1a0fb82); class=Odb (9); code=NotFound (-3)
FAILED: src/geopard 
/usr/bin/env CARGO_HOME=/home/sebastian/Projects/Geopard/_build/cargo-home /usr/lib/sdk/rust-stable/bin/cargo build --manifest-path /home/sebastian/Projects/Geopard/Cargo.toml --target-dir /home/sebastian/Projects/Geopard/_build/src && cp src/debug/geopard src/geopard
ninja: build stopped: subcommand failed.

System: Fedora 36
I have gtk4-devel, glib-devel- rust, cargo, rust-pkg-config-devel, meson, openssl-devel installed.

That's strange... Anyway, I've updated the dependencies, and I think your problem is now fixed.
Please try doing a git pull and building again

Building works now but the new tab icon is missing. See screenshot below (left: build, right: flathub stable)
image
Edit: the zoom icons too

Edit: nvm my icon theme is borked. Reseting to Adwaita fixes it.