After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 657306 - in case of gnutls enabled: abort of libgcrypt is not found
in case of gnutls enabled: abort of libgcrypt is not found
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: network
2.29.x
Other Windows
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2011-08-25 08:06 UTC by Dominique Leuenberger
Modified: 2011-12-03 11:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix configure.ac to abort ig libgcrypt is not found (1.00 KB, patch)
2011-08-25 08:06 UTC, Dominique Leuenberger
needs-work Details | Review

Description Dominique Leuenberger 2011-08-25 08:06:34 UTC
Created attachment 194677 [details] [review]
Fix configure.ac to abort ig libgcrypt is not found

Gnutls newer versions do no longer drag in libgcrypt automatically and as such we can not guarantee it's there.

The attach patch changes the build system to abort if gnutls is specified to be used but libgcrypt not found.

This avoids configure from passing just fine but the build failing later on.
Comment 1 Dan Winship 2011-08-25 12:52:46 UTC
Comment on attachment 194677 [details] [review]
Fix configure.ac to abort ig libgcrypt is not found

by "newer versions" you mean 3.x, right? in that case, we should work with either gcrypt or whatever the new crypto lib is called. IIRC, we don't use any gcrypt methods ourselves, so it's mostly a matter of just #ifdef'ing out the gcrypt initialization calls if gnutls isn't using gcrypt.
Comment 2 Dominique Leuenberger 2011-08-25 13:01:17 UTC
yes, I mean gnutls 3.0

the build failure is mostly for us #inclduing gcrypt.h.
But I did not check if we use anything from this header.
Comment 3 Dan Winship 2011-12-03 11:49:15 UTC
glib-networking no longer directly depends on gcrypt