OpenSWE1R / openswe1r

An Open-Source port of the 1999 Game "Star Wars Episode 1: Racer"
https://openswe1r.github.io/
GNU General Public License v2.0
312 stars 26 forks source link

AppVeyor CI: openal-soft might be broken #139

Closed JayFoxRox closed 6 years ago

JayFoxRox commented 6 years ago

During development of a branch I was unable to get a good appveyor build. Most likely due to #138 and another independent (?) openal-soft error.

Starting package 1/5: openal-soft:x64-windows
Building package openal-soft[core]:x64-windows... 
-- CURRENT_INSTALLED_DIR=C:/Tools/vcpkg/installed/x64-windows
-- DOWNLOADS=C:/Tools/vcpkg/downloads
-- CURRENT_PACKAGES_DIR=C:/Tools/vcpkg/packages/openal-soft_x64-windows
-- CURRENT_BUILDTREES_DIR=C:/Tools/vcpkg/buildtrees/openal-soft
-- CURRENT_PORT_DIR=C:/Tools/vcpkg/ports/openal-soft/.
-- Downloading https://github.com/kcat/openal-soft/archive/openal-soft-1.18.2.tar.gz...
-- Downloading https://github.com/kcat/openal-soft/archive/openal-soft-1.18.2.tar.gz... OK
-- Testing integrity of downloaded file...
-- Testing integrity of downloaded file... OK
-- Extracting source C:/Tools/vcpkg/downloads/kcat-openal-soft-openal-soft-1.18.2.tar.gz
-- Extracting done
-- Applying patch C:/Tools/vcpkg/ports/openal-soft/dont-export-symbols-in-static-build.patch
-- Applying patch C:/Tools/vcpkg/ports/openal-soft/dont-export-symbols-in-static-build.patch done
-- Downloading https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-win.zip...
-- Downloading https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-win.zip... OK
-- Testing integrity of downloaded file...
-- Testing integrity of downloaded file... OK
-- Configuring x64-windows
vcpkg : CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:56 (message):
At line:16 char:3
+   vcpkg install unicorn sdl2 glew openal-soft enet
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (CMake Error at ...e:56 (message)::String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

    Command failed: ninja;-v
    Working Directory: C:/Tools/vcpkg/buildtrees/openal-soft/x64-windows-rel/vcpkg-parallel-configure
    See logs for more information:
      C:\Tools\vcpkg\buildtrees\openal-soft\config-x64-windows-out.log
Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_cmake.cmake:236 (vcpkg_execute_required_process)
  ports/openal-soft/portfile.cmake:23 (vcpkg_configure_cmake)
  scripts/ports.cmake:72 (include)
Error: Building package openal-soft:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: openal-soft:x64-windows
  Vcpkg version: 0.0.107-2018-03-30-4a9feaa2403e59b3267f8bd02ef2fd687ea5661d
JayFoxRox commented 6 years ago

Looking into this, it can only be caused by https://github.com/Microsoft/vcpkg/commit/3baf583934f3077070e9ed4e7684f743ecced577#diff-083b054a99ecded0d43d2f6aff7f0629L23 (or the respective issue https://github.com/Microsoft/vcpkg/issues/2985 )

See https://github.com/appveyor/ci/issues/2231. I'm not sure how to solve this issue properly, without a temporary hack.

JayFoxRox commented 6 years ago

A possible temporary workaround could be to cherry-pick https://github.com/Microsoft/vcpkg/commit/3baf583934f3077070e9ed4e7684f743ecced577 before running vcpkg.

JayFoxRox commented 6 years ago

We can probably use the "Previous" or "Preview" image now.