MantisBT - CMake
View Issue Details
0014137CMakeCPackpublic2013-05-10 04:562013-10-07 10:09
Hong Xu 
Eric NOULARD 
normalminoralways
closedfixed 
UbuntuLinux12.4
CMake 2.8.7 
CMake 2.8.9 
0014137: Incorrect ownership of debian control files made from cpack
The ownership of debian control files is incorrect. It should be root, but instead it is the name of the current login. You may get a warning when installing some deb files which has a different ownership of control files other than root.
1. Grab any source tree using cpack features (such as this one which I used to reproduce: https://github.com/editorconfig/editorconfig-core/archive/master.zip [^])

2.

mkdir build
cd build
cmake ..
make package

3.

mkdir tmp && cd tmp
mv ../*.deb .
ar x *.deb
tar ztvf control.tar.gz

Then you will find the ownership of the files is incorrect.
linux
Issue History
2013-05-10 04:56Hong XuNew Issue
2013-05-10 05:01Hong XuTag Attached: linux
2013-05-10 05:11Nils GladitzNote Added: 0033019
2013-05-10 08:23Brad KingNote Added: 0033020
2013-05-10 08:23Brad KingAssigned To => Eric NOULARD
2013-05-10 08:23Brad KingStatusnew => resolved
2013-05-10 08:23Brad KingResolutionopen => fixed
2013-05-10 08:23Brad KingFixed in Version => CMake 2.8.9
2013-10-07 10:09Robert MaynardNote Added: 0034044
2013-10-07 10:09Robert MaynardStatusresolved => closed

Notes
(0033019)
Nils Gladitz   
2013-05-10 05:11   
I think this got fixed in 2.8.9.
If you have fakeroot installed it will be used to build control.tar.gz.
(0033020)
Brad King   
2013-05-10 08:23   
Re 0014137:0033019: Yes, I think this was fixed here:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=abc9b323 [^]
(0034044)
Robert Maynard   
2013-10-07 10:09   
Closing resolved issues that have not been updated in more than 4 months.