View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0008862 | CMake | CPack | public | 2009-04-08 05:19 | 2010-07-29 11:54 | ||||
Reporter | beiri22 | ||||||||
Assigned To | Eric NOULARD | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-6 | ||||||||
Target Version | Fixed in Version | CMake-2-8 | |||||||
Summary | 0008862: Wrong Installed-Size field in Debian-Package | ||||||||
Description | Is sets the Installed-Size-Field to the Project Size in Bytes. Should be kB. | ||||||||
Additional Information | Opening the deb-Package of a 149k project in GDebi (Ubuntu Jaunty) shows size of 149M. I think the field shoud contain the installed-size in kB. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | installed-size.patch [^] (541 bytes) 2009-11-03 06:44 [Show Content] | ||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0018327) Laszlo Kiss-Kollar (reporter) 2009-11-03 06:44 |
I can confirm this problem with both the 2.6.2 release and the CVS version. CMake uses the st_size member of the stat structure returned by cmSystemTools::FileLength() to fill the Installed-Size field. The st_size field is given in bytes but Installed-Size should be defined in Kbytes. Quote from the Debian policy document: "The disk space is given as the integer value of the estimated installed size in bytes, divided by 1024 and rounded up." http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Installed-Size [^] Patch attached. |
(0021553) Eric NOULARD (developer) 2010-07-29 11:54 |
The sibling bug 10296 has been fixed and commited to next |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2009-04-08 05:19 | beiri22 | New Issue | |
2009-04-08 09:13 | Bill Hoffman | Status | new => assigned |
2009-04-08 09:13 | Bill Hoffman | Assigned To | => Mathieu Malaterre |
2009-11-03 06:44 | Laszlo Kiss-Kollar | Note Added: 0018327 | |
2009-11-03 06:44 | Laszlo Kiss-Kollar | File Added: installed-size.patch | |
2010-07-29 11:27 | Brad King | Assigned To | Mathieu Malaterre => Eric NOULARD |
2010-07-29 11:53 | Eric NOULARD | Relationship added | duplicate of 0010296 |
2010-07-29 11:54 | Eric NOULARD | Note Added: 0021553 | |
2010-07-29 11:54 | Eric NOULARD | Status | assigned => closed |
2010-07-29 11:54 | Eric NOULARD | Resolution | open => fixed |
2010-07-29 11:54 | Eric NOULARD | Fixed in Version | => CMake-2-8 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |