[cmake-developers] [CMake 0012006]: CPackDeb: packages for different components have the same package name
Mantis Bug Tracker
mantis at public.kitware.com
Wed Mar 23 17:56:12 EDT 2011
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=12006
======================================================================
Reported By: Martin Konrad
Assigned To:
======================================================================
Project: CMake
Issue ID: 12006
Category: CPack
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-03-23 17:56 EDT
Last Modified: 2011-03-23 17:56 EDT
======================================================================
Summary: CPackDeb: packages for different components have the
same package name
Description:
The current development version of CPackDeb seems to handle Debian package names
wrong: If we package more than one components (each into an own package) they
all have the same name. This leads to a warning by dpkg when installing the
packages. This probably breaks package installation.
Solution: Each deb file should get it's own package name e.g. foobar-lib and
foobar-headers.
Steps to Reproduce:
$ make test
$ cd Tests/CPackComponentsForAll/buildDEB-OnePackPerGroup/
$ sudo dpkg -i MyLib-1.0.2-Linux-*.deb
Selecting previously deselected package mylib.
(Reading database ... 301254 files and directories currently installed.)
Unpacking mylib (from MyLib-1.0.2-Linux-Development.deb) ...
Preparing to replace mylib 1.0.2 (using MyLib-1.0.2-Linux-Runtime.deb) ...
Unpacking replacement mylib ...
More than one copy of package mylib has been unpacked
in this run ! Only configuring it once.
Setting up mylib (1.0.2) ...
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-03-23 17:56 Martin Konrad New Issue
======================================================================
More information about the cmake-developers
mailing list