MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014660 | CMake | CPack | public | 2013-12-19 12:44 | 2015-11-02 09:13 |
Reporter | Joe Nardone | ||||
Assigned To | Domen Vrankar | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | CentOS | OS Version | 6.4 |
Product Version | CMake 2.8.10 | ||||
Target Version | Fixed in Version | CMake 3.3 | |||
Summary | 0014660: File tree builder is too greedy with 'sed' | ||||
Description | CPackRPM uses the following crazy `find` command to build its file list: execute_process(COMMAND find . -type f -o -type l -o (-type d -a -not ( -name "." ${_RPM_DIRS_TO_OMIT} ) ) COMMAND sed s:.*/man.*/.*:&*: COMMAND sed s/\\.\\\(.*\\\)/\"\\1\"/ WORKING_DIRECTORY "${WDIR}" OUTPUT_VARIABLE CPACK_RPM_INSTALL_FILES) However, the first `sed` is too greedy. It will match any path with the text 'man' in it. Which is fine for man pages, but for, say, a company name with those letters in it (even if it's in the install prefix) it will match every single item, and wildcard them. This leads to lots of files getting included multiple times. | ||||
Steps To Reproduce | Any package that has something like: set(CPACK_PACKAGING_INSTALL_PREFIX "/opt/manna") should trigger it. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-12-19 12:44 | Joe Nardone | New Issue | |||
2015-01-14 17:35 | Domen Vrankar | Assigned To | => Domen Vrankar | ||
2015-01-14 17:35 | Domen Vrankar | Status | new => assigned | ||
2015-04-21 09:33 | Domen Vrankar | Note Added: 0038571 | |||
2015-04-21 09:33 | Domen Vrankar | Status | assigned => resolved | ||
2015-04-21 09:33 | Domen Vrankar | Fixed in Version | => CMake 3.3 | ||
2015-04-21 09:33 | Domen Vrankar | Resolution | open => fixed | ||
2015-11-02 09:13 | Robert Maynard | Note Added: 0039784 | |||
2015-11-02 09:13 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|