Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[geos] build failure dynamic linkage #11681

Closed
ASxa86 opened this issue May 31, 2020 · 1 comment
Closed

[geos] build failure dynamic linkage #11681

ASxa86 opened this issue May 31, 2020 · 1 comment
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team.

Comments

@ASxa86
Copy link

ASxa86 commented May 31, 2020

Host Environment

  • OS: Ubuntu 20.04
  • Compiler: gcc v9.3.0

To Reproduce
Steps to reproduce the behavior:
./vcpkg install geos:x64-linux-shared

Failure logs
There should be no empty directories in /home/aaron/dev/vcpkg/packages/geos_x64-linux-shared
The following empty directories were found:

/home/aaron/dev/vcpkg/packages/geos_x64-linux-shared/bin
/home/aaron/dev/vcpkg/packages/geos_x64-linux-shared/debug/bin

If a directory should be populated but is not, this might indicate an error in the portfile.
If the directories are not needed and their creation cannot be disabled, use something like this in the portfile to remove them:

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/a/dir" "${CURRENT_PACKAGES_DIR}/some/other/dir")

Found 1 error(s). Please correct the portfile:
/home/aaron/dev/vcpkg/ports/geos/portfile.cmake
-- Performing post-build validation done
Error: Building package geos:x64-linux-shared failed with: POST_BUILD_CHECKS_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: geos:x64-linux-shared
Vcpkg version: 2020.02.04-unknownhash

Additionally, attach any relevant sections from the log files above.

Additional context
Fix by removing the linkage check in to portfile.cmake prior to removing the bin directories.

@PhoebeHui PhoebeHui added the category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team. label Feb 25, 2021
@JackBoosY
Copy link
Contributor

Solved by #17616.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team.
Projects
None yet
Development

No branches or pull requests

4 participants