Hello,
I'm running into an early cmake error with 4.6.4 that I can't seem to resolve.
---
C:\Users\...\Desktop\wsbuild64>set
WIRESHARK_BASE_DIR=C:\Wireshark-win64-libs-4.6
C:\Users\...\Desktop\wsbuild64>set
WIRESHARK_QT6_PREFIX_PATH=C:\Qt\6.7.2\msvc2019_64
C:\Users\...\Desktop\wsbuild64>cmake -G "Visual Studio 17 2022" -A x64
..\wireshark-4.6
-- Selecting Windows SDK version 10.0.26100.0 to target Windows 6.2.9200.
-- The C compiler identification is MSVC 19.44.35223.0
-- The CXX compiler identification is MSVC 19.44.35223.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual
Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual
Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using 3rd party repository
-- Generating build using CMake 3.29.2
-- Found Python3: C:/Program Files/Python312/python.exe (found suitable version
"3.12.5", minimum required is "3.6") found components: Interpreter
-- Found Perl: C:/Strawberry/perl/bin/perl.exe (found version "5.40.0")
-- Added C:/Strawberry/c to CMAKE_IGNORE_PREFIX_PATH
-- Using "Visual Studio 17 2022" generator (multi-config)
-- LTO/IPO is not enabled
-- Building for x64
-- Found PowerShell: C:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe
-- Fetching bcg729-1.0.4-win64ws.zip
*** pauses for quite a while ***
CMake Error at cmake/modules/FetchArtifacts.cmake:69 (file):
file DOWNLOAD cannot compute hash on failed download
status: [28;"Timeout was reached"]
Call Stack (most recent call first):
cmake/modules/FetchArtifacts.cmake:142 (download_artifacts)
cmake/modules/FetchArtifacts.cmake:259 (update_artifacts)
CMakeLists.txt:221 (include)
CMake Error at cmake/modules/FetchArtifacts.cmake:79 (message):
Unable to download bcg729-1.0.4-win64ws.zip
Call Stack (most recent call first):
cmake/modules/FetchArtifacts.cmake:142 (download_artifacts)
cmake/modules/FetchArtifacts.cmake:259 (update_artifacts)
CMakeLists.txt:221 (include)
-- Configuring incomplete, errors occurred!
--- end of cmake ---
On Wireshark 4.4, I am able to download the files from the normal cmake script,
but not in 4.6.
The error appears to be related to code around here.
--- FetchArtifacts.cmake ---
message(STATUS "Fetching ${archive_file}")
file(DOWNLOAD
${archive_url}
${DOWNLOAD_DIR}/${archive_file}
EXPECTED_HASH SHA256=${sha256_hash}
STATUS download_status
# SHOW_PROGRESS
)
I am able to connect to the "https://dev-libs.wireshark.org/windows/packages"
in my web browser.
I tried downloading the bcg729 package manually from the remote site in the
Wireshark libs folder and re-run the cmake build script, but the script still
attempts to download the bcg729 package and the build scripts fails after this
timeout message.
I do connect to the web through a proxy server, but that doesn't seem to be
related since I can still download the wireshark libraries in the cmake build
script from wireshark 4.4. I don't think there is any fancy access list
control based on an application by application basis, but I could be wrong.
Appreciate any thoughts, as I'm kind of stuck. Hopefully it's something
trivial that I overlooked.
Thanks,
John D.
________________________________
ATTENTION: The information contained in this message is intended for the
addressee only and may contain Confidential / Controlled Unclassified
Information (CUI). If you are not the intended addressee, please delete this
message and notify the sender; you should not copy or distribute this message
or disclose its contents to anyone. Any views or opinions expressed in this
message are those of the individual(s) and not necessarily of the organization.
No guarantee is implied that this message or any attachment is virus free or
has not been intercepted and amended.
_______________________________________________
Wireshark-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]