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

wayland-protocols 0.32 got published without protocols/ #734

Closed
russelltg opened this issue May 31, 2024 · 2 comments
Closed

wayland-protocols 0.32 got published without protocols/ #734

russelltg opened this issue May 31, 2024 · 2 comments

Comments

@russelltg
Copy link

When I upgrade my crate to 0.32, I get

error: proc macro panicked
  --> /home/russell/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wayland-protocols-0.32.0/src/protocol_macro.rs:24:21
   |
24 |                       wayland_scanner::generate_interfaces!($path);
   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
  ::: /home/russell/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wayland-protocols-0.32.0/src/xwayland.rs:74:9
   |
74 | /         wayland_protocol!(
75 | |             "./protocols/unstable/xwayland-keyboard-grab/xwayland-keyboard-grab-unstable-v1.xml",
76 | |             []
77 | |         );
   | |_________- in this macro invocation
   |
   = help: message: Failed to open protocol file /home/russell/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wayland-protocols-0.32.0/./protocols/unstable/xwayland-keyboard-grab/xwayland-keyboard-grab-unstable-v1.xml: No such file or directory (os error 2)
   = note: this error originates in the macro `wayland_protocol` (in Nightly builds, run with -Z macro-backtrace for more info)

and:

$ ls /home/russell/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wayland-protocols-0.32.0/protocols
lsd: /home/russell/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wayland-protocols-0.32.0/protocols: No such file or directory (os error 2).
$ ls /home/russell/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wayland-protocols-0.31.0/protocols
COPYING  GOVERNANCE.md  MEMBERS.md  meson.build  meson_options.txt  README.md  stable  staging  tests  unstable  wayland-protocols.pc.in  wayland-protocols-uninstalled.pc.in
@ids1024
Copy link
Member

ids1024 commented May 31, 2024

I guess the release automation added in #713 almost worked. At least.

That's probably just missing submodules: recursive when checking out for the publish job. Need to test that then release again.

@ids1024
Copy link
Member

ids1024 commented May 31, 2024

This should be corrected now. As well as an issue with wayland-cursor.

@ids1024 ids1024 closed this as completed May 31, 2024
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

2 participants