Skip to content

[fontconfig] build failure #14864

@jacobkahn

Description

@jacobkahn

Host Environment

  • OS: Ubuntu 18.04.5 LTS
  • Compiler: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0

To Reproduce
Steps to reproduce the behavior:

apt install -y automake autopoint gperf libtool # needed to build

install:

./vcpkg install fontconfig

This happens in a Google colab notebook environment in particular: https://colab.research.google.com/drive/16t70NhnnnxQhA3Nn5-6djFqGmkQatO7j?usp=sharing

Failure logs

-- Performing post-build validation
There should be no empty directories in /content/vcpkg/packages/fontconfig_x64-linux
The following empty directories were found:

    /content/vcpkg/packages/fontconfig_x64-linux/share/fontconfig/locale/zh_CN/LC_MESSAGES

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:
    /content/vcpkg/ports/fontconfig/portfile.cmake
-- Performing post-build validation done
Error: Building package fontconfig:x64-linux failed with: POST_BUILD_CHECKS_FAILED

Additional context
Looks like files in that directory are provided in the RPM package (https://centos.pkgs.org/8/centos-baseos-x86_64/fontconfig-2.13.1-3.el8.i686.rpm.html) [and other managers], so this seems like a port bug.

Metadata

Metadata

Labels

requires:reproThe issue is not currently repro-able

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions