evansde77 / cirrus

python library build, test and devop like things assistant
Apache License 2.0
14 stars 8 forks source link

Multiline git alias prevents installation #155

Closed bewing closed 5 years ago

bewing commented 7 years ago

I have a .gitconfig from a dotfiles repo, that appears to cause an issue when installing cirrus: .gitconfig file: https://github.com/bewing/dotfiles/blob/master/.gitconfig

install.log:

$ cat ~/.cirrus/install.log
Installing cirrus to LOCATION=/home/bewing/.cirrus
Downloading/unpacking cirrus-cli
  Running setup.py egg_info for package cirrus-cli

Downloading/unpacking argparse==1.2.1 (from cirrus-cli)
  Running setup.py egg_info for package argparse

    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files matching '*.orig' found anywhere in distribution
    warning: no previously-included files matching '*.rej' found anywhere in distribution
    no previously-included directories found matching 'doc/_build'
    no previously-included directories found matching 'env24'
    no previously-included directories found matching 'env25'
    no previously-included directories found matching 'env26'
    no previously-included directories found matching 'env27'
Downloading/unpacking arrow==0.4.2 (from cirrus-cli)
  Downloading arrow-0.4.2.tar.gz
  Running setup.py egg_info for package arrow

Downloading/unpacking Fabric==1.11.1 (from cirrus-cli)
  Running setup.py egg_info for package Fabric

    warning: no previously-included files matching '*' found under directory 'sites/docs/_build'
    warning: no previously-included files matching '*' found under directory 'sites/www/_build'
    warning: no previously-included files matching '*.pyc' found under directory 'tests'
    warning: no previously-included files matching '*.pyo' found under directory 'tests'
Downloading/unpacking GitPython==0.3.5 (from cirrus-cli)
  Running setup.py egg_info for package GitPython
    /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_requirements'
      warnings.warn(msg)

    warning: no files found matching 'README'
Downloading/unpacking mock==1.0.1 (from cirrus-cli)
  Running setup.py egg_info for package mock

    warning: no files found matching '*.png' under directory 'docs'
    warning: no files found matching '*.css' under directory 'docs'
    warning: no files found matching '*.html' under directory 'docs'
    warning: no files found matching '*.js' under directory 'docs'
Downloading/unpacking nose==1.3.0 (from cirrus-cli)
  Running setup.py egg_info for package nose

    no previously-included directories found matching 'doc/.build'
Downloading/unpacking pep8==1.5.7 (from cirrus-cli)
  Running setup.py egg_info for package pep8

    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 'testsuite'
    warning: no previously-included files matching '*.pyo' found under directory 'testsuite'
    no previously-included directories found matching 'docs/_build'
Downloading/unpacking pylint==1.3.0 (from cirrus-cli)
  Running setup.py egg_info for package pylint

    warning: no files found matching '*.html' under directory 'doc'
Downloading/unpacking requests==2.3.0 (from cirrus-cli)
  Running setup.py egg_info for package requests

Downloading/unpacking PyChef==0.2.3 (from cirrus-cli)
  Downloading PyChef-0.2.3.tar.gz
  Running setup.py egg_info for package PyChef

Downloading/unpacking keyring==8.5.1 (from cirrus-cli)
  Downloading keyring-8.5.1.tar.gz
  Running setup.py egg_info for package keyring
    your setuptools is too old (<12)
    setuptools_scm functionality is degraded

Downloading/unpacking virtualenv (from cirrus-cli)
  Running setup.py egg_info for package virtualenv

    warning: no previously-included files matching '*' found under directory 'docs/_templates'
    warning: no previously-included files matching '*' found under directory 'docs/_build'
Downloading/unpacking pluggage (from cirrus-cli)
  Downloading pluggage-0.0.4.tar.gz
  Running setup.py egg_info for package pluggage

    warning: no previously-included files matching '*' found under directory 'tests'
Downloading/unpacking dockerstache>=0.0.9 (from cirrus-cli)
  Downloading dockerstache-0.0.9.tar.gz
  Running setup.py egg_info for package dockerstache

    warning: no previously-included files matching '*' found under directory 'test'
Downloading/unpacking requests-toolbelt==0.6.2 (from cirrus-cli)
  Running setup.py egg_info for package requests-toolbelt

    no previously-included directories found matching 'docs/_build'
    warning: no previously-included files matching '*.py[cdo]' found anywhere in distribution
    warning: no previously-included files matching '__pycache__' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
    warning: no previously-included files matching '*.pyd' found anywhere in distribution
Downloading/unpacking tox (from cirrus-cli)
  Running setup.py egg_info for package tox

Downloading/unpacking python-dateutil (from arrow==0.4.2->cirrus-cli)
  Running setup.py egg_info for package python-dateutil

    warning: no previously-included files matching '__pycache__' found anywhere in distribution
    warning: no previously-included files matching '*.py[co]' found anywhere in distribution
Downloading/unpacking paramiko>=1.10,<2.0 (from Fabric==1.11.1->cirrus-cli)
  Running setup.py egg_info for package paramiko

Downloading/unpacking gitdb>=0.6.4 (from GitPython==0.3.5->cirrus-cli)
  Running setup.py egg_info for package gitdb

Downloading/unpacking logilab-common>=0.53.0 (from pylint==1.3.0->cirrus-cli)
  Running setup.py egg_info for package logilab-common

    warning: no files found matching '*.py' under directory 'test/input'
    warning: no files found matching '*' under directory 'doc/html'
Downloading/unpacking astroid>=1.1 (from pylint==1.3.0->cirrus-cli)
  Running setup.py egg_info for package astroid

    warning: no files found matching 'README'
