openstate / jodal

Open gov data platform for journalists: all government data — monitor, filter, forward. (FKA jodal)
https://bron.live
7 stars 1 forks source link

Error while running Docker image #128

Closed vanderburgt closed 7 months ago

vanderburgt commented 1 year ago

Describe the bug

Summary When running docker compose the process is interrupted and throws an error (see output below)

URL / Environment MacOS Venture 13.5.2 / Docker 4.23.0

Steps to reproduce**

  1. Clone git repo
  2. cd into folder
  3. Run ./bin/dev.sh
  4. See error

Expected behavior

Application runs locally without interruption

Screenshots

N.A.

Additional context

[+] Building 29.6s (8/8) FINISHED                                                                                                            
 => [backend internal] load build definition from Dockerfile                                                                            0.0s
 => => transferring dockerfile: 190B                                                                                                    0.0s
 => [backend internal] load .dockerignore                                                                                               0.0s
 => => transferring context: 2B                                                                                                         0.0s
 => [backend internal] load metadata for docker.io/library/python:3                                                                     2.4s
 => [backend 1/4] FROM docker.io/library/python:3@sha256:2e376990a11f1c1e03796d08db0e99c36eadb4bb6491372b227f1e53c3482914              19.6s
 => => resolve docker.io/library/python:3@sha256:2e376990a11f1c1e03796d08db0e99c36eadb4bb6491372b227f1e53c3482914                       0.0s
 => => sha256:2e376990a11f1c1e03796d08db0e99c36eadb4bb6491372b227f1e53c3482914 2.14kB / 2.14kB                                          0.0s
 => => sha256:91290b4a059080b4227746016e1a8f32a290271d8712b213834e9296a38bfea9 23.57MB / 23.57MB                                        4.8s
 => => sha256:7d8d278f2f731ceff5e8c6f5010bef6b1bf18c555a80663ca612e3e42d013779 63.99MB / 63.99MB                                        5.1s
 => => sha256:352016567474768c953ae988c0d4048447720405a7dcdcd82969dc991c68d214 2.01kB / 2.01kB                                          0.0s
 => => sha256:3d0c1b982b3e3843446ee1c185e282b8b19641f28c606fc14fcf395e84d7ccf0 7.54kB / 7.54kB                                          0.0s
 => => sha256:796cc43785ac3cd0081892bd48e545a0615415265b60c794fdf81ac95b034213 49.59MB / 49.59MB                                        5.1s
 => => sha256:c1d99d3ae80adac83c22f6fd0e8f9cdef1c9260bff794f7ca8124b639ea154cd 202.42MB / 202.42MB                                     13.7s
 => => sha256:bf433ef057e1d44230faccc25a23369730928fbf6cdb4fc794ef7486864e4fb8 6.47MB / 6.47MB                                          5.7s
 => => extracting sha256:796cc43785ac3cd0081892bd48e545a0615415265b60c794fdf81ac95b034213                                               1.7s
 => => sha256:2afa720bda95c0a4af00ced5d1e1f22d728ab102da7dad888f9089647a061d2a 19.44MB / 19.44MB                                        7.1s
 => => sha256:64d7fcbb730f55a5967c2be2de721eaf032486ad4fc23098c7a0322196063a52 244B / 244B                                              5.9s
 => => sha256:071f40aa8702629111cfcb312852877a54d5b3fdda90ef5f0b3b0cbc9c2bb335 3.11MB / 3.11MB                                          6.4s
 => => extracting sha256:91290b4a059080b4227746016e1a8f32a290271d8712b213834e9296a38bfea9                                               0.4s
 => => extracting sha256:7d8d278f2f731ceff5e8c6f5010bef6b1bf18c555a80663ca612e3e42d013779                                               1.9s
 => => extracting sha256:c1d99d3ae80adac83c22f6fd0e8f9cdef1c9260bff794f7ca8124b639ea154cd                                               4.4s
 => => extracting sha256:bf433ef057e1d44230faccc25a23369730928fbf6cdb4fc794ef7486864e4fb8                                               0.2s
 => => extracting sha256:2afa720bda95c0a4af00ced5d1e1f22d728ab102da7dad888f9089647a061d2a                                               0.4s
 => => extracting sha256:64d7fcbb730f55a5967c2be2de721eaf032486ad4fc23098c7a0322196063a52                                               0.0s
 => => extracting sha256:071f40aa8702629111cfcb312852877a54d5b3fdda90ef5f0b3b0cbc9c2bb335                                               0.2s
 => [backend internal] load build context                                                                                               0.0s
 => => transferring context: 461B                                                                                                       0.0s
 => [backend 2/4] WORKDIR /opt/jodal                                                                                                    0.3s
 => [backend 3/4] COPY requirements.txt ./                                                                                              0.0s
 => ERROR [backend 4/4] RUN pip install --no-cache-dir -r requirements.txt                                                              7.3s
