MantisBT - CMake | |||||||||||||||
| View Issue Details | |||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||
| 0013009 | CMake | CTest | public | 2012-03-02 07:06 | 2016-05-02 08:30 | ||||||||||
| Reporter | George Noseevich | ||||||||||||||
| Assigned To | Raffi Enficiaud | ||||||||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||||||||
| Status | closed | Resolution | fixed | ||||||||||||
| Platform | x86-64 | OS | Linux | OS Version | Debian 6 Squeeze | ||||||||||
| Product Version | CMake 2.8.7 | ||||||||||||||
| Target Version | Fixed in Version | CMake 3.4 | |||||||||||||
| Summary | 0013009: CPack DEB generator ignores top-level directories which do not contain a file | ||||||||||||||
| Description | When generating a list of top-level dirs to pass arguments to tar, CPack gets the list of top-level dirs to install from the list of files to install. This process overlooks empty top-level dirs and, generally, top-level dirs which do not contain files (though may contain empty subdirs). See http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/CPack/cmCPackDebGenerator.cxx;h=b707e96aa46779ca1e8ede78e02c1e2d47f94087;hb=HEAD#l405 [^] lines 405 to 427. | ||||||||||||||
| Steps To Reproduce | Use the sample CMakeLists.txt: PROJECT(WTF) INCLUDE(CPack) install(DIRECTORY DESTINATION /wtf) install(DIRECTORY DESTINATION /foo) install(DIRECTORY DESTINATION /bar) Issue the following command: mkdir build ; cd build ; cmake .. -DCPACK_GENERATOR="DEB" -DCPACK_DEBIAN_PACKAGE_MAINTAINER=" " ; make ; cpack --verbose --debug This will generate a package file WTF-0.1.1-Linux.deb. Let's see what's in there: dpkg -c WTF-0.1.1-Linux.deb Oooops: Nothing's in it (should be 3 empty dirs). The debug output from cpack is attached. | ||||||||||||||
| Additional Information | I'm not sure if this bug is related to http://public.kitware.com/Bug/view.php?id=8767 [^] , but they are definitely not the same. | ||||||||||||||
| Tags | No tags attached. | ||||||||||||||
| Relationships |
| ||||||||||||||
| Attached Files | https://public.kitware.com/Bug/file/4244/cpack-debug-log.txt | ||||||||||||||
| Issue History | |||||||||||||||
| Date Modified | Username | Field | Change | ||||||||||||
| 2012-03-02 07:06 | George Noseevich | New Issue | |||||||||||||
| 2012-03-02 07:06 | George Noseevich | File Added: cpack-debug-log.txt | |||||||||||||
| 2012-03-02 07:13 | Eric NOULARD | Relationship added | related to 0008767 | ||||||||||||
| 2012-08-11 21:09 | David Cole | Status | new => backlog | ||||||||||||
| 2012-08-11 21:09 | David Cole | Note Added: 0030372 | |||||||||||||
| 2015-09-14 10:27 | Clinton Stimpson | Relationship added | related to 0014978 | ||||||||||||
| 2015-09-20 10:18 | Raffi Enficiaud | Assigned To | => Raffi Enficiaud | ||||||||||||
| 2015-09-20 10:18 | Raffi Enficiaud | Status | backlog => assigned | ||||||||||||
| 2015-10-10 03:57 | Domen Vrankar | Note Added: 0039560 | |||||||||||||
| 2015-10-10 03:57 | Domen Vrankar | Status | assigned => resolved | ||||||||||||
| 2015-10-10 03:57 | Domen Vrankar | Fixed in Version | => CMake 3.4 | ||||||||||||
| 2015-10-10 03:57 | Domen Vrankar | Resolution | open => fixed | ||||||||||||
| 2016-05-02 08:30 | Robert Maynard | Note Added: 0040968 | |||||||||||||
| 2016-05-02 08:30 | Robert Maynard | Status | resolved => closed | ||||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||