2012-04-03 13:06:35 |
Philip Marc Schwartz |
bug |
|
|
added bug |
2012-05-11 10:38:26 |
Launchpad Janitor |
cmake (Ubuntu): status |
New |
Confirmed |
|
2012-05-14 19:48:43 |
Pavel Kalian |
bug |
|
|
added subscriber Pavel Kalian |
2012-05-17 06:59:03 |
Jess Morecroft |
bug |
|
|
added subscriber Jess Morecroft |
2012-09-12 15:34:33 |
David Dunsmore |
branch linked |
|
lp:~dynamite-a-d/ubuntu/precise/cmake/fix-for-972419 |
|
2012-09-12 20:39:38 |
Brian Murray |
nominated for series |
|
Ubuntu Precise |
|
2012-09-12 20:39:38 |
Brian Murray |
bug task added |
|
cmake (Ubuntu Precise) |
|
2012-09-12 20:40:01 |
Brian Murray |
cmake (Ubuntu Precise): status |
New |
Triaged |
|
2012-09-12 20:40:05 |
Brian Murray |
cmake (Ubuntu Precise): importance |
Undecided |
High |
|
2012-09-12 20:40:09 |
Brian Murray |
cmake (Ubuntu): status |
Confirmed |
Fix Released |
|
2012-09-12 20:40:12 |
Brian Murray |
cmake (Ubuntu): importance |
Undecided |
High |
|
2012-09-12 20:52:18 |
Brian Murray |
bug |
|
|
added subscriber Brian Murray |
2012-09-13 15:56:31 |
David Dunsmore |
bug |
|
|
added subscriber David Dunsmore |
2012-09-13 15:59:22 |
David Dunsmore |
description |
I have tried to build 3 different projects that use cmake + cpack to create deb files. All packages created with the repository version of cmake contain corrupted content tarballs.
Downloading of 2.8.7 source from the cmake.org website and building it for use results in valid working packages being generated.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: cmake 2.8.7-0ubuntu4
ProcVersionSignature: User Name 3.2.0-21.34-virtual 3.2.13
Uname: Linux 3.2.0-21-virtual x86_64
ApportVersion: 2.0-0ubuntu2
Architecture: amd64
Date: Tue Apr 3 13:00:42 2012
Ec2AMI: ami-00000034
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m2.medium
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
ProcEnviron:
TERM=xterm
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cmake
UpgradeStatus: No upgrade log present (probably fresh install) |
I have tried to build 3 different projects that use cmake + cpack to create deb files. All packages created with the repository version of cmake contain corrupted content tarballs.
Downloading of 2.8.7 source from the cmake.org website and building it for use results in valid working packages being generated.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: cmake 2.8.7-0ubuntu4
ProcVersionSignature: User Name 3.2.0-21.34-virtual 3.2.13
Uname: Linux 3.2.0-21-virtual x86_64
ApportVersion: 2.0-0ubuntu2
Architecture: amd64
Date: Tue Apr 3 13:00:42 2012
Ec2AMI: ami-00000034
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m2.medium
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
ProcEnviron:
TERM=xterm
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cmake
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2012-09-13 16:11:24 |
David Dunsmore |
attachment added |
|
Files for CPack packaging testcase https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/972419/+attachment/3312621/+files/cpack_test_case.tar.gz |
|
2012-09-13 16:14:42 |
David Dunsmore |
attachment removed |
Files for CPack packaging testcase https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/972419/+attachment/3312621/+files/cpack_test_case.tar.gz |
|
|
2012-09-13 16:15:18 |
David Dunsmore |
attachment added |
|
Files for CPack packaging testcase https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/972419/+attachment/3312622/+files/cpack_test_case.tar.gz |
|
2012-09-13 16:28:34 |
David Dunsmore |
description |
I have tried to build 3 different projects that use cmake + cpack to create deb files. All packages created with the repository version of cmake contain corrupted content tarballs.
Downloading of 2.8.7 source from the cmake.org website and building it for use results in valid working packages being generated.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: cmake 2.8.7-0ubuntu4
ProcVersionSignature: User Name 3.2.0-21.34-virtual 3.2.13
Uname: Linux 3.2.0-21-virtual x86_64
ApportVersion: 2.0-0ubuntu2
Architecture: amd64
Date: Tue Apr 3 13:00:42 2012
Ec2AMI: ami-00000034
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m2.medium
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
ProcEnviron:
TERM=xterm
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cmake
UpgradeStatus: No upgrade log present (probably fresh install) |
I have tried to build 3 different projects that use cmake + cpack to create deb files. All packages created with the repository version of cmake contain corrupted content tarballs.
Downloading of 2.8.7 source from the cmake.org website and building it for use results in valid working packages being generated.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: cmake 2.8.7-0ubuntu4
ProcVersionSignature: User Name 3.2.0-21.34-virtual 3.2.13
Uname: Linux 3.2.0-21-virtual x86_64
ApportVersion: 2.0-0ubuntu2
Architecture: amd64
Date: Tue Apr 3 13:00:42 2012
Ec2AMI: ami-00000034
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m2.medium
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
ProcEnviron:
TERM=xterm
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cmake
UpgradeStatus: No upgrade log present (probably fresh install)
[IMPACT]
All packages and tar files built with libarchive from files which contain file flags are corrupted by the compression used. This affects all DEB packages, and possibly other package formats too. Bug has been fixed upstream
[TESTCASE]
Download and extract archive cpack_test_case.tar.gz from comment #7
This contains a sample CMakeLists.txt file for the CMake project, a dummy C++ file (DistanceBetweenPoints.cxx) and a dummy file directory with many files (tmp). When extracted, the tmp dir should have the 'I' file flag set when running lsattr:
lsattr cpack_test_case/tmp
If the 'I' flag is not present on this directory, more dummy files should be created in this directory, until the directory
To test the packaging:
# cd build
# cmake ../
# make package
# sudo dpkg -i DistanceBetweenPoints.deb
The package currently does not install, with error message:
___
Selecting previously unselected package distancebetweenpoints.
(Reading database ... 381484 files and directories currently installed.)
Unpacking distancebetweenpoints (from DistanceBetweenPoints-0.1.1-Linux.deb) ...
dpkg: error processing DistanceBetweenPoints-0.1.1-Linux.deb (--install):
corrupted filesystem tarfile - corrupted package archive
Errors were encountered while processing:
DistanceBetweenPoints-0.1.1-Linux.deb
____
With the patch applied, this package should install fine.
[REGRESSION POTENTIAL]
There is little risk of regression, packages/tar files created with CMake could not be unpacked regardless, so this fix will not regress any behaviour with these files.
[OTHER]
Discussion of this bug, and another test case can be found:
http://public.kitware.com/pipermail/cmake-developers/2012-June/004197.html |
|
2012-11-13 23:27:55 |
Brian Murray |
cmake (Ubuntu Precise): status |
Triaged |
In Progress |
|
2012-11-13 23:27:57 |
Brian Murray |
cmake (Ubuntu Precise): assignee |
|
Brian Murray (brian-murray) |
|
2012-11-20 16:20:16 |
Scott Kitterman |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-11-20 16:20:22 |
Scott Kitterman |
bug |
|
|
added subscriber SRU Verification |
2012-11-20 16:20:24 |
Scott Kitterman |
tags |
amd64 apport-bug ec2-images precise |
amd64 apport-bug ec2-images precise verification-needed |
|
2012-11-20 16:48:03 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/precise-proposed/cmake |
|
2012-12-05 16:55:41 |
David Dunsmore |
tags |
amd64 apport-bug ec2-images precise verification-needed |
amd64 apport-bug ec2-images precise verification-done |
|
2012-12-05 17:06:02 |
Brian Murray |
cmake (Ubuntu Precise): status |
In Progress |
Fix Committed |
|
2012-12-05 17:56:33 |
Scott Kitterman |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2012-12-05 17:57:10 |
Launchpad Janitor |
cmake (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|