musescore / musescore/MuseScore

CMake configure error: Using fetched mnx_w3c URL_HASH is set incorrectly

Open
#32,496 3 comments 0 reactions 1 assignee View on GitHub

@RomanPudashkin is already working on this.

Since Mar 6, 2026.

dev os: linux P4
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Issue type

Choose option...

Description with steps to reproduce

I followed the build steps from the README up to here:

cmake -P build.cmake

And got this error:

-- Using fetched mnx_w3c at: /home/s1000586/code/MuseScore/builds/Linux-Qt6.10.2-gcc_64-Make-RelWithDebInfo/_deps/mnx_w3c-src
CMake Error at /usr/share/cmake-3.22/Modules/ExternalProject.cmake:2781 (message):
  URL_HASH is set to

    SHA256=42f6e95cad6ec532fd372391373363b62a14af6d771056dbfc86160e6dfff7aa;DOWNLOAD_EXTRACT_TIMESTAMP;TRUE

  but must be ALGO=value where ALGO is

    MD5|SHA1|SHA224|SHA256|SHA384|SHA512|SHA3_224|SHA3_256|SHA3_384|SHA3_512

  and value is a hex string.
Call Stack (most recent call first):
  /usr/share/cmake-3.22/Modules/ExternalProject.cmake:3716 (_ep_add_download_command)
  CMakeLists.txt:15 (ExternalProject_Add)


-- Configuring incomplete, errors occurred!
See also "/home/s1000586/code/MuseScore/builds/Linux-Qt6.10.2-gcc_64-Make-RelWithDebInfo/_deps/nlohmann_json-subbuild/CMakeFiles/CMakeOutput.log".

CMake Error at /usr/share/cmake-3.22/Modules/FetchContent.cmake:1075 (message):
  CMake step for nlohmann_json failed: 1
Call Stack (most recent call first):
  /usr/share/cmake-3.22/Modules/FetchContent.cmake:1216:EVAL:2 (__FetchContent_directPopulate)
  /usr/share/cmake-3.22/Modules/FetchContent.cmake:1216 (cmake_language)
  /usr/share/cmake-3.22/Modules/FetchContent.cmake:1259 (FetchContent_Populate)
  builds/Linux-Qt6.10.2-gcc_64-Make-RelWithDebInfo/_deps/mnxdom-src/CMakeLists.txt:75 (FetchContent_MakeAvailable)

It looks to me like it is complaining about the DOWNLOAD_EXTRACT_TIMESTAMP;TRUE part, but I'm not sure how to proceed because I just followed the steps exactly and it isn't a "X library is missing" type of error. Has anyone seen this before?

This seems to be the same error on a totally unrelated project, but the issue doesn't say how it was solved.

Supporting files, videos and screenshots

.

In which versions of MuseScore Studio is this issue present?

fb5c43482b5f5

Regression

I was unable to check

Operating system

Ubuntu 22.04

Additional context

No response

Checklist
  • This report follows the guidelines for reporting bugs and issues
  • I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
  • I have attached all requested files and information to this report
  • I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.