Bug #11436

Jenkins failing to install pycurl 7.43.0

Added by Peter Amstutz 5 months ago. Updated 4 months ago.

Status:ResolvedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Story points-
Velocity based estimate-

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

History

#1 Updated by Peter Amstutz 5 months ago

  • Description updated (diff)

#2 Updated by Peter Amstutz 5 months ago

  • Description updated (diff)

#3 Updated by Peter Amstutz 5 months 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

#4 Updated by Peter Amstutz 4 months ago

  • Status changed from New to Resolved

run-tests.sh now checks for gnutls.h

Also available in: Atom PDF