[cmake-developers] Fix for #0012431: CPackDeb.cmake creates debian directory only, DEBIAN sometimes needed - dpkg-shlibdeps bails out upon a $ORIGIN RPATH
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. 0001-Create-DEBIAN-directory-for-dpkg-shlibdeps.patch Description: Binary data -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
Re: [cmake-developers] Fix for #0012431: CPackDeb.cmake creates debian directory only, DEBIAN sometimes needed - dpkg-shlibdeps bails out upon a $ORIGIN RPATH
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 -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers