Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/perl-Net-SSH2.spec'], chrootPath='/var/lib/mock/f41-build-817607-150790/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gjxvwkzl:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gjxvwkzl:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '22d0913641164b5caf60a8f508045212', '-D', '/var/lib/mock/f41-build-817607-150790/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gjxvwkzl:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/perl-Net-SSH2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721347200 Wrote: /builddir/build/SRPMS/perl-Net-SSH2-0.73-8.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/perl-Net-SSH2.spec'], chrootPath='/var/lib/mock/f41-build-817607-150790/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gjxvwkzl:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gjxvwkzl:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '389015d99c1a4367bc269f091054628e', '-D', '/var/lib/mock/f41-build-817607-150790/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gjxvwkzl:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/perl-Net-SSH2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721347200 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.mYm9Z8 + umask 022 + cd /builddir/build/BUILD/perl-Net-SSH2-0.73-build + test -d /builddir/build/BUILD/perl-Net-SSH2-0.73-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/perl-Net-SSH2-0.73-build + /usr/bin/rm -rf /builddir/build/BUILD/perl-Net-SSH2-0.73-build + /usr/bin/mkdir -p /builddir/build/BUILD/perl-Net-SSH2-0.73-build + /usr/bin/mkdir -p /builddir/build/BUILD/perl-Net-SSH2-0.73-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6SZq8j + umask 022 + cd /builddir/build/BUILD/perl-Net-SSH2-0.73-build + cd /builddir/build/BUILD/perl-Net-SSH2-0.73-build + rm -rf Net-SSH2-0.73 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Net-SSH2-0.73.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Net-SSH2-0.73 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -r inc/Devel inc/Module + perl -i -ne 'print $_ unless m{^inc/}' MANIFEST + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.A4auJc + umask 022 + cd /builddir/build/BUILD/perl-Net-SSH2-0.73-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Net-SSH2-0.73 + perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' NO_PACKLIST=1 NO_PERLLOCAL=1 include /builddir/build/BUILD/perl-Net-SSH2-0.73-build/Net-SSH2-0.73/inc/Module/Install.pm The libssh2 library is required by this module. If you don't have it, you can download it from http://www.libssh2.org; you may also need OpenSSL, which can be obtained from http://www.openssl.org , or libgcrypt, which can be obtained from http://www.gnupg.org . Debian: sudo aptitude install libssh2-1-dev OpenSUSE: sudo zypper in libssh2-1 libssh2-devel You can pass your libssh2 lib and include dirs (and extra link args) on the command line. E.g.: perl Makefile.PL lib=$HOME/libssh2/lib inc=$HOME/libssh2/include \ ldargs="-lz" These can also be set through the LIBSSH2_LIB/LIBSSH2_INCLUDE/LIBSSH2_LDARGS environment variables. To build with libgcrypt instead of OpenSSL, use the crypto_backend option when calling Makefile.PL, e.g.: perl Makefile.PL crypto_backend=gcrypt include inc/Module/Install/Metadata.pm include inc/Module/Install/Base.pm include inc/Module/Install/Makefile.pm Looking for libraries... include inc/Module/Install/CheckLib.pm Analyzing file assertlib0J1z3OhE Library ssh2 found in standard place Detected crypto backend: openssl crypto backend set to openssl Library z found in standard place Library ssl found in standard place Library crypto found in standard place WARNING: Older versions of ExtUtils::MakeMaker may errantly install README.pod as part of this distribution. It is recommended to avoid using this path in CPAN modules. include inc/Module/Install/WriteAll.pm include inc/Module/Install/Win32.pm include inc/Module/Install/Can.pm include inc/Module/Install/Fetch.pm Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Net::SSH2 Writing MYMETA.yml and MYMETA.json Writing META.yml + /usr/bin/make -O -j64 V=1 VERBOSE=1 Running Mkbootstrap for SSH2 () chmod 644 "SSH2.bs" "/usr/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- SSH2.bs blib/arch/auto/Net/SSH2/SSH2.bs 644 cp lib/Net/SSH2/Listener.pm blib/lib/Net/SSH2/Listener.pm cp lib/Net/SSH2/Constants.pm blib/lib/Net/SSH2/Constants.pm cp lib/Net/SSH2/Channel.pm blib/lib/Net/SSH2/Channel.pm cp lib/Net/SSH2/KnownHosts.pm blib/lib/Net/SSH2/KnownHosts.pm cp lib/Net/SSH2.pm blib/lib/Net/SSH2.pm cp lib/Net/SSH2/SFTP.pm blib/lib/Net/SSH2/SFTP.pm cp lib/Net/SSH2/File.pm blib/lib/Net/SSH2/File.pm cp lib/Net/SSH2/Dir.pm blib/lib/Net/SSH2/Dir.pm cp lib/Net/SSH2/PublicKey.pm blib/lib/Net/SSH2/PublicKey.pm "/usr/bin/perl" "-Iinc" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/perl-Net-SSH2-0.73-build/Net-SSH2-0.73/typemap' SSH2.xs > SSH2.xsc mv SSH2.xsc SSH2.c gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DVERSION=\"0.73\" -DXS_VERSION=\"0.73\" -fPIC "-I/usr/lib64/perl5/CORE" SSH2.c SSH2.xs: In function ‘sv2iv_constant_or_croak’: SSH2.xs:354:19: warning: unused variable ‘i’ [-Wunused-variable] 354 | int type, i; | ^ In file included from /usr/lib64/perl5/CORE/perl.h:6225, from SSH2.xs:8: SSH2.xs: In function ‘cb_kbdint_response_callback’: SSH2.xs:514:52: warning: pointer targets in passing argument 2 of ‘Perl_newSVpvn’ differ in signedness [-Wpointer-sign] 514 | hv_store(hv, "text", 4, newSVpvn(prompts[i].text, prompts[i].length), 0); | ~~~~~~~~~~^~~~~ | | | unsigned char * /usr/lib64/perl5/CORE/embed.h:293:86: note: in definition of macro ‘hv_common_key_len’ 293 | # define hv_common_key_len(a,b,c,d,e,f) Perl_hv_common_key_len(aTHX_ a,b,c,d,e,f) | ^ SSH2.xs:514:9: note: in expansion of macro ‘hv_store’ 514 | hv_store(hv, "text", 4, newSVpvn(prompts[i].text, prompts[i].length), 0); | ^~~~~~~~ SSH2.xs:514:33: note: in expansion of macro ‘newSVpvn’ 514 | hv_store(hv, "text", 4, newSVpvn(prompts[i].text, prompts[i].length), 0); | ^~~~~~~~ In file included from /usr/lib64/perl5/CORE/perl.h:6186: /usr/lib64/perl5/CORE/proto.h:3048:40: note: expected ‘const char * const’ but argument is of type ‘unsigned char *’ 3048 | Perl_newSVpvn(pTHX_ const char * const buffer, const STRLEN len) | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/lib64/perl5/CORE/perl.h:6166: /usr/lib64/perl5/CORE/pp.h:216:26: warning: value computed is not used [-Wunused-value] 216 | # define POPs (*sp--) | ~^~~~~~ SSH2.xs:526:13: note: in expansion of macro ‘POPs’ 526 | POPs; | ^~~~ SSH2.xs: In function ‘cb_ignore_callback’: SSH2.xs:575:14: warning: variable ‘ax’ set but not used [-Wunused-but-set-variable] 575 | dSP; I32 ax; int count; | ^~ SSH2.xs: In function ‘cb_debug_callback’: SSH2.xs:591:14: warning: variable ‘ax’ set but not used [-Wunused-but-set-variable] 591 | dSP; I32 ax; int count; | ^~ SSH2.xs: In function ‘cb_disconnect_callback’: SSH2.xs:609:14: warning: variable ‘ax’ set but not used [-Wunused-but-set-variable] 609 | dSP; I32 ax; int count; | ^~ SSH2.xs: In function ‘cb_x11_open_callback’: SSH2.xs:648:14: warning: variable ‘ax’ set but not used [-Wunused-but-set-variable] 648 | dSP; I32 ax; int count; | ^~ SSH2.xs: In function ‘openssl_threadid_func’: /usr/lib64/perl5/CORE/perl.h:8085:19: warning: unused variable ‘my_cxtp’ [-Wunused-variable] 8085 | my_cxt_t *my_cxtp = (my_cxt_t *)PL_my_cxt_list[MY_CXT_INDEX] | ^~~~~~~ SSH2.xs:751:5: note: in expansion of macro ‘dMY_CXT’ 751 | dMY_CXT; | ^~~~~~~ SSH2.c: In function ‘XS_Net__SSH2__new’: SSH2.c:1169:17: warning: unused variable ‘proto’ [-Wunused-variable] 1169 | SV* proto = ST(0) | ^~~~~ SSH2.xs: In function ‘XS_Net__SSH2_auth_password’: SSH2.xs:1206:12: warning: unused variable ‘ok’ [-Wunused-variable] 1206 | int i, ok; | ^~ SSH2.xs:1206:9: warning: unused variable ‘i’ [-Wunused-variable] 1206 | int i, ok; | ^ SSH2.c: In function ‘XS_Net__SSH2__poll’: SSH2.c:2859:18: warning: unused variable ‘ss’ [-Wunused-variable] 2859 | SSH2* ss = INT2PTR(SSH2 *, unwrap(ST(0), "Net::SSH2", "net_ss__poll")) | ^~ SSH2.xs: In function ‘XS_Net__SSH2__Channel__setenv’: SSH2.xs:1652:12: warning: unused variable ‘success’ [-Wunused-variable] 1652 | int i, success = 0; | ^~~~~~~ SSH2.xs:1652:9: warning: unused variable ‘i’ [-Wunused-variable] 1652 | int i, success = 0; | ^ SSH2.xs: In function ‘XS_Net__SSH2__SFTP_open’: SSH2.c:4097:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4097 | l_flags == 0 && posix == 0 && flags == posix /* 0-valued flag */) { \ SSH2.xs:2122:5: note: in expansion of macro ‘XLATFLAG’ 2122 | XLATFLAG(O_RDWR, LIBSSH2_FXF_READ | LIBSSH2_FXF_WRITE); | ^~~~~~~~ SSH2.c:4097:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4097 | l_flags == 0 && posix == 0 && flags == posix /* 0-valued flag */) { \ SSH2.xs:2123:5: note: in expansion of macro ‘XLATFLAG’ 2123 | XLATFLAG(O_RDONLY, LIBSSH2_FXF_READ); | ^~~~~~~~ SSH2.c:4097:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4097 | l_flags == 0 && posix == 0 && flags == posix /* 0-valued flag */) { \ SSH2.xs:2124:5: note: in expansion of macro ‘XLATFLAG’ 2124 | XLATFLAG(O_WRONLY, LIBSSH2_FXF_WRITE); | ^~~~~~~~ SSH2.c:4097:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4097 | l_flags == 0 && posix == 0 && flags == posix /* 0-valued flag */) { \ SSH2.xs:2125:5: note: in expansion of macro ‘XLATFLAG’ 2125 | XLATFLAG(O_APPEND, LIBSSH2_FXF_APPEND); | ^~~~~~~~ SSH2.c:4097:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4097 | l_flags == 0 && posix == 0 && flags == posix /* 0-valued flag */) { \ SSH2.xs:2126:5: note: in expansion of macro ‘XLATFLAG’ 2126 | XLATFLAG(O_CREAT, LIBSSH2_FXF_CREAT); | ^~~~~~~~ SSH2.c:4097:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4097 | l_flags == 0 && posix == 0 && flags == posix /* 0-valued flag */) { \ SSH2.xs:2127:5: note: in expansion of macro ‘XLATFLAG’ 2127 | XLATFLAG(O_TRUNC, LIBSSH2_FXF_TRUNC); | ^~~~~~~~ SSH2.c:4097:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 4097 | l_flags == 0 && posix == 0 && flags == posix /* 0-valued flag */) { \ SSH2.xs:2128:5: note: in expansion of macro ‘XLATFLAG’ 2128 | XLATFLAG(O_EXCL, LIBSSH2_FXF_EXCL); | ^~~~~~~~ SSH2.xs: In function ‘XS_Net__SSH2__KnownHosts_writeline’: SSH2.xs:2682:12: warning: unused variable ‘buffer_len’ [-Wunused-variable] 2682 | STRLEN buffer_len; | ^~~~~~~~~~ SSH2.xs: At top level: SSH2.xs:833:1: warning: ‘croak_last_error’ defined but not used [-Wunused-function] 833 | croak_last_error(SSH2 *ss, const char *class, const char *method) { | ^~~~~~~~~~~~~~~~ SSH2.xs:779:13: warning: ‘openssl_dynlocking_destroy_function’ defined but not used [-Wunused-function] 779 | static void openssl_dynlocking_destroy_function(struct CRYPTO_dynlock_value *l, const char *file, int line) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SSH2.xs:770:13: warning: ‘openssl_dynlocking_lock_function’ defined but not used [-Wunused-function] 770 | static void openssl_dynlocking_lock_function(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SSH2.xs:761:37: warning: ‘openssl_dynlocking_create_function’ defined but not used [-Wunused-function] 761 | static struct CRYPTO_dynlock_value *openssl_dynlocking_create_function(const char *file, int line) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SSH2.xs:749:13: warning: ‘openssl_threadid_func’ defined but not used [-Wunused-function] 749 | static void openssl_threadid_func(CRYPTO_THREADID *id) | ^~~~~~~~~~~~~~~~~~~~~ SSH2.xs:733:13: warning: ‘openssl_locking_function’ defined but not used [-Wunused-function] 733 | static void openssl_locking_function(int mode, int type, const char *file, int line) | ^~~~~~~~~~~~~~~~~~~~~~~~ rm -f blib/arch/auto/Net/SSH2/SSH2.so gcc -lpthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -L/usr/local/lib -fstack-protector-strong SSH2.o -o blib/arch/auto/Net/SSH2/SSH2.so \ -lssh2 -lz -lssl -lcrypto -lperl \ chmod 755 blib/arch/auto/Net/SSH2/SSH2.so Manifying 8 pod documents + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kkTdhN + umask 022 + cd /builddir/build/BUILD/perl-Net-SSH2-0.73-build + '[' /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT ++ dirname /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT + mkdir -p /builddir/build/BUILD/perl-Net-SSH2-0.73-build + mkdir /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Net-SSH2-0.73 + /usr/bin/make install DESTDIR=/builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT 'INSTALL=/usr/bin/install -p' "/usr/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- SSH2.bs blib/arch/auto/Net/SSH2/SSH2.bs 644 Manifying 8 pod documents Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Net/SSH2/SSH2.so Installing /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Net/SSH2.pm Installing /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Net/SSH2/PublicKey.pm Installing /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Net/SSH2/Dir.pm Installing /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Net/SSH2/KnownHosts.pm Installing /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Net/SSH2/Channel.pm Installing /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Net/SSH2/File.pm Installing /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Net/SSH2/SFTP.pm Installing /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Net/SSH2/Listener.pm Installing /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Net/SSH2/Constants.pm Installing /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT/usr/share/man/man3/Net::SSH2::SFTP.3pm Installing /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT/usr/share/man/man3/Net::SSH2::Dir.3pm Installing /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT/usr/share/man/man3/Net::SSH2::Channel.3pm Installing /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT/usr/share/man/man3/Net::SSH2::KnownHosts.3pm Installing /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT/usr/share/man/man3/Net::SSH2::PublicKey.3pm Installing /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT/usr/share/man/man3/Net::SSH2.3pm Installing /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT/usr/share/man/man3/Net::SSH2::File.3pm Installing /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT/usr/share/man/man3/Net::SSH2::Listener.3pm + find /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT -type f -name '*.bs' -size 0 -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT/usr + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 0.73-8.fc41 --unique-debug-suffix -0.73-8.fc41.riscv64 --unique-debug-src-base perl-Net-SSH2-0.73-8.fc41.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/perl-Net-SSH2-0.73-build/Net-SSH2-0.73 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/perl-Net-SSH2-0.73-8.fc41.riscv64 599 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j64 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j64 /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT Scanned 25 directories and 23 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/perl-Net-SSH2-0.73-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.PYBRWO + umask 022 + cd /builddir/build/BUILD/perl-Net-SSH2-0.73-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Net-SSH2-0.73 + make test "/usr/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- SSH2.bs blib/arch/auto/Net/SSH2/SSH2.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t # libssh2 version: 1.11.0 t/Net-SSH2.t .. ok All tests successful. Files=1, Tests=15, 1 wallclock secs ( 0.07 usr 0.01 sys + 0.41 cusr 0.05 csys = 0.54 CPU) Result: PASS + RPM_EC=0 ++ jobs -p + exit 0 Processing files: perl-Net-SSH2-0.73-8.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tMCicL + umask 022 + cd /builddir/build/BUILD/perl-Net-SSH2-0.73-build + cd Net-SSH2-0.73 + DOCDIR=/builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT/usr/share/doc/perl-Net-SSH2 + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT/usr/share/doc/perl-Net-SSH2 + cp -pr /builddir/build/BUILD/perl-Net-SSH2-0.73-build/Net-SSH2-0.73/Changes /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT/usr/share/doc/perl-Net-SSH2 + cp -pr /builddir/build/BUILD/perl-Net-SSH2-0.73-build/Net-SSH2-0.73/README.pod /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT/usr/share/doc/perl-Net-SSH2 + cp -pr /builddir/build/BUILD/perl-Net-SSH2-0.73-build/Net-SSH2-0.73/example /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT/usr/share/doc/perl-Net-SSH2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: perl(Net::SSH2) = 0.73 perl(Net::SSH2::Channel) perl(Net::SSH2::Constants) = 0.73 perl(Net::SSH2::Dir) perl(Net::SSH2::File) perl(Net::SSH2::KnownHosts) perl(Net::SSH2::Listener) perl(Net::SSH2::PublicKey) perl(Net::SSH2::SFTP) perl-Net-SSH2 = 0.73-8.fc41 perl-Net-SSH2(riscv-64) = 0.73-8.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libperl.so.5.40()(64bit) libssh2.so.1()(64bit) perl(:MODULE_COMPAT_5.40.0) perl(:VERSION) >= 5.6.0 perl(Carp) perl(Errno) perl(Exporter) perl(File::Basename) perl(IO::File) perl(Net::SSH2::Channel) perl(Net::SSH2::Constants) perl(Net::SSH2::File) perl(Net::SSH2::KnownHosts) perl(Net::SSH2::Listener) perl(Net::SSH2::SFTP) perl(Socket) perl(XSLoader) perl(base) perl(strict) perl(warnings) perl(warnings::register) perl-libs rtld(GNU_HASH) Recommends: perl(Term::ReadKey) Processing files: perl-Net-SSH2-debugsource-0.73-8.fc41.riscv64 Provides: perl-Net-SSH2-debugsource = 0.73-8.fc41 perl-Net-SSH2-debugsource(riscv-64) = 0.73-8.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-Net-SSH2-debuginfo-0.73-8.fc41.riscv64 Provides: debuginfo(build-id) = 0f68dac6866370221edae8d6488de9006fbb043b perl-Net-SSH2-debuginfo = 0.73-8.fc41 perl-Net-SSH2-debuginfo(riscv-64) = 0.73-8.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Net-SSH2-debugsource(riscv-64) = 0.73-8.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/perl-Net-SSH2-0.73-build/BUILDROOT Wrote: /builddir/build/RPMS/perl-Net-SSH2-0.73-8.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Net-SSH2-debuginfo-0.73-8.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Net-SSH2-debugsource-0.73-8.fc41.riscv64.rpm Child return code was: 0