Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 663602

Summary: app-text/podofo-0.9.6_p20180715: /.../podofosign.cpp:879:5: error: OPENSSL_init_crypto was not declared in this scope (with libressl)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Zac Medico <zmedico>
Status: RESOLVED FIXED    
Severity: normal CC: ao, waltercool
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 561854    
Attachments: emerge-info.txt
app-text:podofo-0.9.6_p20180715:20180814-005533.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
Proposed patch for podofo with libressl

Description Toralf Förster gentoo-dev 2018-08-14 15:58:33 UTC
/var/tmp/portage/app-text/podofo-0.9.6_p20180715/work/podofo-0.9.6_p20180715/tools/podofosign/podofosign.cpp: In function ‘int main(int, char**)’:
/var/tmp/portage/app-text/podofo-0.9.6_p20180715/work/podofo-0.9.6_p20180715/tools/podofosign/podofosign.cpp:879:5: error: ‘OPENSSL_init_crypto’ was not declared in this scope
     OPENSSL_init_crypto(0, NULL);
     ^~~~~~~~~~~~~~~~~~~
/var/tmp/portage/app-text/podofo-0.9.6_p20180715/work/podofo-0.9.6_p20180715/tools/podofosign/podofosign.cpp:879:5: note: suggested alternative: ‘OPENSSL_init’

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib_libressl_20180811-095734

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0
 [2] x86_64-pc-linux-gnu-7.3.1 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:


emerge -qpv app-text/podofo
[ebuild  N    ] app-text/podofo-0.9.6_p20180715  USE="boost libressl tools -debug -idn -test"
Comment 1 Toralf Förster gentoo-dev 2018-08-14 15:58:36 UTC
Created attachment 543352 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-14 15:58:39 UTC
Created attachment 543354 [details]
app-text:podofo-0.9.6_p20180715:20180814-005533.log
Comment 3 Toralf Förster gentoo-dev 2018-08-14 15:58:42 UTC
Created attachment 543356 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-08-14 15:58:45 UTC
Created attachment 543358 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-08-14 15:58:48 UTC
Created attachment 543360 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-08-14 15:58:51 UTC
Created attachment 543362 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-08-14 15:58:54 UTC
Created attachment 543364 [details]
temp.tbz2
Comment 8 Pablo Cholaky 2018-10-24 01:39:03 UTC
Created attachment 552668 [details, diff]
Proposed patch for podofo with libressl

Dirty, ugly but working patch.
Comment 9 Larry the Git Cow gentoo-dev 2019-01-06 10:04:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1c635015e7786c9c1d6ac3282f5ce27cf57c15d

commit d1c635015e7786c9c1d6ac3282f5ce27cf57c15d
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2019-01-06 10:01:28 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2019-01-06 10:04:19 +0000

    app-text/podofo: fix 0.9.6_p20180715 libressl build
    
    Reported-by: Toralf Förster <toralf@gentoo.org>
    Closes: https://bugs.gentoo.org/663602
    Package-Manager: Portage-2.3.54, Repoman-2.3.12
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 app-text/podofo/podofo-0.9.6_p20180715.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
Comment 10 Zac Medico gentoo-dev 2019-01-06 10:07:15 UTC
Thanks!