Summary: | Pango-1.2.1-r1 compile fails on emerge | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Robert Raymond <rraymond> |
Component: | Unclassified | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | den_m, jens, lakerdonald, rival, strube, swrobel |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Robert Raymond
2003-03-10 12:39:49 UTC
could you send the compile error, it is more easy to correct the bug. thanks Sorry about that.... creating libpangoxft-1.0.la (cd .libs && rm -f libpangoxft-1.0.la && ln -s ../libpangoxft-1.0.la libpangoxft-1.0.la) /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/usr/lib\" -DMODULE_VERSION=\"1.2.0\" -DG_DISABLE_DEPRECATED -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I.. -march=athlon-tbird -O4 -pipe -Wall -c pangoft2.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/usr/lib\" -DMODULE_VERSION=\"1.2.0\" -DG_DISABLE_DEPRECATED -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I.. -march=athlon-tbird -O4 -pipe -Wall -c pangoft2.c -fPIC -DPIC -o pangoft2.lo pangoft2.c: In function `pango_ft2_font_get_face': pangoft2.c:223: `FC_HINT_STYLE' undeclared (first use in this function) pangoft2.c:223: (Each undeclared identifier is reported only once pangoft2.c:223: for each function it appears in.) pangoft2.c:224: `FC_HINT_FULL' undeclared (first use in this function) pangoft2.c:226: `FC_HINT_NONE' undeclared (first use in this function) pangoft2.c:230: `FC_HINT_SLIGHT' undeclared (first use in this function) pangoft2.c:233: `FC_HINT_MEDIUM' undeclared (first use in this function) make[3]: *** [pangoft2.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/pango-1.2.1-r1/work/pango-1.2.1/pango' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/pango-1.2.1-r1/work/pango-1.2.1/pango' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/pango-1.2.1-r1/work/pango-1.2.1' make: *** [all-recursive-am] Error 2 !!! ERROR: x11-libs/pango-1.2.1-r1 failed. !!! Function src_compile, Line 48, Exitcode 2 !!! serial make failed recompile freetypeg. You're missing the hinting patch. If that doesn't work give the output of 'ls -al /usr/X11R6/include' 'emerge freetype' made no difference: total 124 drwxr-xr-x 11 root root 4096 Mar 7 11:45 . drwxr-xr-x 7 root root 62 Dec 3 16:41 .. drwxr-xr-x 2 root root 4096 Mar 7 11:43 DPS drwxr-xr-x 2 root root 4096 Mar 7 11:43 GL drwxr-xr-x 2 root root 72 Dec 4 00:17 Mrm drwxr-xr-x 13 root root 4096 Mar 7 11:43 X11 drwxr-xr-x 2 root root 8192 Dec 4 00:17 Xm drwxr-xr-x 2 root root 4096 Mar 5 17:26 audio -r--r--r-- 1 root root 28461 Mar 7 11:43 expat.h drwxr-xr-x 2 root root 62 Mar 7 11:43 fontconfig drwxr-xr-x 3 root root 38 Mar 7 11:43 freetype2 drwxr-xr-x 2 root root 102 Dec 4 00:17 uil -r--r--r-- 1 root root 3069 Mar 7 11:45 xf86Optrec.h -r--r--r-- 1 root root 10593 Mar 7 11:45 xf86Parser.h -r--r--r-- 1 root root 7323 Mar 7 11:43 zconf.h -r--r--r-- 1 root root 39636 Mar 7 11:43 zlib.h well, the freetype2 dir you see there in your listing is the cause. Can you check if it's owned by a package ? (use 'qpkg -f <FullPath>') If not, then it's a problem that turns up now and then and i'm not sure how it came into being (it should be owned by something otherwise sandbox wouldve bombed during emerge). But removal of that dir should fix this (or try rename if you are afraid you will mess things up). /usr/X11R6/include/freetype2 is not owned by any package, and pango still fails with the same error when I remove the directory. oh humm.. same as in comment #5 goes for the fontconfig dir probably.. altough im not as sure about that.. so just move that to be on the safe side still makes no difference rebuilt fontconfig ? thats the pack that defines these vars. again, same compile error after re-emerging fontconfig search your system for other fontconfig headers (fontconfig/fontconfig.h) /usr/include/fontconfig/fontconfig.h /usr/src/xfree/xc/exports/include/fontconfig/fontconfig.h /usr/src/xfree/xc/lib/fontconfig/fontconfig/fontconfig.h /usr/X11R6/include/fontconfig/fontconfig.h /usr/X11R6/include/fontconfig/fontconfig.h i thought you had removed that one in comment #7 ? I did remove it.... reemerging fontconfig put it back... ah.... removing it again did the trick. Sorry for taking up your time. wait reemerging fontconfig put it back there in /usr/X11R6/include ? it should only go to /usr/include .. doing a rm -rf /usr/X11R6/fontconfig fixed this for me. However doing a qpkg -f /usr/X11R6/fontconfig/fontconfig.h showed no packages as owning this. i have no idea where that comes from, i have a nack that it comes from an old xfree ebuild or something. But i have no idea why it isn't tracked by portage. I just hope that in time this problem will dissapear, fontconfig shouldn't go there. *** Bug 19788 has been marked as a duplicate of this bug. *** reclosing *** Bug 47248 has been marked as a duplicate of this bug. *** *** Bug 101011 has been marked as a duplicate of this bug. *** *** Bug 101011 has been marked as a duplicate of this bug. *** *** Bug 106285 has been marked as a duplicate of this bug. *** *** Bug 110229 has been marked as a duplicate of this bug. *** |