[cmake-developers] Fix for #0012431: CPackDeb.cmake creates debian directory only, DEBIAN sometimes needed - dpkg-shlibdeps bails out upon a $ORIGIN RPATH

Brad King brad.king at kitware.com
Tue May 7 10:12:45 EDT 2013


On 05/07/2013 10:04 AM, John Knottenbelt wrote:
> 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.

Thanks.  I've cross-linked this thread in the issue:

 http://www.cmake.org/Bug/view.php?id=12431#c33004

Eric, can you review this please?

Thanks,
-Brad



More information about the cmake-developers mailing list