See <https://ci.trafficserver.apache.org/job/tsqa-master/348/>

------------------------------------------
[...truncated 237 lines...]
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    
Downloading/unpacking linecache2 (from traceback2->unittest2->tsqa==0.1->-r 
requirements.txt (line 4))
  Downloading linecache2-1.0.0.tar.gz
  Running setup.py egg_info for package linecache2
    
    Installed 
<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/build/linecache2/pbr-0.10.8-py2.7.egg>
    [pbr] Processing SOURCES.txt
    warning: LocalManifestMaker: standard file '-c' not found
    
    [pbr] In git context, generating filelist from git
    warning: no previously-included files found matching '.gitreview'
    warning: no previously-included files matching '*.pyc' found anywhere in 
distribution
Downloading/unpacking pycparser (from 
cffi>=0.8->cryptography>=0.7->pyOpenSSL->-r requirements.txt (line 6))
  Running setup.py egg_info for package pycparser
    
    warning: no previously-included files matching 'yacctab.*' found under 
directory 'tests'
    warning: no previously-included files matching 'lextab.*' found under 
directory 'tests'
    warning: no previously-included files matching 'yacctab.*' found under 
directory 'examples'
    warning: no previously-included files matching 'lextab.*' found under 
directory 'examples'
Installing collected packages: pyyaml, pyOpenSSL, nose, unittest2, requests, 
flask, httpbin, tsqa, cryptography, six, argparse, traceback2, Werkzeug, 
Jinja2, itsdangerous, MarkupSafe, decorator, pyasn1, enum34, cffi, linecache2, 
pycparser
  Running setup.py install for pyyaml
    checking if libyaml is compilable
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 
-D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
-grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC 
-I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/check_libyaml.c -o 
build/temp.linux-x86_64-2.7/check_libyaml.o
    build/temp.linux-x86_64-2.7/check_libyaml.c:2:18: fatal error: yaml.h: No 
such file or directory
     #include <yaml.h>
                      ^
    compilation terminated.
    
    libyaml is not found or a compiler error: forcing --without-libyaml
    (if libyaml is installed correctly, you may need to
     specify the option --include-dirs or uncomment and
     modify the parameter include_dirs in setup.cfg)
    
  Running setup.py install for pyOpenSSL
    
    warning: no files found matching 'OpenSSL/RATIONALE'
    warning: no previously-included files found matching 'leakcheck'
    warning: no previously-included files matching '*.py' found under directory 
'leakcheck'
    warning: no previously-included files matching '*.pem' found under 
directory 'leakcheck'
    warning: no previously-included files matching '*.pyc' found anywhere in 
distribution
    no previously-included directories found matching 'doc/_build'
  Running setup.py install for nose
    
    no previously-included directories found matching 'doc/.build'
    Installing nosetests script to 
<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/bin>
    Installing nosetests-2.7 script to 
<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/bin>
  Running setup.py install for unittest2
    
    Installing unit2 script to 
<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/bin>
  Running setup.py install for requests
    
  Running setup.py install for flask
    
    warning: no files found matching '*' under directory 'tests'
    warning: no previously-included files matching '*.pyc' found under 
directory 'docs'
    warning: no previously-included files matching '*.pyo' found under 
directory 'docs'
    warning: no previously-included files matching '*.pyc' found under 
directory 'tests'
    warning: no previously-included files matching '*.pyo' found under 
directory 'tests'
    warning: no previously-included files matching '*.pyc' found under 
directory 'examples'
    warning: no previously-included files matching '*.pyo' found under 
directory 'examples'
    no previously-included directories found matching 'docs/_build'
    no previously-included directories found matching 'docs/_themes/.git'
  Running setup.py install for httpbin
    
    warning: no files found matching 'README.md'
  Running setup.py install for tsqa
    
  Running setup.py install for cryptography
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    c/_cffi_backend.c:13:17: fatal error: ffi.h: No such file or directory
     #include <ffi.h>
                     ^
    compilation terminated.
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File 
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/build/cryptography/setup.py";,>
 line 342, in <module>
        **keywords_with_side_effects(sys.argv)
      File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup
        _setup_distribution = dist = klass(attrs)
      File 
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/lib/python2.7/site-packages/setuptools/dist.py";,>
 line 265, in __init__
        self.fetch_build_eggs(attrs.pop('setup_requires'))
      File 
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/lib/python2.7/site-packages/setuptools/dist.py";,>
 line 289, in fetch_build_eggs
        parse_requirements(requires), installer=self.fetch_build_egg
      File 
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/lib/python2.7/site-packages/pkg_resources.py";,>
 line 618, in resolve
        dist = best[req.key] = env.best_match(req, self, installer)
      File 
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/lib/python2.7/site-packages/pkg_resources.py";,>
 line 862, in best_match
        return self.obtain(req, installer) # try and download/install
      File 
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/lib/python2.7/site-packages/pkg_resources.py";,>
 line 874, in obtain
        return installer(requirement)
      File 
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/lib/python2.7/site-packages/setuptools/dist.py";,>
 line 339, in fetch_build_egg
        return cmd.easy_install(req)
      File 
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/lib/python2.7/site-packages/setuptools/command/easy_install.py";,>
 line 623, in easy_install
        return self.install_item(spec, dist.location, tmpdir, deps)
      File 
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/lib/python2.7/site-packages/setuptools/command/easy_install.py";,>
 line 653, in install_item
        dists = self.install_eggs(spec, download, tmpdir)
      File 
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/lib/python2.7/site-packages/setuptools/command/easy_install.py";,>
 line 849, in install_eggs
        return self.build_and_install(setup_script, setup_base)
      File 
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/lib/python2.7/site-packages/setuptools/command/easy_install.py";,>
 line 1130, in build_and_install
        self.run_setup(setup_script, setup_base, args)
      File 
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/lib/python2.7/site-packages/setuptools/command/easy_install.py";,>
 line 1118, in run_setup
        raise DistutilsError("Setup script exited with %s" % (v.args[0],))
    distutils.errors.DistutilsError: Setup script exited with error: command 
