Synchronous multi-master wsrep provider (replication engine)
Go to file
Michal Schorm 4cfc5c0799 Remove the second source path definition from the CMake command
The '%cmake' RPM macro in Fedora actually expands to:
| ...
|   /usr/bin/cmake \
|         -S "." \
|         -B "redhat-linux-build" \
| ...

So in this case the source patch was specified twice.
First in the macro with the '-S' option and second time outside of the macro,
in the SPECfile, without the '-S' option.

CMake upstream declares that:
|  This has never been officially documented or supported,
|  but older versions accidentally accepted multiple source paths
|  and used the last path specified. Update scripts to avoid
|  passing multiple source path arguments.
https://cmake.org/cmake/help/v3.23/release/3.23.html#deprecated-and-removed-features

This was discovered as CMake upstream implemented a change to the 3.23.0-rc2 release
that changed this behavior and it broke many Fedora packages that used this
double source path definition.
  See rhbz#2057738 to see how build behaved

After the CMake upstream got aware of what problems it caused in Fedora,
they opened a merge request to restore the behavior to the old one,
but kept the warnings that that is an unsupported and problematic behavior:
  https://gitlab.kitware.com/cmake/cmake/-/issues/23334

--

Related: #2092371 #2092370
2022-06-07 17:46:10 +02:00
.gitignore Use bash globbing in .gitignore 2021-07-15 12:45:41 +02:00
cmake_paths.patch cmake_paths.patch upstreaming efforts started 2022-06-07 17:46:05 +02:00
galera.spec Remove the second source path definition from the CMake command 2022-06-07 17:46:10 +02:00
garbd-wrapper RHEL 9.0.0 Alpha bootstrap 2020-10-15 00:41:21 +02:00
garbd.service RHEL 9.0.0 Alpha bootstrap 2020-10-15 00:41:21 +02:00
gating.yaml Add gating.yaml 2021-07-15 16:27:34 +02:00
sources Rebase to 26.4.11 2022-06-07 17:45:00 +02:00