View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014677 | CMake | CPack | public | 2014-01-01 14:19 | 2015-11-02 09:13 | ||||
Reporter | Clinton Stimpson | ||||||||
Assigned To | Clinton Stimpson | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | Linux | OS | OS Version | ||||||
Product Version | CMake 3.0 | ||||||||
Target Version | CMake 3.3 | Fixed in Version | CMake 3.3 | ||||||
Summary | 0014677: cpack gives archive_read_disk_entry_from_file: Can't lstat <file> | ||||||||
Description | CPack archive generator gives an error when using these two settings together. set(CPACK_ARCHIVE_COMPONENT_INSTALL 1) set(CPACK_PACKAGING_INSTALL_PREFIX "/opt/My-1.0") The result is that I cannot create a .tar.gz package. | ||||||||
Steps To Reproduce | Use this CMakeLists.txt file: file(WRITE file.txt.in "hi") configure_file(file.txt.in ${CMAKE_CURRENT_BINARY_DIR}/file-runtime.txt) configure_file(file.txt.in ${CMAKE_CURRENT_BINARY_DIR}/file-devel.txt) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/file-runtime.txt DESTINATION bin COMPONENT Runtime) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/file-devel.txt DESTINATION lib COMPONENT Development) set(CPACK_COMPONENTS_ALL Development) set(CPACK_ARCHIVE_COMPONENT_INSTALL 1) set(CPACK_PACKAGING_INSTALL_PREFIX "/opt/My-1.0") include(CPack) | ||||||||
Additional Information | With -V, cpack gives: CPack: Create package CPack Verbose: Package files to: _CPack_Packages/Linux/TGZ/Project-0.1.1-Linux.tar.gz CPack Verbose: Component <Development> does not belong to any group, package it separately. CPack Verbose: - packaging component: Development CPack Error: ERROR while packaging files: archive_read_disk_entry_from_file: Can't lstat lib/file-devel.txt It also doesn't make sense that I get the message "Component <Development> does not belong to any group, package it separately", when I'm already packaging it separatly by setting CPACK_COMPONENTS_ALL. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0038360) Brad King (manager) 2015-03-30 09:27 |
cpack: Fix CPACK_PACKAGING_INSTALL_PREFIX handling for archives http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e3f84fc5 [^] |
(0039753) Robert Maynard (manager) 2015-11-02 09:13 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-01-01 14:19 | Clinton Stimpson | New Issue | |
2015-03-30 09:27 | Brad King | Note Added: 0038360 | |
2015-03-30 09:27 | Brad King | Assigned To | => Clinton Stimpson |
2015-03-30 09:27 | Brad King | Status | new => resolved |
2015-03-30 09:27 | Brad King | Resolution | open => fixed |
2015-03-30 09:27 | Brad King | Fixed in Version | => CMake 3.3 |
2015-03-30 09:27 | Brad King | Target Version | => CMake 3.3 |
2015-11-02 09:13 | Robert Maynard | Note Added: 0039753 | |
2015-11-02 09:13 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |