Hello,

I am giving a try to libssh2 1.10.0. I tool the snapshot of 20210517
(https://libssh2.org/snapshots/libssh2-1.9.0-20210517.tar.gz).

Build with CMake is ok but running the tests fails:

+ ctest --output-on-failure
Test project 
/home/docker/development/opensource-pack-builder/components/ssh2/BUILD/libssh2-1.9.0-20210517/_build_shared
      Start  1: test_hostkey
 1/14 Test  #1: test_hostkey 
....................................................***Failed    0.21 sec
Error running command 'docker build -t libssh2/openssh_server openssh_server' 
(exit 256): Sending build context to Docker daemon  10.75kB
Step 1/32 : FROM debian:jessie
 ---> 3aaeab7a4777
Step 2/32 : RUN apt-get update  && apt-get install -y openssh-server  && apt-get clean  
&& rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 396dccb5e4e3
Step 3/32 : RUN mkdir /var/run/sshd
 ---> Using cache
 ---> 08b0b21b084b
Step 4/32 : COPY ssh_host_rsa_key /tmp/etc/ssh/ssh_host_rsa_key
 ---> Using cache
 ---> 5ce3c9d315c9
Step 5/32 : RUN mv /tmp/etc/ssh/ssh_host_rsa_key /etc/ssh/ssh_host_rsa_key
 ---> Using cache
 ---> bae8bc7d29f0
Step 6/32 : RUN chmod 600 /etc/ssh/ssh_host_rsa_key
 ---> Using cache
 ---> 7597e217b7a9
Step 7/32 : COPY ssh_host_ecdsa_key /tmp/etc/ssh/ssh_host_ecdsa_key
COPY failed: file not found in build context or excluded by .dockerignore: stat 
ssh_host_ecdsa_key: file does not exist

Failed to build docker image

I think those distribution extra files are missing in the automake config.

Regards,
Stac

On Wed, May 12, 2021 at 09:17:59AM -0700, Will Cosgrove wrote:
Hi All,
We are pulling together the 1.9.1 release and I’d request, if you haven’t 
already, give the main branch a sanity pass with your existing code and get any 
last minute issues submitted ASAP.

Thanks!

Will
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to