Skip to content

Instantly share code, notes, and snippets.

@uilianries
Created February 10, 2025 14:31
Show Gist options
  • Save uilianries/2061ae7c5eb6924a684bec61412902f5 to your computer and use it in GitHub Desktop.
Save uilianries/2061ae7c5eb6924a684bec61412902f5 to your computer and use it in GitHub Desktop.
Validate Websocketcpp missing Boost random
+ rm -rf build/ conan/
+ conan install . --output-folder=conan --build=missing --update -o '*/*:shared=True'
======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux
[options]
*/*:shared=True
[conf]
tools.build:verbosity=verbose
tools.cmake.cmaketoolchain:generator=Ninja
tools.compilation:verbosity=verbose
tools.system.package_manager:mode=install
tools.system.package_manager:sudo=true
Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux
[conf]
tools.build:verbosity=verbose
tools.cmake.cmaketoolchain:generator=Ninja
tools.compilation:verbosity=verbose
tools.system.package_manager:mode=install
tools.system.package_manager:sudo=true
======== Computing dependency graph ========
websocketpp/0.8.2: Checking remote: conancenter
Connecting to remote 'conancenter' anonymously
openssl/3.4.0: Checking remote: conancenter
zlib/1.3.1: Checking remote: conancenter
boost/1.83.0: Checking remote: conancenter
bzip2/1.0.8: Checking remote: conancenter
libbacktrace/cci.20210118: Checking remote: conancenter
b2/5.2.1: Checking remote: conancenter
Graph root
conanfile.txt: /tmp/websocket/conanfile.txt
Requirements
boost/1.83.0#dd39934d1af6ee91b3bd0d5668b3b93e - Cache (conancenter)
bzip2/1.0.8#d00dac990f08d991998d624be81a9526 - Cache (conancenter)
libbacktrace/cci.20210118#a7691bfccd8caaf66309df196790a5a1 - Cache (conancenter)
openssl/3.4.0#466f081734a3b6fc69eb6c8191e3592c - Cache (conancenter)
websocketpp/0.8.2#842a0419153a8aa52f3ea3a1da557d38 - Cache (conancenter)
zlib/1.3.1#6768c3fa40e70a726a0015ec4e45208e - Newer
Build requirements
b2/5.2.1#91bc73931a0acb655947a81569ed8b80 - Cache (conancenter)
Resolved version ranges
b2/[>=5.2 <6]: b2/5.2.1
openssl/[>=1.1 <4]: openssl/3.4.0
zlib/[>=1.2.11 <2]: zlib/1.3.1
======== Computing necessary packages ========
zlib/1.3.1: WARN: Can't update, no package in remote
boost/1.83.0: Main binary package '623d2fd8d8277975a770dd635a0f7147da25766a' missing
boost/1.83.0: Checking 9 compatible configurations
boost/1.83.0: '75c0cf98081d6e36bb410418b23e473ec89ea70c': compiler.cppstd=11
boost/1.83.0: '8700f120ad879f5279aa2963b05aca456572329e': compiler.cppstd=gnu11
boost/1.83.0: '6f1aa5393494d55bf31ffd8bacaf1fc5bc281f7a': compiler.cppstd=14
boost/1.83.0: '83b8e302cce79ed42b7161c03045a3710a7a56fc': compiler.cppstd=gnu14
boost/1.83.0: '429e7ec76eac4cedcc1132ba92cb583d1a722d90': compiler.cppstd=17
boost/1.83.0: Found compatible package '429e7ec76eac4cedcc1132ba92cb583d1a722d90': compiler.cppstd=17
Requirements
boost/1.83.0#dd39934d1af6ee91b3bd0d5668b3b93e:429e7ec76eac4cedcc1132ba92cb583d1a722d90#b595e72f71b4b945ee43deb5deb171d8 - Cache
bzip2/1.0.8#d00dac990f08d991998d624be81a9526:582795513620c02434315fe471662206b3a90c44#32df64d7ab9f75d4f9d87c427788ca9c - Cache
libbacktrace/cci.20210118#a7691bfccd8caaf66309df196790a5a1:abe5e2b04ea92ce2ee91bc9834317dbe66628206#2dea8a9fd34eb3151281daa9d37120cf - Cache
openssl/3.4.0#466f081734a3b6fc69eb6c8191e3592c:80626e45106f252f73093b8b9376039358185fb4#a56af725c3a40cb2061c8646170df898 - Cache
websocketpp/0.8.2#842a0419153a8aa52f3ea3a1da557d38:da39a3ee5e6b4b0d3255bfef95601890afd80709#8d95ef6d4cbb83d2ac764b984accfa53 - Cache
zlib/1.3.1#6768c3fa40e70a726a0015ec4e45208e:abe5e2b04ea92ce2ee91bc9834317dbe66628206#be6a6ce999a54555b063209c32c24518 - Cache
Build requirements
Skipped binaries
b2/5.2.1
======== Installing packages ========
bzip2/1.0.8: Already installed! (1 of 6)
libbacktrace/cci.20210118: Already installed! (2 of 6)
zlib/1.3.1: Already installed! (3 of 6)
boost/1.83.0: Already installed! (4 of 6)
openssl/3.4.0: Already installed! (5 of 6)
websocketpp/0.8.2: Already installed! (6 of 6)
WARN: deprecated: Usage of deprecated Conan 1.X features that will be removed in Conan 2.X:
WARN: deprecated: 'cpp_info.names' used in: boost/1.83.0, bzip2/1.0.8, zlib/1.3.1
WARN: deprecated: 'cpp_info.build_modules' used in: bzip2/1.0.8
WARN: deprecated: 'env_info' used in: boost/1.83.0, bzip2/1.0.8
WARN: deprecated: 'cpp_info.filenames' used in: boost/1.83.0
WARN: deprecated: 'user_info' used in: boost/1.83.0
======== Finalizing install (deploy, generators) ========
conanfile.txt: Writing generators to /tmp/websocket/conan/build/Release/generators
conanfile.txt: Generator 'CMakeDeps' calling 'generate()'
conanfile.txt: CMakeDeps necessary find_package() and targets for your CMakeLists.txt
find_package(websocketpp)
target_link_libraries(... websocketpp::websocketpp)
conanfile.txt: Generator 'CMakeToolchain' calling 'generate()'
conanfile.txt: CMakeToolchain generated: conan_toolchain.cmake
conanfile.txt: CMakeToolchain: Preset 'conan-release' added to CMakePresets.json.
(cmake>=3.23) cmake --preset conan-release
(cmake<3.23) cmake <path> -G Ninja -DCMAKE_TOOLCHAIN_FILE=generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release
conanfile.txt: CMakeToolchain generated: /tmp/websocket/conan/build/Release/generators/CMakePresets.json
conanfile.txt: CMakeToolchain generated: /tmp/websocket/CMakeUserPresets.json
conanfile.txt: Generating aggregated env files
conanfile.txt: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
Install finished successfully
+ cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=conan/build/Release/generators/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=ON
-- Using Conan toolchain: /tmp/websocket/conan/build/Release/generators/conan_toolchain.cmake
-- Conan toolchain: Defining architecture flag: -m64
-- Conan toolchain: C++ Standard 17 with extensions ON
-- The CXX compiler identification is GNU 11.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Conan: Target declared 'websocketpp::websocketpp'
-- Conan: Component target declared 'OpenSSL::Crypto'
-- Conan: Component target declared 'OpenSSL::SSL'
-- Conan: Target declared 'openssl::openssl'
-- Conan: Target declared 'ZLIB::ZLIB'
-- Conan: Including build module from '/home/uilian/.conan2/p/opens974fc0ee56d5f/p/lib/cmake/conan-official-openssl-variables.cmake'
-- Conan: Component target declared 'Boost::diagnostic_definitions'
-- Conan: Component target declared 'Boost::disable_autolinking'
-- Conan: Component target declared 'Boost::dynamic_linking'
-- Conan: Component target declared 'boost::process'
-- Conan: Component target declared 'Boost::headers'
-- Conan: Component target declared 'Boost::boost'
-- Conan: Component target declared 'boost::_libboost'
-- Conan: Component target declared 'Boost::atomic'
-- Conan: Component target declared 'Boost::container'
-- Conan: Component target declared 'Boost::context'
-- Conan: Component target declared 'Boost::date_time'
-- Conan: Component target declared 'Boost::exception'
-- Conan: Component target declared 'Boost::math'
-- Conan: Component target declared 'Boost::program_options'
-- Conan: Component target declared 'Boost::regex'
-- Conan: Component target declared 'Boost::serialization'
-- Conan: Component target declared 'Boost::stacktrace'
-- Conan: Component target declared 'Boost::system'
-- Conan: Component target declared 'Boost::timer'
-- Conan: Component target declared 'Boost::chrono'
-- Conan: Component target declared 'Boost::coroutine'
-- Conan: Component target declared 'Boost::filesystem'
-- Conan: Component target declared 'Boost::json'
-- Conan: Component target declared 'Boost::math_c99'
-- Conan: Component target declared 'Boost::math_c99f'
-- Conan: Component target declared 'Boost::math_c99l'
-- Conan: Component target declared 'Boost::math_tr1'
-- Conan: Component target declared 'Boost::math_tr1f'
-- Conan: Component target declared 'Boost::math_tr1l'
-- Conan: Component target declared 'Boost::random'
-- Conan: Component target declared 'Boost::stacktrace_addr2line'
-- Conan: Component target declared 'Boost::stacktrace_backtrace'
-- Conan: Component target declared 'Boost::stacktrace_basic'
-- Conan: Component target declared 'Boost::stacktrace_noop'
-- Conan: Component target declared 'Boost::test'
-- Conan: Component target declared 'Boost::url'
-- Conan: Component target declared 'Boost::wserialization'
-- Conan: Component target declared 'Boost::fiber'
-- Conan: Component target declared 'Boost::graph'
-- Conan: Component target declared 'Boost::iostreams'
-- Conan: Component target declared 'Boost::nowide'
-- Conan: Component target declared 'Boost::prg_exec_monitor'
-- Conan: Component target declared 'Boost::test_exec_monitor'
-- Conan: Component target declared 'Boost::thread'
-- Conan: Component target declared 'Boost::wave'
-- Conan: Component target declared 'Boost::contract'
-- Conan: Component target declared 'Boost::fiber_numa'
-- Conan: Component target declared 'Boost::locale'
-- Conan: Component target declared 'Boost::log'
-- Conan: Component target declared 'Boost::type_erasure'
-- Conan: Component target declared 'Boost::unit_test_framework'
-- Conan: Component target declared 'Boost::log_setup'
-- Conan: Target declared 'boost::boost'
-- Conan: Target declared 'BZip2::BZip2'
-- Conan: Including build module from '/home/uilian/.conan2/p/bzip2f830e98f4ab50/p/lib/cmake/conan-official-bzip2-variables.cmake'
-- Conan: Target declared 'libbacktrace::libbacktrace'
-- Configuring done (0.2s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/websocket/build
+ cmake --build build
Change Dir: '/tmp/websocket/build'
Run Build Command(s): /opt/pyenv/versions/3.12.4/lib/python3.12/site-packages/cmake/data/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile
/opt/pyenv/versions/3.12.4/lib/python3.12/site-packages/cmake/data/bin/cmake -S/tmp/websocket -B/tmp/websocket/build --check-build-system CMakeFiles/Makefile.cmake 0
/opt/pyenv/versions/3.12.4/lib/python3.12/site-packages/cmake/data/bin/cmake -E cmake_progress_start /tmp/websocket/build/CMakeFiles /tmp/websocket/build//CMakeFiles/progress.marks
/usr/bin/gmake -f CMakeFiles/Makefile2 all
gmake[1]: Entering directory '/tmp/websocket/build'
/usr/bin/gmake -f CMakeFiles/foo.dir/build.make CMakeFiles/foo.dir/depend
gmake[2]: Entering directory '/tmp/websocket/build'
cd /tmp/websocket/build && /opt/pyenv/versions/3.12.4/lib/python3.12/site-packages/cmake/data/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/websocket /tmp/websocket /tmp/websocket/build /tmp/websocket/build /tmp/websocket/build/CMakeFiles/foo.dir/DependInfo.cmake "--color="
gmake[2]: Leaving directory '/tmp/websocket/build'
/usr/bin/gmake -f CMakeFiles/foo.dir/build.make CMakeFiles/foo.dir/build
gmake[2]: Entering directory '/tmp/websocket/build'
[ 50%] Building CXX object CMakeFiles/foo.dir/src/foo.cpp.o
/usr/bin/c++ -DBOOST_ALL_DYN_LINK -isystem /home/uilian/.conan2/p/webso7a47c7731495b/p/include -isystem /home/uilian/.conan2/p/opens974fc0ee56d5f/p/include -isystem /home/uilian/.conan2/p/b/zlib9e26dadd6005a/p/include -isystem /home/uilian/.conan2/p/boosta3fe1c1d5de30/p/include -m64 -O3 -DNDEBUG -std=gnu++17 -MD -MT CMakeFiles/foo.dir/src/foo.cpp.o -MF CMakeFiles/foo.dir/src/foo.cpp.o.d -o CMakeFiles/foo.dir/src/foo.cpp.o -c /tmp/websocket/src/foo.cpp
[100%] Linking CXX executable foo
/opt/pyenv/versions/3.12.4/lib/python3.12/site-packages/cmake/data/bin/cmake -E cmake_link_script CMakeFiles/foo.dir/link.txt --verbose=1
/usr/bin/c++ -m64 -O3 -DNDEBUG -m64 CMakeFiles/foo.dir/src/foo.cpp.o -o foo -L/home/uilian/.conan2/p/opens974fc0ee56d5f/p/lib -L/home/uilian/.conan2/p/b/zlib9e26dadd6005a/p/lib -L/home/uilian/.conan2/p/boosta3fe1c1d5de30/p/lib -Wl,-rpath,/home/uilian/.conan2/p/opens974fc0ee56d5f/p/lib:/home/uilian/.conan2/p/b/zlib9e26dadd6005a/p/lib:/home/uilian/.conan2/p/boosta3fe1c1d5de30/p/lib /home/uilian/.conan2/p/opens974fc0ee56d5f/p/lib/libssl.so /home/uilian/.conan2/p/opens974fc0ee56d5f/p/lib/libcrypto.so -ldl -lrt -lpthread /home/uilian/.conan2/p/b/zlib9e26dadd6005a/p/lib/libz.so
gmake[2]: Leaving directory '/tmp/websocket/build'
[100%] Built target foo
gmake[1]: Leaving directory '/tmp/websocket/build'
/opt/pyenv/versions/3.12.4/lib/python3.12/site-packages/cmake/data/bin/cmake -E cmake_progress_start /tmp/websocket/build/CMakeFiles 0
+ build/foo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment