Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22572 - Pango seems to fail on upgrade
Summary: Pango seems to fail on upgrade
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-10 13:51 UTC by Spicer T. Matthews
Modified: 2006-02-04 06:03 UTC (History)
2 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 Spicer T. Matthews 2003-06-10 13:51:30 UTC
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 #
Comment 1 Luca Barbato gentoo-dev 2003-06-10 14:30:34 UTC
please make sure that freetype2 and fontconfig are ok (emerge them again)
Comment 2 Spicer T. Matthews 2003-06-17 13:31:54 UTC
I tryed both the freetype and the fontconfig (unmerge and then merged again).  Still the same problem.
Comment 3 Luca Barbato gentoo-dev 2003-06-28 17:10:40 UTC
xfree version?
Comment 4 Pieter Van den Abeele (RETIRED) gentoo-dev 2003-10-11 04:49:17 UTC
going to give this bug a ping - please pong if problem still exists
Comment 5 David Lloyd 2004-01-21 06:46:01 UTC
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.
Comment 6 Luca Barbato gentoo-dev 2004-01-21 07:10:49 UTC
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
Comment 7 David Lloyd 2004-01-21 08:28:35 UTC
Still does the same thing for me after running this shell code, even after re-merging fontconfig and freetype again.
Comment 8 Luca Barbato gentoo-dev 2004-01-21 08:56:48 UTC
did the shell delete any file?

emerge info please

maybe you have another gcc version than the one I supposed
Comment 9 David Lloyd 2004-01-21 09:07:00 UTC
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"

Comment 10 Lars Weiler (RETIRED) gentoo-dev 2004-02-15 14:59:35 UTC
lu_zero, any further hints?

If it's interesting I have x11-libs/pango-1.2.5-r1 running on my iBook...
Comment 11 Luca Barbato gentoo-dev 2004-02-15 15:56:28 UTC
out of clue and since happens on x86 too maybe is time to ask the gnome team.
Comment 12 Spider (RETIRED) gentoo-dev 2004-02-15 18:24:19 UTC
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 )
Comment 13 foser (RETIRED) gentoo-dev 2004-02-29 08:00:27 UTC
no reply, closing NEEDINFO
Comment 14 Lars Weiler (RETIRED) gentoo-dev 2005-01-09 01:33:01 UTC
Just closing.