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

esps32 can't build on M4 chips devContainer #248

Closed
joebnb opened this issue Dec 12, 2024 · 1 comment
Closed

esps32 can't build on M4 chips devContainer #248

joebnb opened this issue Dec 12, 2024 · 1 comment

Comments

@joebnb
Copy link

joebnb commented Dec 12, 2024

i bought a new mac mini and start develop esp32s3 via devContainer, this config is works well in Intel chip macbook,but in arm chip mac runing failed

this is devcontainer config

{
    "name": "esp32s3",
    // Select between image and build propieties to pull or build the image.
    "image": "espressif/idf-rust:esp32s3_latest",
    //   "build": {
    //     "dockerfile": "Dockerfile",
    //     "args": {
    //       "CONTAINER_USER": "esp",
    //       "CONTAINER_GROUP": "esp",
    //       "ESP_BOARD": "esp32s3"
    //     }
    //   },
    // https://github.com/serialport/serialport-rs/issues/153
    "customizations": {
        "vscode": {
            "settings": {
                "editor.formatOnPaste": true,
                "editor.formatOnSave": true,
                "editor.formatOnSaveMode": "file",
                "editor.formatOnType": true,
                "lldb.executable": "/usr/bin/lldb",
                "files.watcherExclude": {
                    "**/target/**": true
                },
                "rust-analyzer.checkOnSave.command": "clippy",
                "rust-analyzer.checkOnSave.allTargets": false,
                "[rust]": {
                    "editor.defaultFormatter": "rust-lang.rust-analyzer"
                }
            },
            "extensions": [
                "rust-lang.rust-analyzer",
                "tamasfe.even-better-toml",
                "serayuzgur.crates",
                "mutantdino.resourcemonitor",
                "yzhang.markdown-all-in-one",
                "ms-vscode.cpptools",
                "actboy168.tasks",
                "Wokwi.wokwi-vscode"
            ]
        }
    },
    "forwardPorts": [3333, 8000],
    "workspaceMount": "source=${localWorkspaceFolder},target=/home/esp/esp32s3,type=bind,consistency=cached",
    "workspaceFolder": "/home/esp/esp32s3"
}

this is cargo build output

    Blocking waiting for file lock on build directory
   Compiling esp-idf-sys v0.35.0
error: failed to run custom build command for `esp-idf-sys v0.35.0`

