Summary: | app-text/podofo-0.9.6_pre20170629 does not build against libressl 2.6.2: OPENSSL_init_ssl not declared | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michelangelo Scopelliti <kernelpanic> |
Component: | Current packages | Assignee: | Zac Medico <zmedico> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=614756 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 561854 | ||
Attachments: |
build log
patch to build podofo-0.9.6_pre20171027 against libressl |
Description
Michelangelo Scopelliti
2017-10-30 12:46:03 UTC
Just for info: Builds against stable libressl --- # eshowkw libressl ;emerge -p -1 app-text/podofo Keywords for dev-libs/libressl: | | u | | a a p a n r s | n | | l m h i p r m m i i s p | e u s | r | p d a p a p c x m i 6 o s 3 a | a s l | e | h 6 r p 6 p 6 8 6 p 8 s c 9 s r | p e o | p | a 4 m a 4 c 4 6 4 s k 2 v 0 h c | i d t | o ------------+---------------------------------+----------+------- 2.3.10 | o ~ ~ ~ o ~ ~ ~ o ~ o o o o o o | 6 o 0/38 | gentoo ------------+---------------------------------+----------+------- 2.4.5 | o ~ ~ ~ o ~ ~ ~ o ~ o o o o o o | 6 # 0/39 | gentoo 2.5.0 | ~ ~ ~ ~ o ~ ~ ~ o ~ o o o o o o | 6 o | gentoo ------------+---------------------------------+----------+------- 2.5.4 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o o o o ~ | 6 o 0/43 | gentoo 2.5.5 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o o o o o | 6 # | gentoo [I]2.6.0 | ~ + ~ + ~ + + ~ ~ ~ o o o o o o | 6 o | gentoo ------------+---------------------------------+----------+------- 2.6.1 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o o o o o | 6 # 0/44 | gentoo 2.6.2 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o o o o o | 6 # | gentoo 2.6.3-r2 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o o o o o | 6 o | gentoo These are the packages that would be merged, in order: Calculating dependencies ...... done! [ebuild R ] app-text/podofo-0.9.6_pre20170629:0/0.9.6_pre20170629::gentoo USE="boost -debug idn libressl {-test} tools" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB --- Created attachment 505886 [details, diff]
patch to build podofo-0.9.6_pre20171027 against libressl
I have some news.
AFAICT, cmake searches for libcrypto and sets HAVE_OPENSSL_1_1 (ignoring libressl), failing if a < 1.1 version of openssl found.
This behaviour is maintained in the _pre20171027 version (which apparently does not require openssl patching).
The attached patch fixes the building for 20171027 version. It is easy to backport, but since it would require patching a patch, I think it would be a little messy (unless the current openssl patch is replaced)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d445832c8128d6d9427ccddf8465b92c65145d7 commit 7d445832c8128d6d9427ccddf8465b92c65145d7 Author: Michelangelo Scopelliti <kernelpanic@gmx.it> AuthorDate: 2017-11-23 21:24:52 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2017-11-23 21:27:32 +0000 app-text/podofo: fix for libressl (bug 635890) Closes: https://bugs.gentoo.org/635890 Package-Manager: Portage-2.3.16, Repoman-2.3.6 ...ofo-0.9.6_pre20171027-libressl-bug-635890.patch | 26 ++++++++++++++++++++++ app-text/podofo/podofo-0.9.6_pre20171027.ebuild | 4 ++++ 2 files changed, 30 insertions(+) |