Wireshark-users: [Wireshark-users] FOLLOW UP - Re: cmake build error in migration from 4.4 to 4.6

From: John Dill <john.dill@xxxxxxxxxx>
Date: Thu, 5 Mar 2026 22:07:44 +0000
Gerald, thanks for the troubleshooting support.

After using your diagnostic FetchArtifacts.cmake in my 4.6.4 source tree, I have the following:

---
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
CMake Error at cmake/modules/FetchArtifacts.cmake:84 (file):
  file DOWNLOAD cannot compute hash on failed download

    status: [28;"Timeout was reached"]
Call Stack (most recent call first):
  cmake/modules/FetchArtifacts.cmake:159 (download_artifacts)
  cmake/modules/FetchArtifacts.cmake:284 (update_artifacts)
  CMakeLists.txt:221 (include)


CMake Error at cmake/modules/FetchArtifacts.cmake:95 (message):
  Unable to download bcg729-1.0.4-win64ws.zip: "Timeout was reached".

  Log:

  Host dev-libs.wireshark.org:443 was resolved.

  IPv6: (none)

  IPv4: 172.67.75.39, 104.26.11.240, 104.26.10.240

    Trying 172.67.75.39:443...

  connect to 172.67.75.39 port 443 from 0.0.0.0 port 62099 failed: Timed out

    Trying 104.26.11.240:443...

  connect to 104.26.11.240 port 443 from 0.0.0.0 port 62900 failed: Timed out

    Trying 104.26.10.240:443...

  connect to 104.26.10.240 port 443 from 0.0.0.0 port 62907 failed: Timed out

  Failed to connect to dev-libs.wireshark.org port 443 after 63210 ms:
  Couldn't connect to server

  Closing connection

Call Stack (most recent call first):
  cmake/modules/FetchArtifacts.cmake:159 (download_artifacts)
  cmake/modules/FetchArtifacts.cmake:284 (update_artifacts)
  CMakeLists.txt:221 (include)


-- Configuring incomplete, errors occurred!

---

I still have a 0 KB size "bcg729-1.0.4-win64ws.zip" in the "_download" folder, and a "wireshark-x64-libs-4.6" with no files in the WIRESHARK_BASE_DIR folder.

Any ideas?

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.