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 587709 - Require explicit --disable-ssl to build without GNUTLS support -- Breaks Build
Require explicit --disable-ssl to build without GNUTLS support -- Breaks Build
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: Misc
2.27.x
Other All
: Normal critical
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
: 596088 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-07-03 21:16 UTC by David Ronis
Modified: 2009-10-13 16:27 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28


Attachments
config.log: configure log file (35.94 KB, text/plain)
2009-07-05 15:06 UTC, David Ronis
Details
Terminal log of configure/build process. (8.36 KB, text/plain)
2009-07-13 16:55 UTC, David Ronis
Details
config.log that goes with the output in Comment #6 (30.46 KB, text/plain)
2009-07-13 16:56 UTC, David Ronis
Details

Description David Ronis 2009-07-03 21:16:53 UTC
Steps to reproduce:
1. configure
2. 
3. 


Stack trace:


Other information:
The "fix":  

Author: Dan Winship <danw@gnome.org>
Date:   Sun Jun 28 10:00:00 2009 -0400

    Require explicit --disable-ssl to build without GNUTLS support
    
    In general, if someone is trying to build without GNUTLS installed
    it's an accident, so bail out with an error.
    
    Inspired by http://bugzilla.gnome.org/show_bug.cgi?id=584955

in git master breaks the build.  I get:

checking for LIBGNUTLS... yes
configure: error: Could not configure SSL support.
Pass "--disable-ssl" if you really want to build without SSL support
make: *** [configure-work/main.d/libsoup-git/configure] Error 1

I have recent versions of openssl and gnutls.

This worked before the commit
Comment 1 Dan Winship 2009-07-04 02:40:37 UTC
hm... it looks like this will happen if you have gnutls-devel installed, but *don't* have libgcrypt-devel installed. Right? (In which case it would previously have just silently dropped ssl support, but now it actually fails.)
Comment 2 David Ronis 2009-07-05 02:18:37 UTC
Actually I have both installed.  Initially I didn't but had built/installed the most recent before filing the bug report.
Comment 3 Dan Winship 2009-07-05 12:57:40 UTC
Please attach config.log
Comment 4 David Ronis 2009-07-05 15:06:59 UTC
Created attachment 137877 [details]
config.log:  configure log file

As requested, here's configure's log file.
Comment 5 David Ronis 2009-07-13 16:32:44 UTC
Hi Dan,

I hate to be a pest, but not being able to upgrade libsoup has started to affect other parts of gnome (most recently, epiphinay via webkitgtk+-1.1.11 (which needs libsoup > 2.27.4)

Any progress?

Comment 6 David Ronis 2009-07-13 16:55:07 UTC
Created attachment 138342 [details]
Terminal log of configure/build process.
Comment 7 David Ronis 2009-07-13 16:56:31 UTC
Created attachment 138345 [details]
config.log that goes with the output in Comment #6
Comment 8 Dan Winship 2009-09-23 16:36:58 UTC
*** Bug 596088 has been marked as a duplicate of this bug. ***
Comment 9 Dan Winship 2009-09-23 16:38:12 UTC
the last config.log still shows that it's being autogened without AM_PATH_LIBGCRYPT being found
Comment 10 David Ronis 2009-09-23 19:12:14 UTC
I've just reinstalled libgcrypt (version 1.4.4) and gnutls (2.8.4).    They built and tested fine, although libgcrypt doesn't seem to install a .pc file; rather prefix/bin/libcrypt-config is used.  I flamed the git sources for libsoup and started from scratch (autogen/configure/make).  Same error.  

What's weird is that greping config.log and/or configure for GCRYPT (case insensitive) finds nothing.
Comment 11 David Ronis 2009-09-23 20:24:20 UTC
One final observation, forcing have_ssl=yes in configure gets around the problem (of course), and the resulting lib builds without complaint
Comment 12 Dan Winship 2009-10-13 16:27:59 UTC
We now include libgcrypt.m4 in the libsoup sources, so it will fail
correctly if gnutls-devel is installed but libgcrypt-devel is not