Created attachment 469286 [details] build.log make[1]: Entering directory '/var/tmp/portage/net-libs/libssh2-1.8.0/work/libssh2-1.8.0-abi_x86_64.amd64/tests' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/libssh2-1.8.0/work/libssh2-1.8.0/tests -I../src -I../example -I/var/tmp/portage/net-libs/libssh2-1.8.0/work/libssh2-1.8.0/src -I/var/tmp/portage/net-libs/libssh2-1.8.0/work/libssh2-1.8.0/include -I../src -march=native -mtune=native -O2 -pipe -c -o ssh2.o /var/tmp/portage/net-libs/libssh2-1.8.0/work/libssh2-1.8.0/tests/ssh2.c /bin/bash ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=native -mtune=native -O2 -pipe -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed -o ssh2 ssh2.o ../src/libssh2.la libtool: link: x86_64-pc-linux-gnu-gcc -march=native -mtune=native -O2 -pipe -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -o .libs/ssh2 ssh2.o -Wl,--as-needed ../src/.libs/libssh2.so -L/usr/lib64 -lssl -lcrypto -lz ../src/.libs/libssh2.so: undefined reference to `OpenSSL_add_all_ciphers' ../src/.libs/libssh2.so: undefined reference to `OpenSSL_add_all_algorithms' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:616: ssh2] Error 1
https://www.libssh2.org/changes.html : * openssl: add OpenSSL 1.1.0 compatibility
Not sure why this is marked as fixed: /mnt/builder/portage.build/portage/net-libs/libssh2-1.8.0-r1/work/libssh2-1.8.0/src/openssl.c:1071:9: error: implicit declaration of function ‘OpenSSL_add_all_ciphers’ [-Werror=implicit-function-declaration] OpenSSL_add_all_ciphers(); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /mnt/builder/portage.build/portage/net-libs/libssh2-1.8.0-r1/work/libssh2-1.8.0/src/crypto.h:42:0, from /mnt/builder/portage.build/portage/net-libs/libssh2-1.8.0-r1/work/libssh2-1.8.0/src/libssh2_priv.h:140, from /mnt/builder/portage.build/portage/net-libs/libssh2-1.8.0-r1/work/libssh2-1.8.0/src/global.c:39: /mnt/builder/portage.build/portage/net-libs/libssh2-1.8.0-r1/work/libssh2-1.8.0/src/global.c: In function ‘libssh2_init’: /mnt/builder/portage.build/portage/net-libs/libssh2-1.8.0-r1/work/libssh2-1.8.0/src/openssl.h:230:3: error: implicit declaration of function ‘OpenSSL_add_all_algorithms’; did you mean ‘SN_id_tc26_algorithms’? [-Werror=implicit-function-declaration] OpenSSL_add_all_algorithms(); \ ^ /mnt/builder/portage.build/portage/net-libs/libssh2-1.8.0-r1/work/libssh2-1.8.0/src/global.c:48:9: note: in expansion of macro ‘libssh2_crypto_init’ libssh2_crypto_init(); ^~~~~~~~~~~~~~~~~~~
[master ec6f3e60c1ef] net-libs/libssh2: Fix openssl-1.1 compat (#614784) 2 files changed, 78 insertions(+), 13 deletions(-) create mode 100644 net-libs/libssh2/files/libssh2-1.8.0-openssl11.patch