>>> perl-net-ssh2 0.72 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/tmp/instance-7/output-1/build/.Net-SSH2-0.72.tar.gz.opbhe2/output' 'http://cpan.metacpan.org/authors/id/S/SA/SALVA/Net-SSH2-0.72.tar.gz' --2021-08-03 02:24:52-- http://cpan.metacpan.org/authors/id/S/SA/SALVA/Net-SSH2-0.72.tar.gz Resolving cpan.metacpan.org (cpan.metacpan.org)... 2a04:4e42:9::729, 151.101.38.217 Connecting to cpan.metacpan.org (cpan.metacpan.org)|2a04:4e42:9::729|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 147016 (144K) [application/x-gzip] Saving to: '/tmp/instance-7/output-1/build/.Net-SSH2-0.72.tar.gz.opbhe2/output' 0K .......... .......... .......... .......... .......... 34% 9.54M 0s 50K .......... .......... .......... .......... .......... 69% 4.47M 0s 100K .......... .......... .......... .......... ... 100% 140M=0.02s 2021-08-03 02:24:52 (8.58 MB/s) - '/tmp/instance-7/output-1/build/.Net-SSH2-0.72.tar.gz.opbhe2/output' saved [147016/147016] Net-SSH2-0.72.tar.gz: OK (md5: 57aa0f6e2be4020f75888a7195ad5cba) Net-SSH2-0.72.tar.gz: OK (sha256: 867d83070fac6436b9f0971918243002072fbf8d2724a87c254b34250dce0222) >>> perl-net-ssh2 0.72 Extracting mkdir -p /tmp/instance-7/output-1/per-package/perl-net-ssh2/host mkdir -p /tmp/instance-7/output-1/per-package/perl-net-ssh2/target gzip -d -c /tmp/instance-7/dl/perl-net-ssh2/Net-SSH2-0.72.tar.gz | tar --strip-components=1 -C /tmp/instance-7/output-1/build/perl-net-ssh2-0.72 -xf - >>> perl-net-ssh2 0.72 Patching >>> perl-net-ssh2 0.72 Configuring mkdir -p /tmp/instance-7/output-1/per-package/perl-net-ssh2/host rsync -a --link-dest=/tmp/instance-7/output-1/per-package/host-perl/host/ /tmp/instance-7/output-1/per-package/host-perl/host/ /tmp/instance-7/output-1/per-package/perl-net-ssh2/host rsync -a --link-dest=/tmp/instance-7/output-1/per-package/host-skeleton/host/ /tmp/instance-7/output-1/per-package/host-skeleton/host/ /tmp/instance-7/output-1/per-package/perl-net-ssh2/host rsync -a --link-dest=/tmp/instance-7/output-1/per-package/libssh2/host/ /tmp/instance-7/output-1/per-package/libssh2/host/ /tmp/instance-7/output-1/per-package/perl-net-ssh2/host rsync -a --link-dest=/tmp/instance-7/output-1/per-package/perl/host/ /tmp/instance-7/output-1/per-package/perl/host/ /tmp/instance-7/output-1/per-package/perl-net-ssh2/host rsync -a --link-dest=/tmp/instance-7/output-1/per-package/skeleton/host/ /tmp/instance-7/output-1/per-package/skeleton/host/ /tmp/instance-7/output-1/per-package/perl-net-ssh2/host rsync -a --link-dest=/tmp/instance-7/output-1/per-package/toolchain/host/ /tmp/instance-7/output-1/per-package/toolchain/host/ /tmp/instance-7/output-1/per-package/perl-net-ssh2/host rsync -a --link-dest=/tmp/instance-7/output-1/per-package/zlib/host/ /tmp/instance-7/output-1/per-package/zlib/host/ /tmp/instance-7/output-1/per-package/perl-net-ssh2/host mkdir -p /tmp/instance-7/output-1/per-package/perl-net-ssh2/target rsync -a --link-dest=/tmp/instance-7/output-1/per-package/host-perl/target/ /tmp/instance-7/output-1/per-package/host-perl/target/ /tmp/instance-7/output-1/per-package/perl-net-ssh2/target rsync -a --link-dest=/tmp/instance-7/output-1/per-package/host-skeleton/target/ /tmp/instance-7/output-1/per-package/host-skeleton/target/ /tmp/instance-7/output-1/per-package/perl-net-ssh2/target rsync -a --link-dest=/tmp/instance-7/output-1/per-package/libssh2/target/ /tmp/instance-7/output-1/per-package/libssh2/target/ /tmp/instance-7/output-1/per-package/perl-net-ssh2/target rsync -a --link-dest=/tmp/instance-7/output-1/per-package/perl/target/ /tmp/instance-7/output-1/per-package/perl/target/ /tmp/instance-7/output-1/per-package/perl-net-ssh2/target rsync -a --link-dest=/tmp/instance-7/output-1/per-package/skeleton/target/ /tmp/instance-7/output-1/per-package/skeleton/target/ /tmp/instance-7/output-1/per-package/perl-net-ssh2/target rsync -a --link-dest=/tmp/instance-7/output-1/per-package/toolchain/target/ /tmp/instance-7/output-1/per-package/toolchain/target/ /tmp/instance-7/output-1/per-package/perl-net-ssh2/target rsync -a --link-dest=/tmp/instance-7/output-1/per-package/zlib/target/ /tmp/instance-7/output-1/per-package/zlib/target/ /tmp/instance-7/output-1/per-package/perl-net-ssh2/target cd /tmp/instance-7/output-1/build/perl-net-ssh2-0.72/ && if [ -f Build.PL ] && [ MB != "EUMM" ] ; then PERL_MM_USE_DEFAULT=1 PERL5LIB= PERL_USE_UNSAFE_INC=1 /tmp/instance-7/output-1/per-package/perl-net-ssh2/host/bin/perl Build.PL --config ar="/tmp/instance-7/output-1/per-package/perl-net-ssh2/host/bin/arm-linux-ar" --config full_ar="/tmp/instance-7/output-1/per-package/perl-net-ssh2/host/bin/arm-linux-ar" --config cc="/tmp/instance-7/output-1/per-package/perl-net-ssh2/host/bin/arm-linux-gcc" --config ccflags="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 " --config optimize=" " --config ld="/tmp/instance-7/output-1/per-package/perl-net-ssh2/host/bin/arm-linux-gcc" --config lddlflags="-shared " --config ldflags="" --include_dirs /tmp/instance-7/output-1/per-package/perl-net-ssh2/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/perl5/5.32.1/arm-linux/CORE --destdir /tmp/instance-7/output-1/per-package/perl-net-ssh2/target --installdirs vendor --install_path lib=/usr/lib/perl5/site_perl/5.32.1 --install_path arch=/usr/lib/perl5/site_perl/5.32.1/arm-linux --install_path bin=/usr/bin --install_path script=/usr/bin --install_path bindoc=/usr/share/man/man1 --install_path libdoc=/usr/share/man/man3 lib="/tmp/instance-7/output-1/per-package/perl-net-ssh2/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib" inc="/tmp/instance-7/output-1/per-package/perl-net-ssh2/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include" gcrypt; else PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps PERL5LIB= PERL_USE_UNSAFE_INC=1 /tmp/instance-7/output-1/per-package/perl-net-ssh2/host/bin/perl Makefile.PL AR="/tmp/instance-7/output-1/per-package/perl-net-ssh2/host/bin/arm-linux-ar" FULL_AR="/tmp/instance-7/output-1/per-package/perl-net-ssh2/host/bin/arm-linux-ar" CC="/tmp/instance-7/output-1/per-package/perl-net-ssh2/host/bin/arm-linux-gcc" CCFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 " OPTIMIZE=" " LD="/tmp/instance-7/output-1/per-package/perl-net-ssh2/host/bin/arm-linux-gcc" LDDLFLAGS="-shared " LDFLAGS="" PERL_ARCHLIB=/tmp/instance-7/output-1/per-package/perl-net-ssh2/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/perl5/5.32.1/arm-linux DESTDIR=/tmp/instance-7/output-1/per-package/perl-net-ssh2/target INSTALLDIRS=vendor INSTALLVENDORLIB=/usr/lib/perl5/site_perl/5.32.1 INSTALLVENDORARCH=/usr/lib/perl5/site_perl/5.32.1/arm-linux INSTALLVENDORBIN=/usr/bin INSTALLVENDORSCRIPT=/usr/bin INSTALLVENDORMAN1DIR=/usr/share/man/man1 INSTALLVENDORMAN3DIR=/usr/share/man/man3 lib="/tmp/instance-7/output-1/per-package/perl-net-ssh2/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib" inc="/tmp/instance-7/output-1/per-package/perl-net-ssh2/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include" gcrypt; fi 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. 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 Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Net::SSH2 Writing MYMETA.yml and MYMETA.json >>> perl-net-ssh2 0.72 Building cd /tmp/instance-7/output-1/build/perl-net-ssh2-0.72/ && if [ -f Build.PL ] && [ MB != "EUMM" ] ; then PERL5LIB= PERL_USE_UNSAFE_INC=1 /tmp/instance-7/output-1/per-package/perl-net-ssh2/host/bin/perl Build build; else /usr/bin/make -j1 FIXIN=: pure_all; fi make[1]: Entering directory '/tmp/instance-7/output-1/build/perl-net-ssh2-0.72' cp lib/Net/SSH2/Channel.pm blib/lib/Net/SSH2/Channel.pm cp lib/Net/SSH2/SFTP.pm blib/lib/Net/SSH2/SFTP.pm cp lib/Net/SSH2/Dir.pm blib/lib/Net/SSH2/Dir.pm cp lib/Net/SSH2.pm blib/lib/Net/SSH2.pm cp lib/Net/SSH2/KnownHosts.pm blib/lib/Net/SSH2/KnownHosts.pm cp lib/Net/SSH2/Constants.pm blib/lib/Net/SSH2/Constants.pm cp lib/Net/SSH2/PublicKey.pm blib/lib/Net/SSH2/PublicKey.pm cp lib/Net/SSH2/Listener.pm blib/lib/Net/SSH2/Listener.pm cp lib/Net/SSH2/File.pm blib/lib/Net/SSH2/File.pm Running Mkbootstrap for SSH2 () chmod 644 "SSH2.bs" "/tmp/instance-7/output-1/per-package/perl-net-ssh2/host/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- SSH2.bs blib/arch/auto/Net/SSH2/SSH2.bs 644 "/tmp/instance-7/output-1/per-package/perl-net-ssh2/host/bin/perl" "-Iinc" "/tmp/instance-7/output-1/per-package/host-perl/host/lib/5.32.1/ExtUtils/xsubpp" -typemap '/tmp/instance-7/output-1/per-package/host-perl/host/lib/5.32.1/ExtUtils/typemap' -typemap '/tmp/instance-7/output-1/build/perl-net-ssh2-0.72/typemap' SSH2.xs > SSH2.xsc mv SSH2.xsc SSH2.c /tmp/instance-7/output-1/per-package/perl-net-ssh2/host/bin/arm-linux-gcc -c -I/tmp/instance-7/output-1/per-package/perl-net-ssh2/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DVERSION=\"0.72\" -DXS_VERSION=\"0.72\" -fPIC "-I/tmp/instance-7/output-1/per-package/perl-net-ssh2/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/perl5/5.32.1/arm-linux/CORE" SSH2.c rm -f blib/arch/auto/Net/SSH2/SSH2.so LD_RUN_PATH="/tmp/instance-7/output-1/per-package/perl-net-ssh2/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib:/lib/x86_64-linux-gnu" /tmp/instance-7/output-1/per-package/perl-net-ssh2/host/bin/arm-linux-gcc -shared SSH2.o -o blib/arch/auto/Net/SSH2/SSH2.so \ -L/tmp/instance-7/output-1/per-package/perl-net-ssh2/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssh2 -lz -lssl -lcrypto \ /tmp/instance-7/output-1/per-package/perl-net-ssh2/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: cannot find -lssl /tmp/instance-7/output-1/per-package/perl-net-ssh2/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: cannot find -lcrypto collect2: error: ld returned 1 exit status make[1]: *** [Makefile:506: blib/arch/auto/Net/SSH2/SSH2.so] Error 1 make[1]: Leaving directory '/tmp/instance-7/output-1/build/perl-net-ssh2-0.72' make: *** [package/pkg-generic.mk:270: /tmp/instance-7/output-1/build/perl-net-ssh2-0.72/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-7/buildroot'