Project

General

Profile

Actions

Bug #11436

closed

Jenkins failing to install pycurl 7.43.0

Added by Peter Amstutz about 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Story points:
-

Description

Starting with https://ci.curoverse.com/job/run-tests/793/

Command "/tmp/tmp.IOPqys1FRY/VENVDIR/bin/python2.7 -c "import setuptools, tokenize;__file__='/tmp/pip-build-iqJUQy/pycurl/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-FUhi97-record/install-record.txt --single-version-externally-managed --compile --install-headers /tmp/tmp.IOPqys1FRY/VENVDIR/include/site/python2.7/pycurl" failed with error code 1 in /tmp/pip-build-iqJUQy/pycurl

Doesn't give much information. From manually running the install on jenkins:

Running pycurl-7.43.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-lUty8x/pycurl-7.43.0/egg-dist-tmp-GlEUIQ
Using curl-config (libcurl 7.38.0)
warning: no files found matching 'src/Makefile'
In file included from src/docstrings.c:4:0:
src/pycurl.h:173:30: fatal error: gnutls/gnutls.h: No such file or directory
 #   include <gnutls/gnutls.h>
                              ^
compilation terminated.
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Seems to be expecting gnutls.h? e.g. libgnutls28-dev

Actions #1

Updated by Peter Amstutz about 7 years ago

  • Description updated (diff)
Actions #2

Updated by Peter Amstutz about 7 years ago

  • Description updated (diff)
Actions #3

Updated by Peter Amstutz about 7 years ago

From https://github.com/pycurl/pycurl/blob/master/INSTALL.rst

We can set an environment variable to influence which SSL library it will choose:

export PYCURL_SSL_LIBRARY=nss
Actions #4

Updated by Peter Amstutz about 7 years ago

  • Status changed from New to Resolved

run-tests.sh now checks for gnutls.h

Actions

Also available in: Atom PDF