View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013232 | CMake | CPack | public | 2012-05-17 02:00 | 2015-05-18 11:29 | ||||
Reporter | Jess | ||||||||
Assigned To | Raffi Enficiaud | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | duplicate | ||||||
Platform | Linux | OS | Ubuntu 64-bit | OS Version | 12.04 | ||||
Product Version | CMake 2.8.7 | ||||||||
Target Version | Fixed in Version | CMake 3.3 | |||||||
Summary | 0013232: CPackDeb fails on dependency auto-gen if any component does not contain any ELF binaries | ||||||||
Description | When using components, CPackDeb module will fail if CPACK_DEBIAN_PACKAGE_SHLIBDEPS is on but any one of the components do not contain ELF binaries (for example, a config component consisting entirely of text configuration). I strongly suspect it will fail for non-component builds to (haven't tested), but figure this is an unlikely scenario - ie. it would be extremely unlikely to be using cmake and not produce any binary output for installation! | ||||||||
Steps To Reproduce | Make sure set(CPACK_COMPONENTS_IGNORE_GROUPS TRUE) set(CPACK_DEB_COMPONENT_INSTALL TRUE) set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS TRUE) After running "make package" (with project "project" containing three components - "server", "gui" and "runtime" with the latter consisting solely of (common) configuration files ... Run CPack packaging tool... CPack: Create package using DEB CPack: Install projects CPack: - Run preinstall target for: myproject CPack: - Install project: myproject CPack: - Install component: gui CPack: - Install component: runtime CPack: - Install component: server CPack: Create package CPackDeb: - Generating dependency list CPackDeb: - Generating dependency list CMake Error at /usr/share/cmake-2.8/Modules/CPackDeb.cmake:203 (string): string sub-command REGEX, mode REPLACE needs at least 6 arguments total to command. CPack Error: Error while execution CPackDeb.cmake CPackDeb: - Generating dependency list CPack Error: Error while execution CPackDeb.cmake CPack Error: Problem compressing the directory CPack Error: Error when generating package: liger make: *** [package] Error 1 | ||||||||
Additional Information | CPackDeb.cmake expects a project (or component) to always contain ELF binaries for install. This is not always true. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0030419) David Cole (manager) 2012-08-11 21:35 |
Sending old, never assigned issues to the backlog. (The age of the bug, plus the fact that it's never been assigned to anyone means that nobody is actively working on it...) If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it: http://www.cmake.org/mailman/listinfo/cmake [^] It's easy to re-activate a bug here if you can find a CMake developer who has the bandwidth to take it on, and ferry a fix through to our 'next' branch for dashboard testing. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-05-17 02:00 | Jess | New Issue | |
2012-08-11 21:35 | David Cole | Status | new => backlog |
2012-08-11 21:35 | David Cole | Note Added: 0030419 | |
2015-05-18 03:38 | Raffi Enficiaud | Relationship added | duplicate of 0013488 |
2015-05-18 03:40 | Raffi Enficiaud | Assigned To | => Raffi Enficiaud |
2015-05-18 03:40 | Raffi Enficiaud | Status | backlog => assigned |
2015-05-18 11:29 | Domen Vrankar | Status | assigned => closed |
2015-05-18 11:29 | Domen Vrankar | Resolution | open => duplicate |
2015-05-18 11:29 | Domen Vrankar | Fixed in Version | => CMake 3.3 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |