failed build for me: [100%] Built target gr2fonttest Scanning dependencies of target gr2fonttest_copy_dll [100%] Built target gr2fonttest_copy_dll Using Module::Build perl Build.PL --installdirs=vendor --libdoc= --destdir=/var/tmp/portage/media-gfx/graphite2-1.1.0/image/ --create_packlist=0 WARNING: the following files are missing in your kit: README Please inform the author. Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Text-Gr2' version '0.01' Building Text-Gr2 x86_64-pc-linux-gnu-gcc -I. -I../../include -I/usr/lib64/perl5/5.12.4/x86_64-linux/CORE -DXS_VERSION="0.01" -DVERSION="0.01" -fPIC -Wall -Wno-unused-variable -c -O2 -pipe -march=nati lib/Text/Gr2.xs:9:30: фатальная ошибка: graphite2/XmlLog.h: Нет такого файла или каталога Компиляция прервана. error building lib/Text/Gr2.o from 'lib/Text/Gr2.c' at /usr/lib64/perl5/vendor_perl/5.12.4/ExtUtils/CBuilder/Base.pm line 175. ERROR: media-gfx/graphite2-1.1.0 failed (compile phase): Compilation failed Call stack: ebuild.sh, line 85: Called src_compile environment, line 3076: Called perl-module_src_compile environment, line 2651: Called die The specific snippet of code: ./Build build || die "Compilation failed"; Reproducible: Always Steps to Reproduce: 1. emerge -v --sync 2. emerge -v media-gfx/graphite2
Created attachment 302219 [details] complete build log
Created attachment 302221 [details] ebuild environment file
Created attachment 302223 [details] output of 'emerge --info =media-gfx/graphite2-1.1.0'
Complete build without any errors if USE="-perl"
It built if you had old graphite2 around. THe problem seems to be that the code was not updated at all for the perl, so it wants header that is no longer around.
May be this one can help: http://projects.palaso.org/projects/graphitedev/repository/diff?rev=941&rev_to=940 I make patch which helps me.
Reported upstream and fixed there for next release, patch backported, it now should install out of the box.
Created attachment 302243 [details, diff] graphite2-1.1.0-404205-bug.patch Patch was made from upstream: http://projects.palaso.org/projects/graphitedev/repository/diff?rev=941&rev_to=940&type=sbs
Created attachment 302245 [details] Fixed ebuild for using graphite2-1.1.0-404205-bug.patch
I was faster O:)