Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17239 - Pango-1.2.1-r1 compile fails on emerge
Summary: Pango-1.2.1-r1 compile fails on emerge
Status: RESOLVED CANTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 19788 47248 101011 106285 110229 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-03-10 12:39 UTC by Robert Raymond
Modified: 2011-10-30 22:20 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Raymond 2003-03-10 12:39:49 UTC
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
Comment 1 matrixise 2003-03-10 13:02:08 UTC
could you send the compile error, it is more easy to correct the bug. 
 
thanks 
Comment 2 Robert Raymond 2003-03-10 13:10:06 UTC
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 
Comment 3 foser (RETIRED) gentoo-dev 2003-03-10 19:34:33 UTC
recompile freetypeg. You're missing the hinting patch.

If that doesn't work give the output of 'ls -al /usr/X11R6/include'
Comment 4 Robert Raymond 2003-03-10 22:19:34 UTC
'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 
Comment 5 foser (RETIRED) gentoo-dev 2003-03-11 08:10:10 UTC
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).
Comment 6 Robert Raymond 2003-03-11 15:33:21 UTC
/usr/X11R6/include/freetype2 is not owned by any package, and pango still fails 
with the same error when I remove the directory. 
Comment 7 foser (RETIRED) gentoo-dev 2003-03-11 16:58:32 UTC
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
Comment 8 Robert Raymond 2003-03-11 17:21:23 UTC
still makes no difference 
Comment 9 foser (RETIRED) gentoo-dev 2003-03-11 17:45:41 UTC
rebuilt fontconfig ? thats the pack that defines these vars.
Comment 10 Robert Raymond 2003-03-11 18:30:12 UTC
again, same compile error after re-emerging fontconfig 
Comment 11 foser (RETIRED) gentoo-dev 2003-03-11 18:57:47 UTC
search your system for other fontconfig headers (fontconfig/fontconfig.h)
Comment 12 Robert Raymond 2003-03-12 06:27:30 UTC
/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 
 
Comment 13 foser (RETIRED) gentoo-dev 2003-03-12 06:53:26 UTC
/usr/X11R6/include/fontconfig/fontconfig.h 

i thought you had removed that one in comment #7 ?
Comment 14 Robert Raymond 2003-03-12 07:11:03 UTC
I did remove it.... reemerging fontconfig put it back... 
 
ah.... removing it again did the trick. Sorry for taking up your time. 
Comment 15 foser (RETIRED) gentoo-dev 2003-03-12 07:27:04 UTC
wait reemerging fontconfig put it back there in /usr/X11R6/include ? it should only go to /usr/include ..
Comment 16 Jeffrey Strube 2003-03-25 02:43:59 UTC
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. 
Comment 17 foser (RETIRED) gentoo-dev 2003-03-25 07:48:39 UTC
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.
Comment 18 Alastair Tse (RETIRED) gentoo-dev 2003-04-22 16:00:05 UTC
*** Bug 19788 has been marked as a duplicate of this bug. ***
Comment 19 Alastair Tse (RETIRED) gentoo-dev 2003-09-28 14:10:27 UTC
reclosing
Comment 20 foser (RETIRED) gentoo-dev 2004-04-08 12:02:19 UTC
*** Bug 47248 has been marked as a duplicate of this bug. ***
Comment 21 foser (RETIRED) gentoo-dev 2005-08-01 14:07:40 UTC
*** Bug 101011 has been marked as a duplicate of this bug. ***
Comment 22 foser (RETIRED) gentoo-dev 2005-08-01 14:50:11 UTC
*** Bug 101011 has been marked as a duplicate of this bug. ***
Comment 23 Jakub Moc (RETIRED) gentoo-dev 2005-09-17 09:36:41 UTC
*** Bug 106285 has been marked as a duplicate of this bug. ***
Comment 24 Jakub Moc (RETIRED) gentoo-dev 2005-10-23 08:17:30 UTC
*** Bug 110229 has been marked as a duplicate of this bug. ***