Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404205 - media-gfx/graphite2-1.1.0 fails to build
Summary: media-gfx/graphite2-1.1.0 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-16 23:43 UTC by ZOleg
Modified: 2012-02-17 10:07 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
complete build log (build.log,7.80 KB, text/plain)
2012-02-16 23:44 UTC, ZOleg
Details
ebuild environment file (environment,107.95 KB, text/plain)
2012-02-16 23:44 UTC, ZOleg
Details
output of 'emerge --info =media-gfx/graphite2-1.1.0' (info,5.81 KB, text/plain)
2012-02-16 23:45 UTC, ZOleg
Details
graphite2-1.1.0-404205-bug.patch (graphite2-1.1.0-404205-bug.patch,1.75 KB, patch)
2012-02-17 10:04 UTC, Viktor Yu. Kovalskii
Details | Diff
Fixed ebuild for using graphite2-1.1.0-404205-bug.patch (graphite2-1.1.0.ebuild,1.81 KB, text/plain)
2012-02-17 10:05 UTC, Viktor Yu. Kovalskii
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ZOleg 2012-02-16 23:43:19 UTC
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
Comment 1 ZOleg 2012-02-16 23:44:11 UTC
Created attachment 302219 [details]
complete build log
Comment 2 ZOleg 2012-02-16 23:44:50 UTC
Created attachment 302221 [details]
ebuild environment file
Comment 3 ZOleg 2012-02-16 23:45:20 UTC
Created attachment 302223 [details]
output of 'emerge --info =media-gfx/graphite2-1.1.0'
Comment 4 Anton Ziborov 2012-02-17 02:14:10 UTC
Complete build without any errors if USE="-perl"
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2012-02-17 08:33:43 UTC
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.
Comment 6 Viktor Yu. Kovalskii 2012-02-17 10:02:49 UTC
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.
Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2012-02-17 10:04:19 UTC
Reported upstream and fixed there for next release, patch backported, it now should install out of the box.
Comment 8 Viktor Yu. Kovalskii 2012-02-17 10:04:28 UTC
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
Comment 9 Viktor Yu. Kovalskii 2012-02-17 10:05:03 UTC
Created attachment 302245 [details]
Fixed ebuild for using graphite2-1.1.0-404205-bug.patch
Comment 10 Tomáš Chvátal (RETIRED) gentoo-dev 2012-02-17 10:07:41 UTC
I was faster O:)