Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12927 - x11-libs/fltk-1.1.2 fails to compile but merges anyway
Summary: x11-libs/fltk-1.1.2 fails to compile but merges anyway
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal with 1 vote (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 12701
  Show dependency tree
 
Reported: 2002-12-30 00:22 UTC by Jared H. Hudson (RETIRED)
Modified: 2003-01-13 20:56 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 Jared H. Hudson (RETIRED) gentoo-dev 2002-12-30 00:22:59 UTC
Using:
~x86
x11-base/xfree-4.2.1-r2
sys-devel/gcc-3.2.1-r6 
sys-libs/glibc-2.3.1-r3 
sys-apps/portage-2.0.46-r4
CHOST="i686-pc-linux-gnu"
USE="aalib afs -apm -arts bonobo cdr -cups doc evo flash gb ggz gphoto2 gtk2
gtkhtml imap -java -kde lcms ldap mbox -motif mozilla nas -nls postgres -qt
-qtmt samba sasl slp snmp sse -svga tiff wmf xml -tcltk -leim"
CFLAGS="-march=athlon -O3 -pipe"
MAKEOPTS="-j4"

Fails here:

Compiling fl_line_style.cxx...
In file included from fl_font_xft.cxx:63,
                 from fl_font.cxx:41:
/usr/X11R6/include/X11/Xft/Xft.h:52: syntax error before `;' token
/usr/X11R6/include/X11/Xft/Xft.h:86: 'FT_UInt' is used as a type, but is not 
   defined as a type.
/usr/X11R6/include/X11/Xft/Xft.h:93: 'FT_UInt' is used as a type, but is not 
   defined as a type.
/usr/X11R6/include/X11/Xft/Xft.h:190: parse error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:295: parse error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:354: parse error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:393: parse error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:399: parse error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:408: type specifier omitted for parameter `
   FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:408: parse error before `,' token
/usr/X11R6/include/X11/Xft/Xft.h:418: parse error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:461: parse error before `*' token
make[1]: *** [fl_font.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Comment 1 Nick Hadaway 2002-12-31 14:20:09 UTC
Portage 2.0.46-r4 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.19-gentoo-r7 i686 AMD Athlon(tm) XP 1600+
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg kde libg++ mikmod mmx 
mpeg ncurses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib 
alsa gdbm slang readline arts tetex bonobo svga tcltk guile mysql X sdl gpm 
tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt motif opengl 
snmp aalib berkdb dvd java ldap -mbox maildir sasl tiff"
ARCH="x86"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CXXFLAGS=""
ACCEPT_KEYWORDS="x86"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/
X11/xkb /usr/kde/3/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
MAKEOPTS="-j2"
JDK_HOME="/opt/blackdown-jdk-1.3.1"
JAVA_HOME="/opt/blackdown-jdk-1.3.1"
AUTOCLEAN="no"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"

These are my settings... and I am not getting any troubles compiling...
I am using the same version of xfree86 which is where xft information is being 
pulled from...

Is the package x11-libs/xft installed on your system?
Comment 2 Jared H. Hudson (RETIRED) gentoo-dev 2003-01-05 03:10:16 UTC
Yes, xft-2.0.1-r1 is installed

xft is defined by virtual/xft and virtual/xft is a dependency of:
pango-1.1.3 and pango-1.2.0 which is a dependency of anyone running a gtk/gnome
system with ~x86, and since there's talk about putting xft into 1.4 proper,
then this will soon become a problem for everyone, and not just ~x86 users.
Comment 3 Nick Hadaway 2003-01-13 20:56:50 UTC
fltk-1.1.2-r1 has code to get around xft compatibility.  the code within fltk-1.1.2 for xft is compatible with xfree release implemntation, but our updated xft ebuild isn't compatible.