==> Retrieving sources... -> Found Net-SSH2-0.72.tar.gz ==> Generating checksums for source files... ==> Making package: perl-net-ssh2 0.72-3 (Wed 20 Nov 2024 08:59:40 PM UTC) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found Net-SSH2-0.72.tar.gz ==> Validating source files with sha512sums... Net-SSH2-0.72.tar.gz ... Passed ==> Extracting sources... -> Extracting Net-SSH2-0.72.tar.gz with bsdtar ==> Starting build()... Looking for libraries... 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 Analyzing file assertlibTPaX7WRF 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. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Net::SSH2 Writing MYMETA.yml and MYMETA.json Running Mkbootstrap for SSH2 () "/usr/bin/perl" "-Iinc" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/core_perl/ExtUtils/typemap' -typemap '/src/packages/libs/perl/perl-net-ssh2/src/Net-SSH2-0.72/typemap' SSH2.xs > SSH2.xsc 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/Dir.pm blib/lib/Net/SSH2/Dir.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/Listener.pm blib/lib/Net/SSH2/Listener.pm cp lib/Net/SSH2/PublicKey.pm blib/lib/Net/SSH2/PublicKey.pm cp lib/Net/SSH2/File.pm blib/lib/Net/SSH2/File.pm cp lib/Net/SSH2/SFTP.pm blib/lib/Net/SSH2/SFTP.pm mv SSH2.xsc SSH2.c cc -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/include/db5.3 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/perl/src=/usr/src/debug/perl -flto=auto -DVERSION=\"0.72\" -DXS_VERSION=\"0.72\" -fPIC "-I/usr/lib/perl5/5.40/core_perl/CORE" SSH2.c rm -f blib/arch/auto/Net/SSH2/SSH2.so LD_RUN_PATH="/usr/lib" cc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -L/usr/lib/db5.3 -fstack-protector-strong SSH2.o -o blib/arch/auto/Net/SSH2/SSH2.so \ -lssh2 -lz -lssl -lcrypto \ chmod 755 blib/arch/auto/Net/SSH2/SSH2.so Manifying 8 pod documents ==> Entering fakeroot environment... ==> Starting package()... "/usr/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- SSH2.bs blib/arch/auto/Net/SSH2/SSH2.bs 644 Manifying 8 pod documents Appending installation info to /src/packages/libs/perl/perl-net-ssh2/pkg/perl-net-ssh2/usr/lib/perl5/5.40/core_perl/perllocal.pod Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /src/packages/libs/perl/perl-net-ssh2/pkg/perl-net-ssh2/usr/lib/perl5/5.40/vendor_perl/auto/Net/SSH2/SSH2.so Installing /src/packages/libs/perl/perl-net-ssh2/pkg/perl-net-ssh2/usr/lib/perl5/5.40/vendor_perl/Net/SSH2.pm Installing /src/packages/libs/perl/perl-net-ssh2/pkg/perl-net-ssh2/usr/lib/perl5/5.40/vendor_perl/Net/SSH2/Dir.pm Installing /src/packages/libs/perl/perl-net-ssh2/pkg/perl-net-ssh2/usr/lib/perl5/5.40/vendor_perl/Net/SSH2/File.pm Installing /src/packages/libs/perl/perl-net-ssh2/pkg/perl-net-ssh2/usr/lib/perl5/5.40/vendor_perl/Net/SSH2/KnownHosts.pm Installing /src/packages/libs/perl/perl-net-ssh2/pkg/perl-net-ssh2/usr/lib/perl5/5.40/vendor_perl/Net/SSH2/Constants.pm Installing /src/packages/libs/perl/perl-net-ssh2/pkg/perl-net-ssh2/usr/lib/perl5/5.40/vendor_perl/Net/SSH2/Listener.pm Installing /src/packages/libs/perl/perl-net-ssh2/pkg/perl-net-ssh2/usr/lib/perl5/5.40/vendor_perl/Net/SSH2/Channel.pm Installing /src/packages/libs/perl/perl-net-ssh2/pkg/perl-net-ssh2/usr/lib/perl5/5.40/vendor_perl/Net/SSH2/PublicKey.pm Installing /src/packages/libs/perl/perl-net-ssh2/pkg/perl-net-ssh2/usr/lib/perl5/5.40/vendor_perl/Net/SSH2/SFTP.pm Installing /src/packages/libs/perl/perl-net-ssh2/pkg/perl-net-ssh2/usr/share/man/man3/Net::SSH2::Listener.3pm Installing /src/packages/libs/perl/perl-net-ssh2/pkg/perl-net-ssh2/usr/share/man/man3/Net::SSH2::SFTP.3pm Installing /src/packages/libs/perl/perl-net-ssh2/pkg/perl-net-ssh2/usr/share/man/man3/Net::SSH2::Dir.3pm Installing /src/packages/libs/perl/perl-net-ssh2/pkg/perl-net-ssh2/usr/share/man/man3/Net::SSH2::PublicKey.3pm Installing /src/packages/libs/perl/perl-net-ssh2/pkg/perl-net-ssh2/usr/share/man/man3/Net::SSH2::File.3pm Installing /src/packages/libs/perl/perl-net-ssh2/pkg/perl-net-ssh2/usr/share/man/man3/Net::SSH2::KnownHosts.3pm Installing /src/packages/libs/perl/perl-net-ssh2/pkg/perl-net-ssh2/usr/share/man/man3/Net::SSH2.3pm Installing /src/packages/libs/perl/perl-net-ssh2/pkg/perl-net-ssh2/usr/share/man/man3/Net::SSH2::Channel.3pm ==> Tidying install... -> Removing empty directories... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> WARNING: Package contains reference to $srcdir usr/lib/perl5/5.40/vendor_perl/auto/Net/SSH2/SSH2.so ==> Creating package "perl-net-ssh2"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: perl-net-ssh2 0.72-3 (Wed 20 Nov 2024 08:59:47 PM UTC) ==> Cleaning up...