------                                                                                                                                       
 > [backend 4/4] RUN pip install --no-cache-dir -r requirements.txt:                                                                         
0.993 Collecting alembic==1.5.4 (from -r requirements.txt (line 1))                                                                          
1.075   Downloading alembic-1.5.4-py2.py3-none-any.whl (156 kB)                                                                              
1.100      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 156.3/156.3 kB 7.0 MB/s eta 0:00:00                                                       
1.130 Collecting beautifulsoup4==4.6.3 (from -r requirements.txt (line 2))                                                                   
1.147   Downloading beautifulsoup4-4.6.3-py3-none-any.whl (90 kB)
1.151      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.4/90.4 kB 52.7 MB/s eta 0:00:00
1.174 Collecting bleach==3.3.0 (from -r requirements.txt (line 3))
1.187   Downloading bleach-3.3.0-py2.py3-none-any.whl (283 kB)
1.205      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 283.5/283.5 kB 17.4 MB/s eta 0:00:00
1.251 Collecting certifi==2020.12.5 (from -r requirements.txt (line 4))
1.262   Downloading certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
1.269      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 147.5/147.5 kB 30.5 MB/s eta 0:00:00
1.289 Collecting chardet==3.0.4 (from -r requirements.txt (line 5))
1.299   Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
1.304      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 kB 39.1 MB/s eta 0:00:00
1.324 Collecting click==7.1.2 (from -r requirements.txt (line 6))
1.334   Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)
1.339      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.8/82.8 kB 27.5 MB/s eta 0:00:00
1.358 Collecting Deprecated==1.2.11 (from -r requirements.txt (line 7))
1.372   Downloading Deprecated-1.2.11-py2.py3-none-any.whl (9.1 kB)
1.411 Collecting elasticsearch==7.10.1 (from -r requirements.txt (line 8))
1.423   Downloading elasticsearch-7.10.1-py2.py3-none-any.whl (322 kB)
1.436      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 322.1/322.1 kB 29.5 MB/s eta 0:00:00
1.458 Collecting Flask==1.1.2 (from -r requirements.txt (line 9))
1.468   Downloading Flask-1.1.2-py2.py3-none-any.whl (94 kB)
1.473      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.6/94.6 kB 39.7 MB/s eta 0:00:00
1.495 Collecting fusionauth-client==1.23.0 (from -r requirements.txt (line 10))
1.588   Downloading fusionauth_client-1.23.0-py3-none-any.whl (23 kB)
1.606 Collecting html5lib==1.1 (from -r requirements.txt (line 11))
1.617   Downloading html5lib-1.1-py2.py3-none-any.whl (112 kB)
1.623      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.2/112.2 kB 34.0 MB/s eta 0:00:00
1.642 Collecting idna==2.8 (from -r requirements.txt (line 12))
1.651   Downloading idna-2.8-py2.py3-none-any.whl (58 kB)
1.656      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.6/58.6 kB 26.5 MB/s eta 0:00:00
1.672 Collecting itsdangerous==1.1.0 (from -r requirements.txt (line 13))
1.682   Downloading itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)
1.714 Collecting Jinja2==2.11.3 (from -r requirements.txt (line 14))
1.724   Downloading Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
1.730      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.7/125.7 kB 35.2 MB/s eta 0:00:00
1.860 Collecting lxml==4.6.2 (from -r requirements.txt (line 15))
1.873   Downloading lxml-4.6.2.tar.gz (3.2 MB)
1.988      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 28.1 MB/s eta 0:00:00
2.115   Preparing metadata (setup.py): started
2.432   Preparing metadata (setup.py): finished with status 'done'
2.478 Collecting MarkupSafe==1.1.1 (from -r requirements.txt (line 16))
2.490   Downloading MarkupSafe-1.1.1.tar.gz (19 kB)
2.495   Preparing metadata (setup.py): started
2.606   Preparing metadata (setup.py): finished with status 'done'
2.627 Collecting mysqlclient==2.0.3 (from -r requirements.txt (line 17))
2.639   Downloading mysqlclient-2.0.3.tar.gz (88 kB)
2.644      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.9/88.9 kB 23.2 MB/s eta 0:00:00
2.652   Preparing metadata (setup.py): started
2.766   Preparing metadata (setup.py): finished with status 'done'
2.790 Collecting oauthlib==3.1.0 (from -r requirements.txt (line 18))
2.800   Downloading oauthlib-3.1.0-py2.py3-none-any.whl (147 kB)
2.807      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 147.4/147.4 kB 35.8 MB/s eta 0:00:00
2.820 Collecting pkce==1.0.2 (from -r requirements.txt (line 19))
2.999   Downloading pkce-1.0.2-py3-none-any.whl (3.2 kB)
3.051 Collecting PyYAML==5.3.1 (from -r requirements.txt (line 20))
3.182   Downloading PyYAML-5.3.1.tar.gz (269 kB)
3.200      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 269.4/269.4 kB 17.2 MB/s eta 0:00:00
3.262   Preparing metadata (setup.py): started
3.399   Preparing metadata (setup.py): finished with status 'done'
3.574 Collecting requests==2.21.0 (from -r requirements.txt (line 21))
3.712   Downloading requests-2.21.0-py2.py3-none-any.whl (57 kB)
3.717      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.0/58.0 kB 23.3 MB/s eta 0:00:00
3.738 Collecting requests-oauthlib==1.3.0 (from -r requirements.txt (line 22))
3.752   Downloading requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
3.787 Collecting urllib3==1.24.3 (from -r requirements.txt (line 23))
3.797   Downloading urllib3-1.24.3-py2.py3-none-any.whl (118 kB)
3.803      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.8/118.8 kB 24.3 MB/s eta 0:00:00
3.830 Collecting Werkzeug==1.0.1 (from -r requirements.txt (line 24))
3.845   Downloading Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
3.856      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 298.6/298.6 kB 33.8 MB/s eta 0:00:00
3.928 Collecting wrapt==1.12.1 (from -r requirements.txt (line 25))
3.938   Downloading wrapt-1.12.1.tar.gz (27 kB)
3.942   Preparing metadata (setup.py): started
4.044   Preparing metadata (setup.py): finished with status 'done'
4.275 Collecting SQLAlchemy>=1.3.0 (from alembic==1.5.4->-r requirements.txt (line 1))
4.276   Obtaining dependency information for SQLAlchemy>=1.3.0 from https://files.pythonhosted.org/packages/5b/fc/b8a0b9a5e1c182bc3ba2adc833ecae8425f550b8409a01b7387c9eeecfee/SQLAlchemy-2.0.21-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata
4.287   Downloading SQLAlchemy-2.0.21-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (9.4 kB)
4.307 Collecting Mako (from alembic==1.5.4->-r requirements.txt (line 1))
4.317   Downloading Mako-1.2.4-py3-none-any.whl (78 kB)
4.322      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.7/78.7 kB 28.1 MB/s eta 0:00:00
4.338 Collecting python-editor>=0.3 (from alembic==1.5.4->-r requirements.txt (line 1))
4.347   Downloading python_editor-1.0.4-py3-none-any.whl (4.9 kB)
4.366 Collecting python-dateutil (from alembic==1.5.4->-r requirements.txt (line 1))
4.377   Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
4.387      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 30.7 MB/s eta 0:00:00
4.412 Collecting packaging (from bleach==3.3.0->-r requirements.txt (line 3))
4.422   Downloading packaging-23.1-py3-none-any.whl (48 kB)
4.426      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 40.7 MB/s eta 0:00:00
4.447 Collecting six>=1.9.0 (from bleach==3.3.0->-r requirements.txt (line 3))
4.457   Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
4.472 Collecting webencodings (from bleach==3.3.0->-r requirements.txt (line 3))
4.482   Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
4.622 Collecting typing-extensions>=4.2.0 (from SQLAlchemy>=1.3.0->alembic==1.5.4->-r requirements.txt (line 1))
4.622   Obtaining dependency information for typing-extensions>=4.2.0 from https://files.pythonhosted.org/packages/24/21/7d397a4b7934ff4028987914ac1044d3b7d52712f30e2ac7a2ae5bc86dd0/typing_extensions-4.8.0-py3-none-any.whl.metadata
4.632   Downloading typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB)
4.758 Collecting greenlet!=0.4.17 (from SQLAlchemy>=1.3.0->alembic==1.5.4->-r requirements.txt (line 1))
4.771   Downloading greenlet-2.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (612 kB)
4.797      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 612.4/612.4 kB 25.4 MB/s eta 0:00:00
4.845 Downloading SQLAlchemy-2.0.21-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.2 MB)
5.015    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 18.8 MB/s eta 0:00:00
5.026 Downloading typing_extensions-4.8.0-py3-none-any.whl (31 kB)
5.036 Building wheels for collected packages: lxml, MarkupSafe, mysqlclient, PyYAML, wrapt
5.037   Building wheel for lxml (setup.py): started
5.335   Building wheel for lxml (setup.py): finished with status 'error'
5.340   error: subprocess-exited-with-error
5.340   
5.340   × python setup.py bdist_wheel did not run successfully.
5.340   │ exit code: 1
5.340   ╰─> [86 lines of output]
5.340       Building lxml version 4.6.2.
5.340       Building without Cython.
5.340       Building against libxml2 2.9.14 and libxslt 1.1.35
5.340       running bdist_wheel
5.340       running build
5.340       running build_py
5.340       creating build
5.340       creating build/lib.linux-aarch64-cpython-311
5.340       creating build/lib.linux-aarch64-cpython-311/lxml
5.340       copying src/lxml/ElementInclude.py -> build/lib.linux-aarch64-cpython-311/lxml
5.340       copying src/lxml/__init__.py -> build/lib.linux-aarch64-cpython-311/lxml
5.340       copying src/lxml/doctestcompare.py -> build/lib.linux-aarch64-cpython-311/lxml
5.340       copying src/lxml/_elementpath.py -> build/lib.linux-aarch64-cpython-311/lxml
5.340       copying src/lxml/pyclasslookup.py -> build/lib.linux-aarch64-cpython-311/lxml
5.340       copying src/lxml/cssselect.py -> build/lib.linux-aarch64-cpython-311/lxml
5.340       copying src/lxml/sax.py -> build/lib.linux-aarch64-cpython-311/lxml
5.340       copying src/lxml/builder.py -> build/lib.linux-aarch64-cpython-311/lxml
5.340       copying src/lxml/usedoctest.py -> build/lib.linux-aarch64-cpython-311/lxml
5.340       creating build/lib.linux-aarch64-cpython-311/lxml/includes
5.340       copying src/lxml/includes/__init__.py -> build/lib.linux-aarch64-cpython-311/lxml/includes
5.340       creating build/lib.linux-aarch64-cpython-311/lxml/html
5.340       copying src/lxml/html/defs.py -> build/lib.linux-aarch64-cpython-311/lxml/html
5.340       copying src/lxml/html/ElementSoup.py -> build/lib.linux-aarch64-cpython-311/lxml/html
5.340       copying src/lxml/html/__init__.py -> build/lib.linux-aarch64-cpython-311/lxml/html
5.340       copying src/lxml/html/_diffcommand.py -> build/lib.linux-aarch64-cpython-311/lxml/html
5.340       copying src/lxml/html/soupparser.py -> build/lib.linux-aarch64-cpython-311/lxml/html
5.340       copying src/lxml/html/diff.py -> build/lib.linux-aarch64-cpython-311/lxml/html
5.340       copying src/lxml/html/html5parser.py -> build/lib.linux-aarch64-cpython-311/lxml/html
5.340       copying src/lxml/html/_html5builder.py -> build/lib.linux-aarch64-cpython-311/lxml/html
5.340       copying src/lxml/html/builder.py -> build/lib.linux-aarch64-cpython-311/lxml/html
5.340       copying src/lxml/html/_setmixin.py -> build/lib.linux-aarch64-cpython-311/lxml/html
5.340       copying src/lxml/html/usedoctest.py -> build/lib.linux-aarch64-cpython-311/lxml/html
5.340       copying src/lxml/html/clean.py -> build/lib.linux-aarch64-cpython-311/lxml/html
5.340       copying src/lxml/html/formfill.py -> build/lib.linux-aarch64-cpython-311/lxml/html
5.340       creating build/lib.linux-aarch64-cpython-311/lxml/isoschematron
5.340       copying src/lxml/isoschematron/__init__.py -> build/lib.linux-aarch64-cpython-311/lxml/isoschematron
5.340       copying src/lxml/etree.h -> build/lib.linux-aarch64-cpython-311/lxml
5.340       copying src/lxml/etree_api.h -> build/lib.linux-aarch64-cpython-311/lxml
5.340       copying src/lxml/lxml.etree.h -> build/lib.linux-aarch64-cpython-311/lxml
5.340       copying src/lxml/lxml.etree_api.h -> build/lib.linux-aarch64-cpython-311/lxml
5.340       copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-aarch64-cpython-311/lxml/includes
5.340       copying src/lxml/includes/xpath.pxd -> build/lib.linux-aarch64-cpython-311/lxml/includes
5.340       copying src/lxml/includes/uri.pxd -> build/lib.linux-aarch64-cpython-311/lxml/includes
5.340       copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-aarch64-cpython-311/lxml/includes
5.340       copying src/lxml/includes/__init__.pxd -> build/lib.linux-aarch64-cpython-311/lxml/includes
5.340       copying src/lxml/includes/c14n.pxd -> build/lib.linux-aarch64-cpython-311/lxml/includes
5.340       copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-aarch64-cpython-311/lxml/includes
5.340       copying src/lxml/includes/tree.pxd -> build/lib.linux-aarch64-cpython-311/lxml/includes
5.340       copying src/lxml/includes/xslt.pxd -> build/lib.linux-aarch64-cpython-311/lxml/includes
5.340       copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-aarch64-cpython-311/lxml/includes
5.340       copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-aarch64-cpython-311/lxml/includes
5.340       copying src/lxml/includes/schematron.pxd -> build/lib.linux-aarch64-cpython-311/lxml/includes
5.340       copying src/lxml/includes/relaxng.pxd -> build/lib.linux-aarch64-cpython-311/lxml/includes
5.340       copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-aarch64-cpython-311/lxml/includes
5.340       copying src/lxml/includes/xinclude.pxd -> build/lib.linux-aarch64-cpython-311/lxml/includes
5.340       copying src/lxml/includes/config.pxd -> build/lib.linux-aarch64-cpython-311/lxml/includes
5.340       copying src/lxml/includes/lxml-version.h -> build/lib.linux-aarch64-cpython-311/lxml/includes
5.340       copying src/lxml/includes/etree_defs.h -> build/lib.linux-aarch64-cpython-311/lxml/includes
5.340       creating build/lib.linux-aarch64-cpython-311/lxml/isoschematron/resources
5.340       creating build/lib.linux-aarch64-cpython-311/lxml/isoschematron/resources/rng
5.340       copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-aarch64-cpython-311/lxml/isoschematron/resources/rng
5.340       creating build/lib.linux-aarch64-cpython-311/lxml/isoschematron/resources/xsl
5.340       copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-aarch64-cpython-311/lxml/isoschematron/resources/xsl
5.340       copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-aarch64-cpython-311/lxml/isoschematron/resources/xsl
5.340       creating build/lib.linux-aarch64-cpython-311/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
5.340       copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-aarch64-cpython-311/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
5.340       copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-aarch64-cpython-311/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
5.340       copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-aarch64-cpython-311/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
5.340       copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.linux-aarch64-cpython-311/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
5.340       copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-aarch64-cpython-311/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
5.340       copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-aarch64-cpython-311/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
5.340       running build_ext
5.340       building 'lxml.etree' extension
5.340       creating build/temp.linux-aarch64-cpython-311
5.340       creating build/temp.linux-aarch64-cpython-311/src
5.340       creating build/temp.linux-aarch64-cpython-311/src/lxml
5.340       gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/usr/include/libxml2 -Isrc -Isrc/lxml/includes -I/usr/local/include/python3.11 -c src/lxml/etree.c -o build/temp.linux-aarch64-cpython-311/src/lxml/etree.o -w
5.340       src/lxml/etree.c:289:12: fatal error: longintrepr.h: No such file or directory
5.340         289 |   #include "longintrepr.h"
5.340             |            ^~~~~~~~~~~~~~~
5.340       compilation terminated.
5.340       Compile failed: command '/usr/bin/gcc' failed with exit code 1
5.340       creating tmp
5.340       cc -I/usr/include/libxml2 -I/usr/include/libxml2 -c /tmp/xmlXPathInitf_hxak18.c -o tmp/xmlXPathInitf_hxak18.o
5.340       cc tmp/xmlXPathInitf_hxak18.o -lxml2 -o a.out
5.340       error: command '/usr/bin/gcc' failed with exit code 1
5.340       [end of output]
5.340   
5.340   note: This error originates from a subprocess, and is likely not a problem with pip.
5.340   ERROR: Failed building wheel for lxml
5.340   Running setup.py clean for lxml
5.462   Building wheel for MarkupSafe (setup.py): started
5.768   Building wheel for MarkupSafe (setup.py): finished with status 'done'
5.769   Created wheel for MarkupSafe: filename=MarkupSafe-1.1.1-cp311-cp311-linux_aarch64.whl size=30550 sha256=5246655d128696858537e392a0202f20fe87d37db974f0f9a2ea6f83bebe2fac
5.769   Stored in directory: /tmp/pip-ephem-wheel-cache-8owixe7r/wheels/42/2c/24/ee2a56da668805256e7c1b1d51ae9b177360788cabcdf5b9c1
5.770   Building wheel for mysqlclient (setup.py): started
6.310   Building wheel for mysqlclient (setup.py): finished with status 'done'
6.310   Created wheel for mysqlclient: filename=mysqlclient-2.0.3-cp311-cp311-linux_aarch64.whl size=115472 sha256=3d18cfb81a821fe5364270166c9ec26cb510df74c05e47a05f5687170c7026cd
6.311   Stored in directory: /tmp/pip-ephem-wheel-cache-8owixe7r/wheels/c7/be/3d/b9677fc202a84351c6ce8d1a11a8e1c4b1f58a088e2473af2c
6.312   Building wheel for PyYAML (setup.py): started
6.510   Building wheel for PyYAML (setup.py): finished with status 'done'
6.510   Created wheel for PyYAML: filename=PyYAML-5.3.1-cp311-cp311-linux_aarch64.whl size=44638 sha256=45750ca70646a0efd7700a9c830b849ba390197f0579f4e98f1dd5a1534f291b
6.510   Stored in directory: /tmp/pip-ephem-wheel-cache-8owixe7r/wheels/93/d0/25/0923993e11f9273a21be3d272ca3dfe97c757a255a55c56bad
6.511   Building wheel for wrapt (setup.py): started
7.026   Building wheel for wrapt (setup.py): finished with status 'done'
7.026   Created wheel for wrapt: filename=wrapt-1.12.1-cp311-cp311-linux_aarch64.whl size=71953 sha256=ba7b20e1fec708f28eca0f1f420e2c567109c671508007b9777280c197fe35a8
7.026   Stored in directory: /tmp/pip-ephem-wheel-cache-8owixe7r/wheels/21/f0/c3/d0fc5db23675dd2381790cbde512a254ea4ccef8f368e6b14c
7.027 Successfully built MarkupSafe mysqlclient PyYAML wrapt
7.027 Failed to build lxml
7.027 ERROR: Could not build wheels for lxml, which is required to install pyproject.toml-based projects
------
breyten commented 7 months ago

I've tried reproducing this, but am unable to. I suppose the responsible wheel for this error was updated in the meantime.