Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to get gtk-extras as a dependency of package `pop-desktop-widget v0.1.2 #71

Open
Dale-CDL opened this issue Nov 9, 2021 · 3 comments

Comments

@Dale-CDL
Copy link

Dale-CDL commented Nov 9, 2021

I cloned the desktop-widget and tried to build it. It is similar to #68 but with a different cause by reason. I am using Debian 11 with Gnome 3.38.5 using Wayland.

dale@debian11:~/Git/desktop-widget$ make
cargo build --release
Updating git repository https://github.com/pop-os/gtk-extras
error: failed to get gtk-extras as a dependency of package pop-desktop-widget v0.1.2 (/home/dale/Git/desktop-widget)

Caused by:
failed to load source for dependency gtk-extras

Caused by:
Unable to update https://github.com/pop-os/gtk-extras?branch=gtk-rs-0.14#590a8b61

Caused by:
object not found - no match for id (590a8b6166b3c52d9446a661f55b025814a18dd4); class=Odb (9); code=NotFound (-3)
make: *** [Makefile:31: target/release/pop-desktop-widget] Error 101
dale@debian11:~/Git/desktop-widget$

@efernandesng
Copy link

It looks like the branch gtk-rs-0.14 does not exist on the gtk-extra git repo. You can try to edit the file Cargo.toml and change the gtk-extra dependency branch to master.

gtk-extras = { git = "https://github.com/pop-os/gtk-extras", branch = "master" }

@SirRFI
Copy link
Contributor

SirRFI commented Nov 12, 2021

@Dale-CDL
Copy link
Author

Sorry @efernandesng for the late replies. Been busy with balancing work and life.
I edited the Cargo.toml and removed the instances of gtk-rs-0.14. I was able to get further along, but needed to install gstreamer-1.0 and libhandy-1-dev. I now have another build issue. Should I create a new issue? Here is the details.

dale@debian11:~/Git/desktop-widget$ make
cargo build --release
Compiling libhandy-sys v0.8.0
Compiling glib v0.14.2
Compiling gio-sys v0.14.0
Compiling pango-sys v0.14.0
Compiling atk-sys v0.14.0
Compiling gstreamer-sys v0.17.0
Compiling i18n-embed v0.12.1
error[E0599]: no function or associated item named increment_strong_count found for struct Arc<_> in the current scope
--> /home/dale/.cargo/registry/src/github.com-1ecc6299db9ec823/glib-0.14.2/src/subclass/shared.rs:29:25
|
29 | std::sync::Arc::increment_strong_count(this);
| ^^^^^^^^^^^^^^^^^^^^^^
| |
| function or associated item not found in Arc<_>
| help: there is an associated function with a similar name: incr_strong_count

Compiling gdk-pixbuf-sys v0.14.0
error: aborting due to previous error

For more information about this error, try rustc --explain E0599.
error: could not compile glib.

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
make: *** [Makefile:31: target/release/pop-desktop-widget] Error 101
dale@debian11:~/Git/desktop-widget$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants