microsoft / microsoft/vcpkg

[otl] build error on x64-windows

Open
#49,680 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CMake
Stars
27.5k
Forks
7.7k
Avg merge
2d 19h
Merged PRs (30d)
321

Description

Package: otl:x64-windows@4.0.476#1

Host Environment

  • Host: x64-windows
  • Compiler: MSVC 19.50.35723.0
  • CMake Version: 4.2.0-rc4
  • vcpkg-tool version: 2025-10-16-71538f2694db93da4668782d094768ba74c45991
    vcpkg-scripts version: 3bbc2809d3 2025-11-18 (2 months ago)

To Reproduce

vcpkg install

Failure logs

Downloading http://otl.sourceforge.net/otlv4_40476.zip -> otlv4_40476-9485a0fe15a7-2.zip
otlv4_40476-9485a0fe15a7-2.zip.5764.part: error: download from http://otl.sourceforge.net/otlv4_40476.zip had an unexpected hash
note: Expected: adb84bc6bc29de01b41d63a59174a7d35bde8124dc602d0687abbb308c5d5471869fe9afc90fb80e4c1acbe94e5b92c6ef7058e89aed60fe4519c82826d2aeb5
note: Actual  : 0a0266d943c6b46b872d4b8456c6a26f930e0f98b5ba65de30698f5742afcb863b3d363f78d2c26421ea711eb3ab2c167969b6788825f04f4212880c1856e63a
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:136 (message):
  Download failed, halting portfile.
Call Stack (most recent call first):
  buildtrees/versioning_/versions/otl/d6e971fcfc7eff67d88d2db91b2a949045107ddd/portfile.cmake:3 (vcpkg_download_distfile)
  scripts/ports.cmake:206 (include)



Additional context

vcpkg.json
{
  "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json",
  "name": "test",
  "builtin-baseline": "40c89449f0ccce12d21f8a906639f6c2c649b9e7",
  "version-string": "2.4.0.0",
  "dependencies": [
    {
      "name": "otl"
    }
  ],
  "overrides": [
    {
      "name": "otl",
      "version": "4.0.476#1"
    }
  ]
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the versioned otl portfile.cmake shown in the failure trace and inspect its vcpkg_download_distfile call. Compare the expected hash with the archive currently served at the listed SourceForge URL, then verify the port with the provided vcpkg.json installation. Done means the archive passes verification and the otl package installs successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.