Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 626506 - net-misc/freerdp-2.0.0_rc0 : /.../ssl.c:265:23: error: OPENSSL_INIT_LOAD_SSL_STRINGS undeclared (first use in this function)
Summary: net-misc/freerdp-2.0.0_rc0 : /.../ssl.c:265:23: error: OPENSSL_INIT_LOAD_SSL...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2017-07-29 07:49 UTC by Toralf Förster
Modified: 2017-08-26 19:06 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.02 KB, text/plain)
2017-07-29 07:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,343.37 KB, text/plain)
2017-07-29 07:49 UTC, Toralf Förster
Details
environment (environment,123.11 KB, text/plain)
2017-07-29 07:49 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,57.20 KB, application/x-bzip)
2017-07-29 07:49 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.96 KB, application/x-bzip)
2017-07-29 07:49 UTC, Toralf Förster
Details
net-misc:freerdp-2.0.0_rc0:20170729-012954.log (net-misc:freerdp-2.0.0_rc0:20170729-012954.log,94.35 KB, text/plain)
2017-07-29 07:49 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,33.57 KB, application/x-bzip)
2017-07-29 07:50 UTC, Toralf Förster
Details
Freerdp libressl patch (freerdp-2.0.0_rc0-libressl.patch,2.52 KB, patch)
2017-08-23 21:57 UTC, Pablo Cholaky
Details | Diff
freerdp-2.0.0_rc0 ebuild loading the patch (freerdp-2.0.0_rc0.ebuild,2.82 KB, text/plain)
2017-08-23 21:58 UTC, Pablo Cholaky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-07-29 07:49:37 UTC
  if (OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS |
      ^~~~~~~~~~~~~~~~
/var/tmp/portage/net-misc/freerdp-2.0.0_rc0/work/FreeRDP-2.0.0-rc0/winpr/libwinpr/utils/ssl.c:265:23: error: ‘OPENSSL_INIT_LOAD_SSL_STRINGS’ undeclared (first use in this function)
  if (OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS |
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/net-misc/freerdp-2.0.0_rc0/work/FreeRDP-2.0.0-rc0/winpr/libwinpr/utils/ssl.c:265:23: note: each undeclared identifier is reported only once for each function it appears in

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-no-multilib_libressl_20170720-185653

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python3.5 (fallback)
  [4]   python2.7 (fallback)
Comment 1 Toralf Förster gentoo-dev 2017-07-29 07:49:40 UTC
Created attachment 487172 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-07-29 07:49:43 UTC
Created attachment 487174 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-07-29 07:49:47 UTC
Created attachment 487176 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-07-29 07:49:50 UTC
Created attachment 487178 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-07-29 07:49:53 UTC
Created attachment 487180 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-07-29 07:49:57 UTC
Created attachment 487182 [details]
net-misc:freerdp-2.0.0_rc0:20170729-012954.log
Comment 7 Toralf Förster gentoo-dev 2017-07-29 07:50:00 UTC
Created attachment 487184 [details]
temp.tbz2
Comment 8 Mike Gilbert gentoo-dev 2017-07-30 02:22:17 UTC
I assume this is yet another libressl API break.
Comment 9 Pablo Cholaky 2017-08-23 21:57:22 UTC
Created attachment 490370 [details, diff]
Freerdp libressl patch
Comment 10 Pablo Cholaky 2017-08-23 21:58:19 UTC
Created attachment 490372 [details]
freerdp-2.0.0_rc0 ebuild loading the patch
Comment 11 Pablo Cholaky 2017-08-23 21:59:33 UTC
Please someone test the new ebuild and patch provided. Worked for me, I even done a connection test with a Windows machine without problems.

Thanks.
Comment 13 Mike Gilbert gentoo-dev 2017-08-26 19:06:20 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c839cd4129639b115151ec473de2c6c6edb4e6a3

commit c839cd4129639b115151ec473de2c6c6edb4e6a3
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Sat Aug 26 15:05:25 2017 -0400

    net-misc/freerdp: fix build with libressl
    
    Bug: https://bugs.gentoo.org/626506
    Package-Manager: Portage-2.3.6_p39, Repoman-2.3.3_p17

 net-misc/freerdp/files/2.0.0-rc0-libressl.patch | 89 +++++++++++++++++++++++++
 net-misc/freerdp/freerdp-2.0.0_rc0.ebuild       |  5 +-
 2 files changed, 93 insertions(+), 1 deletion(-)