[cmake-developers] [CMake 0015700]: Debian package trying to overwrite /usr/share/aclocal/cmake.m4
Mantis Bug Tracker
mantis at public.kitware.com
Mon Aug 17 04:55:30 EDT 2015
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
======================================================================
More information about the cmake-developers
mailing list