'gcc' failed with exit status 1
    Complete output from command 
<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/bin/python>
 -c "import 
setuptools;__file__='<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/build/cryptography/setup.py';exec(compile(open(__file__).read().replace('\r\n',>
 '\n'), __file__, 'exec'))" install --record 
/tmp/pip-CnfrDS-record/install-record.txt --single-version-externally-managed 
--install-headers 
<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/include/site/python2.7>:
    Package libffi was not found in the pkg-config search path.

Perhaps you should add the directory containing `libffi.pc'

to the PKG_CONFIG_PATH environment variable

No package 'libffi' found

Package libffi was not found in the pkg-config search path.

Perhaps you should add the directory containing `libffi.pc'

to the PKG_CONFIG_PATH environment variable

No package 'libffi' found

Package libffi was not found in the pkg-config search path.

Perhaps you should add the directory containing `libffi.pc'

to the PKG_CONFIG_PATH environment variable

No package 'libffi' found

Package libffi was not found in the pkg-config search path.

Perhaps you should add the directory containing `libffi.pc'

to the PKG_CONFIG_PATH environment variable

No package 'libffi' found

Package libffi was not found in the pkg-config search path.

Perhaps you should add the directory containing `libffi.pc'

to the PKG_CONFIG_PATH environment variable

No package 'libffi' found

c/_cffi_backend.c:13:17: fatal error: ffi.h: No such file or directory

 #include <ffi.h>

                 ^

compilation terminated.

Traceback (most recent call last):

  File "<string>", line 1, in <module>

  File 
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/build/cryptography/setup.py";,>
 line 342, in <module>

    **keywords_with_side_effects(sys.argv)

  File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup

    _setup_distribution = dist = klass(attrs)

  File 
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/lib/python2.7/site-packages/setuptools/dist.py";,>
 line 265, in __init__

    self.fetch_build_eggs(attrs.pop('setup_requires'))

  File 
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/lib/python2.7/site-packages/setuptools/dist.py";,>
 line 289, in fetch_build_eggs

    parse_requirements(requires), installer=self.fetch_build_egg

  File 
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/lib/python2.7/site-packages/pkg_resources.py";,>
 line 618, in resolve

    dist = best[req.key] = env.best_match(req, self, installer)

  File 
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/lib/python2.7/site-packages/pkg_resources.py";,>
 line 862, in best_match

    return self.obtain(req, installer) # try and download/install

  File 
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/lib/python2.7/site-packages/pkg_resources.py";,>
 line 874, in obtain

    return installer(requirement)

  File 
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/lib/python2.7/site-packages/setuptools/dist.py";,>
 line 339, in fetch_build_egg

    return cmd.easy_install(req)

  File 
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/lib/python2.7/site-packages/setuptools/command/easy_install.py";,>
 line 623, in easy_install

    return self.install_item(spec, dist.location, tmpdir, deps)

  File 
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/lib/python2.7/site-packages/setuptools/command/easy_install.py";,>
 line 653, in install_item

    dists = self.install_eggs(spec, download, tmpdir)

  File 
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/lib/python2.7/site-packages/setuptools/command/easy_install.py";,>
 line 849, in install_eggs

    return self.build_and_install(setup_script, setup_base)

  File 
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/lib/python2.7/site-packages/setuptools/command/easy_install.py";,>
 line 1130, in build_and_install

    self.run_setup(setup_script, setup_base, args)

  File 
"<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/lib/python2.7/site-packages/setuptools/command/easy_install.py";,>
 line 1118, in run_setup

    raise DistutilsError("Setup script exited with %s" % (v.args[0],))

distutils.errors.DistutilsError: Setup script exited with error: command 'gcc' 
failed with exit status 1

----------------------------------------
Cleaning up...
Command 
<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/bin/python>
 -c "import 
setuptools;__file__='<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/build/cryptography/setup.py';exec(compile(open(__file__).read().replace('\r\n',>
 '\n'), __file__, 'exec'))" install --record 
/tmp/pip-CnfrDS-record/install-record.txt --single-version-externally-managed 
--install-headers 
<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/include/site/python2.7>
 failed with error code 1 in 
<https://ci.trafficserver.apache.org/job/tsqa-master/ws/src/ci/tsqa/virtualenv/build/cryptography>
Storing complete log in /home/jenkins/.pip/pip.log
make: *** [virtualenv] Error 1
Build step 'Execute shell' marked build as failure

Reply via email to