On my power book 1.0 ghz, I have been running gentoo just fine for about 6 months now and i try to update it once a week. For the past few weeks the upgrade build of x11-libs/pango-1.2.1-r1 has been failing with the error messages below. Pango seemed to upgrade just fine on my i386. I do not know alot about Pango......sorry i am unable to provide more of a debug. ~spicer matthews /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPANGO_ENABL E_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCON FDIR=\"/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/X 11R6/include -I/usr/include/freetype2 -I/usr/i nclude/freetype2 -I/usr/X11R6/include-I.. -O2 -pipe -Wall -c pangoft2.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -D SYSCONFDIR=\"/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/ X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/inc lude -I.. -O2 -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) pangoft2.c:231: warning: unreachable code at beginning of switch statement make[3]: *** [pangoft2.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/pango-1.2.1-r1/work/pango-1.2.1/pan go' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/pango-1.2.1-r1/work/pango-1.2.1/pan go' 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 PowerCam root # PowerCam root # emerge -u -p world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild U ] x11-libs/pango-1.2.1-r1 [1.0.5] [ebuild U ] dev-libs/atk-1.2.2 [1.0.3-r1] [ebuild U ] x11-libs/gtk+-2.2.1 [2.0.8] [ebuild U ] sys-libs/db-3.2.9-r2 [3.2.9-r1] [ebuild U ] app-admin/sysklogd-1.4.1-r4 [1.4.1-r3] [ebuild U ] sys-apps/man-1.5l-r3 [1.5l-r2] [ebuild U ] dev-perl/ExtUtils-MakeMaker-6.05-r5 [6.05-r4] [ebuild U ] sys-apps/powerprefs-0.3.1 [0.2.1] [ebuild UD] sys-apps/gawk-3.1.1-r2 [3.1.2-r3] [ebuild U ] dev-util/cvs-1.11.6 [1.11.5-r1] [ebuild U ] net-wireless/wireless-tools-26_pre8 [24] [ebuild U ] net-analyzer/nmap-3.27 [3.00] [ebuild U ] sys-apps/modutils-2.4.25 [2.4.22] PowerCam root #
please make sure that freetype2 and fontconfig are ok (emerge them again)
I tryed both the freetype and the fontconfig (unmerge and then merged again). Still the same problem.
xfree version?
going to give this bug a ping - please pong if problem still exists
I have also experienced this problem, on Intel... nearly identical output: pangoft2.c: In function `pango_ft2_font_get_face': pangoft2.c:237: `FC_HINT_STYLE' undeclared (first use in this function) pangoft2.c:237: (Each undeclared identifier is reported only once pangoft2.c:237: for each function it appears in.) pangoft2.c:238: `FC_HINT_FULL' undeclared (first use in this function) pangoft2.c:240: `FC_HINT_NONE' undeclared (first use in this function) pangoft2.c:244: `FC_HINT_SLIGHT' undeclared (first use in this function) pangoft2.c:245: `FC_HINT_MEDIUM' undeclared (first use in this function) make[3]: *** [pangoft2.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/pango-1.2.5-r1/work/pango-1.2.5/pango' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/pango-1.2.5-r1/work/pango-1.2.5/pango' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/pango-1.2.5-r1/work/pango-1.2.5' make: *** [all-recursive-am] Error 2 I have also re-merged fontconfig and freetype, and it made no difference. So this bug is probably not just PPC.
please try that: for x in `find /usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2.3/include -name '*.h'` do if grep -q 'It has been auto-edited by fixincludes from' ${x} then rm -f ${x} fi done and try again
Still does the same thing for me after running this shell code, even after re-merging fontconfig and freetype again.
did the shell delete any file? emerge info please maybe you have another gcc version than the one I supposed
Yes, the script deleted several header files, it was the right GCC version, I _did_ have to change the host string because I'm on intel. # emerge --info Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.20-gentoo-r5) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.3.10p1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://cpan.svc.tds.net/pub/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://cpan.svc.tds.net/gentoo-portage" USE="X alsa apache2 apm arts avi berkdb crypt cups encode esd faad foomaticdb gdbm gif gnome2 gpm gtk2 icc imlib java jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcpd truetype x86 xinerama xml2 xmms xv zlib"
lu_zero, any further hints? If it's interesting I have x11-libs/pango-1.2.5-r1 running on my iBook...
out of clue and since happens on x86 too maybe is time to ask the gnome team.
scan the system for fontconfig related header files. ( find / -name fontconfig.h -or -name fcfreetype.h -or -name fcprivate.h ) there should only be one set, same goes for freetype. (ftconfig.h )
no reply, closing NEEDINFO
Just closing.