How to build the same percona-xtrabackup generic binary package as the official percona?

How to build the same percona-xtrabackup generic binary package as percona official? I built it the following way, but it doesn’t work for every Linux distribution:

cmake3 .. \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_BOOST=../boost \
-DDOWNLOAD_BOOST=ON \
-DBUILD_CONFIG=xtrabackup_release \
-DWITH_SSL=/usr \
-DINSTALL_LAYOUT=STANDALONE \
-DINSTALL_MYSQLTESTDIR= \
-DWITH_DEBUG=OFF \
-DWITH_MAN_PAGES=ON


make -j $(nproc) && make install

Hi @czhfe .

Can you show us the error you are seeing on some Linux distros?

Btw, we build packages using percona-xtrabackup/build-binary.sh at 8.0 · percona/percona-xtrabackup · GitHub