Caused by:
  process didn't exit successfully: `/home/esp/lllix_esp32s3/target/debug/build/esp-idf-sys-57d579c3ba5cd32f/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=ESP_IDF_TOOLS_INSTALL_DIR
  cargo:rerun-if-env-changed=ESP_IDF_SDKCONFIG
  cargo:rerun-if-env-changed=ESP_IDF_SDKCONFIG_DEFAULTS
  cargo:rerun-if-env-changed=MCU
  cargo:rerun-if-env-changed=ESP_IDF_SYS_ROOT_CRATE
  cargo:rerun-if-env-changed=ESP_IDF_VERSION
  cargo:rerun-if-env-changed=ESP_IDF_REPOSITORY
  cargo:rerun-if-env-changed=ESP_IDF_CMAKE_GENERATOR
  cargo:rerun-if-env-changed=IDF_PATH
  cargo:rerun-if-env-changed=EXTRA-COMPONENTS
  cargo:rerun-if-env-changed=ESP_IDF_COMPONENTS
  cargo:rerun-if-env-changed=ESP_IDF_COMPONENT_MANAGER
  Python 3.11.2
  pip 24.3.1 from /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages/pip (python 3.11)
  Requirement already satisfied: pip in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (24.3.1)
  Requirement already satisfied: setuptools in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (71.0.0)
  Collecting setuptools
    Using cached setuptools-75.6.0-py3-none-any.whl.metadata (6.7 kB)
  Using cached setuptools-75.6.0-py3-none-any.whl (1.2 MB)
  Installing collected packages: setuptools
    Attempting uninstall: setuptools
      Found existing installation: setuptools 71.0.0
      Uninstalling setuptools-71.0.0:
        Successfully uninstalled setuptools-71.0.0
  Successfully installed setuptools-75.6.0
  Looking in indexes: https://pypi.org/simple, https://dl.espressif.com/pypi
  Ignoring importlib_metadata: markers 'python_version < "3.8"' don't match your environment
  Collecting setuptools (from -r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 3))
    Using cached https://dl.espressif.cn/pypi/setuptools/setuptools-71.0.0-py3-none-any.whl (908 kB)
  Requirement already satisfied: packaging in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from -r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 4)) (24.2)
  Requirement already satisfied: click in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from -r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 7)) (8.1.7)
  Requirement already satisfied: pyserial in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from -r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 8)) (3.5)
  Requirement already satisfied: cryptography in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from -r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 9)) (39.0.2)
  Requirement already satisfied: pyparsing in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from -r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 10)) (3.0.9)
  Requirement already satisfied: pyelftools in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from -r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 11)) (0.29)
  Requirement already satisfied: idf-component-manager in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from -r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 12)) (2.1.1)
  Requirement already satisfied: esp-coredump in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from -r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 13)) (1.12.0)
  Requirement already satisfied: esptool in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from -r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 14)) (4.7.0)
  Requirement already satisfied: esp-idf-kconfig in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from -r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 15)) (1.5.0)
  Requirement already satisfied: esp-idf-monitor in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from -r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 16)) (1.5.0)
  Requirement already satisfied: esp-idf-size in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from -r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 17)) (1.6.1)
  Requirement already satisfied: esp-idf-panic-decoder in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from -r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 18)) (1.2.1)
  Requirement already satisfied: construct in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from -r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 19)) (2.10.70)
  Requirement already satisfied: freertos_gdb in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from -r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 22)) (1.0.3)
  Requirement already satisfied: cffi>=1.12 in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from cryptography->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 9)) (1.17.1)
  Requirement already satisfied: colorama in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from idf-component-manager->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 12)) (0.4.6)
  Requirement already satisfied: pyyaml in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from idf-component-manager->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 12)) (6.0.2)
  Requirement already satisfied: ruamel.yaml in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from idf-component-manager->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 12)) (0.18.6)
  Requirement already satisfied: requests in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from idf-component-manager->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 12)) (2.32.3)
  Requirement already satisfied: requests-file in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from idf-component-manager->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 12)) (2.1.0)
  Requirement already satisfied: requests-toolbelt in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from idf-component-manager->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 12)) (1.0.0)
  Requirement already satisfied: tqdm in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from idf-component-manager->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 12)) (4.67.1)
  Requirement already satisfied: jsonref in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from idf-component-manager->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 12)) (1.1.0)
  Requirement already satisfied: pydantic in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from idf-component-manager->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 12)) (2.10.3)
  Requirement already satisfied: pydantic-core in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from idf-component-manager->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 12)) (2.27.1)
  Requirement already satisfied: pydantic-settings in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from idf-component-manager->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 12)) (2.6.1)
  Requirement already satisfied: typing-extensions in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from idf-component-manager->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 12)) (4.12.2)
  Requirement already satisfied: pygdbmi>=0.9.0.2 in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from esp-coredump->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 13)) (0.11.0.0)
  Requirement already satisfied: bitstring>=3.1.6 in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from esptool->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 14)) (4.2.3)
  Requirement already satisfied: ecdsa>=0.16.0 in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from esptool->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 14)) (0.19.0)
  Requirement already satisfied: reedsolo<1.8,>=1.5.3 in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from esptool->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 14)) (1.7.0)
  Requirement already satisfied: intelhex in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from esptool->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 14)) (2.3.0)
  Requirement already satisfied: kconfiglib>=13.7.1 in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from esp-idf-kconfig->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 15)) (14.1.0)
  Requirement already satisfied: rich in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from esp-idf-size->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 17)) (13.9.4)
  Requirement already satisfied: bitarray<3.0.0,>=2.9.0 in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from bitstring>=3.1.6->esptool->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 14)) (2.9.3)
  Requirement already satisfied: pycparser in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from cffi>=1.12->cryptography->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 9)) (2.22)
  Requirement already satisfied: six>=1.9.0 in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from ecdsa>=0.16.0->esptool->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 14)) (1.17.0)
  Requirement already satisfied: annotated-types>=0.6.0 in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from pydantic->idf-component-manager->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 12)) (0.7.0)
  Requirement already satisfied: python-dotenv>=0.21.0 in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from pydantic-settings->idf-component-manager->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 12)) (1.0.1)
  Requirement already satisfied: charset-normalizer<4,>=2 in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from requests->idf-component-manager->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 12)) (3.4.0)
  Requirement already satisfied: idna<4,>=2.5 in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from requests->idf-component-manager->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 12)) (3.10)
  Requirement already satisfied: urllib3<3,>=1.21.1 in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from requests->idf-component-manager->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 12)) (1.26.20)
  Requirement already satisfied: certifi>=2017.4.17 in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from requests->idf-component-manager->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 12)) (2024.8.30)
  Requirement already satisfied: markdown-it-py>=2.2.0 in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from rich->esp-idf-size->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 17)) (3.0.0)
  Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from rich->esp-idf-size->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 17)) (2.18.0)
  Requirement already satisfied: ruamel.yaml.clib>=0.2.7 in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from ruamel.yaml->idf-component-manager->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 12)) (0.2.12)
  Requirement already satisfied: mdurl~=0.1 in /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages (from markdown-it-py>=2.2.0->rich->esp-idf-size->-r /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt (line 17)) (0.1.2)
  Installing collected packages: setuptools
    Attempting uninstall: setuptools
      Found existing installation: setuptools 75.6.0
      Uninstalling setuptools-75.6.0:
        Successfully uninstalled setuptools-75.6.0
  Successfully installed setuptools-71.0.0
  Upgrading pip and setuptools...
  Skipping the download of /home/esp/lllix_esp32s3/.embuild/espressif/espidf.constraints.v5.1.txt because it was downloaded recently.
  Installing Python packages
   Constraint file: /home/esp/lllix_esp32s3/.embuild/espressif/espidf.constraints.v5.1.txt
   Requirement files:
    - /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt
  cargo:rerun-if-changed=/home/esp/lllix_esp32s3/sdkconfig.defaults
  CMAKE_PREFIX_PATH_xtensa-esp32s3-espidf = None
  CMAKE_PREFIX_PATH_xtensa_esp32s3_espidf = None
  TARGET_CMAKE_PREFIX_PATH = None
  CMAKE_PREFIX_PATH = None
  CMAKE_xtensa-esp32s3-espidf = None
  CMAKE_xtensa_esp32s3_espidf = None
  TARGET_CMAKE = None
  CMAKE = None
  running: cd "/home/esp/lllix_esp32s3/target/xtensa-esp32s3-espidf/debug/build/esp-idf-sys-49761e1eda9ff885/out/build" && CMAKE_PREFIX_PATH="" EXTRA_COMPONENT_DIRS="" IDF_COMPONENT_MANAGER="1" IDF_PATH="/home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4" IDF_TARGET="esp32s3" IDF_TOOLS_PATH="/home/esp/lllix_esp32s3/.embuild/espressif" LC_ALL="C" PATH="/home/esp/lllix_esp32s3/.embuild/espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin:/home/esp/lllix_esp32s3/.embuild/espressif/tools/cmake/3.24.0/bin:/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/bin:/home/esp/.rustup/toolchains/esp/xtensa-esp-elf/esp-14.2.0_20240906/xtensa-esp-elf/bin:/vscode/vscode-server/bin/linux-arm64/138f619c86f1199955d53b4166bef66ef252935c/bin/remote-cli:/home/esp/.rustup/toolchains/esp/xtensa-esp-elf/esp-14.2.0_20240906/xtensa-esp-elf/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/esp/.cargo/bin" PROJECT_DIR="/home/esp/lllix_esp32s3" SDKCONFIG_DEFAULTS="/home/esp/lllix_esp32s3/target/xtensa-esp32s3-espidf/debug/build/esp-idf-sys-49761e1eda9ff885/out/gen-sdkconfig.defaults;/home/esp/lllix_esp32s3/sdkconfig.defaults" "cmake" "/home/esp/lllix_esp32s3/target/xtensa-esp32s3-espidf/debug/build/esp-idf-sys-49761e1eda9ff885/out" "-G" "Unix Makefiles" "-DCMAKE_TOOLCHAIN_FILE=/home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/cmake/toolchain-esp32s3.cmake" "-DCMAKE_BUILD_TYPE=" "-DPYTHON=/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/bin/python" "-DCMAKE_INSTALL_PREFIX=/home/esp/lllix_esp32s3/target/xtensa-esp32s3-espidf/debug/build/esp-idf-sys-49761e1eda9ff885/out" "-DCMAKE_C_FLAGS= -mlongcalls" "-DCMAKE_CXX_FLAGS= -mlongcalls" "-DCMAKE_ASM_FLAGS= -mlongcalls"
  -- Building ESP-IDF components for target esp32s3
  -- Checking Python dependencies...
  Python requirements are satisfied.
  Constraint file: /home/esp/lllix_esp32s3/.embuild/espressif/espidf.constraints.v5.1.txt
  Requirement files:
   - /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/requirements/requirements.core.txt
  Python being checked: /home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/bin/python
  -- Configuring incomplete, errors occurred!
  See also "/home/esp/lllix_esp32s3/target/xtensa-esp32s3-espidf/debug/build/esp-idf-sys-49761e1eda9ff885/out/build/CMakeFiles/CMakeOutput.log".

  --- stderr
  Build configuration: BuildConfig {
      esp_idf_tools_install_dir: None,
      esp_idf_sdkconfig: None,
      esp_idf_sdkconfig_defaults: None,
      mcu: Some(
          "esp32s3",
      ),
      native: NativeConfig {
          esp_idf_version: Some(
              Tag(
                  "v5.1.4",
              ),
          ),
          esp_idf_repository: None,
          esp_idf_cmake_generator: None,
          idf_path: None,
          extra_components: [],
          esp_idf_components: None,
          esp_idf_component_manager: None,
      },
      esp_idf_sys_root_crate: None,
  }
  Using managed esp-idf repository: RemoteSdk { repo_url: None, git_ref: Tag("v5.1.4") }
  WARNING: Ignoring invalid distribution ~etuptools (/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages)
  WARNING: Ignoring invalid distribution ~etuptools (/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages)
  WARNING: Ignoring invalid distribution ~etuptools (/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages)
      WARNING: Ignoring invalid distribution ~etuptools (/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages)
  WARNING: Ignoring invalid distribution ~etuptools (/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages)
  WARNING: Ignoring invalid distribution ~etuptools (/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages)
  WARNING: Ignoring invalid distribution ~etuptools (/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages)
  WARNING: Ignoring invalid distribution ~etuptools (/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages)
  WARNING: Ignoring invalid distribution ~etuptools (/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages)
  WARNING: Ignoring invalid distribution ~etuptools (/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages)
      WARNING: Ignoring invalid distribution ~etuptools (/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages)
  WARNING: Ignoring invalid distribution ~etuptools (/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages)
  WARNING: Ignoring invalid distribution ~etuptools (/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages)
  WARNING: Ignoring invalid distribution ~etuptools (/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages)
  Using esp-idf v5.1.4 at '/home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4'
  CMake Error at /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/cmake/build.cmake:540 (message):
    Traceback (most recent call last):

      File "<frozen runpy>", line 198, in _run_module_as_main
      File "<frozen runpy>", line 88, in _run_code
      File "/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages/idf_component_manager/prepare_components/__main__.py", line 4, in <module>
        from .prepare import main
      File "/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages/idf_component_manager/prepare_components/prepare.py", line 13, in <module>
        from idf_component_manager.core import ComponentManager
      File "/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages/idf_component_manager/core.py", line 22, in <module>
        from idf_component_manager.utils import ComponentSource, VersionSolverResolution
      File "/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages/idf_component_manager/utils.py", line 9, in <module>
        from idf_component_tools.semver import Version
      File "/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages/idf_component_tools/__init__.py", line 19, in <module>
        from idf_component_tools.environment import ComponentManagerSettings  # noqa: E402
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages/idf_component_tools/environment.py", line 12, in <module>
        from pydantic import AliasChoices, Field, field_validator
      File "/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages/pydantic/__init__.py", line 418, in __getattr__
        module = import_module(module_name, package=package)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages/pydantic/aliases.py", line 8, in <module>
        from pydantic_core import PydanticUndefined
      File "/home/esp/lllix_esp32s3/.embuild/espressif/python_env/idf5.1_py3.11_env/lib/python3.11/site-packages/pydantic_core/__init__.py", line 6, in <module>
        from ._pydantic_core import (

    ModuleNotFoundError: No module named 'pydantic_core._pydantic_core'

  Call Stack (most recent call first):
    /home/esp/lllix_esp32s3/.embuild/espressif/esp-idf/v5.1.4/tools/cmake/project.cmake:604 (idf_build_process)
    CMakeLists.txt:28 (project)


  thread 'main' panicked at /home/esp/.cargo/registry/src/mirrors.ustc.edu.cn-4affec411d11e50f/cmake-0.1.52/src/lib.rs:1115:5:

  command did not execute successfully, got: exit status: 1

  build script failed, must exit now
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

when i have a question want to confirm, is espressif/idf-rust:esp32s3_latest can run under M series chip on mac?

@joebnb
Copy link
Author

joebnb commented Dec 12, 2024

seem my mistake,after a system reoot it running well

@joebnb joebnb closed this as completed Dec 12, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in esp-rs Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant