cloudfoundry / pxc-release

BOSH release of Percona Xtradb Cluster
Apache License 2.0
30 stars 22 forks source link

Fail to compile with jammy stemcell #18

Closed adam-jian-zhang closed 2 years ago

adam-jian-zhang commented 2 years ago

Thank you for submitting an issue.

Feature Request Info

Problem you are trying to solve

Help us understand the problem you are facing. Please provide as much context as possible.

We are trying to move from xenial to jammy stemcell

Proposed solution/feature

What is the proposed solution and why do you think it is the best approach to the problem above.

Would you want to open an PR for this feature?

Bug Report Info

Currently:

What is the current broken behavior?

Can not compile on jammy stemcell

Expected:

What the correct behavior should be?

Should function normally on jammy

Steps to Reproduce:

Please provide as much detail as possible.

Just do a basic deployment on jammy

Deployment Context:

Please provide relevant details about your deployment. That might include:

Reference:

Attach screenshot(s) or logs if relevant

Task 354

Task 354 | 07:58:17 | Preparing deployment: Preparing deployment (00:00:09)
Task 354 | 07:58:26 | Preparing deployment: Rendering templates (00:00:10)
Task 354 | 07:58:37 | Preparing package compilation: Finding packages to compile (00:00:00)
Task 354 | 08:04:15 | Compiling packages: pxc-utils/b9354276e06987689ee15f994e681e380060f6203d2e22a58abd44fc8077052f (00:00:18)
Task 354 | 08:04:33 | Compiling packages: pxc/62c52a681605fbd548078c7027f0c9f7c7a76f79001c97203a913edbc0f5fc29
Task 354 | 08:04:50 | Compiling packages: bosh-dns/f9a37e1283f79d9252a3c0c78daaef13e426ab571ae3bedbf6a5f6edc58b2b42 (00:01:01)
Task 354 | 08:04:50 | Compiling packages: percona-xtrabackup/0adf1ad1f8b2e778b7be1ff9a34a4e1a9f129928f9f7298c1d675d4a74066620
Task 354 | 08:05:12 | Compiling packages: golang-1-linux/3f5a636273e06d4a94c6f7e7a3eee0df505a70197cc2d3f0cd567b32f4a799f5 (00:01:09)
Task 354 | 08:05:12 | Compiling packages: libgalera/73c1603756804260cf633f4c198db9545fe01f5e2d3f9bed78aa5d180fc54404
Task 354 | 08:05:14 | Compiling packages: socat/02ab993b995e1ad02146d6bc805c85c577ffa7239aede844e99f1b11bccf9008 (00:01:05)
Task 354 | 08:05:14 | Compiling packages: golang-1.16-linux/371ebca8a973814282e63cecc7c4a03cf186bd0b432502159b8a436b06de2865
Task 354 | 08:06:10 | Compiling packages: pxc/62c52a681605fbd548078c7027f0c9f7c7a76f79001c97203a913edbc0f5fc29 (00:01:37)
                    L Error: Action Failed get_task: Task ca6dd08e-f82c-4cb0-64c1-1a729a5144ed result: Compiling package pxc: Running packaging script: Running packaging script: Command exited with 1; Truncated stdout: -- Looking for include file sys/resource.h - found
