This package fails to build on an unstable system. Attached relevant logs and emerge --info
Created attachment 764163 [details] emerge_info emerge --info
Created attachment 764164 [details] graphite2-1.3.14_p20210810-r1:20220201-155939.log build log
[35/35] cd /var/tmp/portage/media-gfx/graphite2-1.3.14_p20210810-r1/work/graphite-80c52493ef42e6fe605a69dcddd2a691cd8a1380_build-abi_x86_64.amd64/gr2fonttest && /usr/bin/cmake -E copy_if_different /var/tmp/portage/media-gfx/graphite2-1.3.14_p20210810-r1/work/graphite-80c52493ef42e6fe605a69dcddd2a691cd8a1380_build-abi_x86_64.amd64/src/./libgraphite2.so /var/tmp/portage/media-gfx/graphite2-1.3.14_p20210810-r1/work/graphite-80c52493ef42e6fe605a69dcddd2a691cd8a1380_build-abi_x86_64.amd64/gr2fonttest/. * Using Module::Build * perl Build.PL --installdirs=vendor --libdoc= --destdir=/var/tmp/portage/media-gfx/graphite2-1.3.14_p20210810-r1/image --create_packlist=1 WARNING: the following files are missing in your kit: README Please inform the author. Can't exec "-shared": No such file or directory at /usr/lib64/perl5/5.34/ExtUtils/CBuilder/Base.pm line 342. Warning: ExtUtils::CBuilder not installed or no compiler detected Proceeding with configuration, but compilation may fail during Build Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Text-Gr2' version '0.01' Building Text-Gr2 Error: no compiler detected to compile 'lib/Text/Gr2.c'. Aborting * ERROR: media-gfx/graphite2-1.3.14_p20210810-r1::gentoo failed (compile phase): * Compilation failed * --- As a workaround, try USE=-perl.
A workaround is to set LD="gcc"