microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.26k stars 6.41k forks source link

[gstreamer] x64-windows Build error missing file /gst/gl/gstglconfig.h #38781

Open dagon10102010 opened 6 months ago

dagon10102010 commented 6 months ago

Package: gstreamer[core,plugins-base]:x64-windows -> 1.22.5#8

Host Environment

To Reproduce

vcpkg install GStreamer Failure logs

-- Using cached gstreamer-gstreamer-1.22.5.tar.gz.
-- Cleaning sources at E:/project/tool/vcpkg/buildtrees/gstreamer/src/1.22.5-415fd60d58.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/project/tool/vcpkg/downloads/gstreamer-gstreamer-1.22.5.tar.gz
-- Applying patch fix-clang-cl.patch
-- Applying patch fix-clang-cl-gstreamer.patch
-- Applying patch fix-clang-cl-base.patch
-- Applying patch fix-clang-cl-good.patch
-- Applying patch fix-clang-cl-bad.patch
-- Applying patch fix-clang-cl-ugly.patch
-- Applying patch gstreamer-disable-no-unused.patch
-- Applying patch srtp_fix.patch
-- Applying patch fix-bz2-windows-debug-dependency.patch
-- Applying patch base-must-be-enabled.patch
-- Applying patch no-downloads.patch
-- Applying patch plugin-base-disable-no-unused.patch
-- Using source at E:/project/tool/vcpkg/buildtrees/gstreamer/src/1.22.5-415fd60d58.clean
-- Getting CMake variables for x64-windows
-- Configuring x64-windows-dbg
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.2.0-1-any.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.4.10-4-x86_64.pkg.tar.zst.
-- Using msys root at E:/project/tool/vcpkg/downloads/tools/msys2/d33df895d441a36d
-- Configuring x64-windows-dbg done
-- Configuring x64-windows-rel
-- Configuring x64-windows-rel done
-- Package x64-windows-dbg
-- Package x64-windows-rel
CMake Error at ports/gstreamer/portfile.cmake:310 (file):
  file RENAME failed to rename

    E:/project/tool/vcpkg/packages/gstreamer_x64-windows/lib/gstreamer-1.0/include/gst/gl/gstglconfig.h

  to

    E:/project/tool/vcpkg/packages/gstreamer_x64-windows/include/gstreamer-1.0/gst/gl/gstglconfig.h

  because: The system cannot find the path specified.

Call Stack (most recent call first):
  scripts/ports.cmake:175 (include)
Cheney-W commented 6 months ago

I can't reproduce this issue in my side with a new vcpkg. I think you could remove the gstreamer-gstreamer-1.22.5.tar.gz file from the downloads folder and run below command:

.\vcpkg.exe install gstreamer[core,plugins-base]:x64-windows --binarysource=clear
github-actions[bot] commented 5 months ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.