Summary: | www-servers/pound fails to build with openssl-1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Thilo Bangert (RETIRED) (RETIRED) <bangert> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Adrian.Bassett, www-servers+disabled |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://cvs.fedoraproject.org/viewvc/rpms/Pound/devel/pound-2.5-openssl.patch?revision=1.1&view=markup | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 304279 | ||
Attachments: |
Build log
Modified ebuild to allow pound-2.5 to build against openssl 1.0 pound-2.5 openssl 1.0 patch Mpdofied version of 2.5-r1 ebuild without un-necessary comment |
Description
Diego Elio Pettenò (RETIRED)
![]() Diego, it looks like you missed attaching the build log for this one. Created attachment 238277 [details]
Build log
Thanks Kevin!
This looks like it is _probably_ a compatibility problem with OpenSSL 1.0. The first build failure is due to the type LHASH being unknown. On my openssl-0.9.8* system, I have a definition of LHASH in /usr/include/openssl/lhash.h. In openssl 1.0, this structure was renamed to _LHASH. In both cases, lhash.h is found in the OpenSSL source bundle as crypt/lhash/lhash.h. The following attached ebuild and patch allow for compiling pound-2.5 against openssl 1.0. The patch is directly lifted from the attachment linked to in: http://www.google.co.uk/url?q=http://www.apsis.ch/pound/pound_list/archive/2010/2010-02/1266065082000&sa=X&ei=FWVFTITAFaeUOK2irakE&ved=0CB4QrAIoADAB&usg=AFQjCNFRY-qeR_q1NYv9Hx4Jkp-WS6LuXg with only path-names modified to allow patching to succeed within portage. Hope this helps. Created attachment 239525 [details, diff]
Modified ebuild to allow pound-2.5 to build against openssl 1.0
Created attachment 239527 [details]
pound-2.5 openssl 1.0 patch
Created attachment 239529 [details, diff]
Mpdofied version of 2.5-r1 ebuild without un-necessary comment
(In reply to comment #7) > Created an attachment (id=239529) [details] > Mpdofied version of 2.5-r1 ebuild without un-necessary comment This appears to be a full copy of the ebuild, but you set the type to "patch". For small changes, attaching a patch is preferable, since it allows others to quickly review what was changed, and reduces the chance that other useful changes will be lost if the maintainer simply overwrites his local ebuild with the proposed copy. + 06 Aug 2010; Samuli Suominen <ssuominen@gentoo.org> pound-2.5.ebuild, + +files/pound-2.5-openssl-1.patch: + Fix building with OpenSSL >= 1.0.0 wrt #327721 by Adrian Bassett. http://cvs.fedoraproject.org/viewvc/rpms/Pound/devel/pound-2.5-openssl.patch?revision=1.1&view=markup |