MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015209 | CMake | CPack | public | 2014-10-16 09:10 | 2016-01-04 11:51 |
| Reporter | Luc J. Bourhis | ||||
| Assigned To | Domen Vrankar | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | CMake 2.8.12.2 | ||||
| Target Version | CMake 3.3 | Fixed in Version | CMake 3.3 | ||
| Summary | 0015209: RPM generation chokes on directory symlinks with latest rpmbuild | ||||
| Description | As stated here (https://bugzilla.redhat.com/show_bug.cgi?id=1005529 [^]), the following specs file is no more legal as of rpmbuild 4.11 %files %dir xxx yyy/ when xxx or yyy are directory symlinks instead of proper directories. Unfortunately CPack has not been taught that and it generates %dir xxx for a directory symlink xxx. | ||||
| Steps To Reproduce | Using the CMakeLists.txt attached to this bug report, issue "make package", on a Linux machine with rpmbuild 4.11 (I tested with Fedora 20). You should get the following error message: error: Not a directory: /home/luc/Developer/sandbox/build/_CPack_Packages/Linux/RPM/it-will-fail-0.1.1-Linux/usr/usr/share/test/project/subdir Not a directory: /home/luc/Developer/sandbox/build/_CPack_Packages/Linux/RPM/it-will-fail-0.1.1-Linux/usr/usr/share/test/project/subdir | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/5277/CMakeLists.txt https://public.kitware.com/Bug/file/5278/CPackRPM.cmake.patch https://public.kitware.com/Bug/file/5290/0001-CPackRPM-handling-of-symbolic-links.patch | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2014-10-16 09:10 | Luc J. Bourhis | New Issue | |||
| 2014-10-16 09:10 | Luc J. Bourhis | File Added: CMakeLists.txt | |||
| 2014-10-17 08:22 | Alex Rettig | File Added: CPackRPM.cmake.patch | |||
| 2014-10-17 08:23 | Alex Rettig | Note Added: 0037040 | |||
| 2014-10-17 08:29 | Brad King | Assigned To | => Domen Vrankar | ||
| 2014-10-17 08:29 | Brad King | Status | new => assigned | ||
| 2014-10-17 08:42 | Brad King | Target Version | => CMake 3.2 | ||
| 2014-11-08 16:03 | Domen Vrankar | File Added: 0001-CPackRPM-handling-of-symbolic-links.patch | |||
| 2014-11-08 16:07 | Domen Vrankar | Note Added: 0037165 | |||
| 2015-01-19 10:56 | Brad King | Note Added: 0037742 | |||
| 2015-02-04 15:37 | Brad King | Target Version | CMake 3.2 => CMake 3.3 | ||
| 2015-03-31 14:11 | Brad King | Note Added: 0038374 | |||
| 2015-03-31 14:11 | Brad King | Status | assigned => resolved | ||
| 2015-03-31 14:11 | Brad King | Resolution | open => fixed | ||
| 2015-03-31 14:11 | Brad King | Fixed in Version | => CMake 3.3 | ||
| 2016-01-04 11:51 | Robert Maynard | Note Added: 0040083 | |||
| 2016-01-04 11:51 | Robert Maynard | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||