[cmake-developers] Fix for #0012431: CPackDeb.cmake creates debian directory only, DEBIAN sometimes needed - dpkg-shlibdeps bails out upon a $ORIGIN RPATH
John Knottenbelt
john at introversion.co.uk
Tue May 7 10:04:23 EDT 2013
I have the same issue as http://public.kitware.com/Bug/view.php?id=12431
The problem is that when making a .deb using cpack, and dpkg-shlibdeps has
been enabled, and the executable is using rpath with $ORIGIN,
dpkg-shlibdeps requires DEBIAN directory in order to relativize $ORIGIN.
The solution is to create a DEBIAN directory side-by-side with the debian
directory, as
mentioned in the bug.
I attach a patch, it would be great if this could be included in CMake.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20130507/b63edf45/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Create-DEBIAN-directory-for-dpkg-shlibdeps.patch
Type: application/octet-stream
Size: 1142 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20130507/b63edf45/attachment-0002.obj>
More information about the cmake-developers
mailing list