Skip to content

[sdl3-mixer] build failure #51462

@StarGate-One

Description

@StarGate-One

Operating system

Windows Version 11 [10.0.26200.8246]

Compiler

Visual Studio Community 2026 Version: [18.5.2] VS Tools Version: [14.50.35717] Microsoft (R) C/C++ Optimizing Compiler Version [19.50.35730] for x64

Steps to reproduce the behavior

`vcpkg install sdl3-mixer[fluidsynth,libflac,libvorbis,libxmp,mpg123,opusfile,wavpack]`

vcpkg install sdl3-mixer[fluidsynth,libflac,libvorbis,libxmp,mpg123,opusfile,wavpack]
Computing installation plan...
The following packages will be built and installed:
    sdl3-mixer[core,fluidsynth,libflac,libvorbis,libxmp,mpg123,opusfile,wavpack]:x64-windows@3.2.0#2
Installing 1/1 sdl3-mixer[core,fluidsynth,libflac,libvorbis,libxmp,mpg123,opusfile,wavpack]:x64-windows@3.2.0#2...
sdl3-mixer[core,fluidsynth,libflac,libvorbis,libxmp,mpg123,opusfile,wavpack]:x64-windows@3.2.0#2 package ABI: 0a05e89cbcb7448f941e7ca4471ab7ba4333b4545cd4895684fe8eb448b3042b
Building sdl3-mixer[core,fluidsynth,libflac,libvorbis,libxmp,mpg123,opusfile,wavpack]:x64-windows@3.2.0#2...
-- Using cached libsdl-org-SDL_mixer-release-3.2.0.tar.gz
-- Cleaning sources at D:/vcpkg/buildtrees/sdl3-mixer/src/ease-3.2.0-36575875f8.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/vcpkg-downloads/libsdl-org-SDL_mixer-release-3.2.0.tar.gz
-- Using source at D:/vcpkg/buildtrees/sdl3-mixer/src/ease-3.2.0-36575875f8.clean
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.5.1-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.5-1-x86_64.pkg.tar.zst
-- Using msys root at D:/vcpkg-downloads/tools/msys2/3e71d1f8e22ab23f
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Warning at scripts/cmake/vcpkg_execute_build_process.cmake:65 (message):
  Please ensure your system has sufficient memory.
Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  ports/sdl3-mixer/portfile.cmake:50 (vcpkg_cmake_install)
  scripts/ports.cmake:206 (include)


-- Restarting build without parallelism
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v -j8
    Working Directory: D:/vcpkg/buildtrees/sdl3-mixer/x64-windows-dbg
    See logs for more information:
      D:\vcpkg\buildtrees\sdl3-mixer\install-x64-windows-dbg-out.log
      D:\vcpkg\buildtrees\sdl3-mixer\install-x64-windows-dbg-out-1.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  ports/sdl3-mixer/portfile.cmake:50 (vcpkg_cmake_install)
  scripts/ports.cmake:206 (include)


error: building sdl3-mixer:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle sdl3-mixer:x64-windows: 3.6 s
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
  https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+sdl3-mixer
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?title=%5Bsdl3-mixer%5D%20build%20error%20on%20x64-windows&body=Copy%20issue%20body%20from%20D%3A%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md

Failure logs

install-x64-windows-dbg-out-1.log
install-x64-windows-dbg-out.log

Additional context

It fails to link mp3lame.lib

Update 2026-04-30: I have done some more troubleshooting and I am able to get a successful build if I remove feature fluidsynth from the vcpkg port sdl3-mixer command line:

vcpkg install sdl3-mixer[libflac,libvorbis,libxmp,mpg123,opusfile,wavpack]

Looks like port fluidsynth was just updated to version 2.5.4 last week.

Update 2026-05-01: Further research has ruled out fluidsynth and changes made to sdl3-mixer last week as I created a new fresh vcpkg current instance from github and only installed sdl3-mixer[fluidsynth,libflac,libvorbis,libxmp,mpg123,opusfile,wavpack] letting vcpkg install all the pre-requisite ports. Everything installed fine, so I created an additional vcpkg instance and installed all my normal ports/features and sdl3-mixer failed again with the same issue. Bottomline I think I have a source conflict somewhere that will take time to research.

I am not sure why a message of Please ensure your system has sufficient memory. is being shown as the PC has 192GB of memory and all the disk drives have at least 1TB free each?

Metadata

Metadata

Assignees

No one assigned

    Labels

    category:port-bugThe issue is with a library, which is something the port should already support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions