View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013063 | CMake | CPack | public | 2012-03-24 16:14 | 2012-04-25 18:03 | ||||
Reporter | Tom Hughes | ||||||||
Assigned To | Eric NOULARD | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | Amazon Linux | OS Version | 20110923 | |||||
Product Version | CMake 2.8.7 | ||||||||
Target Version | CMake 2.8.8 | Fixed in Version | CMake 2.8.8 | ||||||
Summary | 0013063: CPackRPM fails on CentOS-based systems | ||||||||
Description | On Amazon Linux 20110923 (a CentOS-based distribution), using cpack to generate an RPM fails. rpm is not picking up _topdir, even though it is set in the spec. The solution is to pass a flag to rpm defining _topdir. I'm attaching a patch that does this. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | 0001-Set-_topdir-explicitly.patch [^] (959 bytes) 2012-03-24 16:14 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
(0028965) Eric NOULARD (developer) 2012-03-25 17:49 |
Hi Tom, What is the version of rpm/rpmbuild on this distro? rpm --version Did you try on CentOS? |
(0028966) Tom Hughes (reporter) 2012-03-26 02:34 |
The version of rpm on Amazon Linux is RPM version 4.8.0. The release is 16.36.amzn1. I also tried on CentOS 6.2 (rpm version 4.8.0). The problem does not seem to occur there, but the patch I submitted doesn't break anything. |
(0028974) Eric NOULARD (developer) 2012-03-27 02:10 |
Hi Tom, Would you send me your e-mail such that I can give you authorship in the upstream commit? Mine is firstname.lastname at gmail dot com. |
(0028980) Tom Hughes (reporter) 2012-03-27 12:20 |
Eric, my email should be in the patch that I attached. |
(0028983) Eric NOULARD (developer) 2012-03-27 15:49 |
Right of course. Sorry. I just merged your fix to next: Merge topic 'CPackPM-fixAmazonLinux' into next 3a0c60d Override topdir from rpm command line seems necessary on Amazon linux. This should be harmless on other distros. (I tested fedora and debian based + rpm) But I'd suggest to wait dashboard run + user testing (e.g. on OpenSUSE) before putting this in the next 2.8.8rc. |
(0028984) Eric NOULARD (developer) 2012-03-27 15:50 |
Waiting for wider testing on RPM based distros. OpenSUSE Mandriva/Mageia RHEL ... |
(0029280) Eric NOULARD (developer) 2012-04-20 15:08 |
This has been merged to master and included in 2.8.8. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-03-24 16:14 | Tom Hughes | New Issue | |
2012-03-24 16:14 | Tom Hughes | File Added: 0001-Set-_topdir-explicitly.patch | |
2012-03-24 16:48 | Eric NOULARD | Assigned To | => Eric NOULARD |
2012-03-24 16:48 | Eric NOULARD | Status | new => assigned |
2012-03-25 17:49 | Eric NOULARD | Note Added: 0028965 | |
2012-03-26 02:34 | Tom Hughes | Note Added: 0028966 | |
2012-03-27 02:10 | Eric NOULARD | Note Added: 0028974 | |
2012-03-27 12:20 | Tom Hughes | Note Added: 0028980 | |
2012-03-27 15:49 | Eric NOULARD | Note Added: 0028983 | |
2012-03-27 15:50 | Eric NOULARD | Note Added: 0028984 | |
2012-03-27 15:50 | Eric NOULARD | Status | assigned => feedback |
2012-04-20 15:08 | Eric NOULARD | Note Added: 0029280 | |
2012-04-20 15:08 | Eric NOULARD | Status | feedback => closed |
2012-04-20 15:08 | Eric NOULARD | Resolution | open => fixed |
2012-04-20 15:08 | Eric NOULARD | Fixed in Version | => CMake 2.8.8 |
2012-04-25 18:03 | David Cole | Target Version | => CMake 2.8.8 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |