Skip to content

[pcl[vtk]:x64-linux] build failure #21241

@AlexLeungZ

Description

@AlexLeungZ

Host Environment

x64-linux:
OS: Ubuntu 20.04.3 LTS on Windows 10 x86_64 (WSL)
Compiler: g++ (Ubuntu 11.1.0-1ubuntu1~20.04) 11.1.0
CMake version: cmake version 3.21.2

arm64-linux:
OS: Ubuntu 20.04.3 LTS
Compiler: g++ (Ubuntu 11.1.0-1ubuntu1~20.04) 11.1.0
CMake version: cmake version 3.22.0-rc2

To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/microsoft/vcpkg
sudo ./vcpkg/bootstrap-vcpkg.sh
sudo vcpkg/vcpkg integrate install
then hit build with vscode's cmake extension

vcpkg.json

{
    "name": "robocon-test-code",
    "version": "1.0",
    "dependencies": [
        {
            "name": "vtk",
            "features": [ ]            
        },
        {
            "name": "pcl",
            "features": [ "vtk" ]
        }
    ],
    
    "builtin-baseline": "66c39e113a348a6ae80419fae5a629b951b00f1a",
    "overrides": [
        {
            "name": "vtk",
            "version-semver": "9.0.3-pv5.9.1#3"
        }
    ]
}

Expected Behavior
Installs without error

Failure logs

[cmake] -- Building x64-linux-dbg
[cmake] CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:155 (message):
[cmake]     Command failed: /home/alex/.local/lib/pypy3.6/site-packages/cmake/data/bin/cmake --build . --config Debug --target install -- -v -j33
[cmake]     Working Directory: /mnt/d/Git/GitHub/robocon-test-code/vcpkg/buildtrees/pcl/x64-linux-dbg
[cmake]     See logs for more information:
[cmake]       /mnt/d/Git/GitHub/robocon-test-code/vcpkg/buildtrees/pcl/install-x64-linux-dbg-out.log
[cmake] 
[cmake] Call Stack (most recent call first):
[cmake]   /mnt/d/Git/GitHub/robocon-test-code/build/vcpkg_installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_build.cmake:102 (vcpkg_execute_build_process)
[cmake]   /mnt/d/Git/GitHub/robocon-test-code/build/vcpkg_installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_install.cmake:41 (vcpkg_cmake_build)
[cmake]   buildtrees/versioning/versions/pcl/6a65773e049bbdfef835781a6a61ee6a3a94dd27/portfile.cmake:60 (vcpkg_cmake_install)
[cmake]   scripts/ports.cmake:142 (include)
[cmake] 
[cmake] 
[cmake] Error: Building package pcl:x64-linux failed with: BUILD_FAILED
[cmake] Please ensure you're using the latest portfiles with `git pull` and `./vcpkg update`, then
[cmake] submit an issue at https://github.com/Microsoft/vcpkg/issues including:
[cmake]   package: pcl[core,vtk]:x64-linux -> 1.12.0
[cmake]   vcpkg version: 2021-10-25-b4bff9afacafb0a234a8f20fd6451b2362c0f9a0
[cmake]   vcpkg-tool version: 66c39e113 2021-11-05 (2 days ago)
[cmake] 
[cmake] Additionally, attach any relevant sections from the log files above.
[cmake] -- Running vcpkg install - failed
[cmake] CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:831 (message):
[cmake]   vcpkg install failed.  See logs for more information:
[cmake]   /mnt/d/Git/GitHub/robocon-test-code/build/vcpkg-manifest-install.log
[cmake] Call Stack (most recent call first):
[cmake]   build/CMakeFiles/3.21.2/CMakeSystem.cmake:6 (include)
[cmake]   CMakeLists.txt:2 (project)
[cmake] 
[cmake] 
[cmake] -- Configuring incomplete, errors occurred!
[cmake] See also "/mnt/d/Git/GitHub/robocon-test-code/build/CMakeFiles/CMakeOutput.log".
[cmake] See also "/mnt/d/Git/GitHub/robocon-test-code/build/CMakeFiles/CMakeError.log".

Full log is attached here:
20211107_pcl_vtk_log.txt

Additional context
/mnt/d/Git/GitHub/robocon-test-code/build/vcpkg-manifest-install.log
vcpkg-manifest-install.log

/mnt/d/Git/GitHub/robocon-test-code/vcpkg/buildtrees/pcl/config-x64-linux-dbg-out.log
config-x64-linux-dbg-out.log

/mnt/d/Git/GitHub/robocon-test-code/vcpkg/buildtrees/pcl/install-x64-linux-dbg-out.log
install-x64-linux-dbg-out.log

/mnt/d/Git/GitHub/robocon-test-code/build/CMakeFiles/CMakeOutput.log
CMakeOutput.log

/mnt/d/Git/GitHub/robocon-test-code/build/CMakeFiles/CMakeError.log
CMakeError.log

Metadata

Metadata

Assignees

Labels

category:port-bugThe issue is with a library, which is something the port should already support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions