wagtail / bakerydemo

Next generation Wagtail demo, born in Reykjavik
BSD 3-Clause "New" or "Revised" License
971 stars 542 forks source link

Heroku build failing. #220

Closed hammygoonan closed 6 years ago

hammygoonan commented 6 years ago

There seems to be an issue with the Heroku build which I thought you might like to know about. The 'magic' button isn't working. Here' the log from Heroku:

-----> Python app detected

 !     The latest version of Python 3.6 is python-3.6.6 (you are using python-3.6.4, which is unsupported).

 !     We recommend upgrading by specifying the latest version (python-3.6.6).

       Learn More: https://devcenter.heroku.com/articles/python-runtimes

-----> Installing python-3.6.4

-----> Installing pip

-----> Installing SQLite3

-----> Installing requirements with pip

       Collecting Django<2.1,>=2.0 (from -r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/base.txt (line 1))

         Downloading https://files.pythonhosted.org/packages/6c/9d/c0feec696b815708354a2fd06ae0f51330a15043822a29bc8be2f185d9fe/Django-2.0.9-py3-none-any.whl (7.1MB)

       Collecting django-dotenv==1.4.1 (from -r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/base.txt (line 2))

         Downloading https://files.pythonhosted.org/packages/89/7d/c9b430712693510868c734db5e566f38e6018400c85b87a4d00d2adb0770/django_dotenv-1.4.1-py2.py3-none-any.whl

       Collecting elasticsearch==2.4.1 (from -r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/base.txt (line 5))

         Downloading https://files.pythonhosted.org/packages/ec/ad/bce2f35a129b0ae1aa9ca888aca77111ddcf53a8590ca7c146d51a2d5685/elasticsearch-2.4.1-py2.py3-none-any.whl (55kB)

       Collecting wagtail<2.2,>=2.1 (from -r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/base.txt (line 7))

         Downloading https://files.pythonhosted.org/packages/fd/94/bbca0daaf82dab22073689540cb04ba25a2d324f076bd90a545297dcac17/wagtail-2.1.3-py3-none-any.whl (11.8MB)

       Collecting wagtailfontawesome<1.2,>=1.1.3 (from -r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/base.txt (line 8))

         Downloading https://files.pythonhosted.org/packages/a5/e0/a180a5aa3573a2666f497b184e5a98cae9225eb9f511f2e2094632d5f6b0/wagtailfontawesome-1.1.3-py2.py3-none-any.whl (654kB)

       Collecting Pillow==4.0.0 (from -r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/base.txt (line 9))

         Downloading https://files.pythonhosted.org/packages/37/e8/b3fbf87b0188d22246678f8cd61e23e31caa1769ebc06f1664e2e5fe8a17/Pillow-4.0.0-cp36-cp36m-manylinux1_x86_64.whl (5.6MB)

       Collecting dj-database-url==0.4.1 (from -r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/production.txt (line 3))

         Downloading https://files.pythonhosted.org/packages/39/9f/30f937db9f9e7a4e4e3205682af4c34c65d647ff9850897ddfbbf5dc6178/dj-database-url-0.4.1.tar.gz

       Collecting uwsgi==2.0.14 (from -r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/production.txt (line 4))

         Downloading https://files.pythonhosted.org/packages/11/ef/3d64655693e12f163f659bc3a45837893d7ebbb242e608feb9adc788d2ca/uwsgi-2.0.14.tar.gz (788kB)

       Collecting psycopg2==2.7.3.1 (from -r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/production.txt (line 5))

         Downloading https://files.pythonhosted.org/packages/21/44/159fe55329b6b94dd3077080fed6c2f77c0d6b858bc415a5784e9e885235/psycopg2-2.7.3.1-cp36-cp36m-manylinux1_x86_64.whl (2.6MB)

       Collecting whitenoise==3.2.2 (from -r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/production.txt (line 6))

         Downloading https://files.pythonhosted.org/packages/26/0b/e6a3b2ba1905deb722c05670f292170d079a3c8df76c0239db83ced9322b/whitenoise-3.2.2-py2.py3-none-any.whl

       Collecting boto==2.45.0 (from -r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/production.txt (line 7))

         Downloading https://files.pythonhosted.org/packages/9c/83/b4e3dd246d523c6215bc308d5c7d86a52715413203ee6b65172edf71ed13/boto-2.45.0-py2.py3-none-any.whl (1.3MB)

       Collecting django-storages==1.6.5 (from -r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/production.txt (line 8))

         Downloading https://files.pythonhosted.org/packages/97/71/10c4c8c62b6fecca1960dcf828a7639baafddf088976a89b8dedc9124a39/django_storages-1.6.5-py2.py3-none-any.whl (47kB)

       Collecting botocore==1.7.10 (from -r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/production.txt (line 10))

         Downloading https://files.pythonhosted.org/packages/7d/73/4bd3f633b405ad3ae6aedddafc53c2de987022eaa0846ba927b80d1205d9/botocore-1.7.10-py2.py3-none-any.whl (3.6MB)

       Collecting aws-requests-auth==0.4.0 (from -r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/production.txt (line 11))

         Downloading https://files.pythonhosted.org/packages/65/ab/7d537631d32dc13fa4c77fcd5cba68bdd32c8a00a65347769b82e4dd01b3/aws-requests-auth-0.4.0.tar.gz

       Collecting django-redis==4.8.0 (from -r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/production.txt (line 12))

         Downloading https://files.pythonhosted.org/packages/2f/98/f33d235cb0d6581137e618ec032daebffa65f8712930aae4158274d87b09/django_redis-4.8.0-py2.py3-none-any.whl

       Collecting django_cache_url==2.0.0 (from -r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/production.txt (line 13))

         Downloading https://files.pythonhosted.org/packages/c3/0f/d18451ac43a5dca0f3939c660fc16792180dcc93aa0f9da827ab80b53a73/django_cache_url-2.0.0-py2.py3-none-any.whl

       Collecting awscli==1.11.23 (from -r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/production.txt (line 15))

         Downloading https://files.pythonhosted.org/packages/9a/6c/a4e81e1eec2c22c8421a849ed6287c839068052251c32c0501141f789f30/awscli-1.11.23-py2.py3-none-any.whl (1.0MB)

       Collecting pytz (from Django<2.1,>=2.0->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/base.txt (line 1))

         Downloading https://files.pythonhosted.org/packages/30/4e/27c34b62430286c6d59177a0842ed90dc789ce5d1ed740887653b898779a/pytz-2018.5-py2.py3-none-any.whl (510kB)

       Collecting urllib3<2.0,>=1.8 (from elasticsearch==2.4.1->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/base.txt (line 5))

         Downloading https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl (133kB)

       Collecting djangorestframework<4.0,>=3.7.4 (from wagtail<2.2,>=2.1->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/base.txt (line 7))

         Downloading https://files.pythonhosted.org/packages/90/30/ad1148098ff0c375df2a30cc4494ed953cf7551fc1ecec30fc951c712d20/djangorestframework-3.8.2-py2.py3-none-any.whl (923kB)

       Collecting django-modelcluster<5.0,>=4.0 (from wagtail<2.2,>=2.1->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/base.txt (line 7))

         Downloading https://files.pythonhosted.org/packages/e8/67/560c0e59eee52375b2a2f625bfde71006addfbd74946ff655e4365c0a275/django-modelcluster-4.2.tar.gz

       Collecting draftjs-exporter<3.0,>=2.0 (from wagtail<2.2,>=2.1->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/base.txt (line 7))

         Downloading https://files.pythonhosted.org/packages/90/d6/561281b28f134c4cdd80631ba778b63a44af9fca17f9d9ecabac9ba4540f/draftjs_exporter-2.1.2.tar.gz

       Collecting Unidecode<2.0,>=0.04.14 (from wagtail<2.2,>=2.1->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/base.txt (line 7))

         Downloading https://files.pythonhosted.org/packages/59/ef/67085e30e8bbcdd76e2f0a4ad8151c13a2c5bce77c85f8cad6e1f16fb141/Unidecode-1.0.22-py2.py3-none-any.whl (235kB)

       Collecting django-taggit<1.0,>=0.22.2 (from wagtail<2.2,>=2.1->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/base.txt (line 7))

         Downloading https://files.pythonhosted.org/packages/39/ed/3607874788740674b7533586fc6b3e2249b5c5e9585882f0c8709e9a8c36/django_taggit-0.23.0-py2.py3-none-any.whl (44kB)

       Collecting django-treebeard<5.0,>=4.2.0 (from wagtail<2.2,>=2.1->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/base.txt (line 7))

         Downloading https://files.pythonhosted.org/packages/14/8a/d3d85018bb14cf951a41f362da1505e0523ff8b798844e270f030d4646ac/django-treebeard-4.3.tar.gz (310kB)

       Collecting requests<3.0,>=2.11.1 (from wagtail<2.2,>=2.1->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/base.txt (line 7))

         Downloading https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl (91kB)

       Collecting beautifulsoup4<4.6.1,>=4.5.1 (from wagtail<2.2,>=2.1->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/base.txt (line 7))

         Downloading https://files.pythonhosted.org/packages/9e/d4/10f46e5cfac773e22707237bfcd51bbffeaf0a576b0a847ec7ab15bd7ace/beautifulsoup4-4.6.0-py3-none-any.whl (86kB)

       Collecting six<2.0,>=1.11 (from wagtail<2.2,>=2.1->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/base.txt (line 7))

         Downloading https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl

       Collecting html5lib<2,>=0.999 (from wagtail<2.2,>=2.1->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/base.txt (line 7))

         Downloading https://files.pythonhosted.org/packages/a5/62/bbd2be0e7943ec8504b517e62bab011b4946e1258842bc159e5dfde15b96/html5lib-1.0.1-py2.py3-none-any.whl (117kB)

       Collecting Willow<1.2,>=1.1 (from wagtail<2.2,>=2.1->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/base.txt (line 7))

         Downloading https://files.pythonhosted.org/packages/43/de/5dba65cdd859e5bc4e758e5fdb095f5770c9e2ddcc44679bcb54a714925d/Willow-1.1-py2.py3-none-any.whl (105kB)

       Collecting olefile (from Pillow==4.0.0->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/base.txt (line 9))

         Downloading https://files.pythonhosted.org/packages/34/81/e1ac43c6b45b4c5f8d9352396a14144bba52c8fec72a80f425f6a4d653ad/olefile-0.46.zip (112kB)

       Collecting jmespath<1.0.0,>=0.7.1 (from botocore==1.7.10->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/production.txt (line 10))

         Downloading https://files.pythonhosted.org/packages/b7/31/05c8d001f7f87f0f07289a5fc0fc3832e9a57f2dbd4d3b0fee70e0d51365/jmespath-0.9.3-py2.py3-none-any.whl

       Collecting docutils>=0.10 (from botocore==1.7.10->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/production.txt (line 10))

         Downloading https://files.pythonhosted.org/packages/36/fa/08e9e6e0e3cbd1d362c3bbee8d01d0aedb2155c4ac112b19ef3cae8eed8d/docutils-0.14-py3-none-any.whl (543kB)

       Collecting python-dateutil<3.0.0,>=2.1 (from botocore==1.7.10->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/production.txt (line 10))

         Downloading https://files.pythonhosted.org/packages/cf/f5/af2b09c957ace60dcfac112b669c45c8c97e32f94aa8b56da4c6d1682825/python_dateutil-2.7.3-py2.py3-none-any.whl (211kB)

       Collecting redis>=2.10.0 (from django-redis==4.8.0->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/production.txt (line 12))

         Downloading https://files.pythonhosted.org/packages/3b/f6/7a76333cf0b9251ecf49efff635015171843d9b977e4ffcf59f9c4428052/redis-2.10.6-py2.py3-none-any.whl (64kB)

       Collecting PyYAML<=3.12,>=3.10 (from awscli==1.11.23->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/production.txt (line 15))

         Downloading https://files.pythonhosted.org/packages/4a/85/db5a2df477072b2902b0eb892feb37d88ac635d36245a72a6a69b23b383a/PyYAML-3.12.tar.gz (253kB)

       Collecting s3transfer<0.2.0,>=0.1.9 (from awscli==1.11.23->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/production.txt (line 15))

         Downloading https://files.pythonhosted.org/packages/d7/14/2a0004d487464d120c9fb85313a75cd3d71a7506955be458eebfe19a6b1d/s3transfer-0.1.13-py2.py3-none-any.whl (59kB)

       Collecting colorama<=0.3.7,>=0.2.5 (from awscli==1.11.23->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/production.txt (line 15))

         Downloading https://files.pythonhosted.org/packages/b7/8e/ddb32ddaabd431813e180ca224e844bab8ad42fbb47ee07553f0ec44cd86/colorama-0.3.7-py2.py3-none-any.whl

       Collecting rsa<=3.5.0,>=3.1.2 (from awscli==1.11.23->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/production.txt (line 15))

         Downloading https://files.pythonhosted.org/packages/e1/ae/baedc9cb175552e95f3395c43055a6a5e125ae4d48a1d7a924baca83e92e/rsa-3.4.2-py2.py3-none-any.whl (46kB)

       Collecting certifi>=2017.4.17 (from requests<3.0,>=2.11.1->wagtail<2.2,>=2.1->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/base.txt (line 7))

         Downloading https://files.pythonhosted.org/packages/df/f7/04fee6ac349e915b82171f8e23cee63644d83663b34c539f7a09aed18f9e/certifi-2018.8.24-py2.py3-none-any.whl (147kB)

       Collecting idna<2.8,>=2.5 (from requests<3.0,>=2.11.1->wagtail<2.2,>=2.1->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/base.txt (line 7))

         Downloading https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl (58kB)

       Collecting chardet<3.1.0,>=3.0.2 (from requests<3.0,>=2.11.1->wagtail<2.2,>=2.1->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/base.txt (line 7))

         Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)

       Collecting webencodings (from html5lib<2,>=0.999->wagtail<2.2,>=2.1->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/base.txt (line 7))

         Downloading https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl

       Collecting pyasn1>=0.1.3 (from rsa<=3.5.0,>=3.1.2->awscli==1.11.23->-r /tmp/build_220037cc5ecb067669edd9a3fae411d0/requirements/production.txt (line 15))

         Downloading https://files.pythonhosted.org/packages/d1/a1/7790cc85db38daa874f6a2e6308131b9953feb1367f2ae2d1123bb93a9f5/pyasn1-0.4.4-py2.py3-none-any.whl (72kB)

       Installing collected packages: pytz, Django, django-dotenv, urllib3, elasticsearch, djangorestframework, django-modelcluster, draftjs-exporter, Unidecode, django-taggit, django-treebeard, olefile, Pillow, certifi, idna, chardet, requests, beautifulsoup4, six, webencodings, html5lib, Willow, wagtail, wagtailfontawesome, dj-database-url, uwsgi, psycopg2, whitenoise, boto, django-storages, jmespath, docutils, python-dateutil, botocore, aws-requests-auth, redis, django-redis, django-cache-url, PyYAML, s3transfer, colorama, pyasn1, rsa, awscli

         Running setup.py install for django-modelcluster: started

           Running setup.py install for django-modelcluster: finished with status 'done'

         Running setup.py install for draftjs-exporter: started

           Running setup.py install for draftjs-exporter: finished with status 'done'

         Running setup.py install for django-treebeard: started

           Running setup.py install for django-treebeard: finished with status 'done'

         Running setup.py install for olefile: started

           Running setup.py install for olefile: finished with status 'done'

         Running setup.py install for dj-database-url: started

           Running setup.py install for dj-database-url: finished with status 'done'

         Running setup.py install for uwsgi: started

           Running setup.py install for uwsgi: finished with status 'error'

           Complete output from command /app/.heroku/python/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-39siy9m0/uwsgi/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-1qy7891x-record/install-record.txt --single-version-externally-managed --compile:

           running install

           using profile: buildconf/default.ini

           detected include path: ['/app/.heroku/python/include', '.', '/usr/lib/gcc/x86_64-linux-gnu/7/include', '/usr/local/include', '/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed', '/usr/include/x86_64-linux-gnu', '/usr/include']

           Patching "bin_name" to properly install_scripts dir

           detected CPU cores: 2

           configured CFLAGS: -O2 -I. -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -DUWSGI_HAS_IFADDRS -DUWSGI_ZLIB -DUWSGI_LOCK_USE_MUTEX -DUWSGI_EVENT_USE_EPOLL -DUWSGI_EVENT_TIMER_USE_TIMERFD -DUWSGI_EVENT_FILEMONITOR_USE_INOTIFY  -DUWSGI_PCRE -DUWSGI_ROUTING -DUWSGI_CAP -DUWSGI_VERSION="\"2.0.14\"" -DUWSGI_VERSION_BASE="2" -DUWSGI_VERSION_MAJOR="0" -DUWSGI_VERSION_MINOR="14" -DUWSGI_VERSION_REVISION="0" -DUWSGI_VERSION_CUSTOM="\"\"" -DUWSGI_YAML -DUWSGI_SSL -I/usr/include/libxml2 -DUWSGI_XML -DUWSGI_XML_LIBXML2 -DUWSGI_PLUGIN_DIR="\".\"" -DUWSGI_DECLARE_EMBEDDED_PLUGINS="UDEP(python);UDEP(gevent);UDEP(ping);UDEP(cache);UDEP(nagios);UDEP(rrdtool);UDEP(carbon);UDEP(rpc);UDEP(corerouter);UDEP(fastrouter);UDEP(http);UDEP(ugreen);UDEP(signal);UDEP(syslog);UDEP(rsyslog);UDEP(logsocket);UDEP(router_uwsgi);UDEP(router_redirect);UDEP(router_basicauth);UDEP(zergpool);UDEP(redislog);UDEP(mongodblog);UDEP(router_rewrite);UDEP(router_http);UDEP(logfile);UDEP(router_cache);UDEP(rawrouter);UDEP(router_static);UDEP(sslrouter);UDEP(spooler);UDEP(cheaper_busyness);UDEP(symcall);UDEP(transformation_tofile);UDEP(transformation_gzip);UDEP(transformation_chunked);UDEP(transformation_offload);UDEP(router_memcached);UDEP(router_redis);UDEP(router_hash);UDEP(router_expires);UDEP(router_metrics);UDEP(transformation_template);UDEP(stats_pusher_socket);" -DUWSGI_LOAD_EMBEDDED_PLUGINS="ULEP(python);ULEP(gevent);ULEP(ping);ULEP(cache);ULEP(nagios);ULEP(rrdtool);ULEP(carbon);ULEP(rpc);ULEP(corerouter);ULEP(fastrouter);ULEP(http);ULEP(ugreen);ULEP(signal);ULEP(syslog);ULEP(rsyslog);ULEP(logsocket);ULEP(router_uwsgi);ULEP(router_redirect);ULEP(router_basicauth);ULEP(zergpool);ULEP(redislog);ULEP(mongodblog);ULEP(router_rewrite);ULEP(router_http);ULEP(logfile);ULEP(router_cache);ULEP(rawrouter);ULEP(router_static);ULEP(sslrouter);ULEP(spooler);ULEP(cheaper_busyness);ULEP(symcall);ULEP(transformation_tofile);ULEP(transformation_gzip);ULEP(transformation_chunked);ULEP(transformation_offload);ULEP(router_memcached);ULEP(router_redis);ULEP(router_hash);ULEP(router_expires);ULEP(router_metrics);ULEP(transformation_template);ULEP(stats_pusher_socket);"

           *** uWSGI compiling server core ***

           [thread 1][gcc -pthread] core/utils.o

           [thread 0][gcc -pthread] core/protocol.o

           [thread 0][gcc -pthread] core/socket.o

           [thread 0][gcc -pthread] core/logging.o

           [thread 1][gcc -pthread] core/master.o

           [thread 1][gcc -pthread] core/master_utils.o

           [thread 0][gcc -pthread] core/emperor.o

           [thread 1][gcc -pthread] core/notify.o

           [thread 1][gcc -pthread] core/mule.o

           [thread 0][gcc -pthread] core/subscription.o

           [thread 1][gcc -pthread] core/stats.o

           [thread 0][gcc -pthread] core/sendfile.o

           [thread 1][gcc -pthread] core/async.o

           [thread 0][gcc -pthread] core/master_checks.o

           [thread 1][gcc -pthread] core/fifo.o

           [thread 0][gcc -pthread] core/offload.o

           [thread 1][gcc -pthread] core/io.o

           [thread 0][gcc -pthread] core/static.o

           [thread 0][gcc -pthread] core/websockets.o

           [thread 1][gcc -pthread] core/spooler.o

           [thread 0][gcc -pthread] core/snmp.o

           [thread 1][gcc -pthread] core/exceptions.o

           [thread 0][gcc -pthread] core/config.o

           [thread 1][gcc -pthread] core/setup_utils.o

           [thread 0][gcc -pthread] core/clock.o

           [thread 1][gcc -pthread] core/init.o

           [thread 0][gcc -pthread] core/buffer.o

           [thread 1][gcc -pthread] core/reader.o

           [thread 0][gcc -pthread] core/writer.o

           [thread 1][gcc -pthread] core/alarm.o

           [thread 0][gcc -pthread] core/cron.o

           [thread 1][gcc -pthread] core/hooks.o

           [thread 0][gcc -pthread] core/plugins.o

           [thread 1][gcc -pthread] core/lock.o

           [thread 0][gcc -pthread] core/cache.o

           [thread 1][gcc -pthread] core/daemons.o

           [thread 1][gcc -pthread] core/errors.o

           [thread 0][gcc -pthread] core/hash.o

           [thread 1][gcc -pthread] core/master_events.o

           core/hash.c: In function ‘murmur2_hash’:

           core/hash.c:44:13: warning: this statement may fall through [-Wimplicit-fallthrough=]

                      h ^= key[2] << 16;

                      ~~^~~~~~~~~~~~~~~

           core/hash.c:45:7: note: here

                  case 2:

                  ^~~~

           core/hash.c:46:13: warning: this statement may fall through [-Wimplicit-fallthrough=]

                      h ^= key[1] << 8;

                      ~~^~~~~~~~~~~~~~

           core/hash.c:47:7: note: here

                  case 1:

                  ^~~~

           [thread 0][gcc -pthread] core/chunked.o

           [thread 1][gcc -pthread] core/queue.o

           [thread 0][gcc -pthread] core/event.o

           [thread 1][gcc -pthread] core/signal.o

           [thread 0][gcc -pthread] core/strings.o

           [thread 1][gcc -pthread] core/progress.o

           [thread 0][gcc -pthread] core/timebomb.o

           [thread 1][gcc -pthread] core/ini.o

           [thread 0][gcc -pthread] core/fsmon.o

           [thread 1][gcc -pthread] core/mount.o

           [thread 0][gcc -pthread] core/metrics.o

           [thread 1][gcc -pthread] core/plugins_builder.o

           [thread 1][gcc -pthread] core/sharedarea.o

           [thread 0][gcc -pthread] core/rpc.o

           [thread 1][gcc -pthread] core/gateway.o

           [thread 0][gcc -pthread] core/loop.o

           [thread 1][gcc -pthread] core/cookie.o

           [thread 0][gcc -pthread] core/querystring.o

           [thread 1][gcc -pthread] core/rb_timers.o

           [thread 0][gcc -pthread] core/transformations.o

           [thread 1][gcc -pthread] core/uwsgi.o

           [thread 0][gcc -pthread] proto/base.o

           [thread 0][gcc -pthread] proto/uwsgi.o

           [thread 0][gcc -pthread] proto/http.o

           [thread 0][gcc -pthread] proto/fastcgi.o

           [thread 0][gcc -pthread] proto/scgi.o

           [thread 1][gcc -pthread] proto/puwsgi.o

           [thread 0][gcc -pthread] lib/linux_ns.o

           [thread 1][gcc -pthread] core/zlib.o

           [thread 0][gcc -pthread] core/regexp.o

           [thread 1][gcc -pthread] core/routing.o

           core/routing.c: In function ‘uwsgi_route_condition_ipv6in’:

           core/routing.c:1795:18: warning: this statement may fall through [-Wimplicit-fallthrough=]

             case 0: mask[0] = 0;

                     ~~~~~~~~^~~

           core/routing.c:1796:2: note: here

             case 1: mask[1] = 0;

             ^~~~

           core/routing.c:1796:18: warning: this statement may fall through [-Wimplicit-fallthrough=]

             case 1: mask[1] = 0;

                     ~~~~~~~~^~~

           core/routing.c:1797:2: note: here

             case 2: mask[2] = 0;

             ^~~~

           core/routing.c:1797:18: warning: this statement may fall through [-Wimplicit-fallthrough=]

             case 2: mask[2] = 0;

                     ~~~~~~~~^~~

           core/routing.c:1798:2: note: here

             case 3: mask[3] = 0;

             ^~~~

           [thread 0][gcc -pthread] core/yaml.o

           [thread 0][gcc -pthread] core/ssl.o

           core/ssl.c: In function ‘uwsgi_ssl_init’:

           core/ssl.c:17:9: warning: ‘OPENSSL_config’ is deprecated [-Wdeprecated-declarations]

                    OPENSSL_config(NULL);

                    ^~~~~~~~~~~~~~

           In file included from /usr/include/openssl/crypto.h:32:0,

                            from /usr/include/openssl/bio.h:20,

                            from /usr/include/openssl/conf.h:13,

                            from ./uwsgi.h:356,

                            from core/ssl.c:1:

           /usr/include/openssl/conf.h:92:1: note: declared here

            DEPRECATEDIN_1_1_0(void OPENSSL_config(const char *config_name))

            ^

           core/ssl.c: In function ‘uwsgi_ssl_info_cb’:

           core/ssl.c:26:24: error: dereferencing pointer to incomplete type ‘SSL {aka const struct ssl_st}’

                            if (ssl->s3) {

                                   ^~

           core/ssl.c: In function ‘uwsgi_ssl_session_new_cb’:

           core/ssl.c:62:69: error: dereferencing pointer to incomplete type ‘SSL_SESSION {aka struct ssl_session_st}’

                    if (uwsgi_cache_set2(uwsgi.ssl_sessions_cache, (char *) sess->session_id, sess->session_id_length, session_blob, len, uwsgi.ssl_sessions_timeout, 0)) {

                                                                                ^~

           core/ssl.c: In function ‘uwsgi_ssl_new_server_context’:

           core/ssl.c:408:46: warning: passing argument 2 of ‘SSL_CTX_sess_set_get_cb’ from incompatible pointer type [-Wincompatible-pointer-types]

                            SSL_CTX_sess_set_get_cb(ctx, uwsgi_ssl_session_get_cb);

                                                         ^~~~~~~~~~~~~~~~~~~~~~~~

           In file included from ./uwsgi.h:357:0,

                            from core/ssl.c:1:

           /usr/include/openssl/ssl.h:639:6: note: expected ‘SSL_SESSION * (*)(struct ssl_st *, const unsigned char *, int,  int *) {aka struct ssl_session_st * (*)(struct ssl_st *, const unsigned char *, int,  int *)}’ but argument is of type ‘SSL_SESSION * (*)(SSL *, unsigned char *, int,  int *) {aka struct ssl_session_st * (*)(struct ssl_st *, unsigned char *, int,  int *)}’

            void SSL_CTX_sess_set_get_cb(SSL_CTX *ctx,

                 ^~~~~~~~~~~~~~~~~~~~~~~

           ----------------------------------------

       Command "/app/.heroku/python/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-39siy9m0/uwsgi/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-1qy7891x-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-39siy9m0/uwsgi/

 !     Push rejected, failed to compile Python app.

 !     Push failed
gasman commented 6 years ago

Thanks for the report @hammygoonan! Fixed (by upgrading wsgi) in fa0610fa9fdfb2acbcd60b999a0eea027d41a345.