The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15700 
====================================================================== 
Reported By:                Andrew Wagner
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15700
Category:                   CPack
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-08-17 04:55 EDT
Last Modified:              2015-08-17 04:55 EDT
====================================================================== 
Summary:                    Debian package trying to overwrite
/usr/share/aclocal/cmake.m4
Description: 
I am unable to generate a .deb file that will install on Ubuntu 14.04.2 LTS.

Both "cpack -G deb" and setting "CPACK_BINARY_DEB" to "ON" result in a .deb file
with the following error from apt:

$ sudo dpkg -i cmake-3.3.20150814-g17ecf-Linux-armv7l.deb 
(Reading database ... 220164 files and directories currently installed.)
Preparing to unpack cmake-3.3.20150814-g17ecf-Linux-armv7l.deb ...
Unpacking cmake (3.3.20150814-g17ecf) over (2.8.12.2-0ubuntu3) ...
dpkg: error processing archive cmake-3.3.20150814-g17ecf-Linux-armv7l.deb
(--install):
 trying to overwrite '/usr/share/aclocal/cmake.m4', which is also in package
cmake-data 2.8.12.2-0ubuntu3

I am building from nightly commit from Friday:
17ecfd8210b4db74753c4565b10a2b75dfa4c480


Steps to Reproduce: 
Check out source, configure, build, run "cpack -G deb" in the build tree, try to
install resulting .deb with "dpkg -i"
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-08-17 04:55 Andrew Wagner  New Issue                                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to