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

Bump libpipewire dependency in libspa-sys to 1.0 #10

Open
Gooberpatrol66 opened this issue Mar 27, 2024 · 7 comments
Open

Bump libpipewire dependency in libspa-sys to 1.0 #10

Gooberpatrol66 opened this issue Mar 27, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@Gooberpatrol66
Copy link

libpipewire-0.3 is no longer packaged in my distro

@Gooberpatrol66 Gooberpatrol66 added the bug Something isn't working label Mar 27, 2024
@dimtpap
Copy link
Owner

dimtpap commented Mar 28, 2024

What distro?
Is there a compiler error?

@Gooberpatrol66
Copy link
Author

Gooberpatrol66 commented Mar 28, 2024

What distro?

Guix

Is there a compiler error?

Yes, when built with pipewire 1.0. looks related to pipewire/spa

log.txt

@dimtpap
Copy link
Owner

dimtpap commented Mar 29, 2024

Can you try building with -vv and post the output
i.e. cargo build -vv

@Gooberpatrol66
Copy link
Author

log.txt

@dimtpap
Copy link
Owner

dimtpap commented Apr 4, 2024

This doesn't look like it was ran with -vv. Aside from that, there are errors from the egui_node_graph crate too. It seems like you aren't getting the correct crates. egui_node_graph and pipewire used by this project are git dependencies, they don't come from crates.io.

coppwr/Cargo.toml

Lines 18 to 19 in 4e7239d

pipewire = {version = "*", git = "https://gitlab.freedesktop.org/dimtpap/pipewire-rs.git", rev = "605d15996f3258b3e1cc34e445dfbdf16a366c7e"}
egui_node_graph = {version = "*", git = "https://github.com/dimtpap/egui_node_graph.git", rev = "a2e93a2826f90c21f13fa8fecf9076da611432fd"}

Also, each release has a -vendor.tar.gz archive that has all the creates vendored, maybe it could be useful for your use case

@Gooberpatrol66
Copy link
Author

Gooberpatrol66 commented Apr 5, 2024

Sorry, this should be correct
log.txt

Aside from that, there are errors from the egui_node_graph crate too. It seems like you aren't getting the correct crates. egui_node_graph and pipewire used by this project are git dependencies, they don't come from crates.io.

Are they different forks or something? Using the git inputs causes cargo to try to fetch from the network, which doesn't work as it's building in a container, so I replaced them with crates of the same version.

@dimtpap
Copy link
Owner

dimtpap commented Apr 10, 2024

Are they different forks or something?

Yes

Using the git inputs causes cargo to try to fetch from the network, which doesn't work as it's building in a container, so I replaced them with crates of the same version.

That's why the -vendor.tar.gz archives exist. They have all the correct crates needed predownloaded and a config file to tell cargo to use them.
Flathub uses them to build the Flatpak version, which is also containerized and offline.

See also https://doc.rust-lang.org/cargo/commands/cargo-vendor.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants