Discussion:
[gentoo-user] Failed to emerge fontforge
(too old to reply)
Thomas Chef
2009-04-20 13:50:10 UTC
Permalink
I tried to emerge lilypond but it fails when building fontforge, with
the error below.

What do I do ?

Do I issue an bug report ?

/ Thomas

In file included from fontP.h:109,
from gdrawtxt.c:30:
gxdrawP.h:83:32: error: cairo/cairo-xlib.h: No such file or directory
gcc -march=c3-2 -msse -mmmx -mfpmath=sse -O2 -pipe
-fomit-frame-pointer -I/usr/include/freetype2/ -I/usr/include/fr
eetype2 -I/usr/include/libxml2/ -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/gli
b-2.0/include -I/usr/include/python2.4 -I../inc -I../inc
-I/usr/pkg/include -I/usr/pkg/include/giflib -Wmissing-prot
otypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat
-Wchar-subscripts -DNOTHREADS -DHAVE_CONFIG_H -DLIBD
IR=\"/usr/lib\" -c gdrawtxtinit.c -fPIC -DPIC -o .libs/gdrawtxtinit.o
In file included from fontP.h:109,
from gdrawtxtinit.c:27:
gxdrawP.h:83:32: error: cairo/cairo-xlib.h: No such file or directory
make[1]: *** [gdrawtxt.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [gdrawtxtinit.lo] Error 1
make[1]: Leaving directory
`/var/tmp/portage/media-gfx/fontforge-20090408/work/fontforge-20090408/gdraw'
make: *** [libgdraw] Error 2
*
* ERROR: media-gfx/fontforge-20090408 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2150: Called _eapi2_src_compile
* ebuild.sh, line 643: Called die
* The specific snippet of code:
* emake || die "emake failed"
* The die message:
* emake failed
*
Alan McKinnon
2009-04-20 14:00:21 UTC
Permalink
Post by Thomas Chef
I tried to emerge lilypond but it fails when building fontforge, with
the error below.
What do I do ?
Do I issue an bug report ?
/ Thomas
In file included from fontP.h:109,
gxdrawP.h:83:32: error: cairo/cairo-xlib.h: No such file or directory
That file is provided by cairo.

Try rebuilding x11-libs/cairo
--
alan dot mckinnon at gmail dot com
Peter Humphrey
2009-04-20 16:20:11 UTC
Permalink
Post by Alan McKinnon
Do I issue [a] bug report ?
In file included from fontP.h:109,
gxdrawP.h:83:32: error: cairo/cairo-xlib.h: No such file or directory
That file is provided by cairo.
Try rebuilding x11-libs/cairo
...and if that doesn't fix it I'm sure the upstream devs will be interested
to know of the problem.
--
Rgds
Peter
Thomas Chef
2009-04-20 16:20:13 UTC
Permalink
Post by Alan McKinnon
Try rebuilding x11-libs/cairo
I tried:
# emerge x11-libs/cairo

Which seems to have worked out ok, then ran emerge fontforge, but it
ended up in the same error as before ?

I searched the disk for the file: cairo-xlib.h (in Konqueror) but
could not find the file ?

/ Thomas
Mike Kazantsev
2009-04-21 02:20:09 UTC
Permalink
On Mon, 20 Apr 2009 18:11:32 +0200
Post by Thomas Chef
Post by Alan McKinnon
Try rebuilding x11-libs/cairo
# emerge x11-libs/cairo
Which seems to have worked out ok, then ran emerge fontforge, but it
ended up in the same error as before ?
I searched the disk for the file: cairo-xlib.h (in Konqueror) but
could not find the file ?
/ Thomas
% equery b /usr/include/cairo/cairo-xlib.h
[ Searching for file(s) /usr/include/cairo/cairo-xlib.h in *... ]
x11-libs/cairo-1.8.6-r1 (/usr/include/cairo/cairo-xlib.h)

If you really don't have this file with cairo installed, it should be a
bug. Possible workaround is to install another version of cairo -
prehaps it was somehow omitted in your version, quite unlikely though.
--
Mike Kazantsev // fraggod.net
Thomas Chef
2009-04-21 07:00:13 UTC
Permalink
Post by Peter Humphrey
...and if that doesn't fix it I'm sure the upstream devs will be
interested
Post by Peter Humphrey
to know of the problem.
I have opened a bug report, and also got a response, which I will try:
http://bugs.gentoo.org/show_bug.cgi?id=266868

Loading...