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

error: building cpprestsdk:x64-linux failed with: BUILD_FAILED #1789

Open
silver-mian opened this issue Feb 3, 2024 · 3 comments
Open

error: building cpprestsdk:x64-linux failed with: BUILD_FAILED #1789

silver-mian opened this issue Feb 3, 2024 · 3 comments

Comments

@silver-mian
Copy link

sea@ubuntu:~$ vcpkg install cpprestsdk
Computing installation plan...
The following packages will be built and installed:
cpprestsdk[compression,core]:[email protected]
Detecting compiler hash for triplet x64-linux...
Restored 0 package(s) from /home/sea/.cache/vcpkg/archives in 1.4 ms. Use --debug to see more details.
Installing 1/1 cpprestsdk[compression,core]:[email protected]...
Building cpprestsdk[compression,core]:[email protected]...
-- Using cached Microsoft-cpprestsdk-411a109150b270f23c8c97fa4ec9a0a4a98cdecf.tar.gz.
-- Cleaning sources at /home/sea/Downloads/vcpkg/buildtrees/cpprestsdk/src/a4a98cdecf-716fde1512.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/sea/Downloads/vcpkg/downloads/Microsoft-cpprestsdk-411a109150b270f23c8c97fa4ec9a0a4a98cdecf.tar.gz
-- Applying patch fix-find-openssl.patch
-- Applying patch fix_narrowing.patch
-- Applying patch fix-uwp.patch
-- Using source at /home/sea/Downloads/vcpkg/buildtrees/cpprestsdk/src/a4a98cdecf-716fde1512.clean
-- Configuring x64-linux
CMake Warning at installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:318 (message):
The following variables are not used in CMakeLists.txt:

  WEBSOCKETPP_CONFIG
  WEBSOCKETPP_CONFIG_VERSION

Please recheck them and remove the unnecessary options from the
vcpkg_cmake_configure call.

If these options should still be passed for whatever reason, please use the
MAYBE_UNUSED_VARIABLES argument.
Call Stack (most recent call first):
ports/cpprestsdk/portfile.cmake:33 (vcpkg_cmake_configure)
scripts/ports.cmake:170 (include)

-- Building x64-linux-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: /home/sea/Downloads/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/cmake --build . --config Debug --target install -- -v -j17
Working Directory: /home/sea/Downloads/vcpkg/buildtrees/cpprestsdk/x64-linux-dbg
See logs for more information:
/home/sea/Downloads/vcpkg/buildtrees/cpprestsdk/install-x64-linux-dbg-out.log

Call Stack (most recent call first):
installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
ports/cpprestsdk/portfile.cmake:48 (vcpkg_cmake_install)
scripts/ports.cmake:170 (include)

error: building cpprestsdk:x64-linux failed with: BUILD_FAILED
Elapsed time to handle cpprestsdk:x64-linux: 6.5 min
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+cpprestsdk
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[cpprestsdk]+Build+error+on+x64-linux&body=Copy+issue+body+from+%2Fhome%2Fsea%2FDownloads%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md

@silver-mian
Copy link
Author

Could you please help me, big shot

@giorgiozoppi
Copy link

Please can you tell us the version of Linux and the compiler that you're using, we need more informations

@giorgiozoppi
Copy link

@BillyONeal I am interested to maintain this project. What should i do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants