Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25572 - fltk-1.1.4_rc1 fails to install lib
Summary: fltk-1.1.4_rc1 fails to install lib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-30 06:21 UTC by Roger Hawley
Modified: 2003-08-15 18:06 UTC (History)
3 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 Roger Hawley 2003-07-30 06:21:54 UTC
Compiling fl_font.cxx...
In file included from fl_font.cxx:41:
fl_font_xft.cxx: In function `XFontStruct* fl_xxfont()':
fl_font_xft.cxx:172: `struct _XftFont' has no member named `core'
fl_font_xft.cxx:172: `struct _XftFont' has no member named `u'
fl_font_xft.cxx:176: `struct _XftFont' has no member named `u'
make[1]: *** [fl_font.o] Error 1
make[1]: *** Waiting for unfinished jobs....
eutils

>>> Install fltk-1.1.4_rc1 into /home/tmp/portage/portage/fltk-1.1.4_rc1/image/
category x11-libs
=== installing FL ===
Installing include files in
/home/tmp/portage/portage/fltk-1.1.4_rc1/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: syntax error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:295: syntax error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:354: syntax error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:393: syntax error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:399: syntax 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: syntax error before `,' token
/usr/X11R6/include/X11/Xft/Xft.h:418: syntax error before `*' token
/usr/X11R6/include/X11/Xft/Xft.h:461: syntax error before `*' token
In file included from fl_font.cxx:41:
fl_font_xft.cxx: In function `XFontStruct* fl_xxfont()':
fl_font_xft.cxx:172: `struct _XftFont' has no member named `core'
fl_font_xft.cxx:172: `struct _XftFont' has no member named `u'
fl_font_xft.cxx:176: `struct _XftFont' has no member named `u'
make[1]: *** [fl_font.o] Error 1
ranlib: /home/tmp/portage/portage/fltk-1.1.4_rc1/image//usr/lib/fltk-1.1/*.a: No
such file or directory

Portage then goes on and installs fltk but alsamixer cannot find fltk when
emergeing.
/etc/env.d/99fltk1.1 points to /usr/lib/fltk1.1 but there is no such file.

Reproducible: Always
Steps to Reproduce:
1.emerge -v fltk
2.
3.

Actual Results:  
see above


Portage 2.0.48-r7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r4 i686 Pentium III (Katmai)
GENTOO_MIRRORS="http://gentoo.linux.no http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /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="/home/tmp/portage"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg libg++ mad
mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv
zlib gtkhtml alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga
ggi tcltk java guile X sdl gpm tcpd pam libwww ssl perl python esd imlib
oggvorbis gnome gtk qt kde motif opengl mozilla ldap cdr acpi acpi4linux altivec
artswrappersuid clamav clamv debug dga dnd doc dvb dvd fbcon fltk foomatic gd
gstreamer ipv6 jikes lcms moznocompose moznoirc moznomail oav ppds rage128 ruby
samba slp sse usb v4l xface xml"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="-march=pentium3 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache userpriv usersandbox"
Comment 1 Rob Kruus 2003-07-30 09:01:25 UTC
Edit the ebuild to and disable xft.
Comment 2 Sebastian B. Otaegui 2003-07-30 10:49:45 UTC
Patch your fltk-1.1.4_rc1.ebuild this way

--- fltk-1.1.4_rc1.ebuild       2003-07-30 14:44:12.000000000 +0000
+++ fltk-1.1.4_rc1.ebuild-new   2003-07-30 14:42:47.000000000 +0000
@@ -31,7 +31,7 @@
 src_compile() {
        local myconf
        myconf="--enable-shared --enable-static --enable-threads \
-               --enable-xdbe --enable-xft"
+               --enable-xdbe --disable-xft"
 
        # If you still have problems and you just uninstalled
        # xft and didn't re-install xfree to get the right headers
Comment 3 Sebastian B. Otaegui 2003-07-30 10:50:42 UTC
The above is just a workaround.
Comment 4 Aaron Peterson 2003-08-06 08:07:36 UTC
after looking at the ebuild... and seeing comments about xft needing xfree reemerged to get fltk to work...

This looks like the joy of not being able to detect what other things are built with... and specifying that things need to be built with something that was built with something else...  not just that everything is on the system or not...


We need a way to track what is built with what, and dependancies...

or just emerge world -e on every update....
Comment 5 Jared H. Hudson (RETIRED) gentoo-dev 2003-08-10 08:39:40 UTC
Reassigning to liquidx since he's the one who added XFT support
Comment 6 Nick Hadaway 2003-08-14 13:18:29 UTC
fltk-1.1.4_rc2 has been added to portage which should work properly with xft2
Comment 7 Nick Hadaway 2003-08-15 18:06:57 UTC
marking fixed as I have a couple of success reports.