View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010296CMakeCPackpublic2010-02-16 09:202010-09-09 23:58
ReporterDroscy 
Assigned ToEric NOULARD 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionCMake 2.8.3Fixed in VersionCMake 2.8.3 
Summary0010296: Wrong "Installed-Size" field in generated Debian packages
DescriptionI noticed that the field "Installed-Size" in the control file of the generated Debian packages reports the size in bytes, while Debian considers that size in kilobytes, so a program of 200KiB appears to be 200MiB.

Attached here the patch for the file Source/CPack/cmCPackDebGenerator.cxx
TagsNo tags attached.
Attached Filespatch file icon installed-size.patch [^] (497 bytes) 2010-02-16 09:20 [Show Content]

 Relationships
related to 0010292closedEric NOULARD Patch for CPack Debian generator (auto-dependecy support via dpkg-shlibdeps) 
has duplicate 0008862closedEric NOULARD Wrong Installed-Size field in Debian-Package 

  Notes
(0020768)
Modestas Vainius (reporter)
2010-05-17 17:35

I have included a bit better version of the patch in the cmake debian package. Debian Policy requires the value to be "rounded up", e.g. 1000 bytes should result in 1, not in 0 as in the original patch. See

http://git.debian.org/?p=collab-maint/cmake.git;a=blob;f=debian/patches/cpack_installed_size.diff [^]
(0020778)
Droscy (reporter)
2010-05-18 04:54

I was not aware of that policy. Thanks for you improvments :-)
(0021513)
Eric NOULARD (developer)
2010-07-28 11:06

Thank you for your contribution.
Patch tested and merged to next:
commit c1cf11275df47a8eff96e13322b5df065c027b39
Merge: 5514d80 5495a6d
Author: Eric NOULARD <eric.noulard@gmail.com>
Date: Wed Jul 28 17:04:45 2010 +0200

    Merge branch 'CPackDEB-wrong-install-size' into next

commit 5495a6d9756099d5eddfc99c938ab6ba9bd95113
Author: Eric NOULARD <eric.noulard@gmail.com>
Date: Wed Jul 28 17:03:14 2010 +0200

    CPackDEB: merge wrong installed size patch. see bugs 10296 (and 10292)
(0021514)
Eric NOULARD (developer)
2010-07-28 11:06

Just merged to next.

 Issue History
Date Modified Username Field Change
2010-02-16 09:20 Droscy New Issue
2010-02-16 09:20 Droscy File Added: installed-size.patch
2010-05-17 17:35 Modestas Vainius Note Added: 0020768
2010-05-18 04:54 Droscy Note Added: 0020778
2010-05-18 06:38 Eric NOULARD Relationship added related to 0010292
2010-07-28 11:05 Eric NOULARD Status new => assigned
2010-07-28 11:05 Eric NOULARD Assigned To => Eric NOULARD
2010-07-28 11:06 Eric NOULARD Note Added: 0021513
2010-07-28 11:06 Eric NOULARD Note Added: 0021514
2010-07-28 11:06 Eric NOULARD Status assigned => closed
2010-07-28 11:06 Eric NOULARD Resolution open => fixed
2010-07-28 11:06 Eric NOULARD Fixed in Version => CMake-2-8
2010-07-29 11:53 Eric NOULARD Relationship added has duplicate 0008862
2010-09-09 23:58 David Cole Fixed in Version CMake-2-8 => CMake 2.8.3
2010-09-09 23:58 David Cole Target Version => CMake 2.8.3


Copyright © 2000 - 2018 MantisBT Team