Closed wzxflying closed 1 year ago
[2472/3793] E:\vcpkg\downloads\tools\msys2\2b29df0583c528a8\mingw32\bin\gfortran.exe -IE:\vcpkg\buildtrees\lapack-reference\src\v3.10.0-a3af633c89.clean\SRC -mabi=ms -m32 -frecursive -g -JSRC -fpreprocessed -c SRC/CMakeFiles/lapack.dir/la_xisnan.F90-pp.f90 -o SRC/CMakeFiles/lapack.dir/la_xisnan.F90.obj
FAILED: SRC/CMakeFiles/lapack.dir/la_xisnan.F90.obj SRC/la_xisnan.mod
E:\vcpkg\downloads\tools\msys2\2b29df0583c528a8\mingw32\bin\gfortran.exe -IE:\vcpkg\buildtrees\lapack-reference\src\v3.10.0-a3af633c89.clean\SRC -mabi=ms -m32 -frecursive -g -JSRC -fpreprocessed -c SRC/CMakeFiles/lapack.dir/la_xisnan.F90-pp.f90 -o SRC/CMakeFiles/lapack.dir/la_xisnan.F90.obj
f951.exe: Fatal Error: Reading module 'SRC/la_constants.mod' at line 3 column 10: Unexpected EOF
compilation terminated.
[2473/3793] E:\vcpkg\downloads\tools\msys2\2b29df0583c528a8\mingw32\bin\gfortran.exe -IE:\vcpkg\buildtrees\lapack-reference\src\v3.10.0-a3af633c89.clean\SRC -mabi=ms -m32 -frecursive -g -JSRC -fpreprocessed -c SRC/CMakeFiles/lapack.dir/sgetrf.f-pp.f -o SRC/CMakeFiles/lapack.dir/sgetrf.f.obj
[2474/3793] E:\vcpkg\downloads\tools\msys2\2b29df0583c528a8\mingw32\bin\gfortran.exe -IE:\vcpkg\buildtrees\lapack-reference\src\v3.10.0-a3af633c89.clean\SRC -mabi=ms -m32 -frecursive -g -JSRC -fpreprocessed -c SRC/CMakeFiles/lapack.dir/sbdsdc.f-pp.f -o SRC/CMakeFiles/lapack.dir/sbdsdc.f.obj
[2475/3793] E:\vcpkg\downloads\tools\msys2\2b29df0583c528a8\mingw32\bin\gfortran.exe -IE:\vcpkg\buildtrees\lapack-reference\src\v3.10.0-a3af633c89.clean\SRC -mabi=ms -m32 -frecursive -g -JSRC -fpreprocessed -c SRC/CMakeFiles/lapack.dir/slabad.f-pp.f -o SRC/CMakeFiles/lapack.dir/slabad.f.obj
[2476/3793] E:\vcpkg\downloads\tools\msys2\2b29df0583c528a8\mingw32\bin\gfortran.exe -IE:\vcpkg\buildtrees\lapack-reference\src\v3.10.0-a3af633c89.clean\SRC -mabi=ms -m32 -frecursive -g -JSRC -fpreprocessed -c SRC/CMakeFiles/lapack.dir/sdisna.f-pp.f -o SRC/CMakeFiles/lapack.dir/sdisna.f.obj
[2477/3793] E:\vcpkg\downloads\tools\msys2\2b29df0583c528a8\mingw32\bin\gfortran.exe -IE:\vcpkg\buildtrees\lapack-reference\src\v3.10.0-a3af633c89.clean\SRC -mabi=ms -m32 -frecursive -g -JSRC -fpreprocessed -c SRC/CMakeFiles/lapack.dir/slae2.f-pp.f -o SRC/CMakeFiles/lapack.dir/slae2.f.obj
[2478/3793] E:\vcpkg\downloads\tools\msys2\2b29df0583c528a8\mingw32\bin\gfortran.exe -IE:\vcpkg\buildtrees\lapack-reference\src\v3.10.0-a3af633c89.clean\SRC -mabi=ms -m32 -frecursive -g -JSRC -fpreprocessed -c SRC/CMakeFiles/lapack.dir/slacpy.f-pp.f -o SRC/CMakeFiles/lapack.dir/slacpy.f.obj
[2479/3793] E:\vcpkg\downloads\tools\msys2\2b29df0583c528a8\mingw32\bin\gfortran.exe -IE:\vcpkg\buildtrees\lapack-reference\src\v3.10.0-a3af633c89.clean\SRC -mabi=ms -m32 -frecursive -g -JSRC -fpreprocessed -c SRC/CMakeFiles/lapack.dir/sbdsqr.f-pp.f -o SRC/CMakeFiles/lapack.dir/sbdsqr.f.obj
[2480/3793] E:\vcpkg\downloads\tools\msys2\2b29df0583c528a8\mingw32\bin\gfortran.exe -IE:\vcpkg\buildtrees\lapack-reference\src\v3.10.0-a3af633c89.clean\SRC -mabi=ms -m32 -frecursive -g -JSRC -fpreprocessed -c SRC/CMakeFiles/lapack.dir/sgesvdq.f-pp.f -o SRC/CMakeFiles/lapack.dir/sgesvdq.f.obj
ninja: build stopped: subcommand failed.
Maybe a gfortran bug, @Neumann-A is it?
Previously, the old version of vcpkg compiled normally, but the new version did not
@ras0219-msft Do you have any ideas on this?
@wzxflying, Do you still have this problem on the latest vcpkg version? I can successfully install lapack-reference locally:
PS F:\Feature-test\vcpkg> ./vcpkg install lapack-reference
Computing installation plan...
The following packages are already installed:
lapack-reference[blas-select,core,noblas]:x86-windows -> 3.11.0
lapack-reference:x86-windows is already installed
Restored 0 package(s) from C:\Users\vzhli17\AppData\Local\vcpkg\archives in 179.3 us. Use --debug to see more details.
Total install time: 949.8 us
lapack-reference provides CMake targets:
find_package(lapack CONFIG REQUIRED)
target_link_libraries(main PRIVATE lapack)
lapack-reference is compatible with built-in CMake targets:
find_package(LAPACK REQUIRED)
target_link_libraries(main PRIVATE LAPACK::LAPACK)
PS F:\Feature-test\vcpkg>
We haven't been able to repro this; if more information comes up, or this issue appears again, please reopen.
I want to install g2o by vcpkg. When it run "building lapack-reference", same situation happened. I cannot solve this problem. I found the same issue, so I closed my issue. https://github.com/microsoft/vcpkg/issues/32142 Environmen Windows 10, 22h2, VS2022
the same issue when installing colmap
Environment: Win10, VS2019