In accordance to the upstream release cycle, we now provide 2 flavours
of the percona mysql ecosystem. The default is the LTS variant,
additionally there is now the floating `percona-server_innovation`
always pointing to the most recent regular release.
- mentioned in release notes
- adapted all depending tests and tools (xtrabackup)
This is likely to diverge from the LTS xtrabackup packaging over time.
But as this package was already structured in a modular way, let's keep
the generic builder as long as it's feasible.
Without the change build fails on `master` on `gcc-13` as
https://hydra.nixos.org/build/249086583:
In file included from /build/source/components/keyrings/common/data/data.cc:25:
/build/source/components/keyrings/common/data/data.h: In member function 'pfs_string keyring_common::data::Sensitive_data::decode() const':
/build/source/components/keyrings/common/data/data.h:69:24: error: 'uintptr_t' is not a member of 'std'
69 | std::hash<std::uintptr_t>{}(reinterpret_cast<std::uintptr_t>(this));
| ^~~~~~~~~
* Reorder `libevent` and `libev` in `buildInputs`. Otherwise, cmake
picks up the wrong `event.h` and the version test for `libevent`
fails.
* Remove apparently obsolete workaround from fc8061dae4.
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: xbstream.c.o:(.bss+0x0): multiple definition of
`datasink_buffer'; ds_buffer.c.o:(.data.rel.local+0x0): first defined here