Skip to content

[lapack-reference] build failure #21060

@cenit

Description

@cenit

due to tool update (i assume) there is an error with gfortran-built libraries validation (tool checks for .lib but lapack-reference creates a .dll.a)

Starting package 93/159: lapack-reference:x64-windows
Building package lapack-reference[blas-select,core,noblas]:x64-windows...
-- Using cached Reference-LAPACK-lapack-v3.8.0.tar.gz.
-- Extracting source F:/vcpkg/downloads/Reference-LAPACK-lapack-v3.8.0.tar.gz
-- Using source at F:/vcpkg/buildtrees/lapack-reference/src/v3.8.0-954f10683f.clean
-- The Fortran compiler identification is unknown
-- No Fortran compiler found on the PATH. Using MinGW gfortran!
-- Using cached msys-mingw-w64-x86_64-gcc-fortran-10.2.0-1-any.pkg.tar.zst.
-- Using cached msys-mingw-w64-x86_64-gcc-libgfortran-10.2.0-1-any.pkg.tar.zst.
-- Using cached msys-mingw-w64-x86_64-gcc-libs-10.2.0-1-any.pkg.tar.zst.
-- Using cached msys-mingw-w64-x86_64-gmp-6.2.0-1-any.pkg.tar.xz.
-- Using cached msys-mingw-w64-x86_64-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst.
-- Using cached msys-mingw-w64-x86_64-winpthreads-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst.
-- Using cached msys-mingw-w64-x86_64-mpc-1.1.0-1-any.pkg.tar.xz.
-- Using cached msys-mingw-w64-x86_64-mpfr-4.1.0-2-any.pkg.tar.zst.
-- Using cached msys-mingw-w64-x86_64-gcc-10.2.0-1-any.pkg.tar.zst.
-- Using cached msys-mingw-w64-x86_64-binutils-2.34-3-any.pkg.tar.zst.
-- Using cached msys-mingw-w64-x86_64-crt-git-8.0.0.5966.f5da805f-1-any.pkg.tar.zst.
-- Using cached msys-mingw-w64-x86_64-headers-git-8.0.0.5966.f5da805f-1-any.pkg.tar.zst.
-- Using cached msys-mingw-w64-x86_64-libiconv-1.16-2-any.pkg.tar.zst.
-- Using cached msys-mingw-w64-x86_64-windows-default-manifest-6.4-3-any.pkg.tar.xz.
-- Using cached msys-mingw-w64-x86_64-zlib-1.2.11-8-any.pkg.tar.zst.
-- Using cached msys-mingw-w64-x86_64-zstd-1.4.5-1-any.pkg.tar.zst.
-- Using cached msys-gzip-1.10-1-x86_64.pkg.tar.xz.
-- Using cached msys-bash-4.4.023-2-x86_64.pkg.tar.xz.
-- Using cached msys-diffutils-3.7-1-x86_64.pkg.tar.xz.
-- Using cached msys-coreutils-8.32-1-x86_64.pkg.tar.xz.
-- Using cached msys-grep-3.0-2-x86_64.pkg.tar.xz.
-- Using cached msys-sed-4.8-1-x86_64.pkg.tar.xz.
-- Using cached msys-libpcre-8.44-1-x86_64.pkg.tar.xz.
-- Using cached msys-gawk-5.1.0-1-x86_64.pkg.tar.xz.
-- Using cached msys-mpfr-4.1.0-1-x86_64.pkg.tar.zst.
-- Using cached msys-gmp-6.2.0-1-x86_64.pkg.tar.xz.
-- Using cached msys-libreadline-8.0.004-1-x86_64.pkg.tar.xz.
-- Using cached msys-ncurses-6.2-1-x86_64.pkg.tar.xz.
-- Using cached msys-pkg-config-0.29.2-4-x86_64.pkg.tar.zst.
-- Using cached msys-make-4.3-1-x86_64.pkg.tar.xz.
-- Using cached msys-libintl-0.19.8.1-1-x86_64.pkg.tar.xz.
-- Using cached msys-libiconv-1.16-2-x86_64.pkg.tar.zst.
-- Using cached msys-gcc-libs-9.3.0-1-x86_64.pkg.tar.xz.
-- Using cached msys-msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst.
-- Using msys root at F:/vcpkg/downloads/tools/msys2/456f7716e2893cfb
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Fixing pkgconfig file: F:/vcpkg/packages/lapack-reference_x64-windows/lib/pkgconfig/blas.pc
-- Fixing pkgconfig file: F:/vcpkg/packages/lapack-reference_x64-windows/lib/pkgconfig/lapack.pc
-- Using cached msys-mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst.
-- Using cached msys-mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst.
-- Using msys root at F:/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8
-- Fixing pkgconfig file: F:/vcpkg/packages/lapack-reference_x64-windows/debug/lib/pkgconfig/blas.pc
-- Fixing pkgconfig file: F:/vcpkg/packages/lapack-reference_x64-windows/debug/lib/pkgconfig/lapack.pc
-- Installing: F:/vcpkg/packages/lapack-reference_x64-windows/share/lapack-reference/copyright
-- Performing post-build validation
Import libs were not present in F:\vcpkg\packages\lapack-reference_x64-windows\debug/lib
If this is intended, add the following line in the portfile:
    SET(VCPKG_POLICY_DLLS_WITHOUT_LIBS enabled)
Import libs were not present in F:\vcpkg\packages\lapack-reference_x64-windows\lib
If this is intended, add the following line in the portfile:
    SET(VCPKG_POLICY_DLLS_WITHOUT_LIBS enabled)
Found 2 error(s). Please correct the portfile:
    F:\vcpkg\ports\lapack-reference\portfile.cmake
-- Performing post-build validation done
Error: Building package lapack-reference:x64-windows failed with: POST_BUILD_CHECKS_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: lapack-reference:x64-windows
  Vcpkg version: 2021-09-10-2059ef11aa6067e6f59b0d939c5d17e3c5c47d3e

Additionally, attach any relevant sections from the log files above.

Metadata

Metadata

Assignees

Labels

category:tool-updateThe issue is with build tool or build script, which requires update or should be executed correctly

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions