Skip to content

fatal: not a git repository #712

@TubaFonse

Description

@TubaFonse

Hallo Wolle, bitte um Hilfe, die aktuelle Version kann ich nicht kompilieren, Abbruch mit folgender Meldung:

Resolving esp32s3 dependencies...
Tool Manager: Installing https://github.com/espressif/arduino-esp32/releases/download/3.3.0/esp32-3.3.0.zip
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: framework-arduinoespressif32@3.3.0 has been installed!
Tool Manager: Installing https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-release_v5.5/esp32-arduino-libs-idf-release_v5.5-b66b5448-v1.zip
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: framework-arduinoespressif32-libs@5.5.0+sha.b66b5448e0 has been installed!
Tool Manager: Installing https://github.com/pioarduino/esp-idf/releases/download/v5.5.0/esp-idf-v5.5.0.zip
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: framework-espidf@3.50500.0 has been installed!
Already up-to-date.
Updating metadata for the vscode IDE...
UserSideException: Processing esp32s3 (board: ESP32-S3-DevKitC-1-N16R8; platform: https://github.com/pioarduino/platform-espressif32/releases/download/55.03.30-2/platform-espressif32.zip; framework: arduino, espidf)

Verbose mode can be enabled via -v, --verbose option
PYTHONEXE updated to penv environment: C:\Users\Hoeckmayr.platformio\penv\Scripts\python.exe
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/ESP32-S3-DevKitC-1-N16R8.html
PLATFORM: Espressif 32 (55.3.30) > Espressif ESP32-S3-DevKitC-1-N16R8V (16 MB QD, 8MB PSRAM)
HARDWARE: ESP32S3 240MHz, 320KB RAM, 16MB Flash
DEBUG: Current (esp-builtin) On-board (esp-builtin) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:

  • contrib-piohome @ 3.4.4
  • framework-arduinoespressif32 @ 3.3.0
  • framework-arduinoespressif32-libs @ 5.5.0+sha.b66b5448e0
  • framework-espidf @ 3.50500.0 (5.5.0)
  • tool-cmake @ 3.30.2
  • tool-esp-rom-elfs @ 2024.10.11
  • tool-esptoolpy @ 5.0.2
  • tool-mklittlefs @ 3.2.0
  • tool-ninja @ 1.13.1
  • tool-scons @ 4.40801.0 (4.8.1)
  • toolchain-xtensa-esp-elf @ 14.2.0+20241119
    Warning! Could not find file "https_server.crt"
    Warning! Could not find file "rmaker_mqtt_server.crt"
    Warning! Could not find file "rmaker_claim_service_server.crt"
    Warning! Could not find file "rmaker_ota_server.crt"
    Warning! Could not find file "https_server.crt"
    Warning! Could not find file "rmaker_mqtt_server.crt"
    Warning! Could not find file "rmaker_claim_service_server.crt"
    Warning! Could not find file "rmaker_ota_server.crt"
    Warning! Arduino framework as an ESP-IDF component doesn't handle the variant field! The default esp32 variant will be used.
    Reading CMake configuration...
    -- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.36.1.windows.1")
    -- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
    -- Minimal build - OFF
    -- The C compiler identification is GNU 14.2.0
    -- The CXX compiler identification is GNU 14.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/Users/Hoeckmayr/.platformio/packages/toolchain-xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc.exe
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: C:/Users/Hoeckmayr/.platformio/packages/toolchain-xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc.exe - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: C:/Users/Hoeckmayr/.platformio/packages/toolchain-xtensa-esp-elf/bin/xtensa-esp32s3-elf-g++.exe - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
    -- Could not use 'git describe' to determine PROJECT_VER.
    -- Building ESP-IDF components for target esp32s3
    -- Configuring incomplete, errors occurred!

fatal: not a git repository (or any of the parent directories): .git
CMake Error at C:/Users/Hoeckmayr/.platformio/packages/framework-espidf/tools/cmake/build.cmake:629 (message):
usage: main.py [-h] [--project_dir PROJECT_DIR]

                 [--interface_version {0,1,2,3}] [--lock_path LOCK_PATH]
                 {prepare_dependencies,inject_requirements,inject_requrements}
                 ...

main.py: error: argument --interface_version: invalid choice: 4 (choose
from 0, 1, 2, 3)

Call Stack (most recent call first):
C:/Users/Hoeckmayr/.platformio/packages/framework-espidf/tools/cmake/project.cmake:740 (idf_build_process)
CMakeLists.txt:3 (project)

========================= [FAILED] Took 10.48 seconds =========================

Environment Status Duration


esp32s3 FAILED 00:00:10.483
==================== 1 failed, 0 succeeded in 00:00:10.483 ====================

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions