Bug#963704: libmount-dev: missing libcryptsetup-dev dependency breaks mount.pc

2020-06-25 Thread Simon McVittie
On Thu, 25 Jun 2020 at 19:00:25 +0200, Chris Hofstaedtler wrote:
> * Pino Toscano  [200625 17:45]:
> > Easily fixed by adding libcryptsetup-dev dependency to libmount-dev;
> > patch attached for this.
> 
> Thanks for pushing (to a branch)!

To avoid confusion, actually that was me: I turned Pino's patch into a
git commit/merge request, attributing it accordingly.

A superficial compile/link/run autopkgtest is a great way to detect
bugs like this before upload. I'm test-building that now and will send
another merge request soon.

smcv



Bug#963704: libmount-dev: missing libcryptsetup-dev dependency breaks mount.pc

2020-06-25 Thread Chris Hofstaedtler
Hi,

* Pino Toscano  [200625 17:45]:
> util-linux 2.35.2-5 added support for dm-verify (#951048); apparently
> this results in libmount requiring it as private dependency:
> 
..
> 
> Easily fixed by adding libcryptsetup-dev dependency to libmount-dev;
> patch attached for this.

Thanks for pushing (to a branch)!

On its way to unstable.

Cheers,
Chris



Bug#963704: libmount-dev: missing libcryptsetup-dev dependency breaks mount.pc

2020-06-25 Thread Pino Toscano
Package: libmount-dev
Version: 2.35.2-5
Severity: serious
Tags: patch
Justification: Policy 7.2

Hi,

util-linux 2.35.2-5 added support for dm-verify (#951048); apparently
this results in libmount requiring it as private dependency:

  $ pkg-config --libs mount
  -lmount
  $ pkg-config --cflags mount
  Package libcryptsetup was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libcryptsetup.pc'
  to the PKG_CONFIG_PATH environment variable
  Package 'libcryptsetup', required by 'mount', not found

Easily fixed by adding libcryptsetup-dev dependency to libmount-dev;
patch attached for this.

Thanks,
-- 
Pino
--- a/debian/control
+++ b/debian/control
@@ -280,6 +280,7 @@ Section: libdevel
 Priority: optional
 Depends: libblkid-dev,
  libc6-dev | libc-dev,
+ libcryptsetup-dev,
  libmount1 (= ${binary:Version}),
  libselinux1-dev,
  ${misc:Depends}