[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/mtab and /lib/init/rw migration; libpam-mount breakage

> There's some obscure bug in the upstream src/Makefile.am though--it's
> missing libcryptsetup and OpenSSL libs when linking, which causes
> link failures.  The actual Makefile looks like it's correct though,
> so not sure what's wrong.  If anyone who uses is wants to fix that,
> that's all (I think) that's blocking their upload.

It was forgotten to link pmt-ehd against libcryptsetup if this was
available (I believe this has been triggered by the "new" linker
behaviour to imply --no-add-needed, so the dependency on libcryptsetup
has not been silently resolved by linking against libcryptmount anymore,
which itself is linked against libcryptsetup). Please find this issue
fixed in the attached patch.

However, libpam-mount is still missing Build-Depends on libmount-dev and


Author: Fabian Greffrath <fabian+debian@greffrath.com>
Description: Link pmt-ehd against libcryptsetup if this is available

--- libpam-mount-2.13.orig/src/Makefile.am
+++ libpam-mount-2.13/src/Makefile.am
@@ -77,6 +77,9 @@ mount_crypt_LDADD	= libcryptmount.la lib
 pmt_ehd_SOURCES		= ehd.c bdev.c misc.c spawn.c
 pmt_ehd_LDADD		= libcryptmount.la ${libHX_LIBS}
+pmt_ehd_LDADD		+= ${libcryptsetup_LIBS}
 pmt_fd0ssh_SOURCES	= fd0ssh.c

Reply to: