When I try to emerge -u --deep world, or try to emerge pango on its own, the compile fails. Reproducible: Always Steps to Reproduce: 1.Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0) ================================================================= System uname: 2.5.64-ac3 i686 AMD Athlon(tm) processor GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/kde/cvs/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg gnome libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline tetex aalib svga tcltk java guile X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk motif opengl mozilla acl alsa cdr dga directfb dvd fbcon gb gd gphoto2 ipv6 lcms nas oav pic scanner usb kde arts qt" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O4 -pipe" CXXFLAGS="-march=athlon-tbird -O4 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache buildpkg userpriv" 2.emerge pango 3.note that there is a crash Actual Results: emerge failed Expected Results: emerge should have succeeded
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 106285 has been marked as a duplicate of this bug. ***
*** Bug 110229 has been marked as a duplicate of this bug. ***