[cmake-developers] [CMake 0012531]: Lintain failures due to permission issues with pre/post install/remove scripts.

Mantis Bug Tracker mantis at public.kitware.com
Fri Oct 21 10:22:12 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12531 
====================================================================== 
Reported By:                Philip Schwartz
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12531
Category:                   CPack
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-10-21 10:22 EDT
Last Modified:              2011-10-21 10:22 EDT
====================================================================== 
Summary:                    Lintain failures due to permission issues with
pre/post install/remove scripts.
Description: 
When a Deb created with CPack and CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA is set to
point to a preinst, postinst, prerm, postrm, Lintain reports package errors when
installed from the Ubuntu Software Center.

E: hpccsystems-platform: control-file-has-bad-owner md5sums
phschwartz/phschwartz != root/root
E: hpccsystems-platform: control-file-has-bad-owner postinst
phschwartz/phschwartz != root/root
E: hpccsystems-platform: control-file-has-bad-owner postrm phschwartz/phschwartz
!= root/root
E: hpccsystems-platform: control-file-has-bad-owner prerm phschwartz/phschwartz
!= root/root

When building in the fakeroot in 2.8.5 and 2.8.6, these files should be set when
copied by CPack to root/root in order to not violate the Debian Policy settings
as defined in Lintain.

This can be seen in the building of the HPCC platform from HPCCSystems.

Source http://github.com/hpcc-systems/HPCC-Platform
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-10-21 10:22 Philip SchwartzNew Issue                                    
======================================================================




More information about the cmake-developers mailing list