Skip to content

Standard Docker Build Fails [Step 9/90] #24

Description

@ALEEF02

Trying to build the image on https://github.com/hucebot/g1pilot/tree/upperbody-detach which was supposed to fix #21 has led to another build error, as shown below. Also, I thought it was interesting that there's 90 build steps now, instead of the previous 27. Please also confirm that it should be that large.

 => ERROR [ 9/90] RUN pip install --upgrade ttictoc setuptools hhcm-forest && forest init                                     4.8s 
------
 > [ 9/90] RUN pip install --upgrade ttictoc setuptools hhcm-forest && forest init:
0.123 bash: cannot set terminal process group (-1): Inappropriate ioctl for device
0.123 bash: no job control in this shell
1.114 Collecting ttictoc
1.187   Downloading ttictoc-0.5.6-py3-none-any.whl.metadata (3.4 kB)
1.344 Collecting setuptools
1.357   Downloading setuptools-82.0.0-py3-none-any.whl.metadata (6.6 kB)
1.400 Collecting hhcm-forest
1.424   Downloading hhcm_forest-1.1.20-py3-none-any.whl.metadata (4.9 kB)
1.484 Collecting argcomplete (from hhcm-forest)
1.494   Downloading argcomplete-3.6.3-py3-none-any.whl.metadata (16 kB)
1.524 Collecting parse (from hhcm-forest)
1.544   Downloading parse-1.21.0-py2.py3-none-any.whl.metadata (22 kB)
1.590 Collecting pyyaml (from hhcm-forest)
1.602   Downloading pyyaml-6.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (2.4 kB)
1.679 Collecting psutil (from hhcm-forest)
1.692   Downloading psutil-7.2.2-cp36-abi3-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl.metadata (22 kB)
1.724 Collecting progressbar (from hhcm-forest)
1.742   Downloading progressbar-2.5.tar.gz (10 kB)
1.749   Installing build dependencies: started
3.066   Installing build dependencies: finished with status 'done'
3.067   Getting requirements to build wheel: started
3.278   Getting requirements to build wheel: finished with status 'done'
3.280   Preparing metadata (pyproject.toml): started
3.492   Preparing metadata (pyproject.toml): finished with status 'done'
3.531 Downloading ttictoc-0.5.6-py3-none-any.whl (5.7 kB)
3.535 Using cached setuptools-82.0.0-py3-none-any.whl (1.0 MB)
3.571 Downloading hhcm_forest-1.1.20-py3-none-any.whl (29 kB)
3.593 Downloading argcomplete-3.6.3-py3-none-any.whl (43 kB)
3.599    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.8/43.8 kB 19.8 MB/s eta 0:00:00
3.617 Downloading parse-1.21.0-py2.py3-none-any.whl (20 kB)
3.629 Downloading psutil-7.2.2-cp36-abi3-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl (155 kB)
3.643    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.6/155.6 kB 12.8 MB/s eta 0:00:00
3.659 Downloading pyyaml-6.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (807 kB)
3.691    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 807.9/807.9 kB 26.4 MB/s eta 0:00:00
3.704 Building wheels for collected packages: progressbar
3.705   Building wheel for progressbar (pyproject.toml): started
3.929   Building wheel for progressbar (pyproject.toml): finished with status 'done'
3.930   Created wheel for progressbar: filename=progressbar-2.5-py3-none-any.whl size=12145 sha256=435d1953552c97837e2d610911bf4b0d7589096bba97e6f09875dff148488475
3.930   Stored in directory: /root/.cache/pip/wheels/a5/4d/c7/f3cf0f75c746c219090060131fe00f1523cc2c5484991f4030
3.932 Successfully built progressbar
4.054 Installing collected packages: ttictoc, progressbar, parse, setuptools, pyyaml, psutil, argcomplete, hhcm-forest
4.577 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
4.577 generate-parameter-library-py 0.6.0 requires jinja2, which is not installed.
4.577 generate-parameter-library-py 0.6.0 requires typeguard, which is not installed.
4.577 Successfully installed argcomplete-3.6.3 hhcm-forest-1.1.20 parse-1.21.0 progressbar-2.5 psutil-7.2.2 pyyaml-6.0.3 setuptools-82.0.0 ttictoc-0.5.6
4.779 Traceback (most recent call last):
4.779   File "/home/.base/bin/forest", line 5, in <module>
4.779     from forest.main import main
4.780   File "/home/.base/lib/python3.12/site-packages/forest/main.py", line 20, in <module>
4.780     from pkg_resources import get_distribution
4.780 ModuleNotFoundError: No module named 'pkg_resources'
------

 1 warning found (use docker --debug to expand):
 - InvalidBaseImagePlatform: Base image osrf/ros:jazzy-desktop was pulled with platform "linux/amd64", expected "linux/arm64" for current build (line 1)
Dockerfile:25
--------------------
  23 |     SHELL ["bash", "-ic"]
  24 |     
  25 | >>> RUN pip install --upgrade ttictoc setuptools hhcm-forest && forest init
  26 |     RUN echo "source $PWD/setup.bash" >> ~/.bashrc
  27 |     SHELL ["bash", "-ic"]
--------------------
ERROR: failed to build: failed to solve: process "bash -ic pip install --upgrade ttictoc setuptools hhcm-forest && forest init" did not complete successfully: exit code: 1

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