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 openssl:x64-windows failed with: BUILD_FAILED #41751

Open
wutuobanhy opened this issue Oct 24, 2024 · 1 comment
Open

error: building openssl:x64-windows failed with: BUILD_FAILED #41751

wutuobanhy opened this issue Oct 24, 2024 · 1 comment
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@wutuobanhy
Copy link

Copy issue body from D:/sph/vcpkg/installed/vcpkg/issue_body.md
Package: openssl:[email protected]#1

Host Environment

  • Host: x64-windows
  • Compiler: MSVC 19.41.34123.0
  • vcpkg-tool version: 2024-10-18-e392d7347fe72dff56e7857f7571c22301237ae6
    vcpkg-scripts version: 41626fd 2024-10-23 (8 hours ago)

To Reproduce

vcpkg install --clean-after-build pybind11:x64-windows

Failure logs

-- Using cached openssl-openssl-210dc9a50dfd99caa1cf7c3d2fa42850124b1bbc.patch.
-- Using cached openssl-openssl-openssl-3.3.2.tar.gz.
-- Extracting source D:/sph/vcpkg/downloads/openssl-openssl-openssl-3.3.2.tar.gz
-- Applying patch cmake-config.patch
-- Applying patch command-line-length.patch
-- Applying patch script-prefix.patch
-- Applying patch asm-armcap.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
-- Applying patch D:/sph/vcpkg/downloads/openssl-openssl-210dc9a50dfd99caa1cf7c3d2fa42850124b1bbc.patch
-- Using source at D:/sph/vcpkg/buildtrees/openssl/src/nssl-3.3.2-515f0a0017.clean
-- Found external ninja('1.11.0').
-- Getting CMake variables for x64-windows
-- Getting CMake variables for x64-windows
-- Prerunning x64-windows-dbg
-- Building x64-windows-dbg
-- Restarting build without parallelism
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: "D:/visual studio2022/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/nmake.exe" /NOLOGO /G /U /F makefile install_dev install_modules INSTALL_PDBS=ON
    Working Directory: D:/sph/vcpkg/buildtrees/openssl/x64-windows-dbg
    See logs for more information:
      D:\sph\vcpkg\buildtrees\openssl\install-x64-windows-dbg-nmake-out.log
      D:\sph\vcpkg\buildtrees\openssl\install-x64-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:74 (vcpkg_build_nmake)
  ports/openssl/portfile.cmake:76 (include)
  scripts/ports.cmake:192 (include)



D:\sph\vcpkg\buildtrees\openssl\install-x64-windows-dbg-nmake-err.log
cl: 命令行 warning D9025 :正在重写“/Zi”(用“/Z7”)
NMAKE : fatal error U1077: ��"D:\visual studio2022\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe"  /Zi /Fdossl_static.pdb /Gs0 /GF /Gy /MDd -nologo -DWIN32 -D_WINDOWS -utf-8 -MP  -D_DEBUG -MDd -Z7 -Ob0 -Od -RTC1 -I"crypto" -I"." -I"include" -I"providers\common\include" -I"providers\implementations\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"D:\\sph\\vcpkg\\packages\\openssl_x64-windows\\debug\"" -D"ENGINESDIR=\"D:\\sph\\vcpkg\\packages\\openssl_x64-windows\\debug\\lib\\engines-3\"" -D"MODULESDIR=\"D:\\sph\\vcpkg\\packages\\openssl_x64-windows\\debug\\bin\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"DEBUG" -D"_DEBUG"   -DAES_ASM -DBSAES_ASM -DCMLL_ASM -DECP_NISTZ256_ASM -DGHASH_ASM -DKECCAK1600_ASM -DMD5_ASM -DOPENSSL_BN_ASM_GF2m -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_USE_APPLINK -DPADLOCK_ASM -DPOLY1305_ASM -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DVPAES_ASM -DWHIRLPOOL_ASM -DX25519_ASM -c /Focrypto\libcrypto-shlib-cversion.obj "crypto\cversion.c"��: ���ش��롰0x2��
Stop.
NMAKE : fatal error U1077: ��"D:\visual studio2022\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\nmake.exe" /LU                 _build_libs��: ���ش��롰0x2��
Stop.
D:\sph\vcpkg\buildtrees\openssl\install-x64-windows-dbg-nmake-out.log
	"D:\visual studio2022\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\nmake.exe" /LU                 depend
	"D:\visual studio2022\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\nmake.exe" /LU                 _build_libs
	"D:\visual studio2022\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe"  /Zi /Fdossl_static.pdb /Gs0 /GF /Gy /MDd -nologo -DWIN32 -D_WINDOWS -utf-8 -MP  -D_DEBUG -MDd -Z7 -Ob0 -Od -RTC1 -I"crypto" -I"." -I"include" -I"providers\common\include" -I"providers\implementations\include" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"D:\\sph\\vcpkg\\packages\\openssl_x64-windows\\debug\"" -D"ENGINESDIR=\"D:\\sph\\vcpkg\\packages\\openssl_x64-windows\\debug\\lib\\engines-3\"" -D"MODULESDIR=\"D:\\sph\\vcpkg\\packages\\openssl_x64-windows\\debug\\bin\"" -D"OPENSSL_BUILDING_OPENSSL" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"DEBUG" -D"_DEBUG"   -DAES_ASM -DBSAES_ASM -DCMLL_ASM -DECP_NISTZ256_ASM -DGHASH_ASM -DKECCAK1600_ASM -DMD5_ASM -DOPENSSL_BN_ASM_GF2m -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_USE_APPLINK -DPADLOCK_ASM -DPOLY1305_ASM -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DVPAES_ASM -DWHIRLPOOL_ASM -DX25519_ASM -c /Focrypto\libcrypto-shlib-cversion.obj "crypto\cversion.c"
cversion.c
crypto\cversion.c(60): warning C4129: “V:: 不可识别的字符转义序列
crypto\cversion.c(60): warning C4129: “T:: 不可识别的字符转义序列
crypto\cversion.c(60): warning C4129: “M:: 不可识别的字符转义序列
crypto\cversion.c(60): warning C4129: “H:: 不可识别的字符转义序列
crypto\cversion.c(60): warning C4129: “c:: 不可识别的字符转义序列
crypto\cversion.c(60): error C2143: 语法错误: 缺少“;”(在“常数”的前面)
crypto\cversion.c(60): error C2143: 语法错误: 缺少“;”(在“字符串”的前面)
@FrankXie05 FrankXie05 self-assigned this Oct 25, 2024
@FrankXie05
Copy link
Contributor

@wutuobanhy You can refer to #41090 (comment)

@FrankXie05 FrankXie05 added the requires:repro The issue is not currently repro-able label Oct 25, 2024
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