D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/uftp-5.0.3-1.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Lxa8SH
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.szcsph
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build
+ rm -rf uftp-5.0.3
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/uftp-5.0.3.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd uftp-5.0.3
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (makefile-lib64-openssl.patch):'
Patch #0 (makefile-lib64-openssl.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file makefile
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.jhNaET
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd uftp-5.0.3
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ /usr/bin/make -O -j16 V=1 VERBOSE=1 -f makefile OPENSSL=/usr 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' 'LDFLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c server_main.c
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c server_init.c
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c client_main.c
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c client_loop.c
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c server_common.c
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c client_fileinfo.c
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c server_send.c
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c client_config.c
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c client_init.c
client_init.c: In function 'initialize':
client_init.c:620:43: warning: '%s' directive output may be truncated writing up to 1999 bytes into a region of size 300 [-Wformat-truncation=]
  620 |         snprintf(tempf1, sizeof(tempf1), "%s%c_uftptmp1", destdir[i], PATH_SEP);
      |                                           ^~
In file included from /usr/include/stdio.h:970,
                 from client_init.c:31:
In function 'snprintf',
    inlined from 'initialize' at client_init.c:620:9:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 11 and 2010 bytes into a destination of size 300
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c server_config.c
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c proxy_main.c
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c heartbeat_send.c
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c server_transfer.c
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c encrypt_openssl.c
encrypt_openssl.c: In function 'RSA_keylen':
encrypt_openssl.c:487:5: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  487 |     return RSA_size(rsa);
      |     ^~~~~~
In file included from encrypt_openssl.c:43:
/usr/include/openssl/rsa.h:215:27: note: declared here
  215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
encrypt_openssl.c: In function 'EC_keylen':
encrypt_openssl.c:501:5: warning: 'i2o_ECPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  501 |     if ((keylen = i2o_ECPublicKey(ec, NULL)) == 0) {
      |     ^~
In file included from /usr/include/openssl/x509.h:33,
                 from /usr/include/openssl/pem.h:23,
                 from encrypt_openssl.c:44:
/usr/include/openssl/ec.h:1264:27: note: declared here
 1264 | OSSL_DEPRECATEDIN_3_0 int i2o_ECPublicKey(const EC_KEY *key, unsigned char **out);
      |                           ^~~~~~~~~~~~~~~
