WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
209638
[WinCairo] CMake 3.17.0 reports an error in WebKitLibraries/win/share/curl/cmake/CURLTargets.cmake
https://bugs.webkit.org/show_bug.cgi?id=209638
Summary
[WinCairo] CMake 3.17.0 reports an error in WebKitLibraries/win/share/curl/cm...
Fujii Hironori
Reported
2020-03-26 18:42:02 PDT
[WinCairo] CMake 3.17.0 reports an error in WebKitLibraries/win/share/curl/cmake/CURLTargets.cmake After upgrading CMake, I'm seeing the following error:
> CMake Error at WebKitLibraries/win/share/curl/cmake/CURLTargets.cmake:79 (message): > The imported target "CURL::libcurl" references the file > > "C:/webkit/gc/WebKitLibraries/win/lib/libcurl_imp.lib" > > but this file does not exist. Possible reasons include: > > * The file was deleted, renamed, or moved to another location. > > * An install or uninstall procedure did not complete successfully. > > * The installation package was faulty and contained > > "C:/webkit/gc/WebKitLibraries/win/share/curl/cmake/CURLTargets.cmake" > > but not all the files it references. > > Call Stack (most recent call first): > WebKitLibraries/win/share/curl/cmake/CURLConfig.cmake:35 (include) > Source/cmake/WebKitFindPackage.cmake:104 (_find_package) > C:/Program Files/CMake/share/cmake-3.17/Modules/FindCURL.cmake:58 (find_package) > Source/cmake/WebKitFindPackage.cmake:104 (_find_package) > Source/cmake/OptionsWinCairo.cmake:9 (find_package) > Source/cmake/WebKitCommon.cmake:57 (include) > CMakeLists.txt:169 (include)
Attachments
build.log
(11.61 KB, text/plain)
2020-03-26 18:46 PDT
,
Fujii Hironori
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Fujii Hironori
Comment 1
2020-03-26 18:42:45 PDT
Removing WebKitLibraries/win/share/curl/cmake seems to work around the error.
Fujii Hironori
Comment 2
2020-03-26 18:46:07 PDT
Created
attachment 394690
[details]
build.log
Fujii Hironori
Comment 3
2020-03-26 21:59:32 PDT
CMake change:
https://gitlab.kitware.com/cmake/cmake/-/commit/c11e7c5c3d5c5e682adf761c4b0de734ff68e690
Fujii Hironori
Comment 4
2020-03-26 22:04:11 PDT
There are three ways to fix the issue. 1. Remove CURLConfig.cmake of WebKitRequirementsWin64.zip. 2. Replace "lib" and "bin" to "lib64" and "bin64" in CURLTargets-release.cmake of WebKitRequirementsWin64.zip. 3. Add "set(CURL_NO_CURL_CMAKE ON)" before "find_package(CURL 7.60.0 REQUIRED)" in OptionsWinCairo.cmake.
Fujii Hironori
Comment 5
2020-04-04 13:43:31 PDT
Delete share directory from the distribution (#31) · WebKitForWindows/WebKitRequirements@8608590
https://github.com/WebKitForWindows/WebKitRequirements/commit/8608590f27bdc444c2e71a31c778e6a8ef1dff86
Don Olmstead
Comment 6
2020-04-04 13:53:36 PDT
(In reply to Fujii Hironori from
comment #5
)
> Delete share directory from the distribution (#31) · > WebKitForWindows/WebKitRequirements@8608590 >
https://github.com/WebKitForWindows/WebKitRequirements/commit/
> 8608590f27bdc444c2e71a31c778e6a8ef1dff86
The zip files are updated to remove the share directory. Please delete your local requirements and then let it download again.
Fujii Hironori
Comment 7
2020-04-04 15:17:29 PDT
Thanks.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug