This is the same as bug #22572, but I am using X86 instead of PPC hardware. Emerge pango fails because FC_HINT_STYLE is undefined in pangoft2.c. It is apparently defined in /usr/include/fontconfig/fontconfig.h, but for some reason, pango doesn't get it. By the way, /usr/X11R6/lib/libfontconfig.so.1.0 does not contain any symbols where HINT is part of the name. Reproducible: Always Steps to Reproduce: 1.emerge pango Actual Results: Build failed because FC_HINT_STYLE is undefined Expected Results: Built pango! FC_HINT_STYLE is undefined in pangoft2.c. It is apparently defined in /usr/include/fontconfig/fontconfig.h, but for some reason, pango doesn't get it. By the way, /usr/X11R6/lib/libfontconfig.so.1.0 does not contain any symbols where HINT is part of the name.
what freetype, fontconfig and xfree ? Make sure there are no other freetype/fontconfig headers on the system. Try a locate of 'fontconfig.h".
Have the same problem: freetype version 2.1.5 fontconfig 2.2.1 xfree 4.3.0-r3 I regularly update the system, just pango is preventing himself and all his dependencies to be updated. I don't have gnome installed, is it possible it has something to do with it? After a lot of warnings about strict aliasing rules being breaked, I get: log:*/ pangoft2.c: In function `pango_ft2_font_get_face': pangoft2.c:237: error: `FC_HINT_STYLE' undeclared (first use in this function) pangoft2.c:237: error: (Each undeclared identifier is reported only once pangoft2.c:237: error: for each function it appears in.) pangoft2.c:238: error: `FC_HINT_FULL' undeclared (first use in this function) pangoft2.c:240: error: `FC_HINT_NONE' undeclared (first use in this function) pangoft2.c:244: error: `FC_HINT_SLIGHT' undeclared (first use in this function) pangoft2.c:245: error: `FC_HINT_MEDIUM' undeclared (first use in this function) make[3]: *** [pangoft2.lo] Error 1 [...] !!! ERROR: x11-libs/pango-1.2.5-r1 failed. !!! Function gnome2_src_compile, Line 39, Exitcode 2 !!! compile failure
Try the things i mentioned in #1
Yes I found two 'fontconfig.h", in: /usr/X11R6/include/fontconfig/fontconfig.h /usr/include/fontconfig/fontconfig.h The ebuild uses the first one, wich is newer, but does not contain the needed declarations. I copied the old lines in the new header, and now it is merged without errors, but I'm not shure if this is "correct". Surprising, but the vanilla sources build and install flawlessly, so the bug is in portage. After some searching, I found that the cause of the problem is a patch applyed by the ebuild: pango-1.2.2-slighthint.patch breaks it all, but I don't know what it is doing, so I can't fix it. Mantainers?
No it's not a problem with portage really, you shouldn't have both headers. Can you figure out what owns the header in X11R6 ? ('qpkg -f /usr/X11R6/include/fontconfig/fontconfig.h' should do the trick. Our xfree shouldn't come with fontconfig.
You're right again, qpkg says nothing, so I think it was my fault to have an extra header. Actually I never thought that installing a cvs xfree (I no longer use it, but it looks like some files got forgotten) would break an ebuild. Althought it would be nicer if I could use some self-installed programs on the same system on portage, for me it's solved. thanks foser. Maybe Frickmann too?
well yeah it is possible, if you clean up or have portage handle the packages (and handle them right, so certain third party sites are not an option) then you should have little trouble. I'm closing this since mr.Frickmann never answered and your problem got solved. Marking INVALID, because this is not a Gentoo bug.
*** Bug 57497 has been marked as a duplicate of this bug. ***
*** Bug 65493 has been marked as a duplicate of this bug. ***
*** Bug 78382 has been marked as a duplicate of this bug. ***