/var/tmp/portage/net-libs/libssh-0.8.0/work/libssh-0.8.0/src/pki_crypto.c: In function ‘pki_key_dup’: /var/tmp/portage/net-libs/libssh-0.8.0/work/libssh-0.8.0/src/pki_crypto.c:252:9: error: implicit declaration of function ‘DSA_get0_pqg’ [-Wimplicit-function-declaration] DSA_get0_pqg(key->dsa, &p, &q, &g); ^~~~~~~~~~~~ /var/tmp/portage/net-libs/libssh-0.8.0/work/libssh-0.8.0/src/pki_crypto.c:263:14: error: implicit declaration of function ‘DSA_set0_pqg’ [-Wimplicit-function-declaration] ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-gnome_libressl_20180807-191333 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby23 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.8.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv net-libs/libssh [ebuild N ] net-libs/libssh-0.8.0 USE="libressl sftp zlib -debug -doc -examples -gcrypt -gssapi -mbedtls -pcap -server -static-libs -test" ABI_X86="(64) -32 (-x32)"
Created attachment 542964 [details] emerge-info.txt
Created attachment 542966 [details] emerge-history.txt
Created attachment 542968 [details] environment
Created attachment 542970 [details] etc.portage.tbz2
Created attachment 542972 [details] logs.tbz2
Created attachment 542974 [details] net-libs:libssh-0.8.0:20180810-171408.log
Created attachment 542976 [details] temp.tbz2
libressl again?
(In reply to Andreas Sturmlechner from comment #8) the previous version worked : /home/tinderbox/img1/17.0-desktop-plasma-systemd_libressl-abi32+64_20180717-193759/var/log/emerge.log Mon Jul 23 21:26:30 2018 >>> net-libs/libssh-0.7.5-r2 libssh: Mon Jul 23 21:25:24 2018: 1 minute, 6 seconds libssh: 1 times
Previous version didn't have OpenSSL-1.1 support, so there's changes in that area.
This is still a problem with libssh-0.8.2 (fails in exactly the same way). And yes, this is with libressl.
*** Bug 668794 has been marked as a duplicate of this bug. ***
Created attachment 551844 [details, diff] libressl patch
This patch contains no header, did you submit it upstream or is it sourced from upstream repository?
*** Bug 669428 has been marked as a duplicate of this bug. ***
ping
Since no one answered I looked it up in upstream git master and it is not from there. (In reply to rene fuchs from comment #13) > Created attachment 551844 [details, diff] [details, diff] > libressl patch Looking forward to add this to tree when you point us at least to a pending upstream submission bug, tia.
Not getting answers and no way for me to test, so re-assigning to libressl.
I can confirm libssh-0.8.6 sucessfuly compiled against libressl-2.6.5 using attachment 551844 [details, diff] with version changed in file to 0.8.6. emerge --info: Portage 2.3.51 (python 3.6.5-final-0, default/linux/amd64/17.0/no-multilib/hardened, gcc-7.3.0, glibc-2.27-r6, 4.20.5 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.20.5-x86_64-AMD_A4-5300_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.6 KiB Mem: 7621676 total, 1994468 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Thu, 21 Feb 2019 20:00:01 +0000 Head commit of repository gentoo: fb56fe9da4a344be16f3256cd13e96af1c73eb3a Head commit of repository flatpak-overlay: 9b10ab851b5ab660deca16595438d751c4419880 Head commit of repository libressl: 5c00da10655bdff40bf2b8c7dcd6b73c07f558b5 sh bash 4.4_p23-r1 ld GNU ld (Gentoo 2.30 p5) 2.30.0 app-shells/bash: 4.4_p23-r1::gentoo dev-lang/perl: 5.26.2::gentoo dev-lang/python: 2.7.15::gentoo, 3.6.5::gentoo dev-util/cmake: 3.9.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.38.3-r1::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.30-r4::gentoo sys-devel/gcc: 7.3.0-r3::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.27-r6::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 flatpak-overlay location: /usr/portage/flatpak-overlay sync-type: git sync-uri: https://github.com/fosero/flatpak-overlay.git masters: gentoo priority: 50 libressl location: /usr/portage/libressl sync-type: git sync-uri: https://github.com/gentoo/libressl masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" 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" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="-j2 --load-average 2" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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-logs candy cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://ftp.mirrorservice.org/sites/distfiles.gentoo.org/ rsync://rsync.mirrorservice.org/distfiles.gentoo.org/" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_GB" PKGDIR="/usr/portage/packages" 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="X acl amd64 bzip2 crypt curl custom-cflags custom-optimization cxx dbus egl elogind fortran glamor hardened iconv icu ipv6 jit jpeg libressl libtirpc minizip ncurses nls nptl ogg okular opengl openmp pam pcre pcre16 pie policykit pulseaudio qml readline seccomp ssl ssp svc system-ffmpeg text truetype udev unicode vorbis widgets xattr xkb xmp xtpax zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c fma3 fma4 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" CURL_SSL="libressl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="radeon radeon_r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= net-libs/libssh-0.8.6::gentoo was built with the following: USE="libressl sftp zlib -debug -doc -examples -gcrypt -gssapi -mbedtls -pcap -server -static-libs -test"
Created attachment 566044 [details, diff] libssh-0.8.6 libressl build patch