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

Unable to compile new firmware for BT Proxies #4581

Closed
Gferretta opened this issue Mar 17, 2023 · 1 comment
Closed

Unable to compile new firmware for BT Proxies #4581

Gferretta opened this issue Mar 17, 2023 · 1 comment

Comments

@Gferretta
Copy link

Hi everyone

Unfortunately I constantly receive these messages when trying to compile the new released versions of the BT Proxies on my RPi3b+.
I was reading within the site that several have similar or similar errors that prevent the compilation, and the only way I have is through the website https://esphome.github.io/bluetooth-proxies/

I left referenced the error that I had posted in another post.

Thank you so much
Regards

Compilation error

INFO Reading configuration /config/esphome/esp32-bluetooth-proxy-059bf0.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing esp32-bluetooth-proxy-059bf0 (board: esp32dev; framework: espidf; platform: platformio/espressif32 @ 5.2.0)
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
 - framework-espidf @ 3.40402.0 (4.4.2) 
 - tool-cmake @ 3.16.9 
 - tool-ninja @ 1.10.2 
 - toolchain-esp32ulp @ 2.35.0-20220830 
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3
Reading CMake configuration...
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: /data/cache/platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /data/cache/platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /data/cache/platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc -- broken
-- Configuring incomplete, errors occurred!
See also "/data/esp32-bluetooth-proxy-059bf0/.pioenvs/esp32-bluetooth-proxy-059bf0/CMakeFiles/CMakeOutput.log".
See also "/data/esp32-bluetooth-proxy-059bf0/.pioenvs/esp32-bluetooth-proxy-059bf0/CMakeFiles/CMakeError.log".

fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
CMake Error at /data/cache/platformio/packages/tool-cmake/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake:60 (message):
  The C compiler

    "/data/cache/platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /data/esp32-bluetooth-proxy-059bf0/.pioenvs/esp32-bluetooth-proxy-059bf0/CMakeFiles/CMakeTmp
    
    Run Build Command(s):/data/cache/platformio/packages/tool-ninja/ninja cmTC_0d3d7 && [1/2] Building C object CMakeFiles/cmTC_0d3d7.dir/testCCompiler.c.obj
    [2/2] Linking C executable cmTC_0d3d7
    FAILED: cmTC_0d3d7 
    : && /data/cache/platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc -mlongcalls -Wno-frame-address   CMakeFiles/cmTC_0d3d7.dir/testCCompiler.c.obj  -o cmTC_0d3d7   && :
    /data/cache/platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: /data/cache/platformio/packages/toolchain-xtensa-esp32/bin/../libexec/gcc/xtensa-esp32-elf/8.4.0/liblto_plugin.so: error loading plugin: /data/cache/platformio/packages/toolchain-xtensa-esp32/bin/../libexec/gcc/xtensa-esp32-elf/8.4.0/liblto_plugin.so: cannot open shared object file: No such file or directory
    collect2: error: ld returned 1 exit status
    ninja: build stopped: subcommand failed.
    
    

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  /data/cache/platformio/packages/framework-espidf/tools/cmake/project.cmake:296 (__project)
  CMakeLists.txt:3 (project)



========================= [FAILED] Took 21.61 seconds =========================

Originally posted by @Gferretta in #4369 (reply in thread)

@PlantsThatsWhatsUp
Copy link

Did you see the post that says "DO NOT POST ISSUES HERE"?

Submit issues here: https://github.com/esphome/issues/issues

@github-actions github-actions bot locked and limited conversation to collaborators Mar 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants