[Pkg-rust-maintainers] Bug#1012418: librust-zbus-dev: Broken with nix 0.24.1
Dorota Czaplejewicz
dorota.czaplejewicz at puri.sm
Mon Jun 6 19:40:17 BST 2022
Filling in the gaps.
On Mon, 06 Jun 2022 18:23:39 +0000
dcz <dorota.czaplejewicz at puri.sm> wrote:
> Package: librust-zbus-dev
> Version: 1.9.2-1
> Severity: grave
> Justification: renders package unusable
>
> Dear Maintainer,
>
zbus is broken since a couple days: https://gitlab.gnome.org/World/Phosh/squeekboard/-/jobs/2047130
in particular, it tries to call into nix::sendmsg, but it seems sendmsg parameters have changed:
Compiling zbus v1.9.2
error[E0308]: mismatched types
--> /usr/share/cargo/registry/zbus-1.9.2/src/raw/socket.rs:70:13
|
70 | &iov,
| ^^^^ types differ in mutability
|
= note: expected mutable reference `&mut [IoSliceMut<'_>]`
found reference `&[IoVec<&mut [u8]>; 1]`
error[E0308]: mismatched types
--> /usr/share/cargo/registry/zbus-1.9.2/src/raw/socket.rs:99:41
|
99 | match sendmsg(self.as_raw_fd(), &iov, &cmsg, MsgFlags::empty(), None) {
| ^^^^ expected slice, found array of 1 element
|
= note: expected reference `&[IoSlice<'_>]`
found reference `&[IoVec<&[u8]>; 1]`
For more information about this error, try `rustc --explain E0308`.
>
>
> -- System Information:
> Debian Release: bookworm/sid
> APT prefers unstable
> APT policy: (500, 'unstable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 5.17.5-200.fc35.x86_64 (SMP w/2 CPU threads; PREEMPT)
> Kernel taint flags: TAINT_WARN
> Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
> Shell: /bin/sh linked to /bin/dash
> Init: unable to detect
>
> Versions of packages librust-zbus-dev depends on:
> pn librust-async-io-1+default-dev <none>
> pn librust-byteorder-1+default-dev <none>
> pn librust-derivative-2+default-dev <none>
> pn librust-enumflags2-0.6+default-dev <none>
> pn librust-enumflags2-0.6+serde-dev <none>
> pn librust-fastrand-1+default-dev <none>
> pn librust-futures-0.3+default-dev <none>
> pn librust-nb-connect-1+default-dev <none>
> pn librust-nix+default-dev <none>
> pn librust-once-cell-1+default-dev <none>
> pn librust-polling-2+default-dev <none>
> pn librust-scoped-tls-1+default-dev <none>
> pn librust-serde-1+default-dev <none>
> pn librust-serde-1+derive-dev <none>
> pn librust-serde-repr-0.1+default-dev <none>
> pn librust-serde-xml-rs-0.4+default-dev <none>
> pn librust-zbus-macros-1.9.2+default-dev <none>
> pn librust-zvariant-2+enumflags2-dev <none>
>
> librust-zbus-dev recommends no packages.
>
> librust-zbus-dev suggests no packages.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20220606/722b1cb9/attachment.sig>
More information about the Pkg-rust-maintainers
mailing list