-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Description
Platform: windows_amd64_mingw (x64-mingw-static)
Build: https://github.com/deepwissen/read_rdf/actions/runs/20665575188/job/59337166204
Error Summary
error: building libiconv:x64-mingw-static failed with: BUILD_FAILED
configure: error: C compiler cannot create executables
collect2.exe: error: ld returned 9 exit status
Problem Description:
The vcpkg libxml2 package on Windows MinGW requires libiconv as a dependency. When vcpkg attempts to build
libiconv from source using MSYS2/autotools, the configure script fails because the MinGW C compiler cannot
produce working executables in that environment.
x86_64-w64-mingw32-gcc.exe: error: unrecognized command-line option '-V'
x86_64-w64-mingw32-gcc.exe: error: unrecognized command-line option '-qversion'
More Details:
Successfully downloaded msys2-libxcrypt-4.4.36-1-x86_64.pkg.tar.zst
-- Applying patch D:/a/read_rdf/read_rdf/vcpkg/scripts/cmake/compile_wrapper_consider_clang-cl.patch
-- Using msys root at D:/a/read_rdf/read_rdf/vcpkg/downloads/tools/msys2/2db36fb050d01f45
Downloading msys2-mingw-w64-x86_64-pkgconf-12.3.0-1-any.pkg.tar.zst, trying https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.3.0-1-any.pkg.tar.zst2.3.0-1-any.pkg.tar.zst
Successfully downloaded msys2-mingw-w64-x86_64-pkgconf-1
-- Using cached msys2-msys2-runtime-3.5.4-2-x86_64.pkg.tar.zst
-- Using msys root at D:/a/read_rdf/read_rdf/vcpkg/downloads/tools/msys2/21caed2f81ec917b
-- Configuring x64-mingw-static-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Error: Command failed: D:/a/read_rdf/read_rdf/vcpkg/downloads/tools/msys2/2db36fb050d01f45/usr/bin/bash.exe --noprofile --norc --debug -c "V=1 CPP='C:/rtools42/x86_64-w64-mingw32.static.posix/bin/x86_64-w64-mingw32-gcc.exe -E' CC='C:/rtools42/x86_64-w64-mingw32.static.posix/bin/x86_64-w64-mingw32-gcc.exe' CC_FOR_BUILD='C:/rtools42/x86_64-w64-mingw32.static.posix/bin/x86_64-w64-mingw32-gcc.exe' CPP_FOR_BUILD='C:/rtools42/x86_64-w64-mingw32.static.posix/bin/x86_64-w64-mingw32-gcc.exe -E' CXX_FOR_BUILD='C:/rtools42/x86_64-w64-mingw32.static.posix/bin/x86_64-w64-mingw32-g++.exe' CXX='C:/rtools42/x86_64-w64-mingw32.static.posix/bin/x86_64-w64-mingw32-g++.exe' RC='C:/rtools42/x86_64-w64-mingw32.static.posix/bin/windres.exe' WINDRES='C:/rtools42/x86_64-w64-mingw32.static.posix/bin/windres.exe' AR='C:/rtools42/x86_64-w64-mingw32.static.posix/bin/ar.exe' LD='C:/rtools42/x86_64-w64-mingw32.static.posix/bin/ld.exe -verbose' RANLIB='C:/rtools42/x86_64-w64-mingw32.static.posix/bin/ranlib.exe' OBJDUMP='C:/rtools42/x86_64-w64-mingw32.static.posix/bin/objdump.exe' STRIP='C:/rtools42/x86_64-w64-mingw32.static.posix/bin/strip.exe' NM='C:/rtools42/x86_64-w64-mingw32.static.posix/bin/nm.exe' DLLTOOL='C:/rtools42/x86_64-w64-mingw32.static.posix/bin/dlltool.exe' CCAS=':' AS=':' ./../src/v1.18-8006e03beb.clean/configure --build=x86_64-pc-mingw32 "--enable-extra-encodings" "--without-libiconv-prefix" "--without-libintl-prefix" "--enable-relocatable" "gl_cv_double_slash_root=yes" "ac_cv_func_memmove=yes" "--disable-silent-rules" "--verbose" "--disable-shared" "--enable-static" "--prefix=/D/a/read_rdf/read_rdf/build/release/vcpkg_installed/x64-mingw-static/debug" "--bindir=\${prefix}/../tools/libiconv/debug/bin" "--sbindir=\${prefix}/../tools/libiconv/debug/sbin" "--libdir=\${prefix}/lib" "--includedir=\${prefix}/../include" "--datarootdir=\${prefix}/share/libiconv""
Working Directory: D:/a/read_rdf/read_rdf/vcpkg/buildtrees/libiconv/x64-mingw-static-dbg
Error code: 77
See logs for more information:
D:\a\read_rdf\read_rdf\vcpkg\buildtrees\libiconv\config-x64-mingw-static-dbg-config.log
D:\a\read_rdf\read_rdf\vcpkg\buildtrees\libiconv\config-x64-mingw-static-dbg-out.log
D:\a\read_rdf\read_rdf\vcpkg\buildtrees\libiconv\config-x64-mingw-static-dbg-err.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_make.cmake:866 (vcpkg_execute_required_process)
ports/libiconv/portfile.cmake:42 (vcpkg_configure_make)
scripts/ports.cmake:206 (include)
error: building libiconv:x64-mingw-static failed with: BUILD_FAILED