Created attachment 547918 [details] emerge output emerge-armv7a-unknown-linux-gnueabihf -pv libssh2 --oneshot [ebuild N ] net-libs/libssh2-1.8.0-r1::gentoo to /usr/armv7a-unknown-linux-gnueabihf/ USE="zlib -gcrypt -libressl -static-libs -test" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB fails with: checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for ld used by GCC... /usr/libexec/gcc/armv7a-unknown-linux-gnueabihf/ld checking if the linker (/usr/libexec/gcc/armv7a-unknown-linux-gnueabihf/ld) is GNU ld... yes checking for shared library run path origin... done checking for libssl... no configure: error: No crypto library found! Try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH or --with-libmbedtls-prefix=PATH or --with-wincng on Windows
Created attachment 547920 [details, diff] patch to add prefix to the ebuild this works only for my case, how may I generalize the idea to not to break other ${CHOST} or prefixes?
That's probably a sysroot material. Maybe bumping to EAPI 7 would solve it.
Comment on attachment 547918 [details] emerge output >configure: error: No crypto library found! >!!! Please attach the following file when seeking support: >!!! /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/net-libs/libssh2-1.8.0-r1/work/libssh2-1.8.0-.arm/config.log Where is it?
I haven't actually looked yet but some oddball projects work if you pass something like --without-libssl-prefix as it then relies on the toolchain instead of stupid defaults.
Created attachment 548542 [details] compressed build.log heres the build log without the hack I posted
Created attachment 548544 [details] compressed config log and here the config log, totally forgot this could be of interest.
You could try =net-libs/libssh2-1.8.0-r2 which switches the build to cmake. Perhaps that accidentally fixes your problem, too.
It does, case closed! :-)