Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19894 - fltk misinstalled when running Xfree >= 4.3
Summary: fltk misinstalled when running Xfree >= 4.3
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-24 15:43 UTC by Christian Wiederseiner
Modified: 2003-05-01 06:59 UTC (History)
1 user (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 Christian Wiederseiner 2003-04-24 15:43:19 UTC
emerge fltk

During the configure process of the ebuild :

configure: WARNING: X11/Xft/Xft.h: present but cannot be compiled
configure: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?
configure: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result


Then during the compilation (just the part wish failed)

Compiling fl_vertex.cxx...
In file included from fl_set_fonts_xft.cxx:26,
                 from fl_set_fonts.cxx:37:
/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_set_fonts.o] Error 1
make[1]: *** Waiting for unfinished jobs....
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

>>> Install fltk-1.1.2-r1 into /var/tmp/portage/fltk-1.1.2-r1/image/ category
x11-libs
=== installing FL ===
Installing include files in
/var/tmp/portage/fltk-1.1.2-r1/image//usr/include/fltk-1.1...
=== installing src ===
Compiling fl_font.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
ranlib: /var/tmp/portage/fltk-1.1.2-r1/image//usr/lib/fltk-1.1/*.a: No such file
or directory
man:
strip:
>>> Completed installing into /var/tmp/portage/fltk-1.1.2-r1/image/



Now with Xfree 4.3 , xft ebuild must no more be installed :

# emerge xft
Calculating dependencies ...done!

!!! Error: the >=x11-base/xfree-4.3-r2 package conflicts with this package and
both can't be installed on the same system together.


So I don't find any workaround... probably the problem comes directly from the
software, but I am not sure...

Reproducible: Always
Steps to Reproduce:
1.emerge xfree >= 4.3 (so xft must be unmerged) (I supposed the problem comes
from there.. but I haven't tested it with an other version of xfree
2.emerge fltk
3.you should see the problem during the ./configure and make process of fltk

Actual Results:  
fltk is installed... but in case I install htmldoc after.. htmldoc doesn't work
because of fltk emerge problem (fltk is broken)

Expected Results:  
fltk should be installed normally... so htmldoc could be installed

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS=" http://212.219.56.162/sites/www.ibiblio.org/gentoo/
http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb
/usr/kde/3.1/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=""
USE="truetype postgres gnome 3dnow aalib acl acpi afs alsa -apache2 apm arts
atlas avi berkdb bonobo cdr crypt cups dga directfb doc dvbdvd encode esd
ethereal evo fbcon flsah gb gd gdbm ggi gif gnom gphoto2 gpm gps gtk gtk2
gtkhtml guile imap imlib innodb java jikes jpeg kde kerberos lcms ldap leim
libg++ libda libwww lirc maildir mikmod mmx motif mozilla mpeg mule mysql nas
ncurses nls oav odbc oggvorbis opengl oss pam pda pdflib perl pic plotutils png
pnp posgres python qt quicktime readline ruby samba sasl scanner sdl slang slp
snmp socks5 spell ssl svga tcltk tcpd tetex tiff usb wmf X xface xml xml2 xmms
xv zlib x86"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j5"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox distcc ccache"
Comment 1 Michael Fitzpatrick 2003-04-24 20:59:49 UTC
This looks the same as #11941, /usr/include/freetype2 isn't used, so things like
FT_Library aren't defined.
Comment 2 Christian Wiederseiner 2003-04-25 08:41:01 UTC
I have tested the workaround that Mickael Fitzpatrick give for bug #11941, and I can confirm it work for this bug (#19894)

------- Additional Comment #2 From Martin Schlemmer  2002-12-12 20:54 EST -------

Problem is that it also include /usr/include (-I/usr/include), and thus
the freetype1 headers are seletected before freetype2 headers.  The fix
is simple, just add:

    export C_INCLUDE_PATH="${C_INCLUDE_PATH}:/usr/include/freetype2"
    export CPLUS_INCLUDE_PATH="${CPLUS_INCLUDE_PATH}:/usr/include/freetype2"
Comment 3 Michael Fitzpatrick 2003-04-25 09:14:07 UTC
I've committed fltk-1.1.2-r2 to fix this.

Comment 4 Alastair Tse (RETIRED) gentoo-dev 2003-04-28 15:28:55 UTC
can christian confirm that the newest fltk-1.1.2-r2 works well with xfree-4.3?

thanks.
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2003-04-30 19:38:23 UTC
well, i'm impatient. closing this. reopen if the bug persists.
Comment 6 Christian Wiederseiner 2003-05-01 06:59:14 UTC
Sorry for my late answer... I am preparing my school exam's

The problem is fixed now with fltk-1.1.2-r2, it work now with xfree 4.3 
(tested on two different computer)

Thanx for your help,

Christian