encrypt_openssl.c: In function 'RSA_encrypt':
encrypt_openssl.c:539:5: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  539 |     if (RSA_size(rsa) * 8 < 768) {
      |     ^~
/usr/include/openssl/rsa.h:215:27: note: declared here
  215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
encrypt_openssl.c:545:5: warning: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  545 |     if ((*tolen = RSA_public_encrypt(fromlen, from, to, rsa, padding)) == -1) {
      |     ^~
/usr/include/openssl/rsa.h:293:5: note: declared here
  293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~
encrypt_openssl.c: In function 'RSA_decrypt':
encrypt_openssl.c:561:5: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  561 |     if (RSA_size(rsa) * 8 < 768) {
      |     ^~
/usr/include/openssl/rsa.h:215:27: note: declared here
  215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
encrypt_openssl.c:567:5: warning: 'RSA_private_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  567 |     if ((*tolen = RSA_private_decrypt(fromlen, from, to, rsa, padding)) == -1) {
      |     ^~
/usr/include/openssl/rsa.h:302:5: note: declared here
  302 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~~
encrypt_openssl.c: In function 'create_RSA_sig':
encrypt_openssl.c:596:5: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  596 |     if (!RSA_sign(EVP_MD_type(hashptr), meshash, meshashlen,
      |     ^~
/usr/include/openssl/rsa.h:359:27: note: declared here
  359 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m,
      |                           ^~~~~~~~
encrypt_openssl.c: In function 'verify_RSA_sig':
encrypt_openssl.c:627:5: warning: 'RSA_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  627 |     if (!RSA_verify(EVP_MD_type(hashptr), meshash, meshashlen, sigcopy,
      |     ^~
/usr/include/openssl/rsa.h:362:27: note: declared here
  362 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m,
      |                           ^~~~~~~~~~
encrypt_openssl.c: In function 'create_ECDSA_sig':
encrypt_openssl.c:663:5: warning: 'ECDSA_do_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  663 |     if ((_sig = ECDSA_do_sign(meshash, meshashlen, ec)) == NULL) {
      |     ^~
/usr/include/openssl/ec.h:1384:34: note: declared here
 1384 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst,
      |                                  ^~~~~~~~~~~~~
encrypt_openssl.c: In function 'verify_ECDSA_sig':
encrypt_openssl.c:766:5: warning: 'ECDSA_do_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  766 |     if (!ECDSA_do_verify(meshash, meshashlen, _sig, ec)) {
      |     ^~
/usr/include/openssl/ec.h:1410:27: note: declared here
 1410 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len,
      |                           ^~~~~~~~~~~~~~~
encrypt_openssl.c: In function 'get_ECDH_key':
encrypt_openssl.c:802:5: warning: 'ECDH_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  802 |     if (!ECDH_compute_key(key, 0, EC_KEY_get0_public_key(pubkey),
      |     ^~
/usr/include/openssl/ec.h:1315:27: note: declared here
 1315 | OSSL_DEPRECATEDIN_3_0 int ECDH_compute_key(void *out, size_t outlen,
      |                           ^~~~~~~~~~~~~~~~
encrypt_openssl.c:802:5: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  802 |     if (!ECDH_compute_key(key, 0, EC_KEY_get0_public_key(pubkey),
      |     ^~
/usr/include/openssl/ec.h:1081:39: note: declared here
 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
encrypt_openssl.c: In function 'import_RSA_key':
encrypt_openssl.c:829:5: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  829 |     if ((*rsa = RSA_new()) == NULL) {
      |     ^~
/usr/include/openssl/rsa.h:212:28: note: declared here
  212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
encrypt_openssl.c:837:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  837 |         RSA_free(*rsa);
      |         ^~~~~~~~
/usr/include/openssl/rsa.h:304:28: note: declared here
  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
encrypt_openssl.c:843:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  843 |         RSA_free(*rsa);
      |         ^~~~~~~~
/usr/include/openssl/rsa.h:304:28: note: declared here
  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
encrypt_openssl.c:847:5: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  847 |     if (!RSA_set0_key(*rsa, n, e, NULL)) {
      |     ^~
/usr/include/openssl/rsa.h:218:27: note: declared here
  218 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                           ^~~~~~~~~~~~
encrypt_openssl.c:849:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  849 |         RSA_free(*rsa);
      |         ^~~~~~~~
/usr/include/openssl/rsa.h:304:28: note: declared here
  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
encrypt_openssl.c: In function 'export_RSA_key':
encrypt_openssl.c:877:5: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  877 |     RSA_get0_key(rsa, &n, &e, NULL);
      |     ^~~~~~~~~~~~
/usr/include/openssl/rsa.h:228:28: note: declared here
  228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      |                            ^~~~~~~~~~~~
encrypt_openssl.c: In function 'import_EC_key':
encrypt_openssl.c:930:5: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  930 |     if ((*ec = EC_KEY_new_by_curve_name(
      |     ^~
/usr/include/openssl/ec.h:1017:31: note: declared here
 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~
encrypt_openssl.c:939:5: warning: 'o2i_ECPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  939 |     if (!o2i_ECPublicKey(ec, &tmp, ntohs(ecblob->keylen) + 1)) {
      |     ^~
/usr/include/openssl/ec.h:1255:31: note: declared here
 1255 | OSSL_DEPRECATEDIN_3_0 EC_KEY *o2i_ECPublicKey(EC_KEY **key,
      |                               ^~~~~~~~~~~~~~~
encrypt_openssl.c:941:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  941 |         EC_KEY_free(*ec);
      |         ^~~~~~~~~~~
/usr/include/openssl/ec.h:1022:28: note: declared here
 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
encrypt_openssl.c: In function 'export_EC_key':
encrypt_openssl.c:961:5: warning: 'i2o_ECPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  961 |     if ((keylen = i2o_ECPublicKey(ec, NULL)) == 0) {
      |     ^~
/usr/include/openssl/ec.h:1264:27: note: declared here
 1264 | OSSL_DEPRECATEDIN_3_0 int i2o_ECPublicKey(const EC_KEY *key, unsigned char **out);
      |                           ^~~~~~~~~~~~~~~
encrypt_openssl.c:969:5: warning: 'i2o_ECPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  969 |     if (!i2o_ECPublicKey(ec, &tmp)) {
      |     ^~
/usr/include/openssl/ec.h:1264:27: note: declared here
 1264 | OSSL_DEPRECATEDIN_3_0 int i2o_ECPublicKey(const EC_KEY *key, unsigned char **out);
      |                           ^~~~~~~~~~~~~~~
encrypt_openssl.c: In function 'gen_RSA_key':
encrypt_openssl.c:1005:5: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1005 |     if ((rsa = RSA_new()) == NULL) {
      |     ^~
/usr/include/openssl/rsa.h:212:28: note: declared here
  212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
encrypt_openssl.c:1010:5: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1010 |     if (!RSA_generate_key_ex(rsa, bits ? bits : DEF_RSA_LEN, e, NULL)) {
      |     ^~
/usr/include/openssl/rsa.h:271:27: note: declared here
  271 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
      |                           ^~~~~~~~~~~~~~~~~~~
encrypt_openssl.c:1020:13: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1020 |             RSA_free(rsa);
      |             ^~~~~~~~
/usr/include/openssl/rsa.h:304:28: note: declared here
  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
encrypt_openssl.c:1026:13: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1026 |             RSA_free(rsa);
      |             ^~~~~~~~
/usr/include/openssl/rsa.h:304:28: note: declared here
  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
encrypt_openssl.c:1030:9: warning: 'PEM_write_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1030 |         if (!PEM_write_RSAPrivateKey(f, rsa, NULL, NULL, 0, NULL, NULL)) {
      |         ^~
/usr/include/openssl/pem.h:456:1: note: declared here
  456 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
      | ^~~~~~~~~~~~~~~~~~~~~~
encrypt_openssl.c:1033:13: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1033 |             RSA_free(rsa);
      |             ^~~~~~~~
/usr/include/openssl/rsa.h:304:28: note: declared here
  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
encrypt_openssl.c: In function 'read_RSA_key':
encrypt_openssl.c:1056:5: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1056 |     if ((rsa = PEM_read_RSAPrivateKey(f, NULL, NULL, NULL)) == NULL) {
      |     ^~
/usr/include/openssl/pem.h:456:1: note: declared here
  456 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
      | ^~~~~~~~~~~~~~~~~~~~~~
encrypt_openssl.c: In function 'gen_EC_key':
encrypt_openssl.c:1077:5: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1077 |     if ((ec = EC_KEY_new_by_curve_name(get_ec_curve_nid(curve))) == NULL) {
      |     ^~
/usr/include/openssl/ec.h:1017:31: note: declared here
 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~
encrypt_openssl.c:1081:5: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1081 |     if (!EC_KEY_generate_key(ec)) {
      |     ^~
/usr/include/openssl/ec.h:1120:27: note: declared here
 1120 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key);
      |                           ^~~~~~~~~~~~~~~~~~~
encrypt_openssl.c:1087:5: warning: 'EC_KEY_set_asn1_flag' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1087 |     EC_KEY_set_asn1_flag(ec, OPENSSL_EC_NAMED_CURVE);
      |     ^~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1106:28: note: declared here
 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag);
      |                            ^~~~~~~~~~~~~~~~~~~~
encrypt_openssl.c:1101:9: warning: 'PEM_write_ECPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1101 |         if (!PEM_write_ECPrivateKey(f, ec, NULL, NULL, 0, NULL, NULL)) {
      |         ^~
/usr/include/openssl/pem.h:471:1: note: declared here
  471 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY)
      | ^~~~~~~~~~~~~~~~~~~~~~
encrypt_openssl.c: In function 'read_EC_key':
encrypt_openssl.c:1125:5: warning: 'PEM_read_ECPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1125 |     if ((ec = PEM_read_ECPrivateKey(f, NULL, NULL, NULL)) == NULL) {
      |     ^~
/usr/include/openssl/pem.h:471:1: note: declared here
  471 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY)
      | ^~~~~~~~~~~~~~~~~~~~~~
encrypt_openssl.c: In function 'read_private_key':
encrypt_openssl.c:1148:5: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1148 |     if ((key.rsa = PEM_read_RSAPrivateKey(f, NULL, NULL, NULL)) != NULL) {
      |     ^~
/usr/include/openssl/pem.h:456:1: note: declared here
  456 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
      | ^~~~~~~~~~~~~~~~~~~~~~
encrypt_openssl.c:1161:5: warning: 'PEM_read_ECPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1161 |     if ((key.ec = PEM_read_ECPrivateKey(f, NULL, NULL, NULL)) != NULL) {
      |     ^~
/usr/include/openssl/pem.h:471:1: note: declared here
  471 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY)
      | ^~~~~~~~~~~~~~~~~~~~~~
encrypt_openssl.c: In function 'get_EC_curve':
encrypt_openssl.c:1178:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1178 |     nid = EC_GROUP_get_curve_name(EC_KEY_get0_group(ec));
      |     ^~~
/usr/include/openssl/ec.h:1053:39: note: declared here
 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
encrypt_openssl.c: In function 'free_RSA_key':
encrypt_openssl.c:1184:5: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1184 |     if (rsa) RSA_free(rsa);
      |     ^~
/usr/include/openssl/rsa.h:304:28: note: declared here
  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
encrypt_openssl.c: In function 'free_EC_key':
encrypt_openssl.c:1189:5: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1189 |     if (ec) EC_KEY_free(ec);
      |     ^~
/usr/include/openssl/ec.h:1022:28: note: declared here
 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c proxy_loop.c
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c client_transfer.c
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c uftp_keymgt.c
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c server_announce.c
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c client_common.c
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c proxy_config.c
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c proxy_init.c
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c client_announce.c
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c server_phase.c
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c proxy_downstream.c
proxy_downstream.c: In function 'send_keyinfo':
proxy_downstream.c:750:31: warning: 'basesigcontextlen' may be used uninitialized [-Wmaybe-uninitialized]
  750 |                 sigcontextlen = basesigcontextlen + packetlen;
      |                 ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
proxy_downstream.c:618:18: note: 'basesigcontextlen' was declared here
  618 |     unsigned int basesigcontextlen, sigcontextlen, baseaadlen, aadlen;
      |                  ^~~~~~~~~~~~~~~~~
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c uftp_common.c
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c proxy_common.c
gcc  -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -I /usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -c proxy_upstream.c
gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -L /usr/lib64 -o uftpd uftp_common.o encrypt_openssl.o client_loop.o client_announce.o client_fileinfo.o client_transfer.o client_common.o client_config.o client_init.o client_main.o heartbeat_send.o -lm -lcrypto
gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -L /usr/lib64 -o uftp_keymgt uftp_keymgt.o uftp_common.o encrypt_openssl.o -lm -lcrypto
gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -L /usr/lib64 -o uftp uftp_common.o encrypt_openssl.o server_announce.o server_transfer.o server_send.o server_phase.o server_common.o server_config.o server_init.o server_main.o -lm -lcrypto  -lpthread
gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wformat=2 -Wwrite-strings -Wpointer-arith -Wcast-qual -Wshadow -Wno-missing-field-initializers -Wstrict-prototypes -Winline -Wbad-function-cast -DHAS_GETIFADDRS  -L /usr/lib64 -o uftpproxyd uftp_common.o encrypt_openssl.o proxy_loop.o proxy_upstream.o proxy_downstream.o proxy_common.o proxy_config.o proxy_init.o proxy_main.o heartbeat_send.o -lm -lcrypto
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.BTbFuH
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build
+ mkdir /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd uftp-5.0.3
+ '[' 1 -eq 1 ']'
+ /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT 'INSTALL=/usr/bin/install -p'
install -m 755 -d /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT/usr/bin
install -m 755 -d /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT/usr/share/man/man1
install -m 755  uftp /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT/usr/bin
install -m 755  uftpd /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT/usr/bin
install -m 755  uftpproxyd /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT/usr/bin
install -m 755  uftp_keymgt /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT/usr/bin
install -m 644  uftp.1 uftpd.1 uftpproxyd.1 uftp_keymgt.1 /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT/usr/share/man/man1
+ mkdir -p /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT/usr/sbin
+ mv /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT/usr/bin/uftpd /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT/usr/sbin/uftpd
+ mv /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT/usr/bin/uftpproxyd /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT/usr/sbin/uftpproxyd
+ /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 5.0.3-1.mga10 --unique-debug-suffix -5.0.3-1.mga10.x86_64 --unique-debug-src-base uftp-5.0.3-1.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/uftp-5.0.3
find-debuginfo: starting

Extracting debug info from 4 files
DWARF-compressing 4 files
sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/uftp-5.0.3-1.mga10.x86_64
find-debuginfo: done
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16
+ /usr/lib/rpm/redhat/brp-python-hardlink
Reading /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: uftp-5.0.3-1.mga10.x86_64
Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rgWyZa
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build
+ cd uftp-5.0.3
+ DOCDIR=/home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT/usr/share/doc/uftp
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT/usr/share/doc/uftp
+ cp -pr /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/uftp-5.0.3/Changes.txt /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT/usr/share/doc/uftp
+ cp -pr /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/uftp-5.0.3/ReadMe.txt /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT/usr/share/doc/uftp
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: uftp = 5.0.3-1.mga10 uftp(x86-64) = 5.0.3-1.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit)
Processing files: uftp-server-5.0.3-1.mga10.x86_64
Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Y6TYdZ
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build
+ cd uftp-5.0.3
+ DOCDIR=/home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT/usr/share/doc/uftp-server
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT/usr/share/doc/uftp-server
+ cp -pr /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/uftp-5.0.3/Changes.txt /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT/usr/share/doc/uftp-server
+ cp -pr /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/uftp-5.0.3/ReadMe.txt /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT/usr/share/doc/uftp-server
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: uftp-server = 5.0.3-1.mga10 uftp-server(x86-64) = 5.0.3-1.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit)
Processing files: uftp-debugsource-5.0.3-1.mga10.x86_64
Provides: uftp-debugsource = 5.0.3-1.mga10 uftp-debugsource(x86-64) = 5.0.3-1.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: uftp-debuginfo-5.0.3-1.mga10.x86_64
Provides: debuginfo(build-id) = 59e5d3961fb43cd166bc40437dbc4cfc21113d8a debuginfo(build-id) = d7d0c0182c749629c536b8984ecc912b3b55b222 uftp-debuginfo = 5.0.3-1.mga10 uftp-debuginfo(x86-64) = 5.0.3-1.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: uftp-debugsource(x86-64) = 5.0.3-1.mga10
Processing files: uftp-server-debuginfo-5.0.3-1.mga10.x86_64
Provides: debuginfo(build-id) = 74d8f3ee265fa9b4e886ca94f3d1bc4b64c3451a debuginfo(build-id) = af544b71aa3ab0722e2b44b83f4eaf141220500d uftp-server-debuginfo = 5.0.3-1.mga10 uftp-server-debuginfo(x86-64) = 5.0.3-1.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: uftp-debugsource(x86-64) = 5.0.3-1.mga10
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/uftp-5.0.3-1.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/uftp-server-5.0.3-1.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/uftp-debuginfo-5.0.3-1.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/uftp-server-debuginfo-5.0.3-1.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/uftp-debugsource-5.0.3-1.mga10.x86_64.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YJwbx2
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build
+ test -d /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/uftp-5.0.3-build
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!