[cmake-developers] [CMake 0013488]: Patch for CPack Debian generator (fix to the auto-dependecy support via dpkg-shlibdeps)

Mantis Bug Tracker mantis at public.kitware.com
Fri Aug 24 04:57:11 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13488 
====================================================================== 
Reported By:                Stanislav Ravas
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13488
Category:                   CPack
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-08-24 04:57 EDT
Last Modified:              2012-08-24 04:57 EDT
====================================================================== 
Summary:                    Patch for CPack Debian generator (fix to the
auto-dependecy support via dpkg-shlibdeps)
Description: 
When the package contains no binary files, dpkg-shlibdeps is run without
executable path(mandatory argument) and fails, package build is aborted.

This is especially a problem when building multiple packages per project
(component install).

I attach the patch: When there are no binary files, dpkg-shlibdeps is not run at
all.

Steps to Reproduce: 
Create cmake project with multiple components. Ensure that at least one
component contains no binary files (contains doc, sources, ...).

When you run cpack -G DEB(or make package), build fails.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-08-24 04:57 Stanislav RavasNew Issue                                    
2012-08-24 04:57 Stanislav RavasFile Added: cpackdeb.patch                    
======================================================================




More information about the cmake-developers mailing list