[Webkit-unassigned] [Bug 212188] New: WebKit failed to build due to error C3861 C2065 on windows with MSVC

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 20 23:19:08 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=212188

            Bug ID: 212188
           Summary: WebKit failed to build due to error C3861 C2065 on
                    windows with MSVC
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Windows 10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: 1998zhangyi at gmail.com

Created attachment 399936

  --> https://bugs.webkit.org/attachment.cgi?id=399936&action=review

log_x64_build

Environment:
VS 2019 + Windows Server 2016

Issue description:
We tried to build WebKit using VS2019 on Windows Server 2016. WebKit failed to build due to (error C3861: 'EVP_aes_128_wrap': identifier not found) and (error C2065: 'EVP_CIPHER_CTX_FLAG_WRAP_ALLOW': undeclared identifier) on windows with MSVC. It can be reproduced on master branch latest commit f8ae026. Could you please help take a look at this? Thanks in advance!

Repro steps:
1. git clone https://github.com/WebKit/webkit F:\gitP\WebKit\webkit
2. open a VS 2019 x64 command prompt as admin and browse to F:\gitP\WebKit\webkit
3. set path=F:\tools\WebKit\tools;%path%
4. xcopy F:\tools\WebKit\WebKitLibraries\win F:\gitP\WebKit\webkit\WebKitLibraries\win /k/r/e/i/s/c/h/f/y
5. mkdir build_x64 && pushd build_x64
6. cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.18362.0 -DCMAKE_BUILD_TYPE=Release -DRUBY_LIBRARY=C:\tools\ruby26\lib -DPORT="WinCairo" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DSHOW_BINDINGS_GENERATION_PROGRESS=1 -DDEVELOPER_MODE=ON -DENABLE_EXPERIMENTAL_FEATURES=ON ..
7. msbuild /p:Platform=x64 /p:Configuration=Release WebKit.sln /t:Rebuild

Actual result:
F:\gitP\WebKit\webkit\Source\WebCore\crypto\openssl\CryptoAlgorithmAES_KWOpenSSL.cpp(40,16): error C3861: 'EVP_aes_128_wrap': identifier not found [F:\gitP\WebKit\webkit\build_amd64\Source\WebCore\WebCore.vcxproj]
F:\gitP\WebKit\webkit\Source\WebCore\crypto\openssl\CryptoAlgorithmAES_KWOpenSSL.cpp(43,16): error C3861: 'EVP_aes_192_wrap': identifier not found [F:\gitP\WebKit\webkit\build_amd64\Source\WebCore\WebCore.vcxproj]
  CryptoKeyECOpenSSL.cpp
F:\gitP\WebKit\webkit\Source\WebCore\crypto\openssl\CryptoAlgorithmAES_KWOpenSSL.cpp(46,16): error C3861: 'EVP_aes_256_wrap': identifier not found [F:\gitP\WebKit\webkit\build_amd64\Source\WebCore\WebCore.vcxproj]
F:\gitP\WebKit\webkit\Source\WebCore\crypto\openssl\CryptoAlgorithmAES_KWOpenSSL.cpp(65,41): error C2065: 'EVP_CIPHER_CTX_FLAG_WRAP_ALLOW': undeclared identifier [F:\gitP\WebKit\webkit\build_amd64\Source\WebCore\WebCore.vcxproj]
F:\gitP\WebKit\webkit\Source\WebCore\crypto\openssl\CryptoAlgorithmAES_KWOpenSSL.cpp(97,41): error C2065: 'EVP_CIPHER_CTX_FLAG_WRAP_ALLOW': undeclared identifier [F:\gitP\WebKit\webkit\build_amd64\Source\WebCore\WebCore.vcxproj]

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200521/62ca1bb6/attachment-0001.htm>


More information about the webkit-unassigned mailing list