Closed chanduv1 closed 2 years ago
Config log file attached
[1/1] cmd /c "cd .. && "D:/Project/Github/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/bin/cmake.exe" "D:/Project/Github/vcpkg/scripts/detect_compiler" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/Project/Github/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/Project/Github/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/Project/Github/vcpkg" "-DZ_VCPKG_ROOT_DIR=D:/Project/Github/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/Project/Github/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/Project/Github/vcpkg/packages/detect_compiler_x64-windows""
-- The C compiler identification is MSVC 19.30.30705.0
-- The CXX compiler identification is MSVC 19.30.30705.0
#COMPILER_HASH#16ef096ba614084c7358a3c1b0a2b15cf5d0d331
#COMPILER_C_HASH#fe7af7e55e31ff53eb25ca5e315278e2c2ed7476
#COMPILER_C_VERSION#19.30.30705.0
#COMPILER_C_ID#MSVC
#COMPILER_CXX_HASH#fe7af7e55e31ff53eb25ca5e315278e2c2ed7476
#COMPILER_CXX_VERSION#19.30.30705.0
#COMPILER_CXX_ID#MSVC
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_SHARED_LIBS
CMAKE_INSTALL_BINDIR
CMAKE_INSTALL_LIBDIR
VCPKG_TARGET_ARCHITECTURE
_VCPKG_ROOT_DIR
-- Build files have been written to: D:/Project/Github/vcpkg/buildtrees/detect_compiler/x64-windows-rel
See logs for more information: D:\Project\Github\vcpkg\buildtrees\pcl\install-x86-windows-rel-out.log
Please provide this file
This should be fixed by my PR https://github.com/microsoft/vcpkg/pull/21276, can you please confirm that by git pull vcpkg and rebuild pcl?
Thanks.
This should be fixed by my PR #21276, can you please confirm that by git pull vcpkg and rebuild pcl?
Thanks.
Hi, Thanks for looking into the build error.
Tried reinstall and rebuild ... Same issue persists. Uploading relevant logs for Reference.
Thanks,
D:\Project\Github\vcpkg>.\vcpkg install pcl
Computing installation plan...
The following packages will be built and installed:
pcl[core]:x86-windows -> 1.12.0#1
Detecting compiler hash for triplet x86-windows...
A suitable version of powershell-core was not found (required v7.2.0). Downloading portable powershell-core v7.2.0...
Downloading powershell-core...
https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/PowerShell-7.2.0-win-x86.zip -> D:\Project\Github\vcpkg\downloads\PowerShell-7.2.0-win-x86.zip
Extracting powershell-core...
Restored 0 packages from C:\Users\Chandu\AppData\Local\vcpkg\archives in 985 us. Use --debug to see more details.
Starting package 1/1: pcl:x86-windows
Building package pcl[core]:x86-windows...
-- Using cached PointCloudLibrary-pcl-f36a69a5e89953708990c4669317f989d532cf08.tar.gz.
-- Extracting source D:/Project/Github/vcpkg/downloads/PointCloudLibrary-pcl-f36a69a5e89953708990c4669317f989d532cf08.tar.gz
-- Applying patch add-gcc-version-check.patch
-- Applying patch fix-check-sse.patch
-- Applying patch fix-find-qhull.patch
-- Applying patch fix-numeric-literals-flag.patch
-- Applying patch pcl_config.patch
-- Applying patch pcl_utils.patch
-- Applying patch remove-broken-targets.patch
-- Applying patch fix-cmake_find_library_suffixes.patch
-- Applying patch fix-pkgconfig.patch
-- Applying patch fix-find-libusb.patch
-- Using source at D:/Project/Github/vcpkg/buildtrees/pcl/src/89d532cf08-7f45db68c8.clean
-- Found external ninja('1.10.2').
-- Configuring x86-windows
-- Building x86-windows-dbg
-- Building x86-windows-rel
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:155 (message):
Command failed: D:/Project/Github/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/bin/cmake.exe --build . --config Release --target install -- -v -j9
Working Directory: D:/Project/Github/vcpkg/buildtrees/pcl/x86-windows-rel
See logs for more information:
D:\Project\Github\vcpkg\buildtrees\pcl\install-x86-windows-rel-out.log
Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:102 (vcpkg_execute_build_process)
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:41 (vcpkg_cmake_build)
ports/pcl/portfile.cmake:73 (vcpkg_cmake_install)
scripts/ports.cmake:142 (include)
Error: Building package pcl:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `git pull` and `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
package: pcl[core]:x86-windows -> 1.12.0#1
vcpkg version: 30465138e 2021-11-22 (12 hours ago)
vcpkg-tool version: 2021-11-15-ec76affcc987efbf172b7da0b05df711b48fa535
Additionally, attach any relevant sections from the log files above
install-x86-windows-rel-out.log stdout-x86-windows.log install-x86-windows-dbg-out.log config-x86-windows-out.log
D:\Project\Github\vcpkg\buildtrees\pcl\src\89d532cf08-7f45db68c8.clean\surface\src\3rdparty\opennurbs\opennurbs_lookup.cpp(670) : fatal error C1001: Internal compiler error.
(compiler file 'd:\a01\_work\20\s\src\vctools\Compiler\Utc\src\p2\main.c', line 217)
To work around this problem, try simplifying or changing the program near the locations listed above.
If possible please provide a repro here: https://developercommunity.visualstudio.com
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
cl!RaiseException()+0x69
cl!RaiseException()+0x69
cl!CloseTypeServerPDB()+0x7392b
cl!CloseTypeServerPDB()+0x118591
It seems like a Visual Studio bug more than a port bug. Can you please provide your Visual Studio version?
@chanduv1 ,Could you please provide your Visual Studio version?
Hello, I have exacly same problem. But sometimes have problem to install in debug
or in release
...
Versions :
@chanduv1 ,@xbeheydt ,Confirmed this is a compiler bug. We have filed a bug to track this issue,
fatal error C1001: Internal compiler error.
This error is same as https://github.com/microsoft/vcpkg/issues/19561#issuecomment-898879852, so I close this issue and we will track it in issue #19561
Host Environment
To Reproduce Steps to reproduce the behavior:
./vcpkg install xxxx
Failure logs -Cut and paste the appropriate build messages from the console output. -Please attach any additional failure logs mentioned in the console output.
Additional context Add any other context about the problem here, such as what you have already tried to resolve the issue.