Package: rust-palette
Version: 0.7.2+dfsg-2
Importance: normal

Dear Maintainer,

since rust-phf 0.11.2-1, librust-palette-dev is currently uninstallable in sid:

$ sudo apt install librust-palette-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 librust-palette-dev : Depends: librust-phf-0.10+macros-dev but it is
not installable
E: Unable to correct problems, you have held broken packages.

It's also an FTBFS because dependencies cannot be installed:
~/deb/rust-palette/rust-palette-0.7.2+dfsg$ sudo apt-get build-dep ./
Note, using directory './' to get the build dependencies
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 builddeps:./ : Depends: librust-phf-0.10+macros-dev but it is not installable
E: Unable to correct problems, you have held broken packages.


The fix seems simple, just adjust the b-d:
--- debian/control.orig 2023-08-07 14:52:07.510428573 +0000
+++ debian/control      2023-08-07 14:52:14.966912620 +0000
@@ -12,7 +12,7 @@
  librust-image-0.24+png-dev <!nocheck>,
  librust-lazy-static-1+default-dev <!nocheck>,
  librust-libm-0.2-dev <!nocheck>,
- librust-phf-0.10+macros-dev <!nocheck>,
+ librust-phf-0.11+macros-dev <!nocheck>,
  librust-proc-macro2-1+default-dev <!nocheck>,
  librust-quote-1+default-dev <!nocheck>,
  librust-rand-0.8-dev <!nocheck>,
@@ -45,7 +45,7 @@
  librust-bytemuck-1+default-dev,
  librust-fast-srgb8-1+default-dev,
  librust-libm-0.2-dev,
- librust-phf-0.10+macros-dev,
+ librust-phf-0.11+macros-dev,
  librust-proc-macro2-1+default-dev,
  librust-quote-1+default-dev,
  librust-rand-0.8-dev,

Or make it take the default librust-phf+phf-macros-dev perhaps, unversioned?

Reply via email to