Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[angle] Build error on x64-mingw-dynamic #42993

Open
js333031 opened this issue Dec 29, 2024 · 0 comments
Open

[angle] Build error on x64-mingw-dynamic #42993

js333031 opened this issue Dec 29, 2024 · 0 comments
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team.

Comments

@js333031
Copy link

Package: angle:x64-mingw-dynamic@chromium_5414#9

Host Environment

  • Host: x64-linux
  • Compiler: GNU 13.0.0
  • vcpkg-tool version: 2024-12-09-1005b78fa1bf1dde1a20c2734cba4ea61ca94d9a
    vcpkg-scripts version: 80d54ff 2024-12-23 (6 days ago)

To Reproduce

vcpkg install --no-print-usage angle

Failure logs

-- Using cached google-angle-aa63ea230e0c507e7b4b164a30e502fb17168c17.tar.gz.
-- Cleaning sources at /mnt/nvm/jays/digidev/b/angle/src/fb17168c17-ae4e4ce263.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /mnt/nvm/jays/digidev/d/google-angle-aa63ea230e0c507e7b4b164a30e502fb17168c17.tar.gz
-- Applying patch 001-fix-uwp.patch
-- Applying patch 002-fix-builder-error.patch
-- Applying patch 003-fix-mingw.patch
-- Using source at /mnt/nvm/jays/digidev/b/angle/src/fb17168c17-ae4e4ce263.clean
-- Using cached gni-to-cmake.py.
-- Using cached include_CMakeLists.txt.
-- Using cached WebKitCompilerFlags.cmake.
-- Using cached DetectSSE2.cmake.
-- Using cached WebKitMacros.cmake.
-- Using cached /mnt/nvm/jays/digidev/d/angle-44d9b490c721abdb923d5c6c23ac211e45ffb1a5.tar.gz
-- Extracting source /mnt/nvm/jays/digidev/d/angle-44d9b490c721abdb923d5c6c23ac211e45ffb1a5.tar.gz
-- Using source at /mnt/nvm/jays/digidev/b/angle/src/1e45ffb1a5-02307f5894.clean
-- Found external ninja('1.11.1').
-- Configuring x64-mingw-dynamic
CMake Warning at /mnt/nvm/jays/digidev/dk/x64-linux/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:344 (message):
  The following variables are not used in CMakeLists.txt:

      DISABLE_INSTALL_HEADERS

  Please recheck them and remove the unnecessary options from the
  `vcpkg_cmake_configure` call.

  If these options should still be passed for whatever reason, please use the
  `MAYBE_UNUSED_VARIABLES` argument.
Call Stack (most recent call first):
  ports/angle/portfile.cmake:160 (vcpkg_cmake_configure)
  scripts/ports.cmake:196 (include)


-- Building x64-mingw-dynamic-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: /mnt/nvm/jays/digidev/d/tools/cmake-3.30.1-linux/cmake-3.30.1-linux-x86_64/bin/cmake --build . --config Debug --target install -- -v -j129
    Working Directory: /mnt/nvm/jays/digidev/b/angle/x64-mingw-dynamic-dbg
    See logs for more information:
      /mnt/nvm/jays/digidev/b/angle/install-x64-mingw-dynamic-dbg-out.log

Call Stack (most recent call first):
  /mnt/nvm/jays/digidev/dk/x64-linux/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  /mnt/nvm/jays/digidev/dk/x64-linux/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  ports/angle/portfile.cmake:170 (vcpkg_cmake_install)
  scripts/ports.cmake:196 (include)


Last few lines of build output file containing the error:
FAILED: bin/libGLESv2.dll lib/liblibGLESv2.dll.a
: && /usr/bin/x86_64-w64-mingw32-g++ -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-odr -Wno-stringop-overread -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-unknown-pragmas -Wno-tautological-compare  -fno-strict-aliasing -fno-exceptions -fno-rtti -mno-ms-bitfields -g  /mnt/nvm/jays/digidev/b/angle/src/fb17168c17-ae4e4ce263.clean/src/libGLESv2/libGLESv2_autogen.def -shared -o bin/libGLESv2.dll -Wl,--out-implib,lib/liblibGLESv2.dll.a -Wl,--major-image-version,0,--minor-image-version,0 CMakeFiles/GLESv2.dir/src/libGLESv2/egl_ext_stubs.cpp.obj CMakeFiles/GLESv2.dir/src/libGLESv2/egl_stubs.cpp.obj CMakeFiles/GLESv2.dir/src/libGLESv2/entry_points_egl_autogen.cpp.obj CMakeFiles/GLESv2.dir/src/libGLESv2/entry_points_egl_ext_autogen.cpp.obj CMakeFiles/GLESv2.dir/src/libGLESv2/entry_points_gles_1_0_autogen.cpp.obj CMakeFiles/GLESv2.dir/src/libGLESv2/entry_points_gles_2_0_autogen.cpp.obj CMakeFiles/GLESv2.dir/src/libGLESv2/entry_points_gles_3_0_autogen.cpp.obj CMakeFiles/GLESv2.dir/src/libGLESv2/entry_points_gles_3_1_autogen.cpp.obj CMakeFiles/GLESv2.dir/src/libGLESv2/entry_points_gles_3_2_autogen.cpp.obj CMakeFiles/GLESv2.dir/src/libGLESv2/entry_points_gles_ext_autogen.cpp.obj CMakeFiles/GLESv2.dir/src/libGLESv2/global_state.cpp.obj CMakeFiles/GLESv2.dir/src/libGLESv2/libGLESv2_autogen.cpp.obj CMakeFiles/GLESv2.dir/src/libGLESv2/proc_table_egl_autogen.cpp.obj  lib/ANGLE.a  -ldxguid  -ldxgi  -ld3d9  /mnt/nvm/jays/digidev/dk/x64-mingw-dynamic/debug/lib/libzlibd.dll.a  -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && :
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/GLESv2.dir/src/libGLESv2/proc_table_egl_autogen.cpp.obj: in function `__static_initialization_and_destruction_0':
/mnt/nvm/jays/digidev/b/angle/src/fb17168c17-ae4e4ce263.clean/src/libGLESv2/proc_table_egl_autogen.cpp:46:(.text+0x24): undefined reference to `__imp_ANGLEGetDisplayPlatform'
/usr/bin/x86_64-w64-mingw32-ld: /mnt/nvm/jays/digidev/b/angle/src/fb17168c17-ae4e4ce263.clean/src/libGLESv2/proc_table_egl_autogen.cpp:47:(.text+0x49): undefined reference to `__imp_ANGLEResetDisplayPlatform'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
@jimwang118 jimwang118 added the category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team. label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team.
Projects
None yet
Development

No branches or pull requests

2 participants