tag 634755 +patch thank you After nothing has happened to this bug report for the past few weeks, I tried building the package and found the reason for the symlink:
,---- | make[1]: Entering directory `/home/bengen/tmp/ntfs-3g-git' | rm -rf debian/ntfs-3g-dev/usr/share/doc | # correcting symlink target | dh_link -pntfs-3g-dev lib/$(basename $(readlink debian/tmp/usr/lib/libntfs-3g.so)) usr/lib/libntfs-3g.so | basename: missing operand | Try `basename --help' for more information. | dh_link --remaining-packages | make[1]: Leaving directory `/home/bengen/tmp/ntfs-3g-git' | dh_compress | dh_fixperms `---- I suggest just moving everything to /lib, The policy doesn't forbid this and a few other -dev packages also place their .a file and the .so symlink in /lib. Here's a patch that implements the suggested change. Cheers, -Hilko
diff --git a/debian/ntfs-3g-dev.install b/debian/ntfs-3g-dev.install index e65ceda..7f8555e 100644 --- a/debian/ntfs-3g-dev.install +++ b/debian/ntfs-3g-dev.install @@ -3,2 +3,2 @@ lib/pkgconfig usr/lib -lib/*.a usr/lib -lib/*.so usr/lib +lib/*.a lib +lib/*.so lib diff --git a/debian/rules b/debian/rules index 0e0a4be..274d61c 100755 --- a/debian/rules +++ b/debian/rules @@ -91,3 +90,0 @@ override_dh_link: - # correcting symlink target - dh_link -pntfs-3g-dev lib/$$(basename $$(readlink debian/tmp/usr/lib/libntfs-3g.so)) usr/lib/libntfs-3g.so -