microsoft / microsoft/vcpkg

Collection of common port issues

Open
#6,045 11 comments 15 reactions 3 assignees Assigned to @vicroms View on GitHub
category:documentation
Dominant language
CMake
Stars
27.5k
Forks
7.7k
Avg merge
2d 19h
Merged PRs (30d)
321

Description

Trying to get a list together of common port issues which have been seen in the past and have been fixed or are still in need of a fix (maybe the fix is already known and it it just must be applied):

__Oberserved Problems?__
- Changing the debug name of a library, find_package broken: #6014
- Manually changing the name of a ~~library~~ / dll leading to the problems described in #6553
- Changing the exported symbols: #6043
- Wrong library linkage: #5543, #5540
- packageConfig.cmake in wrong directory: #4783
- package*.cmake different for release and debug and release version is overwritten by debug version: (probably also mentioned in #5543 or add a better reference)
- single configuration triplets fail because the portfile trys to install/copy files which do not exist in a single configuration build

__What should new ports always test?__
(after of course building successfully)
- Port\Package should be correctly be found by `find_package`
- Linkage of packages should be correct for debug/release (must also be checked in any generated target/config file)
- single configuration triplets (either release or debug not both)

Should I ping people for more visibility?

Please add comments so that I can extend the list (and some of you have probably more experience than me fixing ports).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.