getsentry / symsynd

BSD 3-Clause "New" or "Revised" License
25 stars 9 forks source link

Problem building symsynd #9

Closed deejay1 closed 7 years ago

deejay1 commented 7 years ago

While trying to build symsynd on Alpine (via pip install sentry[postgresql]==8.10.0 ) I get the following error

    [ 18%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DynamicLibrary.cpp.o
    /tmp/pip-build-AzoqUL/symsynd/llvm/lib/Support/DynamicLibrary.cpp:148:5: error: cannot initialize return object of type 'void *' with an rvalue of type 'FILE *const *' (aka '_IO_FILE *const *')
        EXPLICIT_SYMBOL(stderr);
        ^~~~~~~~~~~~~~~~~~~~~~~
    /tmp/pip-build-AzoqUL/symsynd/llvm/lib/Support/DynamicLibrary.cpp:141:42: note: expanded from macro 'EXPLICIT_SYMBOL'
       if (!strcmp(symbolName, #SYM)) return &SYM
                                             ^~~~
    /tmp/pip-build-AzoqUL/symsynd/llvm/lib/Support/DynamicLibrary.cpp:149:5: error: cannot initialize return object of type 'void *' with an rvalue of type 'FILE *const *' (aka '_IO_FILE *const *')
        EXPLICIT_SYMBOL(stdout);
        ^~~~~~~~~~~~~~~~~~~~~~~
    /tmp/pip-build-AzoqUL/symsynd/llvm/lib/Support/DynamicLibrary.cpp:141:42: note: expanded from macro 'EXPLICIT_SYMBOL'
       if (!strcmp(symbolName, #SYM)) return &SYM
                                             ^~~~
    /tmp/pip-build-AzoqUL/symsynd/llvm/lib/Support/DynamicLibrary.cpp:150:5: error: cannot initialize return object of type 'void *' with an rvalue of type 'FILE *const *' (aka '_IO_FILE *const *')
        EXPLICIT_SYMBOL(stdin);
        ^~~~~~~~~~~~~~~~~~~~~~
    /tmp/pip-build-AzoqUL/symsynd/llvm/lib/Support/DynamicLibrary.cpp:141:42: note: expanded from macro 'EXPLICIT_SYMBOL'
       if (!strcmp(symbolName, #SYM)) return &SYM
                                             ^~~~
    3 errors generated.
    lib/Support/CMakeFiles/LLVMSupport.dir/build.make:1982: recipe for target 'lib/Support/CMakeFiles/LLVMSupport.dir/DynamicLibrary.cpp.o' failed
    make[3]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/DynamicLibrary.cpp.o] Error 1
    make[3]: Leaving directory '/tmp/pip-build-AzoqUL/symsynd/libsymbolizer/build'
    CMakeFiles/Makefile2:276: recipe for target 'lib/Support/CMakeFiles/LLVMSupport.dir/all' failed
    make[2]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/all] Error 2
    make[2]: Leaving directory '/tmp/pip-build-AzoqUL/symsynd/libsymbolizer/build'
    Makefile:149: recipe for target 'all' failed
    make[1]: *** [all] Error 2
    make[1]: Leaving directory '/tmp/pip-build-AzoqUL/symsynd/libsymbolizer/build/tools/Symbolizer'
    Makefile:9: recipe for target 'build' failed
    make: *** [build] Error 2

Symsynd version 1.2.0 clang (3.8.0-r0) g++ (5.3.0-r0) cmake (3.5.2-r0) python 2.7.2

mitsuhiko commented 7 years ago

Is there a specific version you are building this yourself? We provide pre-built wheels. I'm consider closing this because this most likely is an issue somewhere in LLVM which does not work with your version of the compiler.

deejay1 commented 7 years ago

We're running the workers for Sentry in docker containers on mesos/marathon and it seems pip doesn't fetch the proper wheel under Alpine Linux

mitsuhiko commented 7 years ago

That happens if you have too old of a version of pip installed. It needs 8.2 or later.

deejay1 commented 7 years ago

pip 9.0.1 from /opt/sentry_worker/worker/lib/python2.7/site-packages (python 2.7)

mitsuhiko commented 7 years ago

are you sure you are using that pip? Can you print the output of pip install symsynd?

deejay1 commented 7 years ago

complete build step output

Step 27 : RUN virtualenv $PROJECT_PATH/worker &&     source $PROJECT_PATH/worker/bin/activate &&     pip install --upgrade pip wheel &&     pip --version &&     pip install 'sentry[postgres]==8.10.0' --no-binary pycparser &&     pip install https://github.com/getsentry/sentry-auth-google/archive/c6fbe9b3eb822c1a38bc61cc620ee4db7a8e0773.zip
 ---> Running in 89aab722d60c
New python executable in /opt/sentry_worker/worker/bin/python
Installing setuptools, pip, wheel...done.
Requirement already up-to-date: pip in ./worker/lib/python2.7/site-packages
Requirement already up-to-date: wheel in ./worker/lib/python2.7/site-packages
pip 9.0.1 from /opt/sentry_worker/worker/lib/python2.7/site-packages (python 2.7)
Collecting sentry[postgres]==8.10.0
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/13/a6/66319dfa82dfb33194f01d8911bb05ac169a02f6982f2b0650ec4bf8c427/sentry-8.10.0-py27-none-any.whl (12.0MB)
Collecting pytest-django<2.10.0,>=2.9.1 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/c8/b7/550b718674971059d1f3a33db3991380a8ae3aa02b42f2b51edc02fd71ec/pytest_django-2.9.1-py2.py3-none-any.whl
Collecting simplejson<3.9.0,>=3.2.0 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/f0/07/26b519e6ebb03c2a74989f7571e6ae6b82e9d7d81b8de6fcdbfc643c7b58/simplejson-3.8.2.tar.gz (76kB)
Collecting selenium==3.0.0b3 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/74/a6/ffcba3e6cc542b35414fb5a1c9045678e8479df4428e9774918f67473928/selenium-3.0.0b3-py2.py3-none-any.whl (912kB)
Collecting pytest<2.7.0,>=2.6.4 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/0c/a4/1e57b84d6b327fe43d7308192f3a15ce76c31c5a8eb4b76f409ceb898ef2/pytest-2.6.4.tar.gz (512kB)
Collecting structlog==16.1.0 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/c5/bf/f87b8273e5016618d750e79a2dae7f42b0a6310bc1f4368dcb217b426e8e/structlog-16.1.0-py2.py3-none-any.whl
Collecting rb<2.0.0,>=1.5.0 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/18/78/dda5914173ce144a599fec45a4de2174fb6d86fd12f18afe75ae93619ac8/rb-1.5-py2-none-any.whl
Collecting statsd<3.2.0,>=3.1.0 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/fc/29/b935cacecab8bd6b20d3895a69592cca76711229e7d9a0b2e18234652beb/statsd-3.1-py2.py3-none-any.whl
Collecting ua-parser<0.8.0,>=0.6.1 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/40/70/b1641850a4b89f7f9b8664bc8be6ad95a32a29b705e3536eb229f20fcaa8/ua_parser-0.7.2-py2.py3-none-any.whl
Collecting redis<2.11.0,>=2.10.3 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/08/c1/457428f7507e27ba7144758a7b716ea35766e6d602f4a0c16e443ab3d381/redis-2.10.5-py2.py3-none-any.whl (60kB)
Collecting South==1.0.1 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/77/37/00969f4e3e830df7cbba93933371b30f22ada2978dd21b458ed17cb6b4c2/South-1.0.1.tar.gz (98kB)
Collecting click<7.0,>=5.0 (from sentry[postgres]==8.10.0)
Collecting oauth2>=1.5.167 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/a0/6f/86db603912ecd04109af952c38bc08928886cf0e34c723481fa7db98b4b5/oauth2-1.9.0.post1-py2.py3-none-any.whl
Collecting six<1.11.0,>=1.10.0 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/c8/0a/b6723e1bc4c516cb687841499455a8505b44607ab535be01091c0f24f079/six-1.10.0-py2.py3-none-any.whl
Collecting petname<1.8,>=1.7 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/02/b8/cbc923522011590e41e8f455d23ac909e201a0f11aa97d665a0980bf12f5/petname-1.7.tar.gz (200kB)
Collecting django-debug-toolbar<1.4.0,>=1.3.2 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/b2/16/67eeeb95cc02f1d068d25282444052836d4be4274c941fe21b7c5ea7a8fd/django_debug_toolbar-1.3.2-py2.py3-none-any.whl (206kB)
Collecting PyYAML<3.12,>=3.11 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/75/5e/b84feba55e20f8da46ead76f14a3943c8cb722d40360702b2365b91dec00/PyYAML-3.11.tar.gz (248kB)
Collecting toronado<0.1.0,>=0.0.11 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/72/7d/988c46ca0405b1bc86d87314d81151b814f67608288cae0c19aed1c170a7/toronado-0.0.11.tar.gz
Collecting django-templatetag-sugar>=0.1.0 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/72/61/ec7b883ff5f8d0641eea522b23e382918d214b27c1f63c5449ac0bcba1e7/django_templatetag_sugar-1.0-py2.py3-none-any.whl
Collecting lxml>=3.4.1 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/4f/3f/cf6daac551fc36cddafa1a71ed48ea5fd642e5feabd3a0d83b8c3dfd0cb4/lxml-3.6.4.tar.gz (3.7MB)
Collecting django-jsonfield<0.9.14,>=0.9.13 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/a4/93/0d881e8f32043c65454a0980e8472fc831e2e75ae05607ef4d406cbe123f/django-jsonfield-0.9.13.tar.gz
Collecting celery<3.1.19,>=3.1.8 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/94/50/2b824c2a2b53a05763a71138fa494f913b272511ead9757522a9ab3c0077/celery-3.1.18-py2.py3-none-any.whl (515kB)
Collecting percy>=0.2.5 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/20/6f/4d29bdb129c07595e483523e82ed6f3c6be42eacd731b62d06a7a4d42aec/percy-0.4.1-py2.py3-none-any.whl
Collecting progressbar2<3.11,>=3.10 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/aa/13/7fc75289f0f6a46d83913bfbe3db8003f0d56fd96a8564f6b334b830d461/progressbar2-3.10.1-py2.py3-none-any.whl
Collecting Pillow<3.3.0,>=3.2.0 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/e2/af/0a3981fffc5cd43078eb8b1057702e0dd2d5771e5aaa36cbd140e32f8473/Pillow-3.2.0.tar.gz (10.3MB)
Collecting ipaddress<1.1.0,>=1.0.16 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/9c/06/9c02897c07943697e4be028c874565892f16756828e02c1178fad5384c32/ipaddress-1.0.17-py2-none-any.whl
Collecting setproctitle<1.2.0,>=1.1.7 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/5a/0d/dc0d2234aacba6cf1a729964383e3452c52096dc695581248b548786f2b3/setproctitle-1.1.10.tar.gz
Collecting symsynd<2.0.0,>=1.1.0 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/7c/f2/d0c550fb52d18e803c4cafd87a594aff99a2d3704e382f7c9e59ab2bdf50/symsynd-1.2.0.zip (40.2MB)
Collecting djangorestframework<2.4.0,>=2.3.8 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/68/48/df9db101e871fe066bf86169ed4b3771e74da0067cf739fa07d528655480/djangorestframework-2.3.14-py2.py3-none-any.whl (298kB)
Collecting cssutils<0.10.0,>=0.9.9 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/92/4f/02b84160055ac51c4c7bb654aca3a0724c4e90b2e124088d7e24b39ea0b1/cssutils-0.9.10.zip (430kB)
Collecting qrcode<6.0.0,>=5.2.2 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/39/71/c01d42a3fc1a9c768c93980f26159ec682dc7bd49407e756f671b52b8344/qrcode-5.3-py2.py3-none-any.whl
Collecting django-picklefield<0.4.0,>=0.3.0 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/b1/67/0f7f24e61f71aa7c604dab55497495f599906a20187e92edf70939c71d80/django_picklefield-0.3.2-py2.py3-none-any.whl
Collecting mock<1.1,>=0.8.0 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/a2/52/7edcd94f0afb721a2d559a5b9aae8af4f8f2c79bc63fdbe8a8a6c9b23bbe/mock-1.0.1.tar.gz (818kB)
Collecting django-crispy-forms<1.5.0,>=1.4.0 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/cc/aa/8b8d7f440acb2b2094a3240b691bf065c02df26d88525a8be06cc43fafab/django-crispy-forms-1.4.0.tar.gz (47kB)
Collecting honcho<0.8.0,>=0.7.0 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/c3/54/5cad0263f4ade0cd6df77aff48761b71ce02ff165d0aa7130f23f64251e6/honcho-0.7.1-py2.py3-none-any.whl
Collecting python-openid>=2.2 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/7b/8a/e94d18c666073280b8c0614b7e38cfaf0b129989e42f4ca713942b862f0a/python-openid-2.2.5.tar.gz (301kB)
Collecting python-u2flib-server<4.1.0,>=4.0.1 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/e7/d6/40a633fdd36669bca7753fad22a8b82351c62387fac9da3391b1702eae7d/python-u2flib-server-4.0.1.tar.gz
Collecting uwsgi<2.1.0,>2.0.0 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/11/ef/3d64655693e12f163f659bc3a45837893d7ebbb242e608feb9adc788d2ca/uwsgi-2.0.14.tar.gz (788kB)
Collecting email-reply-parser<0.3.0,>=0.2.0 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/96/1b/a6c9acd8e78e758a7a2f4a30dbcfbf38063a58363b1086d3e5fcdd54fc51/email_reply_parser-0.2.0.tar.gz
Collecting exam>=0.5.1 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/c7/bd/c15ce029540bb1b551af83c0df502ba47e019ce7132a65db046ad16b8eda/exam-0.10.6.tar.gz
Collecting requests[security]<2.12.0,>=2.9.1 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/ea/03/92d3278bf8287c5caa07dbd9ea139027d5a3592b0f4d14abf072f890fab2/requests-2.11.1-py2.py3-none-any.whl (514kB)
Collecting django-bitfield<1.8.0,>=1.7.0 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/3a/03/6e704032c1d98847389b0e87f1fd5bfdb46464083ed4992ac8fc5f0299ae/django_bitfield-1.7.1-py2.py3-none-any.whl
Collecting boto3<1.5,>=1.4.1 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/18/8c/ea1a772e28584f790d4833bdfff6db93e05522fea3348af1c2c4221b8c01/boto3-1.4.1-py2.py3-none-any.whl (121kB)
Collecting hiredis<0.2.0,>=0.1.0 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/27/d2/5e4d2ac0b3161f00ce7251f51c7cb86dfc51a6fe309e550cabddd6926f65/hiredis-0.1.6.tar.gz (45kB)
Collecting Django<1.7,>=1.6.0 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/80/86/f52eec28e96fb211122424a3db696e7676ad3555c11027afd9fee9bb0d23/Django-1.6.11-py2.py3-none-any.whl (6.7MB)
Collecting python-memcached<2.0.0,>=1.53 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/f7/62/14b2448cfb04427366f24104c9da97cf8ea380d7258a3233f066a951a8d8/python-memcached-1.58.tar.gz
Collecting pytest-html<1.10.0,>=1.9.0 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/f7/08/225d5929808239856890cc797215ecaa4894c5dc2cf843f193192928e9c5/pytest_html-1.9.0-py2.py3-none-any.whl
Collecting raven<6.0.0,>=5.29.0 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/67/52/341ea199835deb7cecaf44992b647b44686161a4cc71863c2db5548c4242/raven-5.31.0-py2.py3-none-any.whl (277kB)
Collecting libsourcemap<0.6.0,>=0.5.0 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/31/ea/f2a8440feae0d5a4c9487466e6c4e157870fa52ebc73ba224dea6c4d000d/libsourcemap-0.5.0.zip (162kB)
Collecting enum34<1.2.0,>=0.9.18 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
Collecting kombu==3.0.35 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/34/e6/a81b9cbcb107fc45af2d77b9f4b9745448be42b9952cc4c974f69a9239e7/kombu-3.0.35-py2.py3-none-any.whl (240kB)
Collecting urllib3<1.17,>=1.14 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/61/54/3f6149b3b9027f3386ad56816a3be83c201fe7bed1ba67a0ca249f1a8cb1/urllib3-1.16-py2.py3-none-any.whl (98kB)
Collecting psycopg2<2.7.0,>=2.6.0 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/7b/a8/dc2d50a6f37c157459cd18bab381c8e6134b9381b50fbe969997b2ae7dbc/psycopg2-2.6.2.tar.gz (376kB)
Collecting python-dateutil<3.0.0,>=2.0.0 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/40/8b/275015d7a9ec293cf1bbf55433258fbc9d0711890a7f6dc538bac7b86bce/python_dateutil-2.6.0-py2.py3-none-any.whl (194kB)
Collecting django-sudo<3.0.0,>=2.1.0 (from sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/a2/89/10a6e48ced1bf78ccd18c8b291a6a04906a8ad8950894b43929adb5f2ff5/django_sudo-2.1.0-py2.py3-none-any.whl
Collecting py>=1.4.25 (from pytest<2.7.0,>=2.6.4->sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/19/f2/4b71181a49a4673a12c8f5075b8744c5feb0ed9eba352dd22512d2c04d47/py-1.4.31-py2.py3-none-any.whl (81kB)
Collecting httplib2 (from oauth2>=1.5.167->sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/ff/a9/5751cdf17a70ea89f6dde23ceb1705bfb638fd8cee00f845308bf8d26397/httplib2-0.9.2.tar.gz (205kB)
Collecting sqlparse (from django-debug-toolbar<1.4.0,>=1.3.2->sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/2b/28/80966610baf3426be60d57341d55aab9ba8a45b0f68d63a382b4d1becc6f/sqlparse-0.2.2-py2.py3-none-any.whl
Collecting cssselect (from toronado<0.1.0,>=0.0.11->sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/6e/51/7ef09046b16d4faea6a683946993acda4398e60c699ff8336244859e45bd/cssselect-1.0.0-py2.py3-none-any.whl
Collecting billiard<3.4,>=3.3.0.20 (from celery<3.1.19,>=3.1.8->sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/64/a6/d7b6fb7bd0a4680a41f1d4b27061c7b768c673070ba8ac116f865de4e7ca/billiard-3.3.0.23.tar.gz (151kB)
Collecting pytz>dev (from celery<3.1.19,>=3.1.8->sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/79/b5/3ebe5bda3fc7280cebb65d70a03d0e52b23b776aba8c51895df6d23f0678/pytz-2016.7-py2.py3-none-any.whl (480kB)
Collecting python-utils>=2.0.0 (from progressbar2<3.11,>=3.10->sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/48/c1/f7aa4295833fd17463f83c42be9a154c89169c2f3285f4402700658d15bc/python_utils-2.0.0-py2.py3-none-any.whl
Collecting cffi>=1.0.0 (from symsynd<2.0.0,>=1.1.0->sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/0a/f3/686af8873b70028fccf67b15c78fd4e4667a3da995007afc71e786d61b0a/cffi-1.8.3.tar.gz (403kB)
Collecting cryptography>=1.2 (from python-u2flib-server<4.1.0,>=4.0.1->sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/6c/c5/7fc1f8384443abd2d71631ead026eb59863a58cad0149b94b89f08c8002f/cryptography-1.5.3.tar.gz (400kB)
Collecting pyOpenSSL>=0.13; extra == "security" (from requests[security]<2.12.0,>=2.9.1->sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/ac/93/b4cd538d31adacd07f83013860db6b88d78755af1f3fefe68ec22d397e7b/pyOpenSSL-16.2.0-py2.py3-none-any.whl (43kB)
Collecting ndg-httpsclient; extra == "security" (from requests[security]<2.12.0,>=2.9.1->sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/a2/a7/ad1c1c48e35dc7545dab1a9c5513f49d5fa3b5015627200d2be27576c2a0/ndg_httpsclient-0.4.2.tar.gz
Collecting pyasn1; extra == "security" (from requests[security]<2.12.0,>=2.9.1->sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/69/be/e8946f7867b84b0e61a613f6fd56f63266190b1a470f945178f7cbc4d0ae/pyasn1-0.1.9-py2.py3-none-any.whl
Collecting botocore<1.5.0,>=1.4.1 (from boto3<1.5,>=1.4.1->sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/d9/22/7f6e14fb67b20d9d3779c66c7c5bd068f7741714a4bdf7991e24af3e7780/botocore-1.4.70-py2.py3-none-any.whl (2.8MB)
Collecting jmespath<1.0.0,>=0.7.1 (from boto3<1.5,>=1.4.1->sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/64/2b/73af55c93f91941bd0c8c6cb1a3028cfd4c8dc4fe8ffe761dc60192dd82c/jmespath-0.9.0-py2.py3-none-any.whl
Collecting s3transfer<0.2.0,>=0.1.0 (from boto3<1.5,>=1.4.1->sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/4b/4c/42ea1dba46deea23fbcb7a51c794f9a02f87b8df7a28a9a8dc5ef57baa21/s3transfer-0.1.9-py2.py3-none-any.whl (53kB)
Collecting contextlib2 (from raven<6.0.0,>=5.29.0->sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/8d/04/b7674bf5da1e1c19032b81cbb8d14ec42b588d8a2015c895c60bb414df5f/contextlib2-0.5.4-py2.py3-none-any.whl
Collecting amqp<2.0,>=1.4.9 (from kombu==3.0.35->sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/ed/09/314d2788aba0aa91f2578071a6484f87a615172a98c309c2aad3433da90b/amqp-1.4.9-py2.py3-none-any.whl (51kB)
Collecting anyjson>=0.3.3 (from kombu==3.0.35->sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/c3/4d/d4089e1a3dd25b46bebdb55a992b0797cff657b4477bc32ce28038fdecbc/anyjson-0.3.3.tar.gz
Collecting pycparser (from cffi>=1.0.0->symsynd<2.0.0,>=1.1.0->sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/be/64/1bb257ffb17d01f4a38d7ce686809a736837ad4371bcc5c42ba7a715c3ac/pycparser-2.17.tar.gz (231kB)
Collecting idna>=2.0 (from cryptography>=1.2->python-u2flib-server<4.1.0,>=4.0.1->sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/ff/ee/57ca2b52dea2df65a15d4ab2669c89ff29fa227668917cebc43e689360be/idna-2.1-py2-none-any.whl (54kB)
Requirement already satisfied: setuptools>=11.3 in ./worker/lib/python2.7/site-packages (from cryptography>=1.2->python-u2flib-server<4.1.0,>=4.0.1->sentry[postgres]==8.10.0)
Collecting docutils>=0.10 (from botocore<1.5.0,>=1.4.1->boto3<1.5,>=1.4.1->sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/37/38/ceda70135b9144d84884ae2fc5886c6baac4edea39550f28bcd144c1234d/docutils-0.12.tar.gz (1.6MB)
Collecting futures<4.0.0,>=2.2.0; python_version == "2.6" or python_version == "2.7" (from s3transfer<0.2.0,>=0.1.0->boto3<1.5,>=1.4.1->sentry[postgres]==8.10.0)
  Downloading https://artifactory.mydomain.com/artifactory/api/pypi/pypi.python.org/packages/9c/3f/1d818ea03fb2956a2bdfa8f8a3b1319590f0f151a5584a8a3ae45085066c/futures-3.0.5-py2-none-any.whl
Skipping bdist_wheel for pycparser, due to binaries being disabled for it.
Building wheels for collected packages: simplejson, pytest, South, petname, PyYAML, toronado, lxml, django-jsonfield, Pillow, setproctitle, symsynd, cssutils, mock, django-crispy-forms, python-openid, python-u2flib-server, uwsgi, email-reply-parser, exam, hiredis, python-memcached, libsourcemap, psycopg2, httplib2, billiard, cffi, cryptography, ndg-httpsclient, anyjson, docutils
  Running setup.py bdist_wheel for simplejson: started
  Running setup.py bdist_wheel for simplejson: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/97/1e/37/eee8d14519de656c09e4409c9f237c6d0d8f9cc11d1f90f1b4
  Running setup.py bdist_wheel for pytest: started
  Running setup.py bdist_wheel for pytest: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/e9/2f/8f/acd8024fcc67df55e19bd451b63a24f4d2c2428b8f889f875a
  Running setup.py bdist_wheel for South: started
  Running setup.py bdist_wheel for South: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/ab/cb/24/7d7dcbf58c8c06e7e428ebc54f4193fed3790cd3654060a87c
  Running setup.py bdist_wheel for petname: started
  Running setup.py bdist_wheel for petname: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/55/6d/b7/ff161a5ad117b9f1fde42d56be289823d41a550897c3fd92f6
  Running setup.py bdist_wheel for PyYAML: started
  Running setup.py bdist_wheel for PyYAML: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/b8/39/0c/cdccdb8d8285ca082879e8b9623ffa323a11a0f0c97a472aef
  Running setup.py bdist_wheel for toronado: started
  Running setup.py bdist_wheel for toronado: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/de/08/45/0f28089e20964edb5984553f7511ca726361744f542153dc0d
  Running setup.py bdist_wheel for lxml: started
  Running setup.py bdist_wheel for lxml: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/43/e2/0a/1e018a630009c0d0be4878784b390d48c5bda96a16c5c63f1b
  Running setup.py bdist_wheel for django-jsonfield: started
  Running setup.py bdist_wheel for django-jsonfield: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/41/15/7c/8ce437eb5b755ecb1dc15fd310b52d84e7937c86b2774ffdba
  Running setup.py bdist_wheel for Pillow: started
  Running setup.py bdist_wheel for Pillow: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/b0/fb/63/3130b36646e83a978b444b1c2c8ea8d7dd29d8892a77307684
  Running setup.py bdist_wheel for setproctitle: started
  Running setup.py bdist_wheel for setproctitle: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/18/23/0c/5337198b68b654bd486e93414ebed0960168e3a63f962cef4c
  Running setup.py bdist_wheel for symsynd: started
  Running setup.py bdist_wheel for symsynd: still running...
  Running setup.py bdist_wheel for symsynd: finished with status 'error'
  Complete output from command /opt/sentry_worker/worker/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ulhUQj/symsynd/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpgZWv0Ipip-wheel- --python-tag cp27:
  Failed building wheel for symsynd
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-2.7
  creating build/lib.linux-x86_64-2.7/symsynd
  copying symsynd/demangle.py -> build/lib.linux-x86_64-2.7/symsynd
  copying symsynd/_compat.py -> build/lib.linux-x86_64-2.7/symsynd
  copying symsynd/driver.py -> build/lib.linux-x86_64-2.7/symsynd
  copying symsynd/report.py -> build/lib.linux-x86_64-2.7/symsynd
  copying symsynd/__init__.py -> build/lib.linux-x86_64-2.7/symsynd
  copying symsynd/bulkextract.py -> build/lib.linux-x86_64-2.7/symsynd
  copying symsynd/_symbolizer.py -> build/lib.linux-x86_64-2.7/symsynd
  copying symsynd/exceptions.py -> build/lib.linux-x86_64-2.7/symsynd
  copying symsynd/libsymbolizer.py -> build/lib.linux-x86_64-2.7/symsynd
  copying symsynd/utils.py -> build/lib.linux-x86_64-2.7/symsynd
  creating build/lib.linux-x86_64-2.7/symsynd/macho
  copying symsynd/macho/__init__.py -> build/lib.linux-x86_64-2.7/symsynd/macho
  copying symsynd/macho/arch.py -> build/lib.linux-x86_64-2.7/symsynd/macho
  copying symsynd/macho/header.py -> build/lib.linux-x86_64-2.7/symsynd/macho
  copying symsynd/macho/ptypes.py -> build/lib.linux-x86_64-2.7/symsynd/macho
  copying symsynd/macho/mtypes.py -> build/lib.linux-x86_64-2.7/symsynd/macho
  copying symsynd/macho/util.py -> build/lib.linux-x86_64-2.7/symsynd/macho
  ./libsymbolizer/build.sh
  -- The C compiler identification is Clang 3.8.0
  -- The CXX compiler identification is Clang 3.8.0
  -- The ASM compiler identification is Clang
  -- Found assembler: /usr/bin/clang
  -- Check for working C compiler: /usr/bin/clang
  -- Check for working C compiler: /usr/bin/clang -- works
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Check for working CXX compiler: /usr/bin/clang++
  -- Check for working CXX compiler: /usr/bin/clang++ -- works
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Performing Test LLVM_NO_OLD_LIBSTDCXX
  -- Performing Test LLVM_NO_OLD_LIBSTDCXX - Success
  -- Looking for dirent.h
  -- Looking for dirent.h - found
  -- Looking for dlfcn.h
  -- Looking for dlfcn.h - found
  -- Looking for errno.h
  -- Looking for errno.h - found
  -- Looking for execinfo.h
  -- Looking for execinfo.h - not found
  -- Looking for fcntl.h
  -- Looking for fcntl.h - found
  -- Looking for inttypes.h
  -- Looking for inttypes.h - found
  -- Looking for limits.h
  -- Looking for limits.h - found
  -- Looking for link.h
  -- Looking for link.h - found
  -- Looking for malloc.h
  -- Looking for malloc.h - found
  -- Looking for malloc/malloc.h
  -- Looking for malloc/malloc.h - not found
  -- Looking for ndir.h
  -- Looking for ndir.h - not found
  -- Looking for pthread.h
  -- Looking for pthread.h - found
  -- Looking for signal.h
  -- Looking for signal.h - found
  -- Looking for stdint.h
  -- Looking for stdint.h - found
  -- Looking for sys/dir.h
  -- Looking for sys/dir.h - found
  -- Looking for sys/ioctl.h
  -- Looking for sys/ioctl.h - found
  -- Looking for sys/mman.h
  -- Looking for sys/mman.h - found
  -- Looking for sys/ndir.h
  -- Looking for sys/ndir.h - not found
  -- Looking for sys/param.h
  -- Looking for sys/param.h - found
  -- Looking for sys/resource.h
  -- Looking for sys/resource.h - found
  -- Looking for sys/stat.h
  -- Looking for sys/stat.h - found
  -- Looking for sys/time.h
  -- Looking for sys/time.h - found
  -- Looking for sys/types.h
  -- Looking for sys/types.h - found
  -- Looking for sys/uio.h
  -- Looking for sys/uio.h - found
  -- Looking for termios.h
  -- Looking for termios.h - found
  -- Looking for unistd.h
  -- Looking for unistd.h - found
  -- Looking for utime.h
  -- Looking for utime.h - found
  -- Looking for valgrind/valgrind.h
  -- Looking for valgrind/valgrind.h - not found
  -- Looking for zlib.h
  -- Looking for zlib.h - found
  -- Looking for fenv.h
  -- Looking for fenv.h - found
  -- Looking for FE_ALL_EXCEPT
  -- Looking for FE_ALL_EXCEPT - found
  -- Looking for FE_INEXACT
  -- Looking for FE_INEXACT - found
  -- Looking for mach/mach.h
  -- Looking for mach/mach.h - not found
  -- Looking for mach-o/dyld.h
  -- Looking for mach-o/dyld.h - not found
  -- Looking for histedit.h
  -- Looking for histedit.h - not found
  -- Performing Test HAVE_CXXABI_H
  -- Performing Test HAVE_CXXABI_H - Success
  -- Looking for pthread_create in pthread
  -- Looking for pthread_create in pthread - found
  -- Looking for pthread_getspecific in pthread
  -- Looking for pthread_getspecific in pthread - found
  -- Looking for pthread_rwlock_init in pthread
  -- Looking for pthread_rwlock_init in pthread - found
  -- Looking for pthread_mutex_lock in pthread
  -- Looking for pthread_mutex_lock in pthread - found
  -- Looking for dlopen in dl
  -- Looking for dlopen in dl - found
  -- Looking for clock_gettime in rt
  -- Looking for clock_gettime in rt - found
  -- Looking for pthread.h
  -- Looking for pthread.h - found
  -- Looking for pthread_create
  -- Looking for pthread_create - found
  -- Found Threads: TRUE
  -- Looking for compress2 in z
  -- Looking for compress2 in z - found
  -- Looking for setupterm in tinfo
  -- Looking for setupterm in tinfo - not found
  -- Looking for setupterm in terminfo
  -- Looking for setupterm in terminfo - not found
  -- Looking for setupterm in curses
  -- Looking for setupterm in curses - not found
  -- Looking for setupterm in ncurses
  -- Looking for setupterm in ncurses - not found
  -- Looking for setupterm in ncursesw
  -- Looking for setupterm in ncursesw - not found
  -- Looking for xar_open in xar
  -- Looking for xar_open in xar - not found
  -- Looking for arc4random
  -- Looking for arc4random - not found
  -- Looking for backtrace
  -- Looking for backtrace - not found
  -- Looking for _Unwind_Backtrace
  -- Looking for _Unwind_Backtrace - found
  -- Looking for getpagesize
  -- Looking for getpagesize - found
  -- Looking for getrusage
  -- Looking for getrusage - found
  -- Looking for setrlimit
  -- Looking for setrlimit - found
  -- Looking for isatty
  -- Looking for isatty - found
  -- Looking for futimens
  -- Looking for futimens - found
  -- Looking for futimes
  -- Looking for futimes - found
  -- Looking for posix_fallocate
  -- Looking for posix_fallocate - found
  -- Looking for sigaltstack
  -- Looking for sigaltstack - found
  -- Looking for writev
  -- Looking for writev - found
  -- Looking for mallctl
  -- Looking for mallctl - not found
  -- Looking for mallinfo
  -- Looking for mallinfo - not found
  -- Looking for malloc_zone_statistics
  -- Looking for malloc_zone_statistics - not found
  -- Looking for mkdtemp
  -- Looking for mkdtemp - found
  -- Looking for mkstemp
  -- Looking for mkstemp - found
  -- Looking for mktemp
  -- Looking for mktemp - found
  -- Looking for closedir
  -- Looking for closedir - found
  -- Looking for opendir
  -- Looking for opendir - found
  -- Looking for readdir
  -- Looking for readdir - found
  -- Looking for getcwd
  -- Looking for getcwd - found
  -- Looking for gettimeofday
  -- Looking for gettimeofday - found
  -- Looking for getrlimit
  -- Looking for getrlimit - found
  -- Looking for posix_spawn
  -- Looking for posix_spawn - found
  -- Looking for pread
  -- Looking for pread - found
  -- Looking for realpath
  -- Looking for realpath - found
  -- Looking for sbrk
  -- Looking for sbrk - found
  -- Looking for srand48
  -- Looking for srand48 - found
  -- Looking for lrand48
  -- Looking for lrand48 - found
  -- Looking for drand48
  -- Looking for drand48 - found
  -- Looking for strtoll
  -- Looking for strtoll - found
  -- Looking for strtoq
  -- Looking for strtoq - not found
  -- Looking for strerror
  -- Looking for strerror - found
  -- Looking for strerror_r
  -- Looking for strerror_r - found
  -- Looking for strerror_s
  -- Looking for strerror_s - not found
  -- Looking for setenv
  -- Looking for setenv - found
  -- Looking for dlerror
  -- Looking for dlerror - found
  -- Looking for dlopen
  -- Looking for dlopen - found
  -- Looking for __GLIBC__
  -- Looking for __GLIBC__ - not found
  -- Performing Test HAVE_INT64_T
  -- Performing Test HAVE_INT64_T - Success
  -- Performing Test HAVE_UINT64_T
  -- Performing Test HAVE_UINT64_T - Success
  -- Performing Test HAVE_U_INT64_T
  -- Performing Test HAVE_U_INT64_T - Success
  -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
  -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
  -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
  -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
  -- Performing Test LLVM_HAS_ATOMICS
  -- Performing Test LLVM_HAS_ATOMICS - Success
  -- Performing Test SUPPORTS_NO_VARIADIC_MACROS_FLAG
  -- Performing Test SUPPORTS_NO_VARIADIC_MACROS_FLAG - Success
  -- Target triple: x86_64-unknown-linux-gnu
  -- Native target architecture is X86
  -- Threads enabled.
  -- Doxygen disabled.
  -- Sphinx disabled.
  -- Go bindings disabled.
  -- Could NOT find OCaml (missing:  OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
  -- Could NOT find OCaml (missing:  OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
  -- OCaml bindings disabled.
  -- Performing Test C_SUPPORTS_FPIC
  -- Performing Test C_SUPPORTS_FPIC - Success
  -- Performing Test CXX_SUPPORTS_FPIC
  -- Performing Test CXX_SUPPORTS_FPIC - Success
  -- Building with -fPIC
  -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
  -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
  -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG
  -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success
  -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
  -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success
  -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
  -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success
  -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR
  -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Success
  -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
  -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
  -- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
  -- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
  -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP
  -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Success
  -- Performing Test C_SUPPORTS_WERROR_DATE_TIME
  -- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success
  -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME
  -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success
  -- Performing Test CXX_SUPPORTS_CXX11
  -- Performing Test CXX_SUPPORTS_CXX11 - Success
  -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS
  -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success
  -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS
  -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success
  -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS
  -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success
  -- Performing Test C_SUPPORTS_FDATA_SECTIONS
  -- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success
  -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS
  -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success
  -- Found PythonInterp: /opt/sentry_worker/worker/bin/python2.7 (found version "2.7.12")
  -- Constructing LLVMBuild project information
  -- Targeting AArch64
  -- Targeting AMDGPU
  -- Targeting ARM
  -- Targeting BPF
  -- Targeting Hexagon
  -- Targeting Lanai
  -- Targeting Mips
  -- Targeting MSP430
  -- Targeting NVPTX
  -- Targeting PowerPC
  -- Targeting Sparc
  -- Targeting SystemZ
  -- Targeting X86
  -- Targeting XCore
  -- Configuring done
  -- Generating done
  -- Build files have been written to: /tmp/pip-build-ulhUQj/symsynd/libsymbolizer/build
  make[1]: Entering directory '/tmp/pip-build-ulhUQj/symsynd/libsymbolizer/build/tools/Symbolizer'
  make[2]: Entering directory '/tmp/pip-build-ulhUQj/symsynd/libsymbolizer/build'
  make[3]: Entering directory '/tmp/pip-build-ulhUQj/symsynd/libsymbolizer/build'
  Scanning dependencies of target LLVMSymbolize
  make[3]: Leaving directory '/tmp/pip-build-ulhUQj/symsynd/libsymbolizer/build'
  make[3]: Entering directory '/tmp/pip-build-ulhUQj/symsynd/libsymbolizer/build'
  [  0%] Building CXX object lib/DebugInfo/Symbolize/CMakeFiles/LLVMSymbolize.dir/DIPrinter.cpp.o
  [  0%] Building CXX object lib/DebugInfo/Symbolize/CMakeFiles/LLVMSymbolize.dir/SymbolizableObjectFile.cpp.o
  [  0%] Building CXX object lib/DebugInfo/Symbolize/CMakeFiles/LLVMSymbolize.dir/Symbolize.cpp.o
  [  0%] Linking CXX static library ../../libLLVMSymbolize.a
  make[3]: Leaving directory '/tmp/pip-build-ulhUQj/symsynd/libsymbolizer/build'
  [  0%] Built target LLVMSymbolize
  make[3]: Entering directory '/tmp/pip-build-ulhUQj/symsynd/libsymbolizer/build'
  Scanning dependencies of target LLVMSupport
  make[3]: Leaving directory '/tmp/pip-build-ulhUQj/symsynd/libsymbolizer/build'
  make[3]: Entering directory '/tmp/pip-build-ulhUQj/symsynd/libsymbolizer/build'
  [  0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o
  [  0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APInt.cpp.o
  [  0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APSInt.cpp.o
  [  0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ARMBuildAttrs.cpp.o
  [  0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ARMWinEH.cpp.o
  [  0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Allocator.cpp.o
  [  0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BlockFrequency.cpp.o
  [  0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BranchProbability.cpp.o
  [  0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CachePruning.cpp.o
  [  0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/circular_raw_ostream.cpp.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/COM.cpp.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CommandLine.cpp.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Compression.cpp.o
  [  6%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/ConvertUTF.c.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ConvertUTFWrapper.cpp.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CrashRecoveryContext.cpp.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DataExtractor.cpp.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DataStream.cpp.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Debug.cpp.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DeltaAlgorithm.cpp.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DAGDeltaAlgorithm.cpp.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Dwarf.cpp.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Error.cpp.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ErrorHandling.cpp.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FileUtilities.cpp.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FileOutputBuffer.cpp.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FoldingSet.cpp.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FormattedStream.cpp.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/GraphWriter.cpp.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Hashing.cpp.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/IntEqClasses.cpp.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/IntervalMap.cpp.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/IntrusiveRefCntPtr.cpp.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/JamCRC.cpp.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/LEB128.cpp.o
  [  6%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/LineIterator.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Locale.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/LockFileManager.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ManagedStatic.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MathExtras.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MemoryBuffer.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MemoryObject.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MD5.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Options.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/PluginLoader.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/PrettyStackTrace.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/RandomNumberGenerator.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Regex.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ScopedPrinter.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SHA1.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SmallPtrSet.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SmallVector.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SourceMgr.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SpecialCaseList.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Statistic.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StreamingMemoryObject.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringExtras.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringMap.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringPool.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringSaver.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringRef.cpp.o
  [ 12%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SystemUtils.cpp.o
  [ 18%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/TargetParser.cpp.o
  [ 18%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ThreadPool.cpp.o
  [ 18%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Timer.cpp.o
  [ 18%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ToolOutputFile.cpp.o
  [ 18%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Triple.cpp.o
  [ 18%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Twine.cpp.o
  [ 18%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Unicode.cpp.o
  [ 18%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/YAMLParser.cpp.o
  [ 18%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/YAMLTraits.cpp.o
  [ 18%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/raw_os_ostream.cpp.o
  [ 18%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/raw_ostream.cpp.o
  [ 18%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regcomp.c.o
  [ 18%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regerror.c.o
  [ 18%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regexec.c.o
  [ 18%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regfree.c.o
  [ 18%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regstrlcpy.c.o
  [ 18%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Atomic.cpp.o
  [ 18%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DynamicLibrary.cpp.o
  /tmp/pip-build-ulhUQj/symsynd/llvm/lib/Support/DynamicLibrary.cpp:148:5: error: cannot initialize return object of type 'void *' with an rvalue of type 'FILE *const *' (aka '_IO_FILE *const *')
      EXPLICIT_SYMBOL(stderr);
      ^~~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-build-ulhUQj/symsynd/llvm/lib/Support/DynamicLibrary.cpp:141:42: note: expanded from macro 'EXPLICIT_SYMBOL'
     if (!strcmp(symbolName, #SYM)) return &SYM
                                           ^~~~
  /tmp/pip-build-ulhUQj/symsynd/llvm/lib/Support/DynamicLibrary.cpp:149:5: error: cannot initialize return object of type 'void *' with an rvalue of type 'FILE *const *' (aka '_IO_FILE *const *')
      EXPLICIT_SYMBOL(stdout);
      ^~~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-build-ulhUQj/symsynd/llvm/lib/Support/DynamicLibrary.cpp:141:42: note: expanded from macro 'EXPLICIT_SYMBOL'
     if (!strcmp(symbolName, #SYM)) return &SYM
                                           ^~~~
  /tmp/pip-build-ulhUQj/symsynd/llvm/lib/Support/DynamicLibrary.cpp:150:5: error: cannot initialize return object of type 'void *' with an rvalue of type 'FILE *const *' (aka '_IO_FILE *const *')
      EXPLICIT_SYMBOL(stdin);
      ^~~~~~~~~~~~~~~~~~~~~~
  /tmp/pip-build-ulhUQj/symsynd/llvm/lib/Support/DynamicLibrary.cpp:141:42: note: expanded from macro 'EXPLICIT_SYMBOL'
     if (!strcmp(symbolName, #SYM)) return &SYM
                                           ^~~~
  3 errors generated.
  lib/Support/CMakeFiles/LLVMSupport.dir/build.make:1982: recipe for target 'lib/Support/CMakeFiles/LLVMSupport.dir/DynamicLibrary.cpp.o' failed
  make[3]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/DynamicLibrary.cpp.o] Error 1
  make[3]: Leaving directory '/tmp/pip-build-ulhUQj/symsynd/libsymbolizer/build'
  CMakeFiles/Makefile2:276: recipe for target 'lib/Support/CMakeFiles/LLVMSupport.dir/all' failed
  make[2]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/all] Error 2
  make[2]: Leaving directory '/tmp/pip-build-ulhUQj/symsynd/libsymbolizer/build'
  Makefile:149: recipe for target 'all' failed
  make[1]: *** [all] Error 2
  make[1]: Leaving directory '/tmp/pip-build-ulhUQj/symsynd/libsymbolizer/build/tools/Symbolizer'
  Makefile:9: recipe for target 'build' failed
  make: *** [build] Error 2

  ----------------------------------------
  Running setup.py clean for symsynd
  Running setup.py bdist_wheel for cssutils: started
  Running setup.py bdist_wheel for cssutils: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/e5/5c/de/eb2ab20703e26de4cd58d0fe1f2de3918e9fd67282f06cc079
  Running setup.py bdist_wheel for mock: started
  Running setup.py bdist_wheel for mock: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/38/f5/41/48d37be88e259bcbcf837787bb7f2f1d9fee2f7064491252aa
  Running setup.py bdist_wheel for django-crispy-forms: started
  Running setup.py bdist_wheel for django-crispy-forms: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/a8/e2/7f/3495a43788beecdb15c662c1695c2cd413019be7800ba1de62
  Running setup.py bdist_wheel for python-openid: started
  Running setup.py bdist_wheel for python-openid: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/45/9e/86/d1fc4d049aec8b57f8c81326c95b264fc8829a22fb646dcbfb
  Running setup.py bdist_wheel for python-u2flib-server: started
  Running setup.py bdist_wheel for python-u2flib-server: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/61/38/b2/b852095e0a8fe1fdb08770a86c8f8cfbec794213666079f252
  Running setup.py bdist_wheel for uwsgi: started
  Running setup.py bdist_wheel for uwsgi: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/e3/eb/28/16c7355548d2a8774056f9c4b0b13e21d3a5473bb944336582
  Running setup.py bdist_wheel for email-reply-parser: started
  Running setup.py bdist_wheel for email-reply-parser: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/c4/b6/e4/a75b3192860efcb6de1d828442ba5d3260cd022e65e2b19012
  Running setup.py bdist_wheel for exam: started
  Running setup.py bdist_wheel for exam: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/3e/5b/7e/4106a403e9398ff67b334e42fa0a09d2ffb5ce2f16a6c7cdf7
  Running setup.py bdist_wheel for hiredis: started
  Running setup.py bdist_wheel for hiredis: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/a9/8b/13/e07923bdf9f9fd484b013c3c97ba4eba01a031036aaca1ec1e
  Running setup.py bdist_wheel for python-memcached: started
  Running setup.py bdist_wheel for python-memcached: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/d1/74/8f/8cb02a2494e68a7207c518512d050084558d133987fff5a77c
  Running setup.py bdist_wheel for libsourcemap: started
  Running setup.py bdist_wheel for libsourcemap: finished with status 'error'
  Complete output from command /opt/sentry_worker/worker/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ulhUQj/libsourcemap/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpIYAHUbpip-wheel- --python-tag cp27:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib
  creating build/lib/libsourcemap
  copying libsourcemap/_compat.py -> build/lib/libsourcemap
  copying libsourcemap/__init__.py -> build/lib/libsourcemap
  copying libsourcemap/exceptions.py -> build/lib/libsourcemap
  copying libsourcemap/highlevel.py -> build/lib/libsourcemap
  copying libsourcemap/_sourcemapnative.py -> build/lib/libsourcemap
  error: [Errno 2] No such file or directory

  ----------------------------------------
  Failed building wheel for libsourcemap
  Running setup.py clean for libsourcemap
  Running setup.py bdist_wheel for psycopg2: started
  Running setup.py bdist_wheel for psycopg2: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/31/50/0f/8b2ff33b3cde9516c3d5736079f61458231b712c66350141f7
  Running setup.py bdist_wheel for httplib2: started
  Running setup.py bdist_wheel for httplib2: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/b4/ca/f7/41d08d2678efea21cffef18d10cc96b6a2a56ed072e845865d
  Running setup.py bdist_wheel for billiard: started
  Running setup.py bdist_wheel for billiard: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/d3/28/a5/e32b85fc1be6f6c164b7ac2cd2802963e1185a061846df2c42
  Running setup.py bdist_wheel for cffi: started
  Running setup.py bdist_wheel for cffi: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/3f/25/46/0784f64ba1ebaef09685b6ab514918c9c3d3a9019d1d6ec0bd
  Running setup.py bdist_wheel for cryptography: started
  Running setup.py bdist_wheel for cryptography: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/ae/ef/e9/ed6bce951554f7e726a47cda1d56cceb98a1cc52e826d66060
  Running setup.py bdist_wheel for ndg-httpsclient: started
  Running setup.py bdist_wheel for ndg-httpsclient: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/0c/90/e2/37f376d8b364c6faa887486658f8d2daf989b303d4e234e450
  Running setup.py bdist_wheel for anyjson: started
  Running setup.py bdist_wheel for anyjson: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/c0/b5/bb/8aaabd9e84261d881afb3250a69ba6a84669b8b6039bd838ba
  Running setup.py bdist_wheel for docutils: started
  Running setup.py bdist_wheel for docutils: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/2f/9a/e7/2057d592415a18ee4cf975afcfba7636ed4bcdd07133901871
Successfully built simplejson pytest South petname PyYAML toronado lxml django-jsonfield Pillow setproctitle cssutils mock django-crispy-forms python-openid python-u2flib-server uwsgi email-reply-parser exam hiredis python-memcached psycopg2 httplib2 billiard cffi cryptography ndg-httpsclient anyjson docutils
Failed to build symsynd libsourcemap
Installing collected packages: py, pytest, pytest-django, simplejson, selenium, six, structlog, redis, rb, statsd, ua-parser, South, click, httplib2, oauth2, petname, sqlparse, Django, django-debug-toolbar, PyYAML, cssselect, cssutils, lxml, toronado, django-templatetag-sugar, django-jsonfield, billiard, pytz, amqp, anyjson, kombu, celery, idna, pyasn1, enum34, ipaddress, pycparser, cffi, cryptography, pyOpenSSL, ndg-httpsclient, requests, percy, python-utils, progressbar2, Pillow, setproctitle, symsynd, djangorestframework, qrcode, django-picklefield, mock, django-crispy-forms, honcho, python-openid, python-u2flib-server, uwsgi, email-reply-parser, exam, django-bitfield, python-dateutil, jmespath, docutils, botocore, futures, s3transfer, boto3, hiredis, python-memcached, pytest-html, contextlib2, raven, libsourcemap, urllib3, psycopg2, django-sudo, sentry
  Running setup.py install for pycparser: started
    Running setup.py install for pycparser: finished with status 'done'
  Running setup.py install for symsynd: started
    Running setup.py install for symsynd: finished with status 'error'
    Complete output from command /opt/sentry_worker/worker/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ulhUQj/symsynd/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-wY4TbR-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/sentry_worker/worker/include/site/python2.7/symsynd:
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-2.7
    creating build/lib.linux-x86_64-2.7/symsynd
    copying symsynd/demangle.py -> build/lib.linux-x86_64-2.7/symsynd
    copying symsynd/_compat.py -> build/lib.linux-x86_64-2.7/symsynd
    copying symsynd/driver.py -> build/lib.linux-x86_64-2.7/symsynd
    copying symsynd/report.py -> build/lib.linux-x86_64-2.7/symsynd
    copying symsynd/__init__.py -> build/lib.linux-x86_64-2.7/symsynd
    copying symsynd/bulkextract.py -> build/lib.linux-x86_64-2.7/symsynd
    copying symsynd/_symbolizer.py -> build/lib.linux-x86_64-2.7/symsynd
    copying symsynd/exceptions.py -> build/lib.linux-x86_64-2.7/symsynd
    copying symsynd/libsymbolizer.py -> build/lib.linux-x86_64-2.7/symsynd
    copying symsynd/utils.py -> build/lib.linux-x86_64-2.7/symsynd
    creating build/lib.linux-x86_64-2.7/symsynd/macho
    copying symsynd/macho/__init__.py -> build/lib.linux-x86_64-2.7/symsynd/macho
    copying symsynd/macho/arch.py -> build/lib.linux-x86_64-2.7/symsynd/macho
    copying symsynd/macho/header.py -> build/lib.linux-x86_64-2.7/symsynd/macho
    copying symsynd/macho/ptypes.py -> build/lib.linux-x86_64-2.7/symsynd/macho
    copying symsynd/macho/mtypes.py -> build/lib.linux-x86_64-2.7/symsynd/macho
    copying symsynd/macho/util.py -> build/lib.linux-x86_64-2.7/symsynd/macho
    ./libsymbolizer/build.sh
    -- Target triple: x86_64-unknown-linux-gnu
    -- Native target architecture is X86
    -- Threads enabled.
    -- Doxygen disabled.
    -- Sphinx disabled.
    -- Go bindings disabled.
    -- Could NOT find OCaml (missing:  OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
    -- Could NOT find OCaml (missing:  OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
    -- OCaml bindings disabled.
    -- Building with -fPIC
    -- Constructing LLVMBuild project information
    -- Targeting AArch64
    -- Targeting AMDGPU
    -- Targeting ARM
    -- Targeting BPF
    -- Targeting Hexagon
    -- Targeting Lanai
    -- Targeting Mips
    -- Targeting MSP430
    -- Targeting NVPTX
    -- Targeting PowerPC
    -- Targeting Sparc
    -- Targeting SystemZ
    -- Targeting X86
    -- Targeting XCore
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /tmp/pip-build-ulhUQj/symsynd/libsymbolizer/build
    make[1]: Entering directory '/tmp/pip-build-ulhUQj/symsynd/libsymbolizer/build/tools/Symbolizer'
    make[2]: Entering directory '/tmp/pip-build-ulhUQj/symsynd/libsymbolizer/build'
    make[3]: Entering directory '/tmp/pip-build-ulhUQj/symsynd/libsymbolizer/build'
    make[3]: Leaving directory '/tmp/pip-build-ulhUQj/symsynd/libsymbolizer/build'
    [  0%] Built target LLVMSymbolize
    make[3]: Entering directory '/tmp/pip-build-ulhUQj/symsynd/libsymbolizer/build'
    make[3]: Leaving directory '/tmp/pip-build-ulhUQj/symsynd/libsymbolizer/build'
    make[3]: Entering directory '/tmp/pip-build-ulhUQj/symsynd/libsymbolizer/build'
    [  0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DynamicLibrary.cpp.o
    /tmp/pip-build-ulhUQj/symsynd/llvm/lib/Support/DynamicLibrary.cpp:148:5: error: cannot initialize return object of type 'void *' with an rvalue of type 'FILE *const *' (aka '_IO_FILE *const *')
        EXPLICIT_SYMBOL(stderr);
        ^~~~~~~~~~~~~~~~~~~~~~~
    /tmp/pip-build-ulhUQj/symsynd/llvm/lib/Support/DynamicLibrary.cpp:141:42: note: expanded from macro 'EXPLICIT_SYMBOL'
       if (!strcmp(symbolName, #SYM)) return &SYM
                                             ^~~~
    /tmp/pip-build-ulhUQj/symsynd/llvm/lib/Support/DynamicLibrary.cpp:149:5: error: cannot initialize return object of type 'void *' with an rvalue of type 'FILE *const *' (aka '_IO_FILE *const *')
        EXPLICIT_SYMBOL(stdout);
        ^~~~~~~~~~~~~~~~~~~~~~~
    /tmp/pip-build-ulhUQj/symsynd/llvm/lib/Support/DynamicLibrary.cpp:141:42: note: expanded from macro 'EXPLICIT_SYMBOL'
       if (!strcmp(symbolName, #SYM)) return &SYM
                                             ^~~~
    /tmp/pip-build-ulhUQj/symsynd/llvm/lib/Support/DynamicLibrary.cpp:150:5: error: cannot initialize return object of type 'void *' with an rvalue of type 'FILE *const *' (aka '_IO_FILE *const *')
        EXPLICIT_SYMBOL(stdin);
        ^~~~~~~~~~~~~~~~~~~~~~
    /tmp/pip-build-ulhUQj/symsynd/llvm/lib/Support/DynamicLibrary.cpp:141:42: note: expanded from macro 'EXPLICIT_SYMBOL'
       if (!strcmp(symbolName, #SYM)) return &SYM
                                             ^~~~
    3 errors generated.
    lib/Support/CMakeFiles/LLVMSupport.dir/build.make:1982: recipe for target 'lib/Support/CMakeFiles/LLVMSupport.dir/DynamicLibrary.cpp.o' failed
    make[3]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/DynamicLibrary.cpp.o] Error 1
    make[3]: Leaving directory '/tmp/pip-build-ulhUQj/symsynd/libsymbolizer/build'
    CMakeFiles/Makefile2:276: recipe for target 'lib/Support/CMakeFiles/LLVMSupport.dir/all' failed
    make[2]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/all] Error 2
    make[2]: Leaving directory '/tmp/pip-build-ulhUQj/symsynd/libsymbolizer/build'
    Makefile:149: recipe for target 'all' failed
    make[1]: *** [all] Error 2
    make[1]: Leaving directory '/tmp/pip-build-ulhUQj/symsynd/libsymbolizer/build/tools/Symbolizer'
    Makefile:9: recipe for target 'build' failed
    make: *** [build] Error 2

    ----------------------------------------
Command "/opt/sentry_worker/worker/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ulhUQj/symsynd/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-wY4TbR-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/sentry_worker/worker/include/site/python2.7/symsynd" failed with error code 2 in /tmp/pip-build-ulhUQj/symsynd/
The command '/bin/sh -c virtualenv $PROJECT_PATH/worker &&     source $PROJECT_PATH/worker/bin/activate &&     pip install --upgrade pip wheel &&     pip --version &&     pip install 'sentry[postgres]==8.10.0' --no-binary pycparser &&     pip install https://github.com/getsentry/sentry-auth-google/archive/c6fbe9b3eb822c1a38bc61cc620ee4db7a8e0773.zip' returned a non-zero code: 1
mitsuhiko commented 7 years ago

Don't pass --no-binary. That will disable wheel downloads.

deejay1 commented 7 years ago

According to the docs --no-binary should affect only pycparser, but anyway - removing it didn't help. I'm running out of ideas, maybe I'll try to build it in an alpine linux VM first instead of docker...

mitsuhiko commented 7 years ago

Does it print the same results?

mitsuhiko commented 7 years ago

It looks like your pip does not pick up on wheels. This might be a bug in pip? Unsure.

deejay1 commented 7 years ago

Seems like I found one of the culprits (the not installing wheels one, not the compile error) Alpine Linux doesn't build with glibc :/

mitsuhiko commented 7 years ago

We are definitely not planning on supporting alpine linux anytime soon. The sentry docker images are based on debian.

mitsuhiko commented 7 years ago

I'm going to close this. I talked to @mattrobenolt and he already tried to make this work with alpine and there are many more issues with it than just symsynd.

listeng commented 7 years ago

according to the patch file:

https://bugs.alpinelinux.org/attachments/238/llvm-0003-musl-hacks.patch

I try to apply the patch after un-tar llvm files at "llvm/CMakeLists.txt" command in Makefile. The errors disappeared and compile successful in Alpine Linux. Maybe it cloud help.

llonchj commented 7 years ago

@listeng +1 for sentry running in alpine!

mattrobenolt commented 7 years ago

Very very unlikely that'll happen. We have lots of dependencies that don't work on Alpine. symsynd is the least of the problem. :)