Skip to content

ERROR: fmt/8.0.1: Cannot load recipe. / Error loading conanfile  #664

@FlowDrucka64

Description

@FlowDrucka64

Hello!
I've been working on the revival of TF and was making good progress.
After a one day break, when invoking dev.camke in the faasm container the following happens:

ERROR: fmt/8.0.1: Cannot load recipe.
Error loading conanfile at '/root/.conan/data/fmt/8.0.1/_/_/export/conanfile.py': Unable to load conanfile in /root/.conan/data/fmt/8.0.1/_/_/export/conanfile.py
  File "<frozen importlib._bootstrap>", line 702, in _load
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 843, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/root/.conan/data/fmt/8.0.1/_/_/export/conanfile.py", line 5, in <module>
    from conan.tools.scm import Version
ModuleNotFoundError: No module named 'conan.tools.scm'

CMake Error at /build/faasm/faabric/conan.cmake:631 (message):
  Conan install failed='1'
Call Stack (most recent call first):
  faabric/cmake/ExternalProjects.cmake:71 (conan_cmake_install)
  faabric/CMakeLists.txt:65 (include)


-- Configuring incomplete, errors occurred!
See also "/build/faasm/CMakeFiles/CMakeOutput.log".
See also "/build/faasm/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
  File "/usr/local/code/faasm/venv/bin/inv", line 8, in <module>
    sys.exit(program.run())
  File "/usr/local/code/faasm/venv/lib/python3.8/site-packages/invoke/program.py", line 384, in run
    self.execute()
  File "/usr/local/code/faasm/venv/lib/python3.8/site-packages/invoke/program.py", line 566, in execute
    executor.execute(*self.tasks)
  File "/usr/local/code/faasm/venv/lib/python3.8/site-packages/invoke/executor.py", line 129, in execute
    result = call.task(*args, **call.kwargs)
  File "/usr/local/code/faasm/venv/lib/python3.8/site-packages/invoke/tasks.py", line 127, in __call__
    result = self.body(*args, **kwargs)
  File "/usr/local/code/faasm/faasmcli/faasmcli/tasks/dev.py", line 69, in cmake
    run(cmd_str, shell=True, check=True, cwd=FAASM_BUILD_DIR)
  File "/usr/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=/usr/bin/clang++-13 -DCMAKE_C_COMPILER=/usr/bin/clang-13 -DCMAKE_INSTALL_PREFIX=/usr/local    -DFAASM_USE_SANITISER=None -DFAABRIC_USE_SANITISER=None -DFAASM_SGX_MODE=Disabled  /usr/local/code/faasm' returned non-zero exit status 1.

Is this error occuring because I broke something?
(I already nuked everything (faasm repo, docker containers & volumes) but the docker images)

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