-- Looking for include file sys/select.h
-- Looking for include file sys/select.h - found
-- Looking for include file sys/socket.h
-- Looking for include file sys/socket.h - found
-- Looking for include files curses.h, term.h
-- Looking for include files curses.h, term.h - found
-- Looking for include file termios.h
-- Looking for include file termios.h - found
-- Looking for include file termio.h
-- Looking for include file termio.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file sys/wait.h
-- Looking for include file sys/wait.h - found
-- Looking for include file sys/param.h
-- Looking for include file sys/param.h - found
-- Looking for include file fnmatch.h
-- Looking for include file fnmatch.h - found
-- Looking for include file sys/un.h
-- Looking for include file sys/un.h - found
-- Looking for include file sys/devpoll.h
-- Looking for include file sys/devpoll.h - not found
-- Looking for include file sys/epoll.h
-- Looking for include file sys/epoll.h - found
-- Looking for TAILQ_FOREACH
-- Looking for TAILQ_FOREACH - found
-- Looking for _aligned_malloc
-- Looking for _aligned_malloc - not found
-- Looking for backtrace
-- Looking for backtrace - found
-- Looking for printstack
-- Looking for printstack - not found
-- Looking for index
-- Looking for index - found
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Looking for cuserid
-- Looking for cuserid - found
-- Looking for directio
-- Looking for directio - not found
-- Looking for ftruncate
-- Looking for ftruncate - found
-- Looking for compress
-- Looking for compress - not found
-- Looking for crypt
-- Looking for crypt - found
-- Looking for dlopen
-- Looking for dlopen - found
-- Looking for fchmod
-- Looking for fchmod - found
-- Looking for fcntl
-- Looking for fcntl - found
-- Looking for fdatasync
-- Looking for fdatasync - found
-- Looking for fdatasync
-- Looking for fdatasync - found
-- Looking for fedisableexcept
-- Looking for fedisableexcept - found
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for fsync
-- Looking for fsync - found
-- Looking for gethostbyaddr_r
-- Looking for gethostbyaddr_r - found
-- Looking for gethrtime
-- Looking for gethrtime - not found
-- Looking for getnameinfo
-- Looking for getnameinfo - found
-- Looking for getpass
-- Looking for getpass - found
-- Looking for getpassphrase
-- Looking for getpassphrase - not found
-- Looking for getpwnam
-- Looking for getpwnam - found
-- Looking for getpwuid
-- Looking for getpwuid - found
-- Looking for getrlimit
-- Looking for getrlimit - found
-- Looking for getifaddrs
-- Looking for getifaddrs - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for initgroups
-- Looking for initgroups - found
-- Looking for issetugid
-- Looking for issetugid - not found
-- Looking for getuid
-- Looking for getuid - found
-- Looking for geteuid
-- Looking for geteuid - found
-- Looking for getgid
-- Looking for getgid - found
-- Looking for getegid
-- Looking for getegid - found
-- Looking for lstat
-- Looking for lstat - found
-- Looking for madvise
-- Looking for madvise - found
-- Looking for malloc_info
-- Looking for malloc_info - found
-- Looking for memrchr
-- Looking for memrchr - found
-- Looking for mlock
-- Looking for mlock - found
-- Looking for mlockall
-- Looking for mlockall - found
-- Looking for mmap64
-- Looking for mmap64 - found
-- Looking for poll
-- Looking for poll - found
-- Looking for posix_fallocate
-- Looking for posix_fallocate - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for pread
-- Looking for pread - found
-- Looking for pthread_condattr_setclock
-- Looking for pthread_condattr_setclock - found
-- Looking for pthread_sigmask
-- Looking for pthread_sigmask - found
-- Looking for readlink
-- Looking for readlink - found
-- Looking for realpath
-- Looking for realpath - found
-- Looking for setfd
-- Looking for setfd - not found
-- Looking for sigaction
-- Looking for sigaction - found
-- Looking for sleep
-- Looking for sleep - found
-- Looking for stpcpy
-- Looking for stpcpy - found
-- Looking for stpncpy
-- Looking for stpncpy - found
-- Looking for strlcpy
-- Looking for strlcpy - not found
-- Looking for strndup
-- Looking for strndup - found
-- Looking for strnlen
-- Looking for strnlen - found
-- Looking for strlcat
-- Looking for strlcat - not found
-- Looking for strsignal
-- Looking for strsignal - found
-- Looking for fgetln
-- Looking for fgetln - not found
-- Looking for strsep
-- Looking for strsep - found
-- Looking for tell
-- Looking for tell - not found
-- Looking for vasprintf
-- Looking for vasprintf - found
-- Looking for memalign
-- Looking for memalign - found
-- Looking for nl_langinfo
-- Looking for nl_langinfo - found
-- Looking for ntohll
-- Looking for ntohll - not found
-- Looking for memset_s
-- Looking for memset_s - not found
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Looking for epoll_create
-- Looking for epoll_create - found
-- Looking for inet_ntop
-- Looking for inet_ntop - found
-- Looking for kqueue
-- Looking for kqueue - not found
-- Looking for timeradd
-- Looking for timeradd - found
-- Looking for timerclear
-- Looking for timerclear - found
-- Looking for timercmp
-- Looking for timercmp - found
-- Looking for timerisset
-- Looking for timerisset - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/times.h
-- Looking for include file sys/times.h - found
-- Looking for times
-- Looking for times - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for lrand48
-- Looking for lrand48 - found
-- Looking for TIOCGWINSZ
-- Looking for TIOCGWINSZ - found
-- Looking for FIONREAD
-- Looking for FIONREAD - found
-- Looking for FIONREAD
-- Looking for FIONREAD - not found
-- Looking for SIGEV_THREAD_ID
-- Looking for SIGEV_THREAD_ID - found
-- Looking for SIGEV_PORT
-- Looking for SIGEV_PORT - not found
-- Looking for log2
-- Looking for log2 - found
-- Looking for MADV_DONTDUMP
-- Looking for MADV_DONTDUMP - found
-- Looking for isinf
-- Looking for isinf - found
-- Performing Test HAVE_CXX_ISINF
-- Performing Test HAVE_CXX_ISINF - Success
-- Looking for timer_create
-- Looking for timer_create - found
-- Looking for timer_settime
-- Looking for timer_settime - found
-- Looking for kqueue
-- Looking for kqueue - not found
-- Looking for EVFILT_TIMER
-- Looking for EVFILT_TIMER - not found
-- Check size of char *
-- Check size of char * - done
-- Check size of long
-- Check size of long - done
-- Check size of short
-- Check size of short - done
-- Check size of int
-- Check size of int - done
-- Check size of long long
-- Check size of long long - done
-- Check size of off_t
-- Check size of off_t - done
-- Check size of time_t
-- Check size of time_t - done
-- Check size of struct timespec
-- Check size of struct timespec - done
-- Check size of uint
-- Check size of uint - done
-- Check size of ulong
-- Check size of ulong - done
-- Check size of u_int32_t
-- Check size of u_int32_t - done
-- Performing Test HAVE_VISIBILITY_HIDDEN
-- Performing Test HAVE_VISIBILITY_HIDDEN - Success
-- Checking stack direction : -1
-- Looking for include files time.h, sys/time.h
-- Looking for include files time.h, sys/time.h - found
-- Looking for O_NONBLOCK
-- Looking for O_NONBLOCK - found
-- Performing Test HAVE_PAUSE_INSTRUCTION
-- Performing Test HAVE_PAUSE_INSTRUCTION - Success
-- Performing Test HAVE_BUILTIN_UNREACHABLE
-- Performing Test HAVE_BUILTIN_UNREACHABLE - Success
-- Performing Test HAVE_BUILTIN_EXPECT
-- Performing Test HAVE_BUILTIN_EXPECT - Success
-- Performing Test HAVE_BUILTIN_STPCPY
-- Performing Test HAVE_BUILTIN_STPCPY - Success
-- Performing Test HAVE_GCC_ATOMIC_BUILTINS
-- Performing Test HAVE_GCC_ATOMIC_BUILTINS - Success
-- Performing Test HAVE_GCC_SYNC_BUILTINS
-- Performing Test HAVE_GCC_SYNC_BUILTINS - Success
-- Looking for netinet/in6.h
-- Looking for netinet/in6.h - not found
-- Check size of struct sockaddr_in6
-- Check size of struct sockaddr_in6 - done
-- Check size of struct in6_addr
-- Check size of struct in6_addr - done
-- Performing Test HAVE_SOCKADDR_STORAGE_SS_FAMILY
-- Performing Test HAVE_SOCKADDR_STORAGE_SS_FAMILY - Success
-- Performing Test HAVE_SOCKADDR_IN_SIN_LEN
-- Performing Test HAVE_SOCKADDR_IN_SIN_LEN - Failed
-- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN
-- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed
-- Performing Test HAVE_PTHREAD_THREADID_NP
-- Performing Test HAVE_PTHREAD_THREADID_NP - Failed
-- Performing Test HAVE_IMPLICIT_DEPENDENT_NAME_TYPING
-- Performing Test HAVE_IMPLICIT_DEPENDENT_NAME_TYPING - Failed
-- Looking for chown
-- Looking for chown - found
-- Looking for include file numa.h
-- Looking for include file numa.h - not found
-- Looking for include file numaif.h
-- Looking for include file numaif.h - not found
-- NUMA library missing or required version not available
-- Check size of socklen_t
-- Check size of socklen_t - failed
-- Looking for crc32
-- Looking for crc32 - found
-- Looking for compressBound
-- Looking for compressBound - found
-- Looking for deflateBound
-- Looking for deflateBound - found
-- OPENSSL_INCLUDE_DIR = /usr/include
-- OPENSSL_LIBRARY = /usr/lib/x86_64-linux-gnu/libssl.so
-- CRYPTO_LIBRARY = /usr/lib/x86_64-linux-gnu/libcrypto.so
-- OPENSSL_MAJOR_VERSION = 
-- OPENSSL_MINOR_VERSION = 
-- OPENSSL_FIX_VERSION = 
-- Looking for SHA512_DIGEST_LENGTH
-- Looking for SHA512_DIGEST_LENGTH - found
-- 
Cannot find appropriate system libraries for WITH_SSL=system.
Make sure you have specified a supported SSL version. 
Valid options are : 
system (use the OS openssl library), 
yes (synonym for system), 
</path/to/custom/openssl/installation>

-- Configuring incomplete, errors occurred!
See also "/var/vcap/data/compile/pxc/Percona-XtraDB-Cluster-5.7.35-31.53/CMakeFiles/CMakeOutput.log".
See also "/var/vcap/data/compile/pxc/Percona-XtraDB-Cluster-5.7.35-31.53/CMakeFiles/CMakeError.log".
, Stderr: ++ nproc
+ NPROC=4
+ tar -xf boost/boost_1_59_0.tar.gz
+ tar -xf libaio/libaio_0.3.110.orig.tar.gz
+ make -j 4 -C libaio-0.3.110/ install
ar: creating libaio.a
+ tar -xf pxc/Percona-XtraDB-Cluster-5.7.35-31.53.tar.gz
++ sed s/Percona-XtraDB-Cluster-//
++ basename pxc/Percona-XtraDB-Cluster-5.7.35-31.53.tar.gz .tar.gz
+ pxc_version=5.7.35-31.53
+ compilation_comment='Percona XtraDB Cluster (GPL) 5.7.35-31.53'
+ pushd Percona-XtraDB-Cluster-5.7.35-31.53/
+ cmake . -DBUILD_CONFIG=mysql_release -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/var/vcap/packages/pxc '-DCOMPILATION_COMMENT=Percona XtraDB Cluster (GPL) 5.7.35-31.53' -DINSTALL_MYSQLTESTDIR= -DWITH_BOOST=../boost_1_59_0/ -DWITH_EMBEDDED_SERVER=OFF -DWITH_INNODB_DISALLOW_WRITES=ON -DWITH_RAPID=OFF -DWITH_READLINE=system -DWITH_ROCKSDB=OFF -DWITH_SCALABILITY_METRICS=ON -DWITH_SSL=system -DWITH_TOKUDB=OFF -DWITH_UNIT_TESTS=OFF -DWITH_WSREP=ON -DWITH_ZLIB=system
CMake Deprecation Warning at CMakeLists.txt:30 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at CMakeLists.txt:35 (CMAKE_POLICY):
  The OLD behavior for policy CMP0018 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.

CMake Deprecation Warning at CMakeLists.txt:41 (CMAKE_POLICY):
  The OLD behavior for policy CMP0022 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.

CMake Deprecation Warning at CMakeLists.txt:48 (CMAKE_POLICY):
  The OLD behavior for policy CMP0045 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.

CMake Deprecation Warning at CMakeLists.txt:49 (CMAKE_POLICY):
  The OLD behavior for policy CMP0042 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.

CMake Deprecation Warning at CMakeLists.txt:62 (CMAKE_POLICY):
  The OLD behavior for policy CMP0075 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.

CMake Warning (dev) at CMakeLists.txt:498 (OPTION):
  Policy CMP0077 is not set: option() honors normal variables.  Run "cmake
  --help-policy CMP0077" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  For compatibility with older versions of CMake, option is clearing the
  normal variable 'WITH_INNODB_DISALLOW_WRITES'.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at cmake/ssl.cmake:63 (MESSAGE):
  Please install the appropriate openssl developer package.

Call Stack (most recent call first):
  cmake/ssl.cmake:287 (FATAL_SSL_NOT_FOUND_ERROR)
  CMakeLists.txt:624 (MYSQL_CHECK_SSL)

Task 354 | 08:06:17 | Compiling packages: golang-1.16-linux/371ebca8a973814282e63cecc7c4a03cf186bd0b432502159b8a436b06de2865 (00:01:03)
Task 354 | 08:07:47 | Compiling packages: libgalera/73c1603756804260cf633f4c198db9545fe01f5e2d3f9bed78aa5d180fc54404 (00:02:35)
                    L Error: Action Failed get_task: Task 3aea05ce-b23a-4c6d-7330-c2f086512e60 result: Compiling package libgalera: Running packaging script: Running packaging script: Command exited with 1; Truncated stdout:   396 |     explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) )
      |                                 ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ./boost/function/function_base.hpp:16,
                 from ./boost/function/detail/prologue.hpp:17,
                 from ./boost/function/function_template.hpp:13,
                 from ./boost/function/detail/maybe_include.hpp:18,
                 from ./boost/function/function1.hpp:11,
                 from ./boost/program_options/value_semantic.hpp:13,
                 from ./boost/program_options/options_description.hpp:13,
                 from ./boost/program_options/detail/cmdline.hpp:14,
                 from ./boost/program_options/parsers.hpp:12,
                 from libs/program_options/src/split.cpp:8:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./boost/shared_ptr.hpp:17,
                 from ./boost/program_options/options_description.hpp:16,
                 from ./boost/program_options/detail/cmdline.hpp:14,
                 from ./boost/program_options/parsers.hpp:12,
                 from libs/program_options/src/split.cpp:8:
./boost/smart_ptr/shared_ptr.hpp:249:65: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  249 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >
      |                                                                 ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ./boost/function/function_base.hpp:16,
                 from ./boost/function/detail/prologue.hpp:17,
                 from ./boost/function/function_template.hpp:13,
                 from ./boost/function/detail/maybe_include.hpp:18,
                 from ./boost/function/function1.hpp:11,
                 from ./boost/program_options/value_semantic.hpp:13,
                 from ./boost/program_options/options_description.hpp:13,
                 from ./boost/program_options/detail/cmdline.hpp:14,
                 from ./boost/program_options/parsers.hpp:12,
                 from libs/program_options/src/split.cpp:8:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./boost/shared_ptr.hpp:17,
                 from ./boost/program_options/options_description.hpp:16,
                 from ./boost/program_options/detail/cmdline.hpp:14,
                 from ./boost/program_options/parsers.hpp:12,
                 from libs/program_options/src/split.cpp:8:
./boost/smart_ptr/shared_ptr.hpp:448:31: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  448 |     explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn()
      |                               ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ./boost/function/function_base.hpp:16,
                 from ./boost/function/detail/prologue.hpp:17,
                 from ./boost/function/function_template.hpp:13,
                 from ./boost/function/detail/maybe_include.hpp:18,
                 from ./boost/function/function1.hpp:11,
                 from ./boost/program_options/value_semantic.hpp:13,
                 from ./boost/program_options/options_description.hpp:13,
                 from ./boost/program_options/detail/cmdline.hpp:14,
                 from ./boost/program_options/parsers.hpp:12,
                 from libs/program_options/src/split.cpp:8:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./boost/shared_ptr.hpp:17,
                 from ./boost/program_options/options_description.hpp:16,
                 from ./boost/program_options/detail/cmdline.hpp:14,
                 from ./boost/program_options/parsers.hpp:12,
                 from libs/program_options/src/split.cpp:8:
./boost/smart_ptr/shared_ptr.hpp:461:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  461 |     shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn()
      |                      ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ./boost/function/function_base.hpp:16,
                 from ./boost/function/detail/prologue.hpp:17,
                 from ./boost/function/function_template.hpp:13,
                 from ./boost/function/detail/maybe_include.hpp:18,
                 from ./boost/function/function1.hpp:11,
                 from ./boost/program_options/value_semantic.hpp:13,
                 from ./boost/program_options/options_description.hpp:13,
                 from ./boost/program_options/detail/cmdline.hpp:14,
                 from ./boost/program_options/parsers.hpp:12,
                 from libs/program_options/src/split.cpp:8:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./boost/shared_ptr.hpp:17,
                 from ./boost/program_options/options_description.hpp:16,
                 from ./boost/program_options/detail/cmdline.hpp:14,
                 from ./boost/program_options/parsers.hpp:12,
                 from libs/program_options/src/split.cpp:8:
./boost/smart_ptr/shared_ptr.hpp:538:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  538 |     shared_ptr & operator=( std::auto_ptr<Y> & r )
      |                                  ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ./boost/function/function_base.hpp:16,
                 from ./boost/function/detail/prologue.hpp:17,
                 from ./boost/function/function_template.hpp:13,
                 from ./boost/function/detail/maybe_include.hpp:18,
                 from ./boost/function/function1.hpp:11,
                 from ./boost/program_options/value_semantic.hpp:13,
                 from ./boost/program_options/options_description.hpp:13,
                 from ./boost/program_options/detail/cmdline.hpp:14,
                 from ./boost/program_options/parsers.hpp:12,
                 from libs/program_options/src/split.cpp:8:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./boost/shared_ptr.hpp:17,
                 from ./boost/program_options/options_description.hpp:16,
                 from ./boost/program_options/detail/cmdline.hpp:14,
                 from ./boost/program_options/parsers.hpp:12,
                 from libs/program_options/src/split.cpp:8:
./boost/smart_ptr/shared_ptr.hpp:547:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  547 |     shared_ptr & operator=( std::auto_ptr<Y> && r )
      |                                  ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ./boost/function/function_base.hpp:16,
                 from ./boost/function/detail/prologue.hpp:17,
                 from ./boost/function/function_template.hpp:13,
                 from ./boost/function/detail/maybe_include.hpp:18,
                 from ./boost/function/function1.hpp:11,
                 from ./boost/program_options/value_semantic.hpp:13,
                 from ./boost/program_options/options_description.hpp:13,
                 from ./boost/program_options/detail/cmdline.hpp:14,
                 from ./boost/program_options/parsers.hpp:12,
                 from libs/program_options/src/split.cpp:8:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./boost/shared_ptr.hpp:17,
                 from ./boost/program_options/options_description.hpp:16,
                 from ./boost/program_options/detail/cmdline.hpp:14,
                 from ./boost/program_options/parsers.hpp:12,
                 from libs/program_options/src/split.cpp:8:
./boost/smart_ptr/shared_ptr.hpp: In member function 'boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)':
./boost/smart_ptr/shared_ptr.hpp:549:38: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
  549 |         this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this );
      |                                      ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from ./boost/function/function_base.hpp:16,
                 from ./boost/function/detail/prologue.hpp:17,
                 from ./boost/function/function_template.hpp:13,
                 from ./boost/function/detail/maybe_include.hpp:18,
                 from ./boost/function/function1.hpp:11,
                 from ./boost/program_options/value_semantic.hpp:13,
                 from ./boost/program_options/options_description.hpp:13,
                 from ./boost/program_options/detail/cmdline.hpp:14,
                 from ./boost/program_options/parsers.hpp:12,
                 from libs/program_options/src/split.cpp:8:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
gcc.link.dll bin.v2/libs/program_options/build/gcc-11/release/threading-multi/libboost_program_options.so.1.59.0
common.copy /usr/lib/libboost_program_options.so.1.59.0
ln-UNIX /usr/lib/libboost_program_options.so
...updated 11772 targets...
/var/vcap/data/compile/libgalera
/var/vcap/data/compile/libgalera/scons-3.0.1 /var/vcap/data/compile/libgalera
, Stderr: + set -u
++ nproc
+ NPROC=4
+ tar -xf check/check-0.10.0.orig.tar.gz
+ pushd check-0.10.0/
+ ./configure --prefix=/usr
configure: WARNING: tex not installed: cannot rebuild HTML documentation.
+ make -j 4
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
check_mem_leaks.c:15:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
   15 | int main ()
      |     ^~~~
+ make -j 4 install
+ popd
+ tar -xf boost/boost_1_59_0.tar.gz
+ pushd boost_1_59_0
+ ./bootstrap.sh --with-libraries=program_options,system --prefix=/usr
+ ./b2 -j 4 install
+ popd
+ tar -xf scons/scons-3.0.1.tar.gz
+ pushd scons-3.0.1/
+ python3 setup.py install --prefix=/usr
/var/vcap/data/compile/libgalera/scons-3.0.1/setup.py:69: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  import distutils
Traceback (most recent call last):
  File "/var/vcap/data/compile/libgalera/scons-3.0.1/setup.py", line 70, in <module>
    import distutils.core
ModuleNotFoundError: No module named 'distutils.core'

Task 354 | 08:09:02 | Compiling packages: percona-xtrabackup/0adf1ad1f8b2e778b7be1ff9a34a4e1a9f129928f9f7298c1d675d4a74066620 (00:04:12)
                    L Error: Action Failed get_task: Task 17747d06-52e1-448f-740e-88d242b38612 result: Compiling package percona-xtrabackup: Running packaging script: Running packaging script: Command exited with 2; Truncated stdout: [ 23%] Building C object mysys/CMakeFiles/mysys.dir/thr_mutex.c.o
