Ticket #10911 (closed: fixed)
RPM does not install on RHEL 7
Reported by: | Martyn Gigg | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | major | Milestone: | Release 3.4 |
Component: | Framework | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Martyn Gigg |
Description
It fails due to stricter checking by the rpm command. The error it reports is:
Transaction check error: file /opt from install of mantid-3.3.0-1.el7.x86_64 conflicts with file from package filesystem-3.2-18.el7.x86_64 file /usr/share/applications from install of mantid-3.3.0-1.el7.x86_64 conflicts with file from package filesystem-3.2-18.el7.x86_64 file /usr/share/pixmaps from install of mantid-3.3.0-1.el7.x86_64 conflicts with file from package filesystem-3.2-18.el7.x86_64
Change History
comment:2 Changed 6 years ago by Martyn Gigg
It will require us to move to CMake 2.8.12 as a minimum on RHEL. We want to move to this anyway to take make use of new features.
comment:3 Changed 6 years ago by Martyn Gigg
- Status changed from assigned to inprogress
Fix rpm for Fedora >= 18 and RHEL >= 7
The rpm command is now more strict on these systems and requires the package not to own system directories Refs #10911
Changeset: bb4d57df3ec166c880a07b0b97fb2971c183a9ab
comment:4 Changed 6 years ago by Martyn Gigg
- Status changed from inprogress to verify
- Resolution set to fixed
This is being verified as pull request #128.
comment:6 Changed 6 years ago by Stuart Campbell
- Status changed from verify to verifying
- Tester set to Stuart Campbell
comment:7 Changed 6 years ago by Stuart Campbell
The only problems I am seeing with installing the package are with the lack of paraview kits for Fedora20/RHEL7
comment:8 Changed 6 years ago by Martyn Gigg
Agreed. The package is just checking that the ParaView libraries existence so for the purposes of testing we've got [these](http://files.mantidproject.org/kits/el7/beta/ to test with until we sort it out properly.
comment:9 Changed 6 years ago by Martyn Gigg
I've just reread your comment and the problem with the package comes after it resolves all of the dependencies
comment:10 Changed 6 years ago by Stuart Campbell
Just to make sure, which RPM where you using to test on RHEL7 ?
comment:11 Changed 6 years ago by Martyn Gigg
Agreed that this should move back to 3.4 as both system as are not full supported yet
comment:12 Changed 6 years ago by Stuart Campbell
- Status changed from verifying to closed
Merge pull request #128 from mantidproject/bugfix/10911_rpm_broken_f18
Fix rpms for Fedora >= 18 and RHEL >= 7
Full changeset: c534b72702aea70b68d5b72b42ef47eff796c4b4
comment:13 Changed 6 years ago by Stuart Campbell
- Status changed from closed to verify
This is being verified as pull request #258.
comment:14 Changed 6 years ago by Martyn Gigg
Fix rpm for Fedora >= 18 and RHEL >= 7
The rpm command is now more strict on these systems and requires the package not to own system directories Refs #10911
Changeset: 97ba4490cfd744d4510a1dcf96441cdb2c574365
comment:15 Changed 6 years ago by Martyn Gigg
- Status changed from verify to verifying
- Tester changed from Stuart Campbell to Martyn Gigg
comment:16 Changed 6 years ago by Martyn Gigg
Built it locally and it installed on our clean machine with no problem.
comment:18 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 11750
There seems to be a CMake bug already logged and fixed to do with this - http://www.cmake.org/Bug/view.php?id=13860