Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340647 - net-libs/gsoap(-2.7, -2.8) pkgconfig or compilation wrong
Summary: net-libs/gsoap(-2.7, -2.8) pkgconfig or compilation wrong
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-12 09:15 UTC by Ernst Bachmann
Modified: 2015-12-28 10:01 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ernst Bachmann 2010-10-12 09:15:22 UTC
gsoap has optional SSL and Cookie support, and installs different libraries: libgsoap for no extras, libgsoapck for cookie support, libgsoapssl for SSL.
No extra library for Cookie AND SSL support.
Now, according to 'pkg-config --cflags gsoapssl' the libgsoapssl should contain the cookie module, but doesn't.
The optional zlib and DOM support is however available in the gsoapssl libraries.

Reproducible: Always

Steps to Reproduce:
1. emerge gsoap
2. pkg-config  --cflags gsoapssl ; notice "WITH_COOKIES" in output
3. link against gsoapssl, notice cookie support is missing.

Actual Results:  
libgsoapssl and libgsoapssl++ don't have cookie support.

Expected Results:  
Either fix pkg-config and provide a fourth variant, libgsoapsslck(dom)(zlib)(++) or fix the Makefile and enable -DWITH_COOKIES for the SSL Library.

The fix is actually quite easy:
in gsoap/Makefile.am change 
libgsoapssl_a_CFLAGS
and 
libgsoapssl___a_CXXFLAGS
to include -DWITH_COOKIES
Comment 1 Göktürk Yüksek archtester gentoo-dev 2015-12-27 02:21:39 UTC
This is fixed in 2.8.24. See: https://sourceforge.net/p/gsoap2/code/85/tree//gsoap/Makefile.am?diff=51af4d3f5fcbc945b53d89a4:84
Comment 2 Göktürk Yüksek archtester gentoo-dev 2015-12-27 06:09:05 UTC
PR submitted to backport the fix to 2.7 series: https://github.com/gentoo/gentoo/pull/535
Comment 3 Patrice Clement gentoo-dev 2015-12-28 10:01:07 UTC
commit 7897074 (HEAD, origin/master, origin/HEAD, master)
Merge: 6b1b51d 67a035a
Author: Patrice Clement <monsieurp@gentoo.org>
Date:   Mon Dec 28 09:59:03 2015 +0000

    Merge remote-tracking branch 'github/pr/535'.

Thank you!