Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66878 - fbdesk-1.2.1 fails to emerge with gcc-3.4.2
Summary: fbdesk-1.2.1 fails to emerge with gcc-3.4.2
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Commonbox Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-09 08:25 UTC by Jonas MG
Modified: 2005-01-19 10:55 UTC (History)
0 users

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 Jonas MG 2004-10-09 08:25:38 UTC
When I try to emerge fbdesk I get multiple errors in Xft.h.

Reproducible: Always
Steps to Reproduce:
1.emerge fbdesk
2.
3.
Actual Results:  
In file included from /usr/X11R6/include/X11/Xft/Xft.h:40,
                 from XftFontImp.hh:29,
                 from Font.cc:35:
/usr/include/ft2build.h:55:38: freetype/config/ftheader.h: No such file or directory
In file included from XftFontImp.hh:29,
                 from Font.cc:35:
/usr/X11R6/include/X11/Xft/Xft.h:41:10: #include expects "FILENAME" or <FILENAME>
In file included from XftFontImp.hh:29,
                 from Font.cc:35:
/usr/X11R6/include/X11/Xft/Xft.h:58: error: `FT_Library' does not name a type
/usr/X11R6/include/X11/Xft/Xft.h:92: error: `FT_UInt' does not name a type
/usr/X11R6/include/X11/Xft/Xft.h:99: error: `FT_UInt' does not name a type
/usr/X11R6/include/X11/Xft/Xft.h:196: error: expected `,' or `...' before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:197: error: ISO C++ forbids declaration of
`FT_UInt' with no type
/usr/X11R6/include/X11/Xft/Xft.h:301: error: expected `,' or `...' before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:303: error: ISO C++ forbids declaration of
`FT_UInt' with no type
/usr/X11R6/include/X11/Xft/Xft.h:359: error: `FT_Face' does not name a type
/usr/X11R6/include/X11/Xft/Xft.h:399: error: expected `,' or `...' before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:400: error: ISO C++ forbids declaration of
`FT_UInt' with no type
/usr/X11R6/include/X11/Xft/Xft.h:405: error: expected `,' or `...' before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:406: error: ISO C++ forbids declaration of
`FT_UInt' with no type
/usr/X11R6/include/X11/Xft/Xft.h:414: error: `FT_UInt' has not been declared
/usr/X11R6/include/X11/Xft/Xft.h:415: error: `FT_UInt' has not been declared
/usr/X11R6/include/X11/Xft/Xft.h:416: error: ISO C++ forbids declaration of
`glyph' with no type
/usr/X11R6/include/X11/Xft/Xft.h:416: error: ISO C++ forbids declaration of
`missing' with no type
/usr/X11R6/include/X11/Xft/Xft.h:423: error: `FT_UInt' does not name a type
/usr/X11R6/include/X11/Xft/Xft.h:467: error: expected `,' or `...' before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:468: error: ISO C++ forbids declaration of
`FT_UInt' with no type
source='XFontImp.cc' object='XFontImp.o' libtool=no \
depfile='.deps/XFontImp.Po' tmpdepfile='.deps/XFontImp.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../..     -march=pentium -Os -pipe
-fomit-frame-pointer  -I/usr/X11R6/include    -I/usr/include/libpng12 -c -o
XFontImp.o `test -f XFontImp.cc || echo './'`XFontImp.cc
make[3]: *** [Font.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/fbdesk-1.2.1/work/fbdesk-1.2.1/src/FbTk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/fbdesk-1.2.1/work/fbdesk-1.2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/fbdesk-1.2.1/work/fbdesk-1.2.1'
make: *** [all] Error 2

!!! ERROR: x11-misc/fbdesk-1.2.1 failed.
!!! Function src_compile, Line 28, Exitcode 2
!!! (no error message)

Expected Results:  
I expected it to emerge so I could use it.

Portage 2.0.50-r11 (gcc34-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r1,
2.6.8-gentoo-r7)
=================================================================
System uname: 2.6.8-gentoo-r7 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium -Os -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="alsa gif gtk jpeg livecd motif ncurses nls nptl pam pcre png truetype x86 zlib"
Comment 1 Aaron Walker (RETIRED) gentoo-dev 2005-01-08 02:00:13 UTC
I cannot reproduce this.  Does it still when you attempt to do this?
Comment 2 Aaron Walker (RETIRED) gentoo-dev 2005-01-19 07:37:23 UTC
WORKSFORME
Comment 3 Jonas MG 2005-01-19 10:55:46 UTC
Now, I have Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r5 i686)

And it could be compiled