From 48ea6008fdc29c5ca56132010a6e09adc7f1d6a5 Mon Sep 17 00:00:00 2001 From: Malik Shahzad Muzaffar Date: Wed, 30 Oct 2019 17:40:39 +0100 Subject: [PATCH] [CC8] Build Pycurl with OpenSSL backend This shoudl fix mane unit tests in CC8 IBs which are failing with error ``` Traceback (most recent call last): File "/cvmfs/cms-ib.cern.ch/nweek-02600/cc8_amd64_gcc8/cms/cmssw/CMSSW_11_0_X_2019-10-29-2300/bin/cc8_amd64_gcc8/conddb", line 29, in <module> from CondCore.Utilities.tier0 import Tier0Handler, Tier0Error, tier0Url File "/cvmfs/cms-ib.cern.ch/nweek-02600/cc8_amd64_gcc8/cms/cmssw/CMSSW_11_0_X_2019-10-29-2300/python/CondCore/Utilities/tier0.py", line 12, in <module> import pycurl ImportError: pycurl: libcurl link-time ssl backend (openssl) is different from compile-time ssl backend (none/other) return code is 65 ``` --- pip/pycurl.file | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pip/pycurl.file b/pip/pycurl.file index bf4c3c677f7..e9a0cb6b729 100644 --- a/pip/pycurl.file +++ b/pip/pycurl.file @@ -1,2 +1,4 @@ %define pip_name pycurl +%define PipPreBuild export PYCURL_SSL_LIBRARY=openssl + Requires: curl