Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install Flapjack API on MacBooks with ARM architecture (M1 processor line) #58

Open
CarolusVitalis opened this issue Nov 6, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@CarolusVitalis
Copy link

Bug Description
When executing the docker-compose build command the operation cannot be completed displaying the following error:

executor failed running [/bin/sh -c pip install -r requirements.txt]: exit code: 1
ERROR: Service 'flapjack_api' failed to build : Build failed
Clic to view the complete log
=> ERROR [6/7] RUN pip install -r requirements.txt                                                                        189.4s
------
> [6/7] RUN pip install -r requirements.txt:
#10 0.978 Collecting git+https://github.com/ibis-inria/wellFARE.git (from -r requirements.txt (line 18))
#10 0.979   Cloning https://github.com/ibis-inria/wellFARE.git to /tmp/pip-req-build-6ru2a95b
#10 0.979   Running command git clone -q https://github.com/ibis-inria/wellFARE.git /tmp/pip-req-build-6ru2a95b
#10 2.515   Resolved https://github.com/ibis-inria/wellFARE.git to commit 59b6125b113a0772d64dcd23ba7d977314acbb67
#10 3.031 Collecting django==3.0.5
#10 3.138   Downloading Django-3.0.5-py3-none-any.whl (7.5 MB)
#10 3.457 Collecting psycopg2==2.8.6
#10 3.481   Downloading psycopg2-2.8.6.tar.gz (383 kB)
#10 3.700 Collecting django-cors-headers==3.2.1
#10 3.717   Downloading django_cors_headers-3.2.1-py3-none-any.whl (14 kB)
#10 3.770 Collecting djangorestframework>=3.11.0
#10 3.793   Downloading djangorestframework-3.12.4-py3-none-any.whl (957 kB)
#10 3.849 Collecting django-filter>=2.2.0
#10 3.877   Downloading django_filter-21.1-py3-none-any.whl (81 kB)
#10 4.039 Collecting djangorestframework-filters==1.0.0.dev0
#10 4.164   Downloading djangorestframework_filters-1.0.0.dev0-py3-none-any.whl (18 kB)
#10 4.218 Collecting djangorestframework-simplejwt==4.6.0
#10 4.244   Downloading djangorestframework_simplejwt-4.6.0-py3-none-any.whl (55 kB)
#10 4.307 Collecting pylint>=2.5.2
#10 4.328   Downloading pylint-2.11.1-py3-none-any.whl (392 kB)
#10 4.380 Collecting pylint-django>=2.0.15
#10 4.401   Downloading pylint_django-2.4.4-py3-none-any.whl (78 kB)
#10 4.598 Collecting channels==3
#10 4.620   Downloading channels-3.0.0-py3-none-any.whl (38 kB)
#10 4.649 Collecting channels-redis
#10 4.668   Downloading channels_redis-3.3.1-py3-none-any.whl (20 kB)
#10 4.721 Collecting asgiref==3.3.4
#10 4.738   Downloading asgiref-3.3.4-py3-none-any.whl (22 kB)
#10 4.985 Collecting numpy
#10 5.002   Downloading numpy-1.21.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (13.0 MB)
#10 5.397 Collecting scipy
#10 7.100   Downloading scipy-1.7.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (27.3 MB)
#10 7.975 Collecting pandas
#10 7.991   Downloading pandas-1.3.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (10.7 MB)
#10 8.288 Collecting plotly==4.8.0
#10 8.306   Downloading plotly-4.8.0-py2.py3-none-any.whl (11.5 MB)
#10 8.724 Collecting matplotlib
#10 9.455   Downloading matplotlib-3.4.3-cp37-cp37m-manylinux2014_aarch64.whl (9.0 MB)
#10 10.07 Collecting cvxopt
#10 10.79   Downloading cvxopt-1.2.7.tar.gz (4.1 MB)
#10 11.54 Collecting django-pandas
#10 11.57   Downloading django_pandas-0.6.6-py3-none-any.whl (21 kB)
#10 11.62 Collecting decorator
#10 11.63   Downloading decorator-5.1.0-py3-none-any.whl (9.1 kB)
#10 11.68 Collecting cycler==0.10.0
#10 11.73   Downloading cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
#10 11.77 Collecting django-extensions==2.1.3
#10 11.81   Downloading django_extensions-2.1.3-py2.py3-none-any.whl (216 kB)
#10 11.84 Collecting et-xmlfile==1.0.1
#10 11.87   Downloading et_xmlfile-1.0.1.tar.gz (8.4 kB)
#10 12.01 Collecting jdcal==1.4
#10 12.03   Downloading jdcal-1.4-py2.py3-none-any.whl (9.5 kB)
#10 12.07 Collecting Jinja2==2.10
#10 12.09   Downloading Jinja2-2.10-py2.py3-none-any.whl (126 kB)
#10 12.14 Collecting kiwisolver==1.0.1
#10 12.17   Downloading kiwisolver-1.0.1.tar.gz (31 kB)
#10 12.32 Collecting MarkupSafe==1.1.0
#10 12.34   Downloading MarkupSafe-1.1.0.tar.gz (18 kB)
#10 12.48 Collecting openpyxl==3.0.4
#10 12.50   Downloading openpyxl-3.0.4-py2.py3-none-any.whl (241 kB)
#10 12.72 Collecting Pillow==6.2.0
#10 12.74   Downloading Pillow-6.2.0.tar.gz (37.4 MB)
#10 14.38 Collecting pyparsing==2.3.0
#10 14.55   Downloading pyparsing-2.3.0-py2.py3-none-any.whl (59 kB)
#10 14.60 Collecting python-dateutil==2.7.5
#10 14.82   Downloading python_dateutil-2.7.5-py2.py3-none-any.whl (225 kB)
#10 14.94 Collecting pytz==2018.5
#10 14.96   Downloading pytz-2018.5-py2.py3-none-any.whl (510 kB)
#10 15.01 Collecting six==1.12.0
#10 15.02   Downloading six-1.12.0-py2.py3-none-any.whl (10 kB)
#10 15.08 Collecting statsmodels==0.10.2
#10 15.80   Downloading statsmodels-0.10.2.tar.gz (14.1 MB)
#10 19.28 Collecting ipython==7.11.1
#10 19.32   Downloading ipython-7.11.1-py3-none-any.whl (777 kB)
#10 19.51 Collecting httptools
#10 19.53   Downloading httptools-0.3.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (393 kB)
#10 19.75 Collecting uvloop
#10 20.11   Downloading uvloop-0.16.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.1 MB)
#10 20.36 Collecting uvicorn[standard]
#10 20.39   Downloading uvicorn-0.15.0-py3-none-any.whl (54 kB)
#10 20.57 Collecting gunicorn
#10 20.58   Downloading gunicorn-20.1.0-py3-none-any.whl (79 kB)
#10 20.77 Collecting daphne
#10 20.79   Downloading daphne-3.0.2-py3-none-any.whl (26 kB)
#10 20.85 Collecting twisted==20.3.0
#10 20.88   Downloading Twisted-20.3.0.tar.bz2 (3.1 MB)
#10 22.89 Collecting sqlparse>=0.2.2
#10 22.91   Downloading sqlparse-0.4.2-py3-none-any.whl (42 kB)
#10 22.99 Collecting pyjwt
#10 23.01   Downloading PyJWT-2.3.0-py3-none-any.whl (16 kB)
#10 23.06 Collecting typing-extensions
#10 23.07   Downloading typing_extensions-3.10.0.2-py3-none-any.whl (26 kB)
#10 23.11 Collecting retrying>=1.3.3
#10 23.13   Downloading retrying-1.3.3.tar.gz (10 kB)
#10 23.24 Requirement already satisfied: setuptools in /usr/local/lib/python3.7/site-packages (from kiwisolver==1.0.1->-r requirements.txt (line 27)) (57.5.0)
#10 23.45 Collecting patsy>=0.4.0
#10 23.49   Downloading patsy-0.5.2-py2.py3-none-any.whl (233 kB)
#10 23.69 Collecting jedi>=0.10
#10 23.72   Downloading jedi-0.18.0-py2.py3-none-any.whl (1.4 MB)
#10 23.94 Collecting traitlets>=4.2
#10 23.96   Downloading traitlets-5.1.1-py3-none-any.whl (102 kB)
#10 24.19 Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0
#10 24.21   Downloading prompt_toolkit-3.0.22-py3-none-any.whl (374 kB)
#10 24.38 Collecting pickleshare
#10 24.40   Downloading pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
#10 24.43 Collecting pexpect
#10 24.45   Downloading pexpect-4.8.0-py2.py3-none-any.whl (59 kB)
#10 24.50 Collecting pygments
#10 24.51   Downloading Pygments-2.10.0-py3-none-any.whl (1.0 MB)
#10 24.58 Collecting backcall
#10 24.59   Downloading backcall-0.2.0-py2.py3-none-any.whl (11 kB)
#10 24.74 Collecting zope.interface>=4.4.2
#10 24.76   Downloading zope.interface-5.4.0-cp37-cp37m-manylinux2014_aarch64.whl (252 kB)
#10 24.79 Collecting constantly>=15.1
#10 24.81   Downloading constantly-15.1.0-py2.py3-none-any.whl (7.9 kB)
#10 24.85 Collecting incremental>=16.10.1
#10 24.85   Using cached incremental-21.3.0-py2.py3-none-any.whl (15 kB)
#10 24.87 Collecting Automat>=0.3.0
#10 24.89   Downloading Automat-20.2.0-py2.py3-none-any.whl (31 kB)
#10 25.06 Collecting hyperlink>=17.1.1
#10 25.08   Downloading hyperlink-21.0.0-py2.py3-none-any.whl (74 kB)
#10 25.27 Collecting PyHamcrest!=1.10.0,>=1.9.0
#10 25.29   Downloading PyHamcrest-2.0.2-py3-none-any.whl (52 kB)
#10 25.34 Collecting attrs>=19.2.0
#10 25.36   Downloading attrs-21.2.0-py2.py3-none-any.whl (53 kB)
#10 25.40 Collecting platformdirs>=2.2.0
#10 25.42   Downloading platformdirs-2.4.0-py3-none-any.whl (14 kB)
#10 25.48 Collecting isort<6,>=4.2.5
#10 25.50   Downloading isort-5.10.0-py3-none-any.whl (103 kB)
#10 25.55 Collecting astroid<2.9,>=2.8.0
#10 25.57   Downloading astroid-2.8.4-py3-none-any.whl (246 kB)
#10 25.61 Collecting mccabe<0.7,>=0.6
#10 25.62   Downloading mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB)
#10 25.67 Collecting toml>=0.7.1
#10 25.69   Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
#10 25.76 Collecting pylint-plugin-utils>=0.5
#10 25.78   Downloading pylint_plugin_utils-0.6-py3-none-any.whl (10 kB)
#10 26.01 Collecting msgpack~=1.0
#10 26.03   Downloading msgpack-1.0.2-cp37-cp37m-manylinux2014_aarch64.whl (296 kB)
#10 26.08 Collecting aioredis~=1.0
#10 26.10   Downloading aioredis-1.3.1-py3-none-any.whl (65 kB)
#10 26.26 Collecting docopt>=0.6.1
#10 26.28   Downloading docopt-0.6.2.tar.gz (25 kB)
#10 26.42 Collecting xlrd>=0.9.2
#10 26.44   Downloading xlrd-2.0.1-py2.py3-none-any.whl (96 kB)
#10 26.46 Collecting django-pandas
#10 26.48   Downloading django_pandas-0.6.5-py3-none-any.whl (20 kB)
#10 26.66   Downloading django_pandas-0.6.4-py3-none-any.whl (21 kB)
#10 26.70   Downloading django_pandas-0.6.2-py2.py3-none-any.whl (21 kB)
#10 26.92 Collecting h11>=0.8
#10 26.94   Downloading h11-0.12.0-py3-none-any.whl (54 kB)
#10 26.98 Collecting click>=7.0
#10 27.00   Downloading click-8.0.3-py3-none-any.whl (97 kB)
#10 27.01 Collecting uvicorn[standard]
#10 27.03   Downloading uvicorn-0.14.0-py3-none-any.whl (50 kB)
#10 27.08 Collecting python-dotenv>=0.13
#10 27.10   Downloading python_dotenv-0.19.1-py2.py3-none-any.whl (17 kB)
#10 27.26 Collecting watchgod>=0.6
#10 27.28   Downloading watchgod-0.7-py3-none-any.whl (11 kB)
#10 27.49 Collecting websockets>=9.1
#10 27.52   Downloading websockets-10.0-cp37-cp37m-manylinux2014_aarch64.whl (108 kB)
#10 27.59 Collecting PyYAML>=5.1
#10 27.77   Downloading PyYAML-6.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (656 kB)
#10 27.79 Collecting httptools
#10 27.81   Downloading httptools-0.2.0.tar.gz (169 kB)
#10 27.97 Collecting twisted[tls]>=18.7
#10 28.00   Downloading Twisted-21.7.0-py3-none-any.whl (3.1 MB)
#10 28.20 Collecting autobahn>=0.18
#10 28.22   Downloading autobahn-21.3.1-py2.py3-none-any.whl (495 kB)
#10 28.40 Collecting async-timeout
#10 28.42   Downloading async_timeout-4.0.0-py3-none-any.whl (6.1 kB)
#10 28.63 Collecting hiredis
#10 28.65   Downloading hiredis-2.0.0-cp37-cp37m-manylinux2014_aarch64.whl (86 kB)
#10 28.73 Collecting typed-ast<1.5,>=1.4.0
#10 28.79   Downloading typed_ast-1.4.3-cp37-cp37m-manylinux2014_aarch64.whl (843 kB)
#10 28.87 Collecting lazy-object-proxy>=1.4.0
#10 28.89   Downloading lazy_object_proxy-1.6.0-cp37-cp37m-manylinux2014_aarch64.whl (62 kB)
#10 29.00 Collecting wrapt<1.14,>=1.11
#10 29.02   Downloading wrapt-1.13.3.tar.gz (48 kB)
#10 29.39 Collecting cryptography>=3.4.6
#10 31.53   Downloading cryptography-35.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl (3.2 MB)
#10 31.67 Collecting txaio>=21.2.1
#10 31.88   Downloading txaio-21.2.1-py2.py3-none-any.whl (30 kB)
#10 31.99 Collecting importlib-metadata
#10 32.02   Downloading importlib_metadata-4.8.1-py3-none-any.whl (17 kB)
#10 32.22 Collecting cffi>=1.12
#10 32.25   Downloading cffi-1.15.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (434 kB)
#10 32.32 Collecting pycparser
#10 32.34   Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)
#10 32.39 Collecting idna>=2.5
#10 32.55   Downloading idna-3.3-py3-none-any.whl (61 kB)
#10 32.90 Collecting parso<0.9.0,>=0.8.0
#10 32.93   Downloading parso-0.8.2-py2.py3-none-any.whl (94 kB)
#10 33.14 Collecting wcwidth
#10 33.17   Downloading wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
#10 33.31 Collecting twisted[tls]>=18.7
#10 33.32   Downloading Twisted-21.2.0-py3-none-any.whl (3.1 MB)
#10 33.51 Collecting pyopenssl>=16.0.0
#10 33.53   Downloading pyOpenSSL-21.0.0-py2.py3-none-any.whl (55 kB)
#10 33.56 Collecting service_identity>=18.1.0
#10 33.58   Downloading service_identity-21.1.0-py2.py3-none-any.whl (12 kB)
#10 33.65 Collecting pyasn1-modules
#10 33.67   Downloading pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
#10 33.73 Collecting pyasn1
#10 33.75   Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
#10 33.87 Collecting zipp>=0.5
#10 33.89   Downloading zipp-3.6.0-py3-none-any.whl (5.3 kB)
#10 33.94 Collecting ptyprocess>=0.5
#10 33.96   Downloading ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
#10 34.06 Building wheels for collected packages: psycopg2, et-xmlfile, kiwisolver, MarkupSafe, Pillow, statsmodels, twisted, wellfare, cvxopt, httptools, docopt, retrying, wrapt
#10 34.06   Building wheel for psycopg2 (setup.py): started
#10 38.00   Building wheel for psycopg2 (setup.py): finished with status 'done'
#10 38.00   Created wheel for psycopg2: filename=psycopg2-2.8.6-cp37-cp37m-linux_aarch64.whl size=417240 sha256=7eb153c0121d8eff3df1bde8fef494ef1405175ec38105070cab0431977b0a17
#10 38.00   Stored in directory: /root/.cache/pip/wheels/25/78/75/9c0323f7e1fb42143cbd2439302beb7850a1034abb961cb281
#10 38.00   Building wheel for et-xmlfile (setup.py): started
#10 38.12   Building wheel for et-xmlfile (setup.py): finished with status 'done'
#10 38.12   Created wheel for et-xmlfile: filename=et_xmlfile-1.0.1-py3-none-any.whl size=8915 sha256=b29bb78708aa13e9dece10e8e04883a9c16b442d59200bda10592367e198b296
#10 38.12   Stored in directory: /root/.cache/pip/wheels/e2/bd/55/048b4fd505716c4c298f42ee02dffd9496bb6d212b266c7f31
#10 38.12   Building wheel for kiwisolver (setup.py): started
#10 46.25   Building wheel for kiwisolver (setup.py): finished with status 'done'
#10 46.25   Created wheel for kiwisolver: filename=kiwisolver-1.0.1-cp37-cp37m-linux_aarch64.whl size=1300827 sha256=9c113c956bf7a4cdad0d65e32f1a4bb646c1427695b6cd19a18f0343af72710f
#10 46.25   Stored in directory: /root/.cache/pip/wheels/2c/39/20/59307a121a35d27937c48f97e91188045c214e7afc9851b13e
#10 46.26   Building wheel for MarkupSafe (setup.py): started
#10 46.52   Building wheel for MarkupSafe (setup.py): finished with status 'done'
#10 46.52   Created wheel for MarkupSafe: filename=MarkupSafe-1.1.0-cp37-cp37m-linux_aarch64.whl size=28558 sha256=ad4c2fea5742ecee2c8a8c5a5753094f8ebb21e3c660554782109b0b736e9688
#10 46.52   Stored in directory: /root/.cache/pip/wheels/64/90/b9/a303a6b62927d0bbecdf0caebfd2f69937feea09329fdd7ba5
#10 46.52   Building wheel for Pillow (setup.py): started
#10 56.26   Building wheel for Pillow (setup.py): finished with status 'done'
#10 56.27   Created wheel for Pillow: filename=Pillow-6.2.0-cp37-cp37m-linux_aarch64.whl size=1209573 sha256=87c9a56d5bf41990fd0dbe68b0fe84ff1725380adebba266137bc94da1b9595f
#10 56.27   Stored in directory: /root/.cache/pip/wheels/62/8c/97/a81833f6e8c680ff5678130e697a72384aa1827f9e41b7543b
#10 56.27   Building wheel for statsmodels (setup.py): started
#10 162.4   Building wheel for statsmodels (setup.py): still running...
#10 164.4   Building wheel for statsmodels (setup.py): finished with status 'done'
#10 164.4   Created wheel for statsmodels: filename=statsmodels-0.10.2-cp37-cp37m-linux_aarch64.whl size=17813917 sha256=6aa2848a560cb9be0e329e85530e189663ec34b396d81c0f3cc38f44a1860aea
#10 164.4   Stored in directory: /root/.cache/pip/wheels/8a/b8/50/263423d93938b718f55772cf1a9159c02d9ce56b12457a8221
#10 164.4   Building wheel for twisted (setup.py): started
#10 165.6   Building wheel for twisted (setup.py): finished with status 'done'
#10 165.6   Created wheel for twisted: filename=Twisted-20.3.0-cp37-cp37m-linux_aarch64.whl size=3081435 sha256=12127501955d1fd53d9dbc10959035ffe46b6274bb24ca3283fdecbdf651748c
#10 165.6   Stored in directory: /root/.cache/pip/wheels/de/75/c2/01f1e7a1ad37cb86d120f96cb1517d44627f2051de343a6080
#10 165.6   Building wheel for wellfare (setup.py): started
#10 165.7   Building wheel for wellfare (setup.py): finished with status 'done'
#10 165.7   Created wheel for wellfare: filename=wellfare-0.1.0-py3-none-any.whl size=37517 sha256=c15a99d48db8e6a472e88656fa46034c1a174d58e92fe6f89c235799cbda5424
#10 165.7   Stored in directory: /tmp/pip-ephem-wheel-cache-3vpe6une/wheels/74/53/d1/5662fd39b8a1c59129c4086721ecbece82dc240e8c712a784f
#10 165.7   Building wheel for cvxopt (setup.py): started
#10 168.7   Building wheel for cvxopt (setup.py): finished with status 'error'
#10 168.7   ERROR: Command errored out with exit status 1:
#10 168.7    command: /usr/local/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vd8leb6v/cvxopt_0f50f24e878546d189bba72a1d30cbaa/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vd8leb6v/cvxopt_0f50f24e878546d189bba72a1d30cbaa/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-rd2nfyzc
#10 168.7        cwd: /tmp/pip-install-vd8leb6v/cvxopt_0f50f24e878546d189bba72a1d30cbaa/
#10 168.7   Complete output (35 lines):
#10 168.7   running bdist_wheel
#10 168.7   running build
#10 168.7   running build_py
#10 168.7   creating build
#10 168.7   creating build/lib.linux-aarch64-3.7
#10 168.7   creating build/lib.linux-aarch64-3.7/cvxopt
#10 168.7   copying src/python/__init__.py -> build/lib.linux-aarch64-3.7/cvxopt
#10 168.7   copying src/python/printing.py -> build/lib.linux-aarch64-3.7/cvxopt
#10 168.7   copying src/python/modeling.py -> build/lib.linux-aarch64-3.7/cvxopt
#10 168.7   copying src/python/misc.py -> build/lib.linux-aarch64-3.7/cvxopt
#10 168.7   copying src/python/msk.py -> build/lib.linux-aarch64-3.7/cvxopt
#10 168.7   copying src/python/_version.py -> build/lib.linux-aarch64-3.7/cvxopt
#10 168.7   copying src/python/cvxprog.py -> build/lib.linux-aarch64-3.7/cvxopt
#10 168.7   copying src/python/solvers.py -> build/lib.linux-aarch64-3.7/cvxopt
#10 168.7   copying src/python/info.py -> build/lib.linux-aarch64-3.7/cvxopt
#10 168.7   copying src/python/coneprog.py -> build/lib.linux-aarch64-3.7/cvxopt
#10 168.7   UPDATING build/lib.linux-aarch64-3.7/cvxopt/_version.py
#10 168.7   set build/lib.linux-aarch64-3.7/cvxopt/_version.py to '1.2.7'
#10 168.7   running build_ext
#10 168.7   building 'base' extension
#10 168.7   creating build/temp.linux-aarch64-3.7
#10 168.7   creating build/temp.linux-aarch64-3.7/src
#10 168.7   creating build/temp.linux-aarch64-3.7/src/C
#10 168.7   gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.7m -c src/C/base.c -o build/temp.linux-aarch64-3.7/src/C/base.o
#10 168.7   gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.7m -c src/C/dense.c -o build/temp.linux-aarch64-3.7/src/C/dense.o
#10 168.7   src/C/dense.c: In function ‘Matrix_NewFromPyBuffer’:
#10 168.7   src/C/dense.c:277:28: warning: ‘n.d’ may be used uninitialized in this function [-Wmaybe-uninitialized]
#10 168.7     277 |        MAT_BUFD(a)[cnt] = n.d;
#10 168.7         |                           ~^~
#10 168.7   gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.7m -c src/C/sparse.c -o build/temp.linux-aarch64-3.7/src/C/sparse.o
#10 168.7   gcc -pthread -shared build/temp.linux-aarch64-3.7/src/C/base.o build/temp.linux-aarch64-3.7/src/C/dense.o build/temp.linux-aarch64-3.7/src/C/sparse.o -L/usr/lib -L/usr/local/lib -lm -llapack -lblas -lpython3.7m -o build/lib.linux-aarch64-3.7/cvxopt/base.cpython-37m-aarch64-linux-gnu.so
#10 168.7   /usr/bin/ld: cannot find -llapack
#10 168.7   /usr/bin/ld: cannot find -lblas
#10 168.7   collect2: error: ld returned 1 exit status
#10 168.7   error: command 'gcc' failed with exit status 1
#10 168.7   ----------------------------------------
#10 168.7   ERROR: Failed building wheel for cvxopt
#10 168.7   Running setup.py clean for cvxopt
#10 168.8   Building wheel for httptools (setup.py): started
#10 171.2   Building wheel for httptools (setup.py): finished with status 'done'
#10 171.2   Created wheel for httptools: filename=httptools-0.2.0-cp37-cp37m-linux_aarch64.whl size=392592 sha256=75e1ccc906b49627bb5b333ad4efa0df25a0316532c4331ae0ddec9444136b8b
#10 171.2   Stored in directory: /root/.cache/pip/wheels/30/f8/f1/f5020b8dd698b4b7e3f4b31938f42651f7bf1195b274d5f895
#10 171.2   Building wheel for docopt (setup.py): started
#10 171.3   Building wheel for docopt (setup.py): finished with status 'done'
#10 171.3   Created wheel for docopt: filename=docopt-0.6.2-py2.py3-none-any.whl size=13724 sha256=0718737d0d8d3ad551bc4d0fcbb35b9fe842a3a46e4eeb64c45b6dcfcf18cc4f
#10 171.3   Stored in directory: /root/.cache/pip/wheels/72/b0/3f/1d95f96ff986c7dfffe46ce2be4062f38ebd04b506c77c81b9
#10 171.3   Building wheel for retrying (setup.py): started
#10 171.4   Building wheel for retrying (setup.py): finished with status 'done'
#10 171.4   Created wheel for retrying: filename=retrying-1.3.3-py3-none-any.whl size=11448 sha256=98efe6c8cecd5cdf15f89c7425faaa12913013fa7f96ce78e73d790a375627ab
#10 171.4   Stored in directory: /root/.cache/pip/wheels/f9/8d/8d/f6af3f7f9eea3553bc2fe6d53e4b287dad18b06a861ac56ddf
#10 171.4   Building wheel for wrapt (setup.py): started
#10 171.9   Building wheel for wrapt (setup.py): finished with status 'done'
#10 171.9   Created wheel for wrapt: filename=wrapt-1.13.3-cp37-cp37m-linux_aarch64.whl size=72836 sha256=9f843f06e67c223add90ce9bf8a27297c070ba95dc37fc8a04aad61135b6d1ae
#10 171.9   Stored in directory: /root/.cache/pip/wheels/4c/35/0a/a89117eb01ea0b69904aad48bfec3c8d01d018f0f0defd1259
#10 171.9 Successfully built psycopg2 et-xmlfile kiwisolver MarkupSafe Pillow statsmodels twisted wellfare httptools docopt retrying wrapt
#10 171.9 Failed to build cvxopt
#10 172.3 Installing collected packages: pycparser, six, pyasn1, idna, cffi, attrs, zope.interface, PyHamcrest, pyasn1-modules, incremental, hyperlink, cryptography, constantly, Automat, zipp, wrapt, typing-extensions, typed-ast, txaio, twisted, service-identity, pyopenssl, lazy-object-proxy, toml, sqlparse, pytz, platformdirs, mccabe, isort, importlib-metadata, autobahn, astroid, asgiref, wcwidth, python-dateutil, pylint, ptyprocess, parso, numpy, hiredis, h11, django, daphne, click, async-timeout, xlrd, websockets, watchgod, uvloop, uvicorn, traitlets, scipy, retrying, PyYAML, python-dotenv, pyparsing, pylint-plugin-utils, pyjwt, pygments, prompt-toolkit, Pillow, pickleshare, pexpect, patsy, pandas, msgpack, MarkupSafe, kiwisolver, jedi, jdcal, httptools, et-xmlfile, docopt, djangorestframework, django-filter, decorator, cycler, channels, backcall, aioredis, wellfare, statsmodels, pylint-django, psycopg2, plotly, openpyxl, matplotlib, Jinja2, ipython, gunicorn, djangorestframework-simplejwt, djangorestframework-filters, django-pandas, django-extensions, django-cors-headers, cvxopt, channels-redis
#10 185.6     Running setup.py install for cvxopt: started
#10 188.6     Running setup.py install for cvxopt: finished with status 'error'
#10 188.6     ERROR: Command errored out with exit status 1:
#10 188.6      command: /usr/local/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vd8leb6v/cvxopt_0f50f24e878546d189bba72a1d30cbaa/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vd8leb6v/cvxopt_0f50f24e878546d189bba72a1d30cbaa/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-lzw4ldzt/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7m/cvxopt
#10 188.6          cwd: /tmp/pip-install-vd8leb6v/cvxopt_0f50f24e878546d189bba72a1d30cbaa/
#10 188.6     Complete output (35 lines):
#10 188.6     running install
#10 188.6     running build
#10 188.6     running build_py
#10 188.6     creating build
#10 188.6     creating build/lib.linux-aarch64-3.7
#10 188.6     creating build/lib.linux-aarch64-3.7/cvxopt
#10 188.6     copying src/python/__init__.py -> build/lib.linux-aarch64-3.7/cvxopt
#10 188.6     copying src/python/printing.py -> build/lib.linux-aarch64-3.7/cvxopt
#10 188.6     copying src/python/modeling.py -> build/lib.linux-aarch64-3.7/cvxopt
#10 188.6     copying src/python/misc.py -> build/lib.linux-aarch64-3.7/cvxopt
#10 188.6     copying src/python/msk.py -> build/lib.linux-aarch64-3.7/cvxopt
#10 188.6     copying src/python/_version.py -> build/lib.linux-aarch64-3.7/cvxopt
#10 188.6     copying src/python/cvxprog.py -> build/lib.linux-aarch64-3.7/cvxopt
#10 188.6     copying src/python/solvers.py -> build/lib.linux-aarch64-3.7/cvxopt
#10 188.6     copying src/python/info.py -> build/lib.linux-aarch64-3.7/cvxopt
#10 188.6     copying src/python/coneprog.py -> build/lib.linux-aarch64-3.7/cvxopt
#10 188.6     UPDATING build/lib.linux-aarch64-3.7/cvxopt/_version.py
#10 188.6     set build/lib.linux-aarch64-3.7/cvxopt/_version.py to '1.2.7'
#10 188.6     running build_ext
#10 188.6     building 'base' extension
#10 188.6     creating build/temp.linux-aarch64-3.7
#10 188.6     creating build/temp.linux-aarch64-3.7/src
#10 188.6     creating build/temp.linux-aarch64-3.7/src/C
#10 188.6     gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.7m -c src/C/base.c -o build/temp.linux-aarch64-3.7/src/C/base.o
#10 188.6     gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.7m -c src/C/dense.c -o build/temp.linux-aarch64-3.7/src/C/dense.o
#10 188.6     src/C/dense.c: In function ‘Matrix_NewFromPyBuffer’:
#10 188.6     src/C/dense.c:277:28: warning: ‘n.d’ may be used uninitialized in this function [-Wmaybe-uninitialized]
#10 188.6       277 |        MAT_BUFD(a)[cnt] = n.d;
#10 188.6           |                           ~^~
#10 188.6     gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.7m -c src/C/sparse.c -o build/temp.linux-aarch64-3.7/src/C/sparse.o
#10 188.6     gcc -pthread -shared build/temp.linux-aarch64-3.7/src/C/base.o build/temp.linux-aarch64-3.7/src/C/dense.o build/temp.linux-aarch64-3.7/src/C/sparse.o -L/usr/lib -L/usr/local/lib -lm -llapack -lblas -lpython3.7m -o build/lib.linux-aarch64-3.7/cvxopt/base.cpython-37m-aarch64-linux-gnu.so
#10 188.6     /usr/bin/ld: cannot find -llapack
#10 188.6     /usr/bin/ld: cannot find -lblas
#10 188.6     collect2: error: ld returned 1 exit status
#10 188.6     error: command 'gcc' failed with exit status 1
#10 188.6     ----------------------------------------
#10 188.6 ERROR: Command errored out with exit status 1: /usr/local/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vd8leb6v/cvxopt_0f50f24e878546d189bba72a1d30cbaa/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vd8leb6v/cvxopt_0f50f24e878546d189bba72a1d30cbaa/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-lzw4ldzt/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7m/cvxopt Check the logs for full command output.
#10 188.8 WARNING: You are using pip version 21.2.4; however, version 21.3.1 is available.
#10 188.8 You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
------
executor failed running [/bin/sh -c pip install -r requirements.txt]: exit code: 1
ERROR: Service 'flapjack_api' failed to build : Build failed

To Reproduce
Steps to reproduce the error:

  1. Clone flapjack_api repository
  2. With Docker installed, run the docker-compose build command
  3. After a moment the process will be aborted and the error message will appear.

Device information

  • OS: macOS Monterey (12.0.1) M1 processor
  • Docker Engine: 20.10.8
@CarolusVitalis CarolusVitalis added the bug Something isn't working label Nov 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants