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

vcpkg install [openssl] Build error #32682

Closed
747728775 opened this issue Jul 21, 2023 · 1 comment
Closed

vcpkg install [openssl] Build error #32682

747728775 opened this issue Jul 21, 2023 · 1 comment
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@747728775
Copy link

win11,visual studio 2022.

vcpkg
error: building openssl:x86-windows failed with: BUILD_FAILED

Copy issue body from E:/vcpkgnew/installed/vcpkg/issue_body.md
PS E:\vcpkgnew> .\vcpkg install openssl:x86-windows
Computing installation plan...
The following packages will be built and installed:
openssl:x86-windows -> 3.1.1
Detecting compiler hash for triplet x86-windows...
Restored 0 package(s) from C:\Users\74772\AppData\Local\vcpkg\archives in 101 us. Use --debug to see more details.
Installing 1/1 openssl:x86-windows...
Building openssl:x86-windows...
-- Using cached openssl-openssl-openssl-3.1.1.tar.gz.
-- Cleaning sources at E:/vcpkgnew/buildtrees/openssl/src/nssl-3.1.1-53a8e40f57.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkgnew/downloads/openssl-openssl-openssl-3.1.1.tar.gz
-- Applying patch disable-apps.patch
-- Applying patch disable-install-docs.patch
-- Applying patch script-prefix.patch
-- Applying patch windows/install-layout.patch
-- Applying patch windows/install-pdbs.patch
-- Applying patch unix/android-cc.patch
-- Applying patch unix/move-openssldir.patch
-- Applying patch unix/no-empty-dirs.patch
-- Applying patch unix/no-static-libs-for-shared.patch
-- Using source at E:/vcpkgnew/buildtrees/openssl/src/nssl-3.1.1-53a8e40f57.clean
-- Found external ninja('1.11.0').
-- Getting CMake variables for x86-windows
-- Getting CMake variables for x86-windows
-- Prerunning x86-windows-dbg
-- Building x86-windows-dbg
-- Restarting build without parallelism
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: D:/VisualStudio/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x86/nmake.exe /NOLOGO /G /U /F makefile install_dev install_modules INSTALL_PDBS=ON
Working Directory: E:/vcpkgnew/buildtrees/openssl/x86-windows-dbg
See logs for more information:
E:\vcpkgnew\buildtrees\openssl\install-x86-windows-dbg-nmake-out.log
E:\vcpkgnew\buildtrees\openssl\install-x86-windows-dbg-nmake-err.log

Call Stack (most recent call first):
scripts/cmake/vcpkg_build_nmake.cmake:156 (vcpkg_execute_build_process)
ports/openssl/windows/portfile.cmake:50 (vcpkg_build_nmake)
ports/openssl/portfile.cmake:68 (include)
scripts/ports.cmake:147 (include)

error: building openssl:x86-windows failed with: BUILD_FAILED
Elapsed time to handle openssl:x86-windows: 1.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+openssl
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[openssl]+Build+error&body=Copy+issue+body+from+E%3A%2Fvcpkgnew%2Finstalled%2Fvcpkg%2Fissue_body.md

err.log:
cl : Command line warning D9025 : overriding '/Zi' with '/Z7'

aes-586.S
crypto\aes\libcrypto-shlib-aes-586.obj.asm:1: error: parser: instruction expected
crypto\aes\libcrypto-shlib-aes-586.obj.asm:2: error: parser: instruction expected
crypto\aes\libcrypto-shlib-aes-586.obj.asm:5: error: label or instruction expected at start of line
crypto\aes\libcrypto-shlib-aes-586.obj.asm:21: warning: label alone on a line without a colon might be in error [-w+label-orphan]
NMAKE : fatal error U1077: '"E:\vcpkgnew\downloads\tools\nasm\nasm-2.16.01\nasm.exe" -f win32 -o crypto\aes\libcrypto-shlib-aes-586.obj crypto\aes\libcrypto-shlib-aes-586.obj.asm' : return code '0x1'
Stop.
NMAKE : fatal error U1077: 'D:\VisualStudio\Community\VC\Tools\MSVC\14.36.32532\bin\Hostx64\x86\nmake.exe /LU _build_libs' : return code '0x2'
Stop.

@FrankXie05 FrankXie05 added the requires:repro The issue is not currently repro-able label Jul 21, 2023
@FrankXie05
Copy link
Contributor

Duplicate of #30645.

@FrankXie05 FrankXie05 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:repro The issue is not currently repro-able
Projects
None yet
Development

No branches or pull requests

2 participants