Created attachment 671188 [details] build.log Build fails with above message. My USE flags: +libressl +ssl, rest off. libressl version is stable 3.1.4. There is a similar bug here: https://bugs.gentoo.org/625544
please post the output of emerge --info libressl lftp (preferrably as comment) to this bug.
emerge --info libressl lftp: Portage 3.0.8 (python 3.8.5-final-0, default/linux/amd64/17.1/no-multilib, gcc-10.2.0, glibc-2.32-r2, 5.9.8 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.9.8-x86_64-Intel-R-_Core-TM-_i5-8350U_CPU_@_1.70GHz-with-glibc2.2.5 KiB Mem: 16268312 total, 13332916 free KiB Swap: 4194300 total, 4194300 free Head commit of repository gentoo: 86843484f2505a6452dbc55f473aa9c302842296 sh bash 5.0_p18 ld GNU ld (Gentoo 2.34 p6) 2.34.0 app-shells/bash: 5.0_p18::gentoo dev-lang/perl: 5.30.3::gentoo dev-lang/python: 3.8.5::gentoo, 3.9.0::gentoo dev-util/cmake: 3.17.4-r1::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.15.1-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.34-r2::gentoo sys-devel/gcc: 10.2.0-r3::gentoo sys-devel/gcc-config: 2.3.2::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r2::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://anongit.gentoo.org/git/repo/gentoo.git priority: -1000 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -g0 -O3 -pipe -fomit-frame-pointer -mindirect-branch=thunk -mfunction-return=thunk -mindirect-branch-register -fstack-protector-strong -mstack-protector-guard=tls -fno-diagnostics-show-caret -flto=5 -fuse-linker-plugin" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -g0 -O3 -pipe -fomit-frame-pointer -mindirect-branch=thunk -mfunction-return=thunk -mindirect-branch-register -fstack-protector-strong -mstack-protector-guard=tls -fno-diagnostics-show-caret -flto=5 -fuse-linker-plugin" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="-A --nospinner --autounmask=y --autounmask-continue=y --autounmask-use=y" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,-O2 -march=native -g0 -O3 -pipe -fomit-frame-pointer -mindirect-branch=thunk -mfunction-return=thunk -mindirect-branch-register -fstack-protector-strong -mstack-protector-guard=tls -fno-diagnostics-show-caret -flto=5 -fuse-linker-plugin" MAKEOPTS="-j5 -l5" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="a52 acpi aio alsa amd64 asf asm avi bash-completion bindist blksha1 bluetooth bzip2 cairo caps cups dbus dga dri dri3 drm dvd dvdr egl encode exif ffmpeg filecaps firefox flac fontconfig gallium gbm glamor gmp gold gpg gpm gtk3 iconv id3tag inotify introspection ipc ithreads iwd jit jpeg libglvnd libkms libressl lto luajit minimal mpeg mudflap nptl nptlonly nsplugin ogg ogg123 oggvorbis opengl openmp oss pam pch pcre pg-intdatetime pgo pie png pulseaudio readline serial shared-glapi split-usr ssl ssp startup-notification svg system-icu systemd threads truetype udev unicode urandom usb userlocales vaapi vorbis win32codecs xulrunner xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" INPUT_DEVICES="libinput evdev keyboard mouse synaptics" KERNEL="linux" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8 python3_9" QEMU_SOFTMMU_TARGETS="arm x86_64" QEMU_USER_TARGETS="arm x86_64" RUBY_TARGETS="ruby25 ruby26" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="intel i965" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= dev-libs/libressl-3.1.4::gentoo was built with the following: USE="asm -static-libs -test" FEATURES="parallel-fetch userpriv ebuild-locks usersandbox usersync config-protect-if-modified binpkg-logs qa-unresolved-soname-deps pid-sandbox protect-owned unknown-features-warn unmerge-logs fixlafiles network-sandbox news strict merge-sync preserve-libs binpkg-dostrip userfetch distlocks multilib-strict binpkg-docompress sandbox assume-digests sfperms unmerge-orphans ipc-sandbox" net-ftp/lftp-4.8.4-r1::gentoo was built with the following: USE="libressl ssl -convert-mozilla-cookies -gnutls -idn -ipv6 -nls -socks5 -verify-file"
Reproduced locally as well (USE=-gnutls is probably the key to user openssl-style backend instead of gnutls)
*** Bug 625544 has been marked as a duplicate of this bug. ***
Was prbably fixed upstream as https://github.com/lavv17/lftp/commit/0276d5c239c41b3a63f738a5dc47fd56ac389cf0.patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42f481bed6d26d48b34ca9c90ea2fdd176ac91e3 commit 42f481bed6d26d48b34ca9c90ea2fdd176ac91e3 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-11-15 18:56:56 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-11-15 18:57:04 +0000 net-ftp/lftp: backport libressl support Backported upstream patch. Reported-by: m1027 Closes: https://bugs.gentoo.org/754225 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> net-ftp/lftp/files/lftp-4.9.2-libressl.patch | 40 ++++++++++++++++++++++++++++ net-ftp/lftp/lftp-4.9.2.ebuild | 1 + 2 files changed, 41 insertions(+)
Patch applied as user patch, WFM.