[ 23%] Building C object mysys/CMakeFiles/mysys.dir/thr_rwlock.c.o
[ 23%] Building C object mysys/CMakeFiles/mysys.dir/tree.c.o
[ 23%] Linking C static library libarchive.a
[ 23%] Building C object mysys/CMakeFiles/mysys.dir/typelib.c.o
[ 23%] Built target archive_static
[ 23%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/chared.c.o
[ 23%] Building C object mysys/CMakeFiles/mysys.dir/base64.c.o
[ 23%] Building C object mysys/CMakeFiles/mysys.dir/my_memmem.c.o
[ 23%] Building C object mysys/CMakeFiles/mysys.dir/lf_alloc-pin.c.o
[ 23%] Building C object mysys/CMakeFiles/mysys.dir/lf_dynarray.c.o
[ 23%] Building C object mysys/CMakeFiles/mysys.dir/lf_hash.c.o
[ 23%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/chartype.c.o
[ 23%] Building C object mysys/CMakeFiles/mysys.dir/my_rdtsc.c.o
[ 23%] Building C object mysys/CMakeFiles/mysys.dir/psi_noop.c.o
[ 23%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/common.c.o
[ 23%] Building C object mysys/CMakeFiles/mysys.dir/my_syslog.c.o
[ 23%] Building C object mysys/CMakeFiles/mysys.dir/my_chmod.c.o
[ 23%] Building C object mysys/CMakeFiles/mysys.dir/my_thread.c.o
[ 24%] Building C object mysys/CMakeFiles/mysys.dir/posix_timers.c.o
[ 24%] Building C object mysys/CMakeFiles/mysys.dir/my_largepage.c.o
[ 24%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/el.c.o
[ 25%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/eln.c.o
[ 25%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/emacs.c.o
[ 25%] Linking C static library ../archive_output_directory/libmysys.a
[ 25%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/filecomplete.c.o
[ 25%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/hist.c.o
[ 25%] Built target mysys
[ 25%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/history.c.o
[ 25%] Building CXX object sql/CMakeFiles/gen_lex_token.dir/gen_lex_token.cc.o
[ 25%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/historyn.c.o
[ 25%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/keymacro.c.o
[ 25%] Linking CXX executable gen_lex_token
[ 25%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/literal.c.o
[ 25%] Built target gen_lex_token
[ 25%] Building C object dbug/CMakeFiles/dbug.dir/dbug.c.o
[ 25%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/map.c.o
[ 25%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/parse.c.o
[ 25%] Linking C static library ../archive_output_directory/libdbug.a
[ 25%] Built target dbug
[ 25%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/prompt.c.o
[ 25%] Generating lex_token.h
[ 25%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/read.c.o
[ 25%] Built target GenDigestServerSource
[ 25%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/readline.c.o
[ 25%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/refresh.c.o
[ 25%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/search.c.o
[ 26%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/sig.c.o
[ 26%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/terminal.c.o
[ 26%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/tokenizer.c.o
[ 26%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/tokenizern.c.o
[ 26%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/tty.c.o
[ 26%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/vi.c.o
[ 26%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/strlcpy.c.o
[ 26%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/strlcat.c.o
[ 26%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/vis.c.o
[ 26%] Building C object extra/libedit/libedit-20191231-3.1/src/CMakeFiles/edit.dir/unvis.c.o
[ 26%] Building C object mysys/CMakeFiles/thr_lock.dir/thr_lock.c.o
[ 26%] Building C object mysys/CMakeFiles/queues.dir/queues.c.o
[ 27%] Building C object mysys/CMakeFiles/base64_test.dir/base64.c.o
[ 27%] Linking C static library libedit.a
[ 27%] Linking C executable base64_test
[ 27%] Built target edit
[ 27%] Built target base64_test
[ 27%] Building CXX object mysys_ssl/CMakeFiles/mysys_ssl.dir/crypt_genhash_impl.cc.o
[ 27%] Building CXX object mysys_ssl/CMakeFiles/mysys_ssl.dir/mf_tempdir.cc.o
[ 27%] Linking C executable queues
[ 27%] Linking C executable thr_lock
[ 27%] Built target queues
[ 27%] Building CXX object mysys_ssl/CMakeFiles/mysys_ssl.dir/my_default.cc.o
[ 27%] Built target thr_lock
[ 27%] Building CXX object mysys_ssl/CMakeFiles/mysys_ssl.dir/my_getopt.cc.o
[ 27%] Building CXX object mysys_ssl/CMakeFiles/mysys_ssl.dir/my_aes.cc.o
[ 27%] Building CXX object mysys_ssl/CMakeFiles/mysys_ssl.dir/my_sha1.cc.o
[ 27%] Building CXX object mysys_ssl/CMakeFiles/mysys_ssl.dir/my_md5.cc.o
[ 27%] Building CXX object mysys_ssl/CMakeFiles/mysys_ssl.dir/my_rnd.cc.o
[ 27%] Building CXX object mysys_ssl/CMakeFiles/mysys_ssl.dir/my_murmur3.cc.o
[ 27%] Building CXX object mysys_ssl/CMakeFiles/mysys_ssl.dir/my_aes_openssl.cc.o
[ 27%] Linking CXX static library ../archive_output_directory/libmysys_ssl.a
[ 27%] Built target mysys_ssl
[ 27%] Building C object extra/CMakeFiles/comp_err.dir/comp_err.c.o
[ 27%] Building CXX object storage/innobase/xtrabackup/src/xbcloud/CMakeFiles/xbcloud.dir/xbcloud.cc.o
[ 27%] Building C object storage/innobase/xtrabackup/src/CMakeFiles/xbstream.dir/ds_buffer.c.o
[ 27%] Building C object storage/innobase/xtrabackup/src/CMakeFiles/xbcrypt.dir/xbcrypt.c.o
[ 27%] Building C object storage/innobase/xtrabackup/src/CMakeFiles/xbstream.dir/ds_local.c.o
[ 27%] Building C object storage/innobase/xtrabackup/src/CMakeFiles/xbcrypt.dir/xbcrypt_common.c.o
[ 27%] Building C object storage/innobase/xtrabackup/src/CMakeFiles/xbstream.dir/ds_stdout.c.o
[ 27%] Building C object storage/innobase/xtrabackup/src/CMakeFiles/xbcrypt.dir/xbcrypt_read.c.o
[ 27%] Linking CXX executable comp_err
[ 27%] Building C object storage/innobase/xtrabackup/src/CMakeFiles/xbstream.dir/ds_decrypt.c.o
[ 27%] Building C object storage/innobase/xtrabackup/src/CMakeFiles/xbcrypt.dir/xbcrypt_write.c.o
[ 27%] Built target comp_err
[ 27%] Building C object storage/innobase/xtrabackup/src/xbcloud/CMakeFiles/xbcloud.dir/__/xbstream_read.c.o
[ 27%] Building C object storage/innobase/xtrabackup/src/CMakeFiles/xbcrypt.dir/datasink.c.o
[ 27%] Building C object storage/innobase/xtrabackup/src/CMakeFiles/xbstream.dir/datasink.c.o
[ 27%] Building CXX object storage/innobase/xtrabackup/src/xbcloud/CMakeFiles/xbcloud.dir/http.cc.o
[ 27%] Building C object storage/innobase/xtrabackup/src/CMakeFiles/xbcrypt.dir/ds_encrypt.c.o
[ 27%] Building C object storage/innobase/xtrabackup/src/CMakeFiles/xbstream.dir/file_utils.c.o
[ 27%] Building C object storage/innobase/xtrabackup/src/CMakeFiles/xbstream.dir/xbstream.c.o
[ 27%] Building C object storage/innobase/xtrabackup/src/CMakeFiles/xbcrypt.dir/ds_decrypt.c.o
[ 27%] Building C object storage/innobase/xtrabackup/src/CMakeFiles/xbstream.dir/xbstream_read.c.o
[ 28%] Building C object storage/innobase/xtrabackup/src/CMakeFiles/xbcrypt.dir/ds_local.c.o
[ 28%] Building C object storage/innobase/xtrabackup/src/CMakeFiles/xbstream.dir/xbstream_write.c.o
[ 28%] Building C object storage/innobase/xtrabackup/src/CMakeFiles/xbcrypt.dir/ds_stdout.c.o
[ 28%] Building C object storage/innobase/xtrabackup/src/CMakeFiles/xbstream.dir/xbcrypt_common.c.o
[ 28%] Linking CXX executable xbcrypt
[ 28%] Building C object storage/innobase/xtrabackup/src/CMakeFiles/xbstream.dir/xbcrypt_write.c.o
[ 28%] Generating ../include/mysqld_error.h, ../sql/share/english/errmsg.sys
[ 28%] Built target GenError
[ 28%] Building C object libmysql/CMakeFiles/clientlib.dir/libmysql.c.o
[ 28%] Linking CXX executable xbstream
[ 28%] Built target xbcrypt
[ 28%] Building CXX object libbinlogevents/src/CMakeFiles/binlogevents_static.dir/statement_events.cpp.o
[ 28%] Building CXX object libbinlogevents/src/CMakeFiles/binlogevents_static.dir/control_events.cpp.o
[ 28%] Building C object libmysql/CMakeFiles/clientlib.dir/errmsg.c.o
[ 28%] Building C object libmysql/CMakeFiles/clientlib.dir/__/sql-common/client.c.o
[ 28%] Building CXX object libbinlogevents/src/CMakeFiles/binlogevents_static.dir/load_data_events.cpp.o
[ 28%] Building C object libmysql/CMakeFiles/clientlib.dir/__/sql-common/my_time.c.o
[ 28%] Building CXX object libbinlogevents/src/CMakeFiles/binlogevents_static.dir/rows_event.cpp.o
[ 28%] Building CXX object libbinlogevents/src/CMakeFiles/binlogevents_static.dir/binlog_event.cpp.o
[ 28%] Building C object libmysql/CMakeFiles/clientlib.dir/__/sql-common/client_plugin.c.o
[ 28%] Building CXX object libbinlogevents/src/CMakeFiles/binlogevents_static.dir/binary_log_funcs.cpp.o
[ 28%] Building CXX object libbinlogevents/src/CMakeFiles/binlogevents_static.dir/uuid.cpp.o
[ 28%] Building CXX object libmysql/CMakeFiles/clientlib.dir/__/sql-common/client_authentication.cc.o
[ 28%] Building C object libmysql/CMakeFiles/clientlib.dir/__/sql-common/get_password.c.o
[ 28%] Building CXX object libmysql/CMakeFiles/clientlib.dir/__/sql/net_serv.cc.o
[ 28%] Building C object libmysql/CMakeFiles/clientlib.dir/__/sql-common/pack.c.o
[ 29%] Linking CXX static library ../lib/libbinlogevents.a
[ 29%] Building C object libmysql/CMakeFiles/clientlib.dir/__/sql/auth/password.c.o
[ 29%] Built target binlogevents_static
[ 29%] Building CXX object libmysql/CMakeFiles/clientlib.dir/__/sql/auth/sha2_password_common.cc.o
[ 29%] Building C object libmysql/CMakeFiles/clientlib.dir/mysql_trace.c.o
[ 30%] Linking CXX static library ../archive_output_directory/libclientlib.a
[ 30%] Built target clientlib
, Truncated stderr: collect2: error: ld returned 1 exit status
make[2]: *** [storage/innobase/xtrabackup/src/CMakeFiles/xbstream.dir/build.make:270: storage/innobase/xtrabackup/src/xbstream] Error 1
make[1]: *** [CMakeFiles/Makefile2:2531: storage/innobase/xtrabackup/src/CMakeFiles/xbstream.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [storage/innobase/xtrabackup/src/xbcloud/CMakeFiles/xbcloud.dir/build.make:104: storage/innobase/xtrabackup/src/xbcloud/CMakeFiles/xbcloud.dir/http.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3369: storage/innobase/xtrabackup/src/xbcloud/CMakeFiles/xbcloud.dir/all] Error 2
/var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc: In function 'RSA* rsa_init(MYSQL*)':
/var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:115:41: warning: 'RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  115 |   key= g_public_key= PEM_read_RSA_PUBKEY(pub_key_file, 0, 0, 0);
      |                      ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:42:
/usr/include/openssl/pem.h:449:1: note: declared here
  449 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA)
      | ^~~~~~~~~~~~~~~~~~~
/var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc: In function 'int sha256_password_auth_client(MYSQL_PLUGIN_VIO*, MYSQL*)':
/var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:211:44: warning: 'RSA* PEM_read_bio_RSA_PUBKEY(BIO*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  211 |         public_key= PEM_read_bio_RSA_PUBKEY(bio, NULL, NULL, NULL);
      |                     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:42:
/usr/include/openssl/pem.h:449:1: note: declared here
  449 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA)
      | ^~~~~~~~~~~~~~~~~~~
/var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:235:19: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  235 |           RSA_free(public_key);
      |           ~~~~~~~~^~~~~~~~~~~~
In file included from /var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:41:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
/var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:244:34: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  244 |       int cipher_length= RSA_size(public_key);
      |                          ~~~~~~~~^~~~~~~~~~~~
In file included from /var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:41:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
/var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:253:19: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  253 |           RSA_free(public_key);
      |           ~~~~~~~~^~~~~~~~~~~~
In file included from /var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:41:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
/var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:256:25: warning: 'int RSA_public_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  256 |       RSA_public_encrypt(passwd_len, (unsigned char *) passwd_scramble,
      |       ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  257 |                          encrypted_password,
      |                          ~~~~~~~~~~~~~~~~~~~
  258 |                          public_key, RSA_PKCS1_OAEP_PADDING);
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:41:
/usr/include/openssl/rsa.h:282:5: note: declared here
  282 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~
/var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:260:17: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  260 |         RSA_free(public_key);
      |         ~~~~~~~~^~~~~~~~~~~~
In file included from /var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:41:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
/var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc: In function 'int caching_sha2_password_auth_client(MYSQL_PLUGIN_VIO*, MYSQL*)':
/var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:423:44: warning: 'RSA* PEM_read_bio_RSA_PUBKEY(BIO*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  423 |         public_key= PEM_read_bio_RSA_PUBKEY(bio, NULL, NULL, NULL);
      |                     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:42:
/usr/include/openssl/pem.h:449:1: note: declared here
  449 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA)
      | ^~~~~~~~~~~~~~~~~~~
/var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:449:51: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  449 |           if (got_public_key_from_server) RSA_free(public_key);
      |                                           ~~~~~~~~^~~~~~~~~~~~
In file included from /var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:41:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
/var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:459:36: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  459 |         int cipher_length= RSA_size(public_key);
      |                            ~~~~~~~~^~~~~~~~~~~~
In file included from /var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:41:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
/var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:468:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  468 |             RSA_free(public_key);
      |             ~~~~~~~~^~~~~~~~~~~~
In file included from /var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:41:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
/var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:473:27: warning: 'int RSA_public_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  473 |         RSA_public_encrypt(passwd_len, (unsigned char *)passwd_scramble,
      |         ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  474 |                            encrypted_password, public_key,
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  475 |                            RSA_PKCS1_OAEP_PADDING);
      |                            ~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:41:
/usr/include/openssl/rsa.h:282:5: note: declared here
  282 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~
/var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:477:19: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  477 |           RSA_free(public_key);
      |           ~~~~~~~~^~~~~~~~~~~~
In file included from /var/vcap/data/compile/percona-xtrabackup/percona-xtrabackup-2.4.24/sql-common/client_authentication.cc:41:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
make: *** [Makefile:156: all] Error 2
abg commented 2 years ago

This issue is fixed in v0.43.0 that was released today.

Let us know if you encounter any more issues using the jammy stemcell.