Downloading/unpacking pystache==0.5.4 (from dockerstache>=0.0.9->cirrus-cli)
  Running setup.py egg_info for package pystache
    pystache: using: version '0.9.8' of <module 'setuptools' from '/home/bewing/.cirrus/venv/lib/python2.7/site-packages/setuptools/__init__.pyc'>

Downloading/unpacking six==1.10.0 (from dockerstache>=0.0.9->cirrus-cli)
  Downloading six-1.10.0.tar.gz
  Running setup.py egg_info for package six

    no previously-included directories found matching 'documentation/_build'
Downloading/unpacking py>=1.4.17 (from tox->cirrus-cli)
  Running setup.py egg_info for package py

    warning: no previously-included files matching '*.pyc' found anywhere in distribution
Downloading/unpacking pluggy>=0.3.0,<1.0 (from tox->cirrus-cli)
  Downloading pluggy-0.4.0.zip
  Running setup.py egg_info for package pluggy

    warning: no previously-included files matching '*.pyc' found under directory '*'
    warning: no previously-included files matching '*.pyo' found under directory '*'
Downloading/unpacking pycrypto>=2.1,!=2.4,<3.0 (from paramiko>=1.10,<2.0->Fabric==1.11.1->cirrus-cli)
  Running setup.py egg_info for package pycrypto

Downloading/unpacking ecdsa>=0.11,<2.0 (from paramiko>=1.10,<2.0->Fabric==1.11.1->cirrus-cli)
  Running setup.py egg_info for package ecdsa

Downloading/unpacking smmap>=0.8.5 (from gitdb>=0.6.4->GitPython==0.3.5->cirrus-cli)
  Downloading smmap-0.9.0.tar.gz
  Running setup.py egg_info for package smmap

Requirement already satisfied (use --upgrade to upgrade): setuptools in ./venv/lib/python2.7/site-packages (from logilab-common>=0.53.0->pylint==1.3.0->cirrus-cli)
Downloading/unpacking lazy-object-proxy (from astroid>=1.1->pylint==1.3.0->cirrus-cli)
  Could not fetch URL https://bitbucket.org/pypa/setuptools/downloads/ssl-1.16-py2.5-win32.egg#md5=85ad1cda806d639743121c0bbcb5f39b: There was a problem confirming the ssl certificate: <urlopen error [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed>
  Will skip URL https://bitbucket.org/pypa/setuptools/downloads/ssl-1.16-py2.5-win32.egg#md5=85ad1cda806d639743121c0bbcb5f39b when looking for download links for lazy-object-proxy (from astroid>=1.1->pylint==1.3.0->cirrus-cli)
  Could not fetch URL https://bitbucket.org/pypa/setuptools/downloads/ssl-1.16-py2.4-win32.egg#md5=3cfa2c526dc66e318e8520b6f1aadce5: There was a problem confirming the ssl certificate: <urlopen error [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed>
  Will skip URL https://bitbucket.org/pypa/setuptools/downloads/ssl-1.16-py2.4-win32.egg#md5=3cfa2c526dc66e318e8520b6f1aadce5 when looking for download links for lazy-object-proxy (from astroid>=1.1->pylint==1.3.0->cirrus-cli)
  Could not fetch URL https://bitbucket.org/pypa/setuptools/downloads/ctypes-1.0.2.win32-py2.4.exe#md5=9092a0ad5a3d79fa2d980f1ddc5e9dbc: There was a problem confirming the ssl certificate: <urlopen error [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed>
  Will skip URL https://bitbucket.org/pypa/setuptools/downloads/ctypes-1.0.2.win32-py2.4.exe#md5=9092a0ad5a3d79fa2d980f1ddc5e9dbc when looking for download links for lazy-object-proxy (from astroid>=1.1->pylint==1.3.0->cirrus-cli)
  Downloading lazy-object-proxy-1.3.1.tar.gz
  Running setup.py egg_info for package lazy-object-proxy

    warning: no files found matching '.isort.cfg'
    warning: no previously-included files matching '*.py[cod]' found anywhere in distribution
    warning: no previously-included files matching '__pycache__' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
    warning: no previously-included files matching '*.dylib' found anywhere in distribution
Downloading/unpacking wrapt (from astroid>=1.1->pylint==1.3.0->cirrus-cli)
  Could not fetch URL https://bitbucket.org/pypa/setuptools/downloads/ssl-1.16-py2.4-win32.egg#md5=3cfa2c526dc66e318e8520b6f1aadce5: There was a problem confirming the ssl certificate: <urlopen error [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed>
  Will skip URL https://bitbucket.org/pypa/setuptools/downloads/ssl-1.16-py2.4-win32.egg#md5=3cfa2c526dc66e318e8520b6f1aadce5 when looking for download links for wrapt (from astroid>=1.1->pylint==1.3.0->cirrus-cli)
  Could not fetch URL https://bitbucket.org/pypa/setuptools/downloads/ctypes-1.0.2.win32-py2.4.exe#md5=9092a0ad5a3d79fa2d980f1ddc5e9dbc: There was a problem confirming the ssl certificate: <urlopen error [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed>
  Will skip URL https://bitbucket.org/pypa/setuptools/downloads/ctypes-1.0.2.win32-py2.4.exe#md5=9092a0ad5a3d79fa2d980f1ddc5e9dbc when looking for download links for wrapt (from astroid>=1.1->pylint==1.3.0->cirrus-cli)
  Downloading wrapt-1.10.10.tar.gz
  Running setup.py egg_info for package wrapt

Downloading/unpacking enum34 (from astroid>=1.1->pylint==1.3.0->cirrus-cli)
  Running setup.py egg_info for package enum34

Downloading/unpacking singledispatch (from astroid>=1.1->pylint==1.3.0->cirrus-cli)
  Downloading singledispatch-3.4.0.3.tar.gz
  Running setup.py egg_info for package singledispatch

Downloading/unpacking backports.functools-lru-cache (from astroid>=1.1->pylint==1.3.0->cirrus-cli)
  Downloading backports.functools_lru_cache-1.4.tar.gz
  Running setup.py egg_info for package backports.functools-lru-cache
    /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
      warnings.warn(msg)
    your setuptools is too old (<12)
    setuptools_scm functionality is degraded

Installing collected packages: cirrus-cli, argparse, arrow, Fabric, GitPython, mock, nose, pep8, pylint, requests, PyChef, keyring, virtualenv, pluggage, dockerstache, requests-toolbelt, tox, python-dateutil, paramiko, gitdb, logilab-common, astroid, pystache, six, py, pluggy, pycrypto, ecdsa, smmap, lazy-object-proxy, wrapt, enum34, singledispatch, backports.functools-lru-cache
  Running setup.py install for cirrus-cli

    Installing package script to /home/bewing/.cirrus/venv/bin
    Installing docs script to /home/bewing/.cirrus/venv/bin
    Installing review script to /home/bewing/.cirrus/venv/bin
    Installing selfupdate script to /home/bewing/.cirrus/venv/bin
    Installing feature script to /home/bewing/.cirrus/venv/bin
    Installing release script to /home/bewing/.cirrus/venv/bin
    Installing qc script to /home/bewing/.cirrus/venv/bin
    Installing prestage script to /home/bewing/.cirrus/venv/bin
    Installing selfsetup script to /home/bewing/.cirrus/venv/bin
    Installing build script to /home/bewing/.cirrus/venv/bin
    Installing deploy script to /home/bewing/.cirrus/venv/bin
    Installing test script to /home/bewing/.cirrus/venv/bin
    Installing plusone script to /home/bewing/.cirrus/venv/bin
    Installing docker-image script to /home/bewing/.cirrus/venv/bin
    Installing hello script to /home/bewing/.cirrus/venv/bin
    Installing cirrus script to /home/bewing/.cirrus/venv/bin
  Running setup.py install for argparse

    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files matching '*.orig' found anywhere in distribution
    warning: no previously-included files matching '*.rej' found anywhere in distribution
    no previously-included directories found matching 'doc/_build'
    no previously-included directories found matching 'env24'
    no previously-included directories found matching 'env25'
    no previously-included directories found matching 'env26'
    no previously-included directories found matching 'env27'
  Running setup.py install for arrow

  Running setup.py install for Fabric

    warning: no previously-included files matching '*' found under directory 'sites/docs/_build'
    warning: no previously-included files matching '*' found under directory 'sites/www/_build'
    warning: no previously-included files matching '*.pyc' found under directory 'tests'
    warning: no previously-included files matching '*.pyo' found under directory 'tests'
    Installing fab script to /home/bewing/.cirrus/venv/bin
  Running setup.py install for GitPython
    /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_requirements'
      warnings.warn(msg)

    warning: no files found matching 'README'
  Running setup.py install for mock

    warning: no files found matching '*.png' under directory 'docs'
    warning: no files found matching '*.css' under directory 'docs'
    warning: no files found matching '*.html' under directory 'docs'
    warning: no files found matching '*.js' under directory 'docs'
  Running setup.py install for nose

    no previously-included directories found matching 'doc/.build'
    Installing nosetests script to /home/bewing/.cirrus/venv/bin
    Installing nosetests-2.7 script to /home/bewing/.cirrus/venv/bin
  Running setup.py install for pep8

    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 'testsuite'
    warning: no previously-included files matching '*.pyo' found under directory 'testsuite'
    no previously-included directories found matching 'docs/_build'
    Installing pep8 script to /home/bewing/.cirrus/venv/bin
  Running setup.py install for pylint
    changing mode of build/scripts-2.7/pylint from 664 to 775
    changing mode of build/scripts-2.7/pylint-gui from 664 to 775
    changing mode of build/scripts-2.7/symilar from 664 to 775
    changing mode of build/scripts-2.7/epylint from 664 to 775
    changing mode of build/scripts-2.7/pyreverse from 664 to 775

    warning: no files found matching '*.html' under directory 'doc'
    changing mode of /home/bewing/.cirrus/venv/bin/pylint to 775
    changing mode of /home/bewing/.cirrus/venv/bin/pylint-gui to 775
    changing mode of /home/bewing/.cirrus/venv/bin/symilar to 775
    changing mode of /home/bewing/.cirrus/venv/bin/pyreverse to 775
    changing mode of /home/bewing/.cirrus/venv/bin/epylint to 775
    Installing pylint script to /home/bewing/.cirrus/venv/bin
    Installing epylint script to /home/bewing/.cirrus/venv/bin
    Installing pyreverse script to /home/bewing/.cirrus/venv/bin
    Installing pylint-gui script to /home/bewing/.cirrus/venv/bin
    Installing symilar script to /home/bewing/.cirrus/venv/bin
  Running setup.py install for requests

  Running setup.py install for PyChef

  Running setup.py install for keyring
    your setuptools is too old (<12)
    setuptools_scm functionality is degraded

    Installing keyring script to /home/bewing/.cirrus/venv/bin
  Running setup.py install for virtualenv

    warning: no previously-included files matching '*' found under directory 'docs/_templates'
    warning: no previously-included files matching '*' found under directory 'docs/_build'
    Installing virtualenv script to /home/bewing/.cirrus/venv/bin
  Running setup.py install for pluggage

    warning: no previously-included files matching '*' found under directory 'tests'
  Running setup.py install for dockerstache

    warning: no previously-included files matching '*' found under directory 'test'
    Installing dockerstache script to /home/bewing/.cirrus/venv/bin
  Running setup.py install for requests-toolbelt

    no previously-included directories found matching 'docs/_build'
    warning: no previously-included files matching '*.py[cdo]' found anywhere in distribution
    warning: no previously-included files matching '__pycache__' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
    warning: no previously-included files matching '*.pyd' found anywhere in distribution
  Running setup.py install for tox

    Installing tox script to /home/bewing/.cirrus/venv/bin
    Installing tox-quickstart script to /home/bewing/.cirrus/venv/bin
  Running setup.py install for python-dateutil

    warning: no previously-included files matching '__pycache__' found anywhere in distribution
    warning: no previously-included files matching '*.py[co]' found anywhere in distribution
  Running setup.py install for paramiko

  Running setup.py install for gitdb
    building 'gitdb._perf' extension
    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 -Igitdb -I/usr/include/python2.7 -c gitdb/_fun.c -o build/temp.linux-x86_64-2.7/gitdb/_fun.o
    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 -Igitdb -I/usr/include/python2.7 -c gitdb/_delta_apply.c -o build/temp.linux-x86_64-2.7/gitdb/_delta_apply.o
    gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/gitdb/_fun.o build/temp.linux-x86_64-2.7/gitdb/_delta_apply.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/gitdb/_perf.so

  Running setup.py install for logilab-common
    changing mode of build/scripts-2.7/logilab-pytest from 664 to 775
    Skipping installation of /home/bewing/.cirrus/venv/lib/python2.7/site-packages/logilab/__init__.py (namespace package)

    warning: no files found matching '*.py' under directory 'test/input'
    warning: no files found matching '*' under directory 'doc/html'
    Installing /home/bewing/.cirrus/venv/lib/python2.7/site-packages/logilab_common-1.4.0-py2.7-nspkg.pth
    changing mode of /home/bewing/.cirrus/venv/bin/logilab-pytest to 775
  Running setup.py install for astroid

    warning: no files found matching 'README'
  Running setup.py install for pystache
    pystache: using: version '0.9.8' of <module 'setuptools' from '/home/bewing/.cirrus/venv/lib/python2.7/site-packages/setuptools/__init__.pyc'>

    Installing pystache script to /home/bewing/.cirrus/venv/bin
    Installing pystache-test script to /home/bewing/.cirrus/venv/bin
  Running setup.py install for six

    no previously-included directories found matching 'documentation/_build'
  Running setup.py install for py

    warning: no previously-included files matching '*.pyc' found anywhere in distribution
  Running setup.py install for pluggy

    warning: no previously-included files matching '*.pyc' found under directory '*'
    warning: no previously-included files matching '*.pyo' found under directory '*'
  Running setup.py install for pycrypto
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for __gmpz_init in -lgmp... no
    checking for __gmpz_init in -lmpir... no
    checking whether mpz_powm is declared... no
    checking whether mpz_powm_sec is declared... no
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for inttypes.h... (cached) yes
    checking limits.h usability... yes
    checking limits.h presence... yes
    checking for limits.h... yes
    checking stddef.h usability... yes
    checking stddef.h presence... yes
    checking for stddef.h... yes
    checking for stdint.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking wchar.h usability... yes
    checking wchar.h presence... yes
    checking for wchar.h... yes
    checking for inline... inline
    checking for int16_t... yes
    checking for int32_t... yes
    checking for int64_t... yes
    checking for int8_t... yes
    checking for size_t... yes
    checking for uint16_t... yes
    checking for uint32_t... yes
    checking for uint64_t... yes
    checking for uint8_t... yes
    checking for stdlib.h... (cached) yes
    checking for GNU libc compatible malloc... yes
    checking for memmove... yes
    checking for memset... yes
    configure: creating ./config.status
    config.status: creating src/config.h
    warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
    building 'Crypto.Hash._MD2' extension
    gcc -pthread -fno-strict-aliasing -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 -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 -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/MD2.c -o build/temp.linux-x86_64-2.7/src/MD2.o
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/MD2.c:31:
    /usr/include/python2.7/pyconfig-64.h:1182:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
     #define _POSIX_C_SOURCE 200112L
     ^
    In file included from /usr/include/string.h:25:0,
                     from src/MD2.c:30:
    /usr/include/features.h:165:0: note: this is the location of the previous definition
     # define _POSIX_C_SOURCE 200809L
     ^
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/MD2.c:31:
    /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
     #define _XOPEN_SOURCE 600
     ^
    In file included from /usr/include/string.h:25:0,
                     from src/MD2.c:30:
    /usr/include/features.h:167:0: note: this is the location of the previous definition
     # define _XOPEN_SOURCE 700
     ^
    gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/src/MD2.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/Crypto/Hash/_MD2.so
    building 'Crypto.Hash._MD4' extension
    gcc -pthread -fno-strict-aliasing -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 -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 -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/MD4.c -o build/temp.linux-x86_64-2.7/src/MD4.o
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/MD4.c:31:
    /usr/include/python2.7/pyconfig-64.h:1182:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
     #define _POSIX_C_SOURCE 200112L
     ^
    In file included from /usr/include/string.h:25:0,
                     from src/MD4.c:30:
    /usr/include/features.h:165:0: note: this is the location of the previous definition
     # define _POSIX_C_SOURCE 200809L
     ^
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/MD4.c:31:
    /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
     #define _XOPEN_SOURCE 600
     ^
    In file included from /usr/include/string.h:25:0,
                     from src/MD4.c:30:
    /usr/include/features.h:167:0: note: this is the location of the previous definition
     # define _XOPEN_SOURCE 700
     ^
    gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/src/MD4.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/Crypto/Hash/_MD4.so
    building 'Crypto.Hash._SHA256' extension
    gcc -pthread -fno-strict-aliasing -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 -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 -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/SHA256.c -o build/temp.linux-x86_64-2.7/src/SHA256.o
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/hash_SHA2_template.c:33,
                     from src/SHA256.c:72:
    /usr/include/python2.7/pyconfig-64.h:1182:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
     #define _POSIX_C_SOURCE 200112L
     ^
    In file included from /usr/include/stdint.h:25:0,
                     from /usr/lib/gcc/x86_64-redhat-linux/4.8.3/include/stdint.h:9,
                     from src/hash_SHA2.h:72,
                     from src/SHA256.c:35:
    /usr/include/features.h:165:0: note: this is the location of the previous definition
     # define _POSIX_C_SOURCE 200809L
     ^
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/hash_SHA2_template.c:33,
                     from src/SHA256.c:72:
    /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
     #define _XOPEN_SOURCE 600
     ^
    In file included from /usr/include/stdint.h:25:0,
                     from /usr/lib/gcc/x86_64-redhat-linux/4.8.3/include/stdint.h:9,
                     from src/hash_SHA2.h:72,
                     from src/SHA256.c:35:
    /usr/include/features.h:167:0: note: this is the location of the previous definition
     # define _XOPEN_SOURCE 700
     ^
    gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/src/SHA256.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/Crypto/Hash/_SHA256.so
    building 'Crypto.Hash._SHA224' extension
    gcc -pthread -fno-strict-aliasing -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 -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 -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/SHA224.c -o build/temp.linux-x86_64-2.7/src/SHA224.o
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/hash_SHA2_template.c:33,
                     from src/SHA224.c:73:
    /usr/include/python2.7/pyconfig-64.h:1182:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
     #define _POSIX_C_SOURCE 200112L
     ^
    In file included from /usr/include/stdint.h:25:0,
                     from /usr/lib/gcc/x86_64-redhat-linux/4.8.3/include/stdint.h:9,
                     from src/hash_SHA2.h:72,
                     from src/SHA224.c:36:
    /usr/include/features.h:165:0: note: this is the location of the previous definition
     # define _POSIX_C_SOURCE 200809L
     ^
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/hash_SHA2_template.c:33,
                     from src/SHA224.c:73:
    /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
     #define _XOPEN_SOURCE 600
     ^
    In file included from /usr/include/stdint.h:25:0,
                     from /usr/lib/gcc/x86_64-redhat-linux/4.8.3/include/stdint.h:9,
                     from src/hash_SHA2.h:72,
                     from src/SHA224.c:36:
    /usr/include/features.h:167:0: note: this is the location of the previous definition
     # define _XOPEN_SOURCE 700
     ^
    gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/src/SHA224.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/Crypto/Hash/_SHA224.so
    building 'Crypto.Hash._SHA384' extension
    gcc -pthread -fno-strict-aliasing -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 -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 -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/SHA384.c -o build/temp.linux-x86_64-2.7/src/SHA384.o
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/hash_SHA2_template.c:33,
                     from src/SHA384.c:80:
    /usr/include/python2.7/pyconfig-64.h:1182:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
     #define _POSIX_C_SOURCE 200112L
     ^
    In file included from /usr/include/stdint.h:25:0,
                     from /usr/lib/gcc/x86_64-redhat-linux/4.8.3/include/stdint.h:9,
                     from src/hash_SHA2.h:72,
                     from src/SHA384.c:36:
    /usr/include/features.h:165:0: note: this is the location of the previous definition
     # define _POSIX_C_SOURCE 200809L
     ^
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/hash_SHA2_template.c:33,
                     from src/SHA384.c:80:
    /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
     #define _XOPEN_SOURCE 600
     ^
    In file included from /usr/include/stdint.h:25:0,
                     from /usr/lib/gcc/x86_64-redhat-linux/4.8.3/include/stdint.h:9,
                     from src/hash_SHA2.h:72,
                     from src/SHA384.c:36:
    /usr/include/features.h:167:0: note: this is the location of the previous definition
     # define _XOPEN_SOURCE 700
     ^
    gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/src/SHA384.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/Crypto/Hash/_SHA384.so
    building 'Crypto.Hash._SHA512' extension
    gcc -pthread -fno-strict-aliasing -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 -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 -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/SHA512.c -o build/temp.linux-x86_64-2.7/src/SHA512.o
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/hash_SHA2_template.c:33,
                     from src/SHA512.c:80:
    /usr/include/python2.7/pyconfig-64.h:1182:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
     #define _POSIX_C_SOURCE 200112L
     ^
    In file included from /usr/include/stdint.h:25:0,
                     from /usr/lib/gcc/x86_64-redhat-linux/4.8.3/include/stdint.h:9,
                     from src/hash_SHA2.h:72,
                     from src/SHA512.c:36:
    /usr/include/features.h:165:0: note: this is the location of the previous definition
     # define _POSIX_C_SOURCE 200809L
     ^
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/hash_SHA2_template.c:33,
                     from src/SHA512.c:80:
    /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
     #define _XOPEN_SOURCE 600
     ^
    In file included from /usr/include/stdint.h:25:0,
                     from /usr/lib/gcc/x86_64-redhat-linux/4.8.3/include/stdint.h:9,
                     from src/hash_SHA2.h:72,
                     from src/SHA512.c:36:
    /usr/include/features.h:167:0: note: this is the location of the previous definition
     # define _XOPEN_SOURCE 700
     ^
    gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/src/SHA512.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/Crypto/Hash/_SHA512.so
    building 'Crypto.Hash._RIPEMD160' extension
    gcc -pthread -fno-strict-aliasing -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 -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 -std=c99 -O3 -fomit-frame-pointer -DPCT_LITTLE_ENDIAN=1 -Isrc/ -I/usr/include/python2.7 -c src/RIPEMD160.c -o build/temp.linux-x86_64-2.7/src/RIPEMD160.o
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/RIPEMD160.c:57:
    /usr/include/python2.7/pyconfig-64.h:1182:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
     #define _POSIX_C_SOURCE 200112L
     ^
    In file included from /usr/include/stdint.h:25:0,
                     from /usr/lib/gcc/x86_64-redhat-linux/4.8.3/include/stdint.h:9,
                     from src/RIPEMD160.c:48:
    /usr/include/features.h:165:0: note: this is the location of the previous definition
     # define _POSIX_C_SOURCE 200809L
     ^
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/RIPEMD160.c:57:
    /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
     #define _XOPEN_SOURCE 600
     ^
    In file included from /usr/include/stdint.h:25:0,
                     from /usr/lib/gcc/x86_64-redhat-linux/4.8.3/include/stdint.h:9,
                     from src/RIPEMD160.c:48:
    /usr/include/features.h:167:0: note: this is the location of the previous definition
     # define _XOPEN_SOURCE 700
     ^
    gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/src/RIPEMD160.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/Crypto/Hash/_RIPEMD160.so
    building 'Crypto.Cipher._AES' extension
    gcc -pthread -fno-strict-aliasing -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 -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 -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/AES.c -o build/temp.linux-x86_64-2.7/src/AES.o
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/AES.c:29:
    /usr/include/python2.7/pyconfig-64.h:1182:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
     #define _POSIX_C_SOURCE 200112L
     ^
    In file included from /usr/include/assert.h:35:0,
                     from src/AES.c:27:
    /usr/include/features.h:165:0: note: this is the location of the previous definition
     # define _POSIX_C_SOURCE 200809L
     ^
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/AES.c:29:
    /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
     #define _XOPEN_SOURCE 600
     ^
    In file included from /usr/include/assert.h:35:0,
                     from src/AES.c:27:
    /usr/include/features.h:167:0: note: this is the location of the previous definition
     # define _XOPEN_SOURCE 700
     ^
    gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/src/AES.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_AES.so
    building 'Crypto.Cipher._ARC2' extension
    gcc -pthread -fno-strict-aliasing -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 -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 -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/ARC2.c -o build/temp.linux-x86_64-2.7/src/ARC2.o
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/ARC2.c:45:
    /usr/include/python2.7/pyconfig-64.h:1182:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
     #define _POSIX_C_SOURCE 200112L
     ^
    In file included from /usr/include/string.h:25:0,
                     from src/ARC2.c:44:
    /usr/include/features.h:165:0: note: this is the location of the previous definition
     # define _POSIX_C_SOURCE 200809L
     ^
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/ARC2.c:45:
    /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
     #define _XOPEN_SOURCE 600
     ^
    In file included from /usr/include/string.h:25:0,
                     from src/ARC2.c:44:
    /usr/include/features.h:167:0: note: this is the location of the previous definition
     # define _XOPEN_SOURCE 700
     ^
    gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/src/ARC2.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_ARC2.so
    building 'Crypto.Cipher._Blowfish' extension
    gcc -pthread -fno-strict-aliasing -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 -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 -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/Blowfish.c -o build/temp.linux-x86_64-2.7/src/Blowfish.o
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/Blowfish.c:39:
    /usr/include/python2.7/pyconfig-64.h:1182:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
     #define _POSIX_C_SOURCE 200112L
     ^
    In file included from /usr/include/stdint.h:25:0,
                     from /usr/lib/gcc/x86_64-redhat-linux/4.8.3/include/stdint.h:9,
                     from src/Blowfish.c:31:
    /usr/include/features.h:165:0: note: this is the location of the previous definition
     # define _POSIX_C_SOURCE 200809L
     ^
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/Blowfish.c:39:
    /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
     #define _XOPEN_SOURCE 600
     ^
    In file included from /usr/include/stdint.h:25:0,
                     from /usr/lib/gcc/x86_64-redhat-linux/4.8.3/include/stdint.h:9,
                     from src/Blowfish.c:31:
    /usr/include/features.h:167:0: note: this is the location of the previous definition
     # define _XOPEN_SOURCE 700
     ^
    gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/src/Blowfish.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_Blowfish.so
    building 'Crypto.Cipher._CAST' extension
    gcc -pthread -fno-strict-aliasing -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 -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 -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/CAST.c -o build/temp.linux-x86_64-2.7/src/CAST.o
    gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/src/CAST.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_CAST.so
    building 'Crypto.Cipher._DES' extension
    gcc -pthread -fno-strict-aliasing -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 -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 -std=c99 -O3 -fomit-frame-pointer -Isrc/ -Isrc/libtom/ -I/usr/include/python2.7 -c src/DES.c -o build/temp.linux-x86_64-2.7/src/DES.o
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/DES.c:37:
    /usr/include/python2.7/pyconfig-64.h:1182:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
     #define _POSIX_C_SOURCE 200112L
     ^
    In file included from /usr/include/assert.h:35:0,
                     from src/libtom/tomcrypt.h:3,
                     from src/libtom/tomcrypt_des.c:11,
                     from src/DES.c:32:
    /usr/include/features.h:165:0: note: this is the location of the previous definition
     # define _POSIX_C_SOURCE 200809L
     ^
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/DES.c:37:
    /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
     #define _XOPEN_SOURCE 600
     ^
    In file included from /usr/include/assert.h:35:0,
                     from src/libtom/tomcrypt.h:3,
                     from src/libtom/tomcrypt_des.c:11,
                     from src/DES.c:32:
    /usr/include/features.h:167:0: note: this is the location of the previous definition
     # define _XOPEN_SOURCE 700
     ^
    gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/src/DES.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_DES.so
    building 'Crypto.Cipher._DES3' extension
    gcc -pthread -fno-strict-aliasing -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 -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 -std=c99 -O3 -fomit-frame-pointer -Isrc/ -Isrc/libtom/ -I/usr/include/python2.7 -c src/DES3.c -o build/temp.linux-x86_64-2.7/src/DES3.o
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/DES.c:37,
                     from src/DES3.c:26:
    /usr/include/python2.7/pyconfig-64.h:1182:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
     #define _POSIX_C_SOURCE 200112L
     ^
    In file included from /usr/include/assert.h:35:0,
                     from src/libtom/tomcrypt.h:3,
                     from src/libtom/tomcrypt_des.c:11,
                     from src/DES.c:32,
                     from src/DES3.c:26:
    /usr/include/features.h:165:0: note: this is the location of the previous definition
     # define _POSIX_C_SOURCE 200809L
     ^
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/DES.c:37,
                     from src/DES3.c:26:
    /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
     #define _XOPEN_SOURCE 600
     ^
    In file included from /usr/include/assert.h:35:0,
                     from src/libtom/tomcrypt.h:3,
                     from src/libtom/tomcrypt_des.c:11,
                     from src/DES.c:32,
                     from src/DES3.c:26:
    /usr/include/features.h:167:0: note: this is the location of the previous definition
     # define _XOPEN_SOURCE 700
     ^
    gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/src/DES3.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_DES3.so
    building 'Crypto.Cipher._ARC4' extension
    gcc -pthread -fno-strict-aliasing -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 -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 -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/ARC4.c -o build/temp.linux-x86_64-2.7/src/ARC4.o
    gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/src/ARC4.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_ARC4.so
    building 'Crypto.Cipher._XOR' extension
    gcc -pthread -fno-strict-aliasing -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 -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 -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/XOR.c -o build/temp.linux-x86_64-2.7/src/XOR.o
    gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/src/XOR.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/Crypto/Cipher/_XOR.so
    building 'Crypto.Util.strxor' extension
    gcc -pthread -fno-strict-aliasing -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 -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 -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/strxor.c -o build/temp.linux-x86_64-2.7/src/strxor.o
    gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/src/strxor.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/Crypto/Util/strxor.so
    building 'Crypto.Util._counter' extension
    gcc -pthread -fno-strict-aliasing -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 -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 -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/_counter.c -o build/temp.linux-x86_64-2.7/src/_counter.o
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/_counter.c:28:
    /usr/include/python2.7/pyconfig-64.h:1182:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
     #define _POSIX_C_SOURCE 200112L
     ^
    In file included from /usr/include/assert.h:35:0,
                     from src/_counter.c:25:
    /usr/include/features.h:165:0: note: this is the location of the previous definition
     # define _POSIX_C_SOURCE 200809L
     ^
    In file included from /usr/include/python2.7/pyconfig.h:6:0,
                     from /usr/include/python2.7/Python.h:8,
                     from src/_counter.c:28:
    /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
     #define _XOPEN_SOURCE 600
     ^
    In file included from /usr/include/assert.h:35:0,
                     from src/_counter.c:25:
    /usr/include/features.h:167:0: note: this is the location of the previous definition
     # define _XOPEN_SOURCE 700
     ^
    gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/src/_counter.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/Crypto/Util/_counter.so

  Running setup.py install for ecdsa
    got version from file /home/bewing/.cirrus/venv/build/ecdsa/ecdsa/_version.py {'version': '0.13', 'full': '5a6fc047222cf21ad89f6cbf8782d0f1e3ddacda'}
    UPDATING build/lib/ecdsa/_version.py

  Running setup.py install for smmap

  Running setup.py install for lazy-object-proxy

    warning: no files found matching '.isort.cfg'
    warning: no previously-included files matching '*.py[cod]' found anywhere in distribution
    warning: no previously-included files matching '__pycache__' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
    warning: no previously-included files matching '*.dylib' found anywhere in distribution
    building 'lazy_object_proxy.cext' extension
    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 -Isrc/lazy_object_proxy -I/usr/include/python2.7 -c src/lazy_object_proxy/cext.c -o build/temp.linux-x86_64-2.7/src/lazy_object_proxy/cext.o
    gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/src/lazy_object_proxy/cext.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/lazy_object_proxy/cext.so
  Running setup.py install for wrapt
    building 'wrapt._wrappers' extension
    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 src/wrapt/_wrappers.c -o build/temp.linux-x86_64-2.7/src/wrapt/_wrappers.o
    gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/src/wrapt/_wrappers.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/wrapt/_wrappers.so

  Running setup.py install for enum34

  Running setup.py install for singledispatch

  Running setup.py install for backports.functools-lru-cache
    /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
      warnings.warn(msg)
    your setuptools is too old (<12)
    setuptools_scm functionality is degraded

Successfully installed cirrus-cli argparse arrow Fabric GitPython mock nose pep8 pylint requests PyChef keyring virtualenv pluggage dockerstache requests-toolbelt tox python-dateutil paramiko gitdb logilab-common astroid pystache six py pluggy pycrypto ecdsa smmap lazy-object-proxy wrapt enum34 singledispatch backports.functools-lru-cache
Cleaning up...

Traceback:

Traceback (most recent call last):
  File "/home/bewing/.cirrus/venv/bin/selfsetup", line 9, in <module>
    load_entry_point('cirrus-cli==0.1.18', 'console_scripts', 'selfsetup')()
  File "/home/bewing/.cirrus/venv/lib/python2.7/site-packages/cirrus/cirrus_setup.py", line 370, in main
    config = load_setup_configuration()
  File "/home/bewing/.cirrus/venv/lib/python2.7/site-packages/cirrus/configuration.py", line 283, in load_setup_configuration
    config_instance.setup_load()
  File "/home/bewing/.cirrus/venv/lib/python2.7/site-packages/cirrus/configuration.py", line 72, in setup_load
    self.gitconfig = load_gitconfig(self.gitconfig_file)
  File "/home/bewing/.cirrus/venv/lib/python2.7/site-packages/cirrus/gitconfig.py", line 23, in load_gitconfig
    c.parse()
  File "/home/bewing/.cirrus/venv/lib/python2.7/site-packages/cirrus/gitconfig.py", line 103, in parse
    section, param_val = line.split('.', 1)
