Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Scancode docker image fails to build #1258

@jakub-bochenski

Description

@jakub-bochenski

Even after fixing #1256 the scancode image fails to build.

$  docker build -f docker/Dockerfile.scancode -t ternd:latest tern
[+] Building 266.0s (9/10)                                                                                                                                                                                             docker:default
 => [internal] load build definition from Dockerfile.scancode                                                                                                                                                                    0.0s
 => => transferring dockerfile: 837B                                                                                                                                                                                             0.0s
 => WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 4)                                                                                                                                                   0.0s
 => WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 6)                                                                                                                                                   0.0s
 => [internal] load metadata for docker.io/library/python:3.9-slim-bullseye                                                                                                                                                      1.3s
 => [internal] load .dockerignore                                                                                                                                                                                                0.0s
 => => transferring context: 2B                                                                                                                                                                                                  0.0s
 => CACHED [base 1/1] FROM docker.io/library/python:3.9-slim-bullseye@sha256:b9e06687fbfc57f6fe563e94e4c8751e39513dde89afc120dc6f56afe5ffc761                                                                                    0.0s
 => CACHED [builder 1/4] RUN mkdir /install                                                                                                                                                                                      0.0s
 => CACHED [builder 2/4] WORKDIR /install                                                                                                                                                                                        0.0s
 => [builder 3/4] RUN apt-get update     && apt-get install -y --no-install-recommends     build-essential     && rm -rf /var/lib/apt/lists/*                                                                                   28.2s
 => [stage-2 1/2] RUN apt-get update     && apt-get install -y --no-install-recommends     attr     findutils     fuse-overlayfs/bullseye     fuse3/bullseye     git     jq     libgomp1     skopeo     && rm -rf /var/lib/apt  18.2s
 => ERROR [builder 4/4] RUN pip install --no-warn-script-location --prefix=/install     tern     scancode-toolkit[full]                                                                                                        236.4s 
------                                                                                                                                                                                                                                
 > [builder 4/4] RUN pip install --no-warn-script-location --prefix=/install     tern     scancode-toolkit[full]:                                                                                                                     
1.654 Collecting tern                                                                                                                                                                                                                 
1.815   Downloading tern-2.12.1-py3-none-any.whl (157 kB)                                                                                                                                                                             
1.896      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.1/157.1 kB 1.9 MB/s eta 0:00:00                                                                                                                                                
1.967 Collecting scancode-toolkit[full]                                                                                                                                                                                               
1.999   Downloading scancode_toolkit-32.4.1-cp39-none-any.whl (122.7 MB)                                                                                                                                                              
24.82      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 122.7/122.7 MB 4.9 MB/s eta 0:00:00                                                                                                                                                
25.20 Collecting requests==2.31.0                                                                                                                                                                                                     
25.23   Downloading requests-2.31.0-py3-none-any.whl (62 kB)                                                                                                                                                                          
25.27      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 1.6 MB/s eta 0:00:00                                                                                                                                                 
25.31 Collecting debian-inspector==31.0.0
25.34   Downloading debian_inspector-31.0.0-py3-none-any.whl (45 kB)
25.37      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.3/45.3 kB 3.6 MB/s eta 0:00:00
25.41 Collecting license-expression==30.1.1
25.44   Downloading license_expression-30.1.1-py3-none-any.whl (103 kB)
25.46      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.2/103.2 kB 9.8 MB/s eta 0:00:00
25.50 Collecting idna==3.4
25.53   Downloading idna-3.4-py3-none-any.whl (61 kB)
25.54      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 5.9 MB/s eta 0:00:00
25.58 Collecting gitdb==4.0.10
25.61   Downloading gitdb-4.0.10-py3-none-any.whl (62 kB)
25.62      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.7/62.7 kB 6.2 MB/s eta 0:00:00
25.70 Collecting pyyaml==6.0
25.73   Downloading PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (661 kB)
25.93      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 661.8/661.8 kB 3.5 MB/s eta 0:00:00
25.98 Collecting packaging==23.1
26.01   Downloading packaging-23.1-py3-none-any.whl (48 kB)
26.02      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 3.4 MB/s eta 0:00:00
26.08 Collecting gitpython==3.1.32
26.11   Downloading GitPython-3.1.32-py3-none-any.whl (188 kB)
26.15      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 188.5/188.5 kB 5.8 MB/s eta 0:00:00
26.20 Collecting certifi==2023.5.7
26.23   Downloading certifi-2023.5.7-py3-none-any.whl (156 kB)
26.27      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.0/157.0 kB 3.5 MB/s eta 0:00:00
26.33 Collecting packageurl-python==0.11.1
26.36   Downloading packageurl_python-0.11.1-py3-none-any.whl (23 kB)
26.43 Collecting stevedore==5.1.0
26.46   Downloading stevedore-5.1.0-py3-none-any.whl (49 kB)
26.50      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 49.6/49.6 kB 1.4 MB/s eta 0:00:00
26.55 Collecting prettytable==3.8.0
26.58   Downloading prettytable-3.8.0-py3-none-any.whl (27 kB)
27.24 Collecting regex==2023.6.3
27.27   Downloading regex-2023.6.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (769 kB)
27.51      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 769.9/769.9 kB 3.3 MB/s eta 0:00:00
27.55 Collecting wcwidth==0.2.6
27.58   Downloading wcwidth-0.2.6-py2.py3-none-any.whl (29 kB)
27.64 Collecting docker==6.1.3
27.67   Downloading docker-6.1.3-py3-none-any.whl (148 kB)
27.71      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 148.1/148.1 kB 4.7 MB/s eta 0:00:00
27.75 Collecting chardet==5.1.0
27.78   Downloading chardet-5.1.0-py3-none-any.whl (199 kB)
27.84      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.1/199.1 kB 4.3 MB/s eta 0:00:00
27.88 Collecting attrs==23.1.0
27.91   Downloading attrs-23.1.0-py3-none-any.whl (61 kB)
27.93      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 5.0 MB/s eta 0:00:00
28.11 Collecting charset-normalizer==3.2.0
28.24   Downloading charset_normalizer-3.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (202 kB)
28.28      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 202.1/202.1 kB 6.3 MB/s eta 0:00:00
28.35 Collecting urllib3==2.0.3
28.38   Downloading urllib3-2.0.3-py3-none-any.whl (123 kB)
28.42      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.6/123.6 kB 6.2 MB/s eta 0:00:00
28.46 Collecting dockerfile-parse==2.0.0
28.49   Downloading dockerfile_parse-2.0.0-py2.py3-none-any.whl (14 kB)
28.54 Collecting pbr==5.11.1
28.56   Downloading pbr-5.11.1-py2.py3-none-any.whl (112 kB)
28.64      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.7/112.7 kB 1.4 MB/s eta 0:00:00
28.70 Collecting websocket-client==1.6.1
28.75   Downloading websocket_client-1.6.1-py3-none-any.whl (56 kB)
28.77      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.9/56.9 kB 5.6 MB/s eta 0:00:00
28.81 Collecting boolean-py==4.0
28.84   Downloading boolean.py-4.0-py3-none-any.whl (25 kB)
28.88 Collecting smmap==5.0.0
28.91   Downloading smmap-5.0.0-py3-none-any.whl (24 kB)
29.10 Collecting toml>=0.10.0
29.12   Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
29.16 Collecting typecode[full]>=30.0.1
29.19   Downloading typecode-30.0.2-py3-none-any.whl (1.0 MB)
29.40      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 5.0 MB/s eta 0:00:00
29.44 Collecting xmltodict>=0.11.0
29.47   Downloading xmltodict-0.14.2-py2.py3-none-any.whl (10.0 kB)
29.52 Collecting pyahocorasick>=2.0.0
29.55   Downloading pyahocorasick-2.2.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (98 kB)
29.57      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.7/98.7 kB 6.8 MB/s eta 0:00:00
29.61 Collecting spdx-tools==0.8.2
29.64   Downloading spdx_tools-0.8.2-py3-none-any.whl (285 kB)
29.69      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 285.1/285.1 kB 5.5 MB/s eta 0:00:00
29.73 Collecting parameter-expansion-patched>=0.3.1
29.75   Downloading parameter_expansion_patched-0.3.1-py3-none-any.whl (11 kB)
29.81 Collecting pygments
29.84   Downloading pygments-2.19.2-py3-none-any.whl (1.2 MB)
30.15      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 3.9 MB/s eta 0:00:00
30.20 Collecting urlpy
30.22   Downloading urlpy-0.5-py2.py3-none-any.whl (9.1 kB)
30.64 Collecting lxml>=5.4.0
30.67   Downloading lxml-6.0.1-cp39-cp39-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (5.3 MB)
31.63      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.3/5.3 MB 5.5 MB/s eta 0:00:00
31.68 Collecting pefile>=2020.1.1
31.71   Downloading pefile-2024.8.26-py3-none-any.whl (74 kB)
31.73      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 74.8/74.8 kB 8.6 MB/s eta 0:00:00
31.78 Collecting html5lib
31.80   Downloading html5lib-1.1-py2.py3-none-any.whl (112 kB)
31.85      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.2/112.2 kB 2.3 MB/s eta 0:00:00
31.90 Collecting jinja2>=2.7.0
31.93   Downloading jinja2-3.1.6-py3-none-any.whl (134 kB)
31.97      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 134.9/134.9 kB 3.5 MB/s eta 0:00:00
32.01 Collecting gemfileparser2>=0.9.0
32.04   Downloading gemfileparser2-0.9.4-py3-none-any.whl (19 kB)
32.05 Collecting scancode-toolkit[full]
32.60   Downloading scancode_toolkit-32.4.0-cp39-none-any.whl (119.7 MB)
60.34      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 119.7/119.7 MB 4.3 MB/s eta 0:00:00
60.71 Collecting pluggy>=1.0.0
60.73   Downloading pluggy-1.6.0-py3-none-any.whl (20 kB)
60.78 Collecting dparse2>=0.7.0
60.80   Downloading dparse2-0.7.0-py3-none-any.whl (10 kB)
60.84 Collecting packvers>=21.0.0
60.87   Downloading packvers-21.5-py3-none-any.whl (40 kB)
60.89      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 kB 5.9 MB/s eta 0:00:00
60.94 Collecting javaproperties>=0.5
60.97   Downloading javaproperties-0.8.2-py3-none-any.whl (23 kB)
61.03 Collecting pdfminer.six>=20200101
61.06   Downloading pdfminer_six-20250506-py3-none-any.whl (5.6 MB)
61.99      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.6/5.6 MB 6.1 MB/s eta 0:00:00
62.05 Collecting click!=7.0,!=8.1.8,>=6.7
62.08   Downloading click-8.1.7-py3-none-any.whl (97 kB)
62.12      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 kB 2.3 MB/s eta 0:00:00
62.13 Collecting scancode-toolkit[full]
62.16   Downloading scancode_toolkit-32.3.3-cp39-none-any.whl (115.7 MB)
80.94      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 115.7/115.7 MB 6.4 MB/s eta 0:00:00
81.29 Collecting commoncode>=32.2.1
81.32   Downloading commoncode-32.3.0-py3-none-any.whl (94 kB)
81.33      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.0/94.0 kB 7.5 MB/s eta 0:00:00
81.34 Collecting scancode-toolkit[full]
81.54   Downloading scancode_toolkit-32.3.2-cp39-none-any.whl (114.7 MB)
101.7      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 114.7/114.7 MB 4.7 MB/s eta 0:00:00
102.3   Downloading scancode_toolkit-32.3.1-cp39-none-any.whl (114.6 MB)
123.7      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 114.6/114.6 MB 4.0 MB/s eta 0:00:00
124.0 Collecting extractcode[full]>=31.0.0
124.0   Downloading extractcode-31.0.0-py3-none-any.whl (56 kB)
124.1      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.7/56.7 kB 4.4 MB/s eta 0:00:00
124.1 Collecting scancode-toolkit[full]
124.5   Downloading scancode_toolkit-32.3.0-cp39-none-any.whl (114.2 MB)
147.6      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 114.2/114.2 MB 3.7 MB/s eta 0:00:00
147.9 Collecting click!=7.0,>=6.7
147.9   Downloading click-8.1.8-py3-none-any.whl (98 kB)
148.0      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.2/98.2 kB 13.2 MB/s eta 0:00:00
148.0 Collecting jaraco.functools
148.1   Downloading jaraco_functools-4.3.0-py3-none-any.whl (10 kB)
148.2 Collecting intbitset>=3.0.2
148.2   Downloading intbitset-4.0.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (356 kB)
148.3      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 356.9/356.9 kB 8.7 MB/s eta 0:00:00
148.3 Collecting Beautifulsoup4>=4.0.0
148.4   Downloading beautifulsoup4-4.13.5-py3-none-any.whl (105 kB)
148.4      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 105.1/105.1 kB 7.7 MB/s eta 0:00:00
148.5 Collecting MarkupSafe>=2.1.2
148.5   Downloading MarkupSafe-3.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20 kB)
148.6 Collecting colorama>=0.3.9
148.6   Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
148.7 Collecting pip-requirements-parser>=32.0.1
148.7   Downloading pip_requirements_parser-32.0.1-py3-none-any.whl (35 kB)
148.8 Collecting fasteners
148.9   Downloading fasteners-0.20-py3-none-any.whl (18 kB)
148.9 Collecting text-unidecode>=1.0
148.9   Downloading text_unidecode-1.3-py2.py3-none-any.whl (78 kB)
149.0      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.2/78.2 kB 2.2 MB/s eta 0:00:00
149.1 Collecting pygmars>=0.9.0
149.2   Downloading pygmars-1.0.0-py3-none-any.whl (32 kB)
149.4 Collecting jsonstreams>=0.5.0
149.5   Downloading jsonstreams-0.6.0-py2.py3-none-any.whl (10 kB)
149.5 Collecting ftfy>=6.0.0
149.5   Downloading ftfy-6.3.1-py3-none-any.whl (44 kB)
149.6      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.8/44.8 kB 13.3 MB/s eta 0:00:00
149.7 Collecting container-inspector>=31.0.0
149.8   Downloading container_inspector-33.0.0-py3-none-any.whl (40 kB)
149.8      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.2/40.2 kB 4.6 MB/s eta 0:00:00
150.0 Collecting pymaven-patch>=0.2.8
150.2   Downloading pymaven_patch-0.3.2-py3-none-any.whl (23 kB)
150.3 Collecting importlib-metadata
150.3   Downloading importlib_metadata-8.7.0-py3-none-any.whl (27 kB)
150.3 Collecting publicsuffix2
150.4   Downloading publicsuffix2-2.20191221-py2.py3-none-any.whl (89 kB)
150.4      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.0/89.0 kB 8.8 MB/s eta 0:00:00
150.5 Collecting pkginfo2>=30.0.0
150.5   Downloading pkginfo2-30.0.0-py3-none-any.whl (25 kB)
150.6 Collecting scancode-toolkit[full]
150.9   Downloading scancode_toolkit-32.2.1-cp39-none-any.whl (113.3 MB)
171.8      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 113.3/113.3 MB 5.2 MB/s eta 0:00:00
172.2   Downloading scancode_toolkit-32.2.0-cp39-none-any.whl (113.3 MB)
191.0      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 113.3/113.3 MB 5.7 MB/s eta 0:00:00
191.3   Downloading scancode_toolkit-32.1.0-cp39-none-any.whl (112.6 MB)
207.6      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.6/112.6 MB 5.9 MB/s eta 0:00:00
208.2   Downloading scancode_toolkit-32.0.8-cp39-none-any.whl (110.1 MB)
228.2      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 110.1/110.1 MB 4.9 MB/s eta 0:00:00
228.5 Collecting spdx-tools==0.7.0rc0
228.5   Downloading spdx_tools-0.7.0rc0-py3-none-any.whl (130 kB)
228.6      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 130.0/130.0 kB 6.3 MB/s eta 0:00:00
228.7 Collecting plugincode>=32.0.0
228.7   Downloading plugincode-32.0.0-py3-none-any.whl (19 kB)
228.9 Collecting saneyaml>=0.6.0
228.9   Downloading saneyaml-0.6.1-py3-none-any.whl (13 kB)
229.0 Collecting fingerprints>=0.6.0
229.0   Downloading fingerprints-1.2.3-py2.py3-none-any.whl (17 kB)
229.0 Collecting ply
229.1   Downloading ply-3.11-py2.py3-none-any.whl (49 kB)
229.1      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 49.6/49.6 kB 16.4 MB/s eta 0:00:00
229.1 Collecting rdflib
229.1   Downloading rdflib-7.1.4-py3-none-any.whl (565 kB)
229.2      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 565.1/565.1 kB 6.0 MB/s eta 0:00:00
229.3 Collecting soupsieve>1.2
229.3   Downloading soupsieve-2.8-py3-none-any.whl (36 kB)
229.4 Collecting typing-extensions>=4.0.0
229.4   Downloading typing_extensions-4.15.0-py3-none-any.whl (44 kB)
229.4      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.6/44.6 kB 5.0 MB/s eta 0:00:00
229.5 Collecting requests[use_chardet_on_py3]>=2.7.0
229.5   Downloading requests-2.32.5-py3-none-any.whl (64 kB)
229.5      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.7/64.7 kB 2.2 MB/s eta 0:00:00
229.6 Collecting six
229.6   Downloading six-1.17.0-py2.py3-none-any.whl (11 kB)
229.8 Collecting extractcode-libarchive>=3.5.1.210525
229.9   Downloading extractcode_libarchive-3.5.1.210531-py3-none-manylinux1_x86_64.whl (1.2 MB)
230.1      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 5.0 MB/s eta 0:00:00
230.3 Collecting extractcode-7z>=16.5.210525
230.3   Downloading extractcode_7z-16.5.210531-py3-none-manylinux1_x86_64.whl (1.3 MB)
230.6      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 4.2 MB/s eta 0:00:00
230.7 Collecting normality<=3.0.0,>=2.0.0
230.7   Downloading normality-3.0.0-py3-none-any.whl (17 kB)
230.8 Collecting pyparsing!=3.0.5,>=2.0.2
230.9   Downloading pyparsing-3.2.3-py3-none-any.whl (111 kB)
230.9      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 111.1/111.1 kB 4.3 MB/s eta 0:00:00
231.3 Collecting cryptography>=36.0.0
231.3   Downloading cryptography-45.0.6-cp37-abi3-manylinux_2_28_x86_64.whl (4.5 MB)
232.1      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 5.6 MB/s eta 0:00:00
232.2 Collecting binaryornot
232.3   Downloading binaryornot-0.4.4-py2.py3-none-any.whl (9.0 kB)
232.4 Collecting typecode-libmagic>=5.39.210223
232.4   Downloading typecode_libmagic-5.39.210531-py3-none-manylinux1_x86_64.whl (539 kB)
232.5      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 539.5/539.5 kB 5.2 MB/s eta 0:00:00
232.6 Collecting webencodings
232.6   Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
232.7 Collecting zipp>=3.20
232.7   Downloading zipp-3.23.0-py3-none-any.whl (10 kB)
232.8 Collecting more_itertools
232.8   Downloading more_itertools-10.7.0-py3-none-any.whl (65 kB)
232.9      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.3/65.3 kB 3.2 MB/s eta 0:00:00
233.1 Collecting cffi>=1.14
233.1   Downloading cffi-1.17.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (445 kB)
233.2      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 445.2/445.2 kB 5.5 MB/s eta 0:00:00
233.3 Collecting banal>=1.0.1
233.3   Downloading banal-1.0.6-py2.py3-none-any.whl (6.1 kB)
233.4 Collecting pyicu>=2.10.0
233.4   Downloading pyicu-2.15.2.tar.gz (267 kB)
233.5      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 267.7/267.7 kB 4.0 MB/s eta 0:00:00
233.5   Installing build dependencies: started
235.9   Installing build dependencies: finished with status 'done'
235.9   Getting requirements to build wheel: started
236.1   Getting requirements to build wheel: finished with status 'error'
236.1   error: subprocess-exited-with-error
236.1   
236.1   × Getting requirements to build wheel did not run successfully.
236.1   │ exit code: 1
236.1   ╰─> [58 lines of output]
236.1       (running 'icu-config --version')
236.1       (running 'pkg-config --modversion icu-i18n')
236.1       Traceback (most recent call last):
236.1         File "<string>", line 89, in <module>
236.1         File "/usr/local/lib/python3.9/os.py", line 679, in __getitem__
236.1           raise KeyError(key) from None
236.1       KeyError: 'ICU_VERSION'
236.1       
236.1       During handling of the above exception, another exception occurred:
236.1       
236.1       Traceback (most recent call last):
236.1         File "<string>", line 92, in <module>
236.1         File "<string>", line 19, in check_output
236.1         File "/usr/local/lib/python3.9/subprocess.py", line 424, in check_output
236.1           return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
236.1         File "/usr/local/lib/python3.9/subprocess.py", line 505, in run
236.1           with Popen(*popenargs, **kwargs) as process:
236.1         File "/usr/local/lib/python3.9/subprocess.py", line 951, in __init__
236.1           self._execute_child(args, executable, preexec_fn, close_fds,
236.1         File "/usr/local/lib/python3.9/subprocess.py", line 1837, in _execute_child
236.1           raise child_exception_type(errno_num, err_msg, err_filename)
236.1       FileNotFoundError: [Errno 2] No such file or directory: 'icu-config'
236.1       
236.1       During handling of the above exception, another exception occurred:
236.1       
236.1       Traceback (most recent call last):
236.1         File "<string>", line 96, in <module>
236.1         File "<string>", line 19, in check_output
236.1         File "/usr/local/lib/python3.9/subprocess.py", line 424, in check_output
236.1           return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
236.1         File "/usr/local/lib/python3.9/subprocess.py", line 505, in run
236.1           with Popen(*popenargs, **kwargs) as process:
236.1         File "/usr/local/lib/python3.9/subprocess.py", line 951, in __init__
236.1           self._execute_child(args, executable, preexec_fn, close_fds,
236.1         File "/usr/local/lib/python3.9/subprocess.py", line 1837, in _execute_child
236.1           raise child_exception_type(errno_num, err_msg, err_filename)
236.1       FileNotFoundError: [Errno 2] No such file or directory: 'pkg-config'
236.1       
236.1       During handling of the above exception, another exception occurred:
236.1       
236.1       Traceback (most recent call last):
236.1         File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
236.1           main()
236.1         File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
236.1           json_out['return_val'] = hook(**hook_input['kwargs'])
236.1         File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
236.1           return hook(config_settings)
236.1         File "/tmp/pip-build-env-roihtbyu/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
236.1           return self._get_build_requires(config_settings, requirements=[])
236.1         File "/tmp/pip-build-env-roihtbyu/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
236.1           self.run_setup()
236.1         File "/tmp/pip-build-env-roihtbyu/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 317, in run_setup
236.1           exec(code, locals())
236.1         File "<string>", line 99, in <module>
236.1       RuntimeError:
236.1       Please install pkg-config on your system or set the ICU_VERSION environment
236.1       variable to the version of ICU you have installed.
236.1       
236.1       [end of output]
236.1   
236.1   note: This error originates from a subprocess, and is likely not a problem with pip.
236.1 error: subprocess-exited-with-error
236.1 
236.1 × Getting requirements to build wheel did not run successfully.
236.1 │ exit code: 1
236.1 ╰─> See above for output.
236.1 
236.1 note: This error originates from a subprocess, and is likely not a problem with pip.
236.1 
236.1 [notice] A new release of pip is available: 23.0.1 -> 25.2
236.1 [notice] To update, run: pip install --upgrade pip
------

 2 warnings found (use docker --debug to expand):
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 4)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 6)
Dockerfile.scancode:16
--------------------
  15 |     
  16 | >>> RUN pip install --no-warn-script-location --prefix=/install \
  17 | >>>     tern \
  18 | >>>     scancode-toolkit[full]
  19 |     
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c pip install --no-warn-script-location --prefix=/install     tern     scancode-toolkit[full]" did not complete successfully: exit code: 1

Adding apt-get install python3-icu per https://gitlab.pyicu.org/main/pyicu#installing-pyicu does not fix it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions