microsoft / microsoft/vcpkg

[openjph] build failure on windows

Open
#53,166 4 comments 0 reactions 0 assignees View on GitHub
category:port-bug
Dominant language
CMake
Stars
27.5k
Forks
7.7k
Avg merge
2d 19h
Merged PRs (30d)
321

Description

### Operating system

Windows

### Compiler

MSVC

### Steps to reproduce the behavior

```Shell
./vcpkg install openjph:x86-windows-static
```

### Failure logs

-- Using cached aous72-OpenJPH-0.30.1.tar.gz
-- Cleaning sources at ./vcpkg/buildtrees/openjph/src/0.30.1-256b6ae58e.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source ./vcpkg/downloads/aous72-OpenJPH-0.30.1.tar.gz
-- Applying patch xsi-strerror_r.patch
-- Using source at ./vcpkg/buildtrees/openjph/src/0.30.1-256b6ae58e.clean
-- Configuring x86-windows-static
-- Building x86-windows-static-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: ../cmake.exe --build . --config Debug --target install -- -v -j13
Working Directory: ./vcpkg/buildtrees/openjph/x86-windows-static-dbg
See logs for more information:
.\vcpkg\buildtrees\openjph\install-x86-windows-static-dbg-out.log
.\vcpkg\buildtrees\openjph\install-x86-windows-static-dbg-err.log

Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
ports/openjph/portfile.cmake:28 (vcpkg_cmake_install)
scripts/ports.cmake:209 (include)

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure with `./vcpkg install openjph:x86-windows-static`, then inspect `ports/openjph/portfile.cmake` and the referenced `install-x86-windows-static-dbg-out.log` and `-err.log` files. The fix is complete when the OpenJPH port builds and installs successfully for the Windows static triplet.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.