ValueError: need more than 1 value to unpack
bewing commented 7 years ago
$ git config --file /home/bewing/.gitconfig -l
alias.l=log --pretty=oneline -n 20 --graph --abbrev-commit
alias.s=status -s
alias.d=!git diff-index --quiet HEAD -- || clear; git --no-pager diff --patch-with-stat
alias.di=!d() { git diff --patch-with-stat HEAD~$1; }; git diff-index --quiet HEAD -- || clear; d
alias.p=!git pull; git submodule foreach git pull origin master
alias.c=clone --recursive
alias.ca=!git add -A && git commit -av
alias.go=!f() { git checkout -b "$1" 2> /dev/null || git checkout "$1"; }; f
alias.tags=tag -l
alias.branches=branch -a
alias.remotes=remote -v
alias.amend=commit --amend --reuse-message=HEAD
alias.credit=!f() { git commit --amend --author "$1 <$2>" -C HEAD; }; f
alias.reb=!r() { git rebase -i HEAD~$1; }; r
alias.retag=!r() { git tag -d $1 && git push origin :refs/tags/$1 && git tag $1; }; r
alias.fb=!f() { git branch -a --contains $1; }; f
alias.ft=!f() { git describe --always --contains $1; }; f
alias.fc=!f() { git log --pretty=format:'%C(yellow)%h  %Cblue%ad  %Creset%s%Cgreen  [%cn] %Cred%d' --decorate --date=short -S$1; }; f
alias.fm=!f() { git log --pretty=format:'%C(yellow)%h  %Cblue%ad  %Creset%s%Cgreen  [%cn] %Cred%d' --decorate --date=short --grep=$1; }; f
alias.dm=!git branch --merged | grep -v '\*' | xargs -n 1 git branch -d
alias.contributors=shortlog --summary --numbered
alias.mpr=!f() {                if [ $(printf "%s" "$1" | grep '^[0-9]\+$' > /dev/null; printf $?) -eq 0 ]; then                        git fetch origin refs/pull/$1/head:pr/$1 &&                     git rebase master pr/$1 &&                      git checkout master && git merge pr/$1 &&                      git branch -D pr/$1 &&                  git commit --amend -m "$(git log -1 --pretty=%B)

Closes #$1.";           fi      }; f
apply.whitespace=fix
core.excludesfile=~/.gitignore
core.attributesfile=~/.gitattributes
core.whitespace=space-before-tab,-indent-with-non-tab,trailing-space
core.trustctime=false
core.precomposeunicode=false
color.ui=auto
color.branch.current=yellow reverse
color.branch.local=yellow
color.branch.remote=green
color.diff.meta=yellow bold
color.diff.frag=magenta bold
color.diff.old=red
color.diff.new=green
color.status.added=yellow
color.status.changed=green
color.status.untracked=cyan
diff.renames=copies
diff.bin.textconv=hexdump -v -C
help.autocorrect=1
merge.log=true
push.default=matching
push.followtags=true
url.git@github.com:.insteadof=gh:
url.git@github.com:.pushinsteadof=github:
url.git@github.com:.pushinsteadof=git://github.com/
url.git://github.com/.insteadof=github:
url.git@gist.github.com:.insteadof=gst:
url.git@gist.github.com:.pushinsteadof=gist:
url.git@gist.github.com:.pushinsteadof=git://gist.github.com/
url.git://gist.github.com/.insteadof=gist:
user.name=Brandon Ewing
user.email=brandon.ewing@warningg.com
bewing commented 7 years ago

Commenting out the multiline alias in .gitconfig resolves this issue.

evansde77 commented 7 years ago

So in the installer, if I cant parse the gitconfig, ill just do the following:

shell call the following: git config --global cirrus.github-username $USER git config --global alias.cirrus "! /path/to/cirrus"

And print that you may need to modify your gitconfig to set additional params.

evansde77 commented 7 years ago

Since I dont actually use the multiline commands for anything in cirrus, i can safely skip them when I read the gitconfig, so ill probably just add a defensive check on each line:

VALID_LINE = re.compile("^[a-zA-Z0-9_-]+\.[a-zA-Z0-9_-]+=")

if not VALID_LINE.match(line):
        # skip multiline commands, dont use them for cirrus
        continue

in the gitconfig parse method: https://github.com/evansde77/cirrus/blob/develop/src/cirrus/gitconfig.py#L103

which will stop this error occuring and preventing install (and other lookups)

evansde77 commented 7 years ago

Rolling fix into python3 compatibility work on feature/python3-port

evansde77 commented 7 years ago

should be patched in 0.2.0

bewing commented 5 years ago

Confirmed this is fixed