Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 597460 - media-gfx/gimp-2.9.4-r1[-svg] doesn't compile because it can't find rsvg.h
Summary: media-gfx/gimp-2.9.4-r1[-svg] doesn't compile because it can't find rsvg.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sebastian Pipping
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-18 17:46 UTC by gentoo-user
Modified: 2016-10-31 18:47 UTC (History)
3 users (show)

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


Attachments
`emerge --info '=media-gfx/gimp-2.9.4-r1::gentoo'` (info,17.14 KB, text/plain)
2016-10-18 17:46 UTC, gentoo-user
Details
build.log (build.log,128.40 KB, text/plain)
2016-10-18 17:47 UTC, gentoo-user
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gentoo-user 2016-10-18 17:46:25 UTC
Created attachment 450706 [details]
`emerge --info '=media-gfx/gimp-2.9.4-r1::gentoo'`

gimp-2.9.4-r1 fails to compile because it cannot find rsvg.h:
compute-svg-viewbox.c:18:26: fatal error: librsvg/rsvg.h: No such file or directory

rsvg.h is on my system as /usr/include/librsvg-2.0/librsvg/rsvg.h (as installed by gnome-base/librsvg-2.40.16)

emerge -pqv '=media-gfx/gimp-2.9.4-r1::gentoo'`:
[ebuild     U ] media-gfx/gimp-2.9.4-r1 [2.9.4] USE="-aalib -alsa (-altivec) (-aqua) -debug -doc -gnome -jpeg2k -mng -openexr -pdf -postscript -python -smp -svg {-test} -udev -vector-icons% -webkit -wmf -xpm" CPU_FLAGS_X86="mmx sse" LINGUAS="-am -ar -ast -az -be -bg -br -ca -ca@valencia -cs -csb -da -de -dz -el -en_CA -en_GB -eo -es -et -eu -fa -fi -fr -ga -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn -ko -lt -lv -mk -ml -ms -my -nb -nds -ne -nl -nn -oc -pa -pl -pt -pt_BR -ro -ru -rw -si -sk -sl -sr -sr@latin -sv -ta -te -th -tr -tt -uk -vi -xh -yi -zh_CN -zh_HK -zh_TW" PYTHON_TARGETS="-python2_7"
Comment 1 gentoo-user 2016-10-18 17:47:20 UTC
Created attachment 450708 [details]
build.log
Comment 2 plume 2016-10-19 04:46:08 UTC
I had this same issue when trying to update gimp yesterday; enabling the svg use flag let it finish compiling without any error.
Comment 3 Sebastian Pipping gentoo-dev 2016-10-23 14:29:17 UTC
Sorry for the inconvenience!  It turns out that --without-librsvg is broken on Git master currently so there is nothing I could just cherry pick right now.
I have reported the bug upstream at

  https://bugzilla.gnome.org/show_bug.cgi?id=773382

and would like hear what they think before making a decision downstream.
Upstream is often pretty quick on replies.
Comment 4 Sebastian Pipping gentoo-dev 2016-10-31 18:47:44 UTC
commit 9a76e1f129dd7755ad6a0d0a237f55267cd8ea97
Author: Sebastian Pipping <sping@g.o>
Date:   Mon Oct 31 19:44:22 2016 +0100

    media-gfx/gimp: Resolve svg use flag (bug #597460)
    
    Related upstream commit:
    https://git.gnome.org/browse/gimp/commit/?id=43e218859b09ff648088f4820642d92c57f0ddb6
    
    Package-Manager: portage-2.3.2

 media-gfx/gimp/gimp-2.9.4-r1.ebuild | 8 ++++----
 media-gfx/gimp/gimp-9999.ebuild     | 5 ++---
 2 files changed, 6 insertions(+), 7 deletions(-)

https://github.com/gentoo/gentoo/commit/9a76e1f129dd7755ad6a0d0a237f55267cd8ea97