orbit icon indicating copy to clipboard operation
orbit copied to clipboard

Installation error: Loop detected in context host: 'cmake/3.16.4' requires 'openssl/1.1.1g' which is an ancestor too

Open William-Baker opened this issue 5 years ago • 1 comments

Occurs when running ./bootstrap-orbit.sh on a clean install of Linux with all dependencies as far as I can tell, CMake 3.16.3 (CMake 3.16.3 seems unavailable), OpenSSL 1.1.1f, QT5, Mesa...

Checking if conan is available...
Found conan. Checking version...
Conan's version fulfills the requirements. Continuing...
Installing conan configuration (profiles, settings, etc.)...
Defining remotes from remotes.txt
Installing settings.yml
Copying file clang8_release to /root/.conan/profiles
Copying file gcc9_release to /root/.conan/profiles
Copying file gcc9_relwithdebinfo to /root/.conan/profiles
Copying file ggp_debug to /root/.conan/profiles
Copying file gcc10_debug to /root/.conan/profiles
Copying file clang8_debug to /root/.conan/profiles
Copying file gcc8_debug to /root/.conan/profiles
Copying file clang8_relwithdebinfo to /root/.conan/profiles
Copying file gcc10_relwithdebinfo to /root/.conan/profiles
Copying file gcc8_relwithdebinfo to /root/.conan/profiles
Copying file ggp_relwithdebinfo to /root/.conan/profiles
Copying file clang7_debug to /root/.conan/profiles
Copying file clang7_release to /root/.conan/profiles
Copying file gcc8_release to /root/.conan/profiles
Copying file clang9_relwithdebinfo to /root/.conan/profiles
Copying file libfuzzer_relwithdebinfo to /root/.conan/profiles
Copying file clang9_debug to /root/.conan/profiles
Copying file ggp_release to /root/.conan/profiles
Copying file clang9_release to /root/.conan/profiles
Copying file libfuzzer_base to /root/.conan/profiles
Copying file clang7_relwithdebinfo to /root/.conan/profiles
Copying file gcc9_debug to /root/.conan/profiles
Copying file gcc10_release to /root/.conan/profiles
Processing conan.conf
Using public remotes for conan.
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=RelWithDebInfo
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=9
os=Linux
os_build=Linux
[options]
[build_requires]
*: cmake/3.16.4
[env]

WARN: grpc/1.27.3@orbitdeps/stable: requirement abseil/20190808@orbitdeps/stable overridden by OrbitProfiler/None to abseil/20190808@orbitdeps/stable 
WARN: grpc/1.27.3@orbitdeps/stable: requirement zlib/1.2.11 overridden by OrbitProfiler/None to zlib/1.2.11 
WARN: grpc/1.27.3@orbitdeps/stable: requirement openssl/1.0.2t overridden by OrbitProfiler/None to openssl/1.1.1d@orbitdeps/stable 
zlib/1.2.11: Retrieving from server 'conan-center' 
zlib/1.2.11: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.31k]                                          
Downloading conanfile.py completed [7.88k]                                               
Downloading conan_export.tgz completed [0.31k]                                           
Decompressing conan_export.tgz completed [0.00k]                                         
zlib/1.2.11: Downloaded recipe revision 9e0c292b60ce77402bd9be60dd68266f
WARN: openssl/1.1.1d@orbitdeps/stable: requirement zlib/1.2.11 overridden by grpc/1.27.3@orbitdeps/stable to zlib/1.2.11 
WARN: llvm_support/9.0.1-2@orbitdeps/stable: requirement zlib/1.2.11@conan/stable overridden by llvm_binary_format/9.0.1-2@orbitdeps/stable to zlib/1.2.11 
WARN: llvm_symbolize/9.0.1-2@orbitdeps/stable: requirement llvm_object/9.0.1-2@orbitdeps/stable overridden by OrbitProfiler/None to llvm_object/9.0.1-2@orbitdeps/stable 
WARN: llvm_debuginfo_dwarf/9.0.1-2@orbitdeps/stable: requirement llvm_object/9.0.1-2@orbitdeps/stable overridden by llvm_symbolize/9.0.1-2@orbitdeps/stable to llvm_object/9.0.1-2@orbitdeps/stable 
WARN: libprotobuf-mutator/20200506@orbitdeps/stable: requirement lzma_sdk/19.00@orbitdeps/stable overridden by OrbitProfiler/None to lzma_sdk/19.00@orbitdeps/stable 
WARN: libprotobuf-mutator/20200506@orbitdeps/stable: requirement zlib/1.2.11 overridden by OrbitProfiler/None to zlib/1.2.11 
WARN: libunwindstack/80a734f14@orbitdeps/stable: requirement lzma_sdk/19.00@orbitdeps/stable overridden by OrbitProfiler/None to lzma_sdk/19.00@orbitdeps/stable 
WARN: freetype/2.10.0@bincrafters/stable: requirement libpng/1.6.37@bincrafters/stable overridden by OrbitProfiler/None to libpng/1.6.37@bincrafters/stable 
WARN: freetype/2.10.0@bincrafters/stable: requirement zlib/1.2.11@conan/stable overridden by OrbitProfiler/None to zlib/1.2.11 
WARN: freetype/2.10.0@bincrafters/stable: requirement bzip2/1.0.8@conan/stable overridden by OrbitProfiler/None to bzip2/1.0.8@conan/stable 
WARN: libpng/1.6.37@bincrafters/stable: requirement zlib/1.2.11@conan/stable overridden by freetype/2.10.0@bincrafters/stable to zlib/1.2.11 
WARN: freetype-gl/8d9a97a@orbitdeps/stable: requirement glew/2.1.0@orbitdeps/stable overridden by OrbitProfiler/None to glew/2.1.0@orbitdeps/stable 
WARN: freetype-gl/8d9a97a@orbitdeps/stable: requirement freetype/2.10.0@bincrafters/stable overridden by OrbitProfiler/None to freetype/2.10.0@bincrafters/stable 
WARN: freetype-gl/8d9a97a@orbitdeps/stable: requirement zlib/1.2.11@conan/stable overridden by OrbitProfiler/None to zlib/1.2.11 
WARN: libssh2/1.9.0: requirement zlib/1.2.11 overridden by OrbitProfiler/None to zlib/1.2.11 
WARN: libssh2/1.9.0: requirement openssl/1.1.1f overridden by OrbitProfiler/None to openssl/1.1.1d@orbitdeps/stable 
Outcome/3dae433e@orbitdeps/stable: Package is up to date
capstone/4.0.1@orbitdeps/stable: Package is up to date
glew/2.1.0@orbitdeps/stable: Package is up to date
llvm_headers/9.0.1-2@orbitdeps/stable: Package is up to date
abseil/20190808@orbitdeps/stable: Outdated package!
libunwindstack/80a734f14@orbitdeps/stable: Package is up to date
openssl/1.1.1d@orbitdeps/stable: Package is up to date
depot_tools_installer/20200515@bincrafters/stable: WARN: This version of depot_tools will perform opportunistic auto-updates.
zlib/1.2.11: Retrieving from remote 'conan-center'...
zlib/1.2.11: Retrieving from server 'conan-center' 
zlib/1.2.11: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.40k]                                          
Downloading conanfile.py completed [8.35k]                                               
Downloading conan_export.tgz completed [0.33k]                                           
Decompressing conan_export.tgz completed [0.00k]                                         
zlib/1.2.11: Downloaded recipe revision 1579680eade7cc27626667ca4b143529
depot_tools_installer/20200515@bincrafters/stable: Package is up to date
ninja/1.9.0: Package is up to date
ERROR: Loop detected in context host: 'cmake/3.16.4' requires 'openssl/1.1.1g' which is an ancestor too

William-Baker avatar Sep 24 '20 19:09 William-Baker

Hi William, you probably tried Orbit before, I guess?

It seems you're having an old version of the conan default-profiles that we generate when first running bootstrap. Some weeks ago we had a breaking change which requires you to delete the default profiles so that the bootstrap script will create new ones.

That's deleting the old-style default profiles:

rm -v ~/.conan/profiles/default_*

If you ran the bootstrap script afterwards, it should work.

Sorry for the fuzz.

Cheers, Henning

beckerhe avatar Sep 25 '20 07:09 beckerhe