Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 663320 - net-libs/libssh-0.8.0 : /.../pki_crypto.c:252:9: error: implicit declaration of function DSA_get0_pqg [-Wimplicit-function-declaration]
Summary: net-libs/libssh-0.8.0 : /.../pki_crypto.c:252:9: error: implicit declaration ...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo LibreSSL
URL:
Whiteboard:
Keywords: PATCH
: 668794 669428 (view as bug list)
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2018-08-10 17:18 UTC by Toralf Förster
Modified: 2021-04-30 21:30 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.32 KB, text/plain)
2018-08-10 17:18 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,133.20 KB, text/plain)
2018-08-10 17:18 UTC, Toralf Förster
Details
environment (environment,131.02 KB, text/plain)
2018-08-10 17:18 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.52 KB, application/x-bzip)
2018-08-10 17:18 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.48 KB, application/x-bzip)
2018-08-10 17:18 UTC, Toralf Förster
Details
net-libs:libssh-0.8.0:20180810-171408.log (net-libs:libssh-0.8.0:20180810-171408.log,64.17 KB, text/plain)
2018-08-10 17:18 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,34.85 KB, application/x-bzip)
2018-08-10 17:18 UTC, Toralf Förster
Details
libressl patch (libssh-0.8.4-libressl.patch,453 bytes, patch)
2018-10-19 11:45 UTC, René Fuchs
Details | Diff
libssh-0.8.6 libressl build patch (libssh-libressl.patch,453 bytes, patch)
2019-02-21 22:15 UTC, Paul Bowden
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-08-10 17:18:17 UTC
/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)"
Comment 1 Toralf Förster gentoo-dev 2018-08-10 17:18:20 UTC
Created attachment 542964 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-10 17:18:23 UTC
Created attachment 542966 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-08-10 17:18:26 UTC
Created attachment 542968 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-08-10 17:18:29 UTC
Created attachment 542970 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-08-10 17:18:32 UTC
Created attachment 542972 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-08-10 17:18:35 UTC
Created attachment 542974 [details]
net-libs:libssh-0.8.0:20180810-171408.log
Comment 7 Toralf Förster gentoo-dev 2018-08-10 17:18:38 UTC
Created attachment 542976 [details]
temp.tbz2
Comment 8 Andreas Sturmlechner gentoo-dev 2018-08-11 16:33:42 UTC
libressl again?
Comment 9 Toralf Förster gentoo-dev 2018-08-11 17:03:36 UTC
(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
Comment 10 Andreas Sturmlechner gentoo-dev 2018-08-11 17:21:18 UTC
Previous version didn't have OpenSSL-1.1 support, so there's changes in that area.
Comment 11 James L. Hammons 2018-09-11 13:28:44 UTC
This is still a problem with libssh-0.8.2 (fails in exactly the same way).  And yes, this is with libressl.
Comment 12 Andreas Sturmlechner gentoo-dev 2018-10-16 16:29:01 UTC
*** Bug 668794 has been marked as a duplicate of this bug. ***
Comment 13 René Fuchs 2018-10-19 11:45:50 UTC
Created attachment 551844 [details, diff]
libressl patch
Comment 14 Andreas Sturmlechner gentoo-dev 2018-10-20 12:12:07 UTC
This patch contains no header, did you submit it upstream or is it sourced from upstream repository?
Comment 15 Ben Kohler gentoo-dev 2018-10-23 17:47:42 UTC
*** Bug 669428 has been marked as a duplicate of this bug. ***
Comment 16 Andreas Sturmlechner gentoo-dev 2018-10-27 19:06:49 UTC
ping
Comment 17 Oleh 2018-11-27 09:53:07 UTC
ping
Comment 18 Andreas Sturmlechner gentoo-dev 2018-11-29 22:14:15 UTC
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.
Comment 19 Andreas Sturmlechner gentoo-dev 2018-12-22 12:28:48 UTC
Not getting answers and no way for me to test, so re-assigning to libressl.
Comment 20 Paul Bowden 2019-02-21 22:10:25 UTC
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"
Comment 21 Paul Bowden 2019-02-21 22:15:06 UTC
Created attachment 566044 [details, diff]
libssh-0.8.6 libressl build patch