ActivePerl-5.28 Build Error: fontconfig

Custom build forked from ActivePerl-5.28 always fails at ModulesAndLibs/fontconfig. Even when no additional packages are added, just removed Linux platform from build. Details below.

Reason: The build encountered an unexpected error. Please consult the build log for more details.

Build failures: ModulesAndLibs
Command exits with 9: cd fontconfig && C:\Perl\perl\bin\perl.exe -IC:/build/camel/lib -IC:/build/camel/work/../lib fontconfig-AS-Makefile.PL stopped at C:/build/camel/lib/ActiveState/Build/Step/Role/CustomBuildScript.pm line 75.

Can you try starting from a fresh copy of the current 5.28.1 project?
https://platform.activestate.com/ActiveState/ActivePerl-5.28
Sometimes those upstream updates do not apply cleanly, and the old project breaks.

Forked from your suggested 5.28.1 branch:

Apr 2nd, 2021 by marcg
Commit ID bce91069-bc17-473e-9d3c-9f1e1ad5c6fd
Description “Reverting to commit 5df681ee-1e46-4a19-86b9-118358157663”

Then removed the Linux Platform, so build should be Win10 only:

Jun 11th, 2021 by fabjancicm
Commit ID b119d92e-4787-4d68-bbf9-0a939fa41ba2
Description “Disabled Linux build”

Changes made

Removed Linux CentOS6.9

Build status shows “Failed”:

Build Status

FAILED 0 of 305 Packages Built

Reason: The build encountered an unexpected error. Please consult the build log for more details.

  • Build failures: ModulesAndLibs
  • Command exits with 9: cd fontconfig && C:\Perl\perl\bin\perl.exe -IC:/build/camel/lib -IC:/build/camel/work/…/lib fontconfig-AS-Makefile.PL stopped at C:/build/camel/lib/ActiveState/Build/Step/Role/CustomBuildScript.pm line 75.

We’re looking into the fontconfig issue. It’s widespread.

This issue was corrected a couple days ago, a fresh build should work now. If this problem persists, please note the project link.