[pkg-cryptsetup-devel] Bug#885435: cryptsetup: The file named debian/rules may be incorrect for 2:2.0.0~rc1-1
Alan Fung
fccaa33 at gmail.com
Wed Dec 27 03:34:04 UTC 2017
Package: cryptsetup
Version: 2:2.0.0-1
Severity: normal
Dear Maintainer,
I used the debian/rules file to build deb files for installation.
I found that the link "/usr/lib/x86_64-linux-gnu/libcryptsetup.so" was pointed to a wrong location (/lib/x86_64-linux-gnu/), whlie it should point to /usr/lib/x86_64-linux-gnu/libcryptsetup.so.
The problem comes form the line in debian/rules:
dh_link -plibcryptsetup-dev lib/$(DEB_HOST_MULTIARCH)/$$(basename $$(readlink debian/libcryptsetup12/lib/$(DEB_HOST_MULTIARCH)/libcryptsetup.so.4)) usr/lib/$(DEB_HOST_MULTIARCH)/libcryptsetup.so
In which, "libcryptsetup.so.4" should be changed to "libcryptsetup.so.12", because after cryptsetup 2.0, the library changed from libcryptsetup.so.4 to libcryptsetup.so.12.
After updating the debian/rules script by myself, the installation worked without any error.
-- Package-specific info:
-- System Information:
Debian Release: 8.10
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.72-intel (SMP w/40 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages cryptsetup depends on:
ii cryptsetup-bin 2:2.0.0-1
ii debconf [debconf-2.0] 1.5.56+deb8u1
ii dmsetup 2:1.02.90-2.2+deb8u1
ii libc6 2.19-18+deb8u10
Versions of packages cryptsetup recommends:
ii busybox 1:1.22.0-9+deb8u1
ii console-setup 1.123
ii initramfs-tools [linux-initramfs-tool] 0.120+deb8u3
ii kbd 1.15.5-2
Versions of packages cryptsetup suggests:
ii dosfstools 3.0.27-1
pn keyutils <none>
ii liblocale-gettext-perl 1.05-8+b1
-- Configuration Files:
/etc/bash_completion.d/cryptdisks 758d5cfcd9df55c82a7bb094728114b5 [Errno 2] No such file or directory: u'/etc/bash_completion.d/cryptdisks 758d5cfcd9df55c82a7bb094728114b5'
/etc/init/cryptdisks-udev.conf ed789690d1770e3f3a2682c11e359bb6 [Errno 2] No such file or directory: u'/etc/init/cryptdisks-udev.conf ed789690d1770e3f3a2682c11e359bb6'
/etc/init/cryptdisks.conf e5527ceb5c020174a6464b81126bb5f7 [Errno 2] No such file or directory: u'/etc/init/cryptdisks.conf e5527ceb5c020174a6464b81126bb5f7'
-- debconf information excluded
More information about the pkg-cryptsetup-devel
mailing list