[MDEV-24996] file conflict in rpm packages Created: 2020-10-22 Updated: 2021-05-24 Resolved: 2021-05-22 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging |
| Affects Version/s: | 10.2 |
| Fix Version/s: | 10.2.39, 10.3.30, 10.4.20, 10.5.11 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Timofey Turenko | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Tried to build 10.2 (using 3.16.4) and then install it:
short investigation showed:
|
| Comments |
| Comment by Sergei Golubchik [ 2020-11-12 ] | |||||||||||||||||||
|
How do I repeat it? Build where? How? | |||||||||||||||||||
| Comment by Timofey Turenko [ 2021-02-25 ] | |||||||||||||||||||
|
my build process: build source tar
build RPM:
cmake version is 3.16.4 it is not reproducible with >= 10.3 after https://github.com/MariaDB/server/commit/7337abd2f7b0104f2a6c862c1829ac3a034d89a2 some info also here https://jira.mariadb.org/browse/MDEV-22813 I do not understand how does it work in http://buildbot.askmonty.org/ (different cmake version?) and why `sudo make package` solves the problem. | |||||||||||||||||||
| Comment by Daniel Bartholomew [ 2021-02-26 ] | |||||||||||||||||||
|
We don't build 10.2 on RHEL/CentOS 8 because they have 10.3 in their repositories. I'm not saying that that is what is causing the issue, just that in general MariaDB 10.2 rpms are going to have issues related to the package manager seeing its own version of MariaDB as a higher version and will constantly want to upgrade it unless you do something to stop it. I can't remember how right now on RHEL/CentOS, on Debian/Ubuntu you 'pin' the package to prevent apt from trying to update it, but anyway, the short answer is that because they already have 10.3 we don't build 10.2 for it. | |||||||||||||||||||
| Comment by Timofey Turenko [ 2021-03-03 ] | |||||||||||||||||||
|
it is RHEL 7 | |||||||||||||||||||
| Comment by Timofey Turenko [ 2021-05-06 ] | |||||||||||||||||||
|
it is still reproducible. I can't get proper CS PRM package. | |||||||||||||||||||
| Comment by Daniel Bartholomew [ 2021-05-11 ] | |||||||||||||||||||
|
Not sure I'm the correct person for this, but I will try to repeat and see if I can get a better understanding of the issue. | |||||||||||||||||||
| Comment by Daniel Bartholomew [ 2021-05-13 ] | |||||||||||||||||||
|
I was not able to reproduce on our CentOS 7 builder (which uses cmake 3.14.0) building the latest MariaDB 10.2.38. The commands I used to build MariaDB were the same as in our buildbot:
Then to install, I had to first remove CentOS's mariadb-libs package first, which was expected, but there was no conflict seen with the filesystem package. Commands run were:
|