Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25333 - fltk 1.1.3 fails to install libfltk
Summary: fltk 1.1.3 fails to install libfltk
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-26 12:45 UTC by James Cloos
Modified: 2003-08-15 18:06 UTC (History)
4 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 James Cloos 2003-07-26 12:45:56 UTC
No lib is installed, but no error is reported by portage about that.

I looked at the (recent) bugs that matched fltk; those were all different issues.

I did a remerge in script(1).  The compile fails w/o stopping the emerge, so
the install phase continues to install just the headers, docs, etc.  The
makefile must be doing something unusual that is preventing emake||die
from calling die when make fails....

The compile failure is:

Compiling Fl_lock.cxx...
Fl_lock.cxx:133: error: parse error before `.' token
Fl_lock.cxx:133: error: too many initializers for `pthread_mutex_t'
make[1]: *** [Fl_lock.o] Error 1

line 133 is:

static pthread_mutex_t fltk_mutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;

cf <pthread.h> and <bits/pthreadtypes.h> for details on that....

I am at gcc 3.3 and glibc 2.3.2-r1 w/ nptl
Comment 1 James Cloos 2003-07-28 03:10:33 UTC
fltk-1.1.4_rc1 has the same bug.
Comment 2 Paul Slinski 2003-07-29 06:47:15 UTC
I get this from 1.1.4

[snip]
Compiling fl_read_image.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....

>>> Install fltk-1.1.4_rc1 into /var/tmp/portage/fltk-1.1.4_rc1/image/ category x11-libs
=== installing FL ===
Installing include files in /var/tmp/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: /var/tmp/portage/fltk-1.1.4_rc1/image//usr/lib/fltk-1.1/*.a: No such file or directory
[snip]

This is, or course, breaking apps like 'alsamixergui' etc.
Comment 3 Rob Kruus 2003-07-30 09:01:56 UTC
Edit the ebuild to disable xft.
Comment 4 James Cloos 2003-07-30 11:11:09 UTC
> Edit the ebuild to disable xft.

NB that the bug I am seeing is in threading.

I just tried building 1.1.4_rc2 w/ the rc1 ebuild edited to
disable threads.

that works.

Comment 5 Jared H. Hudson (RETIRED) gentoo-dev 2003-08-10 08:39:04 UTC
Reassigning to liquidx since he's the one who added XFT support
Comment 6 Nick Hadaway 2003-08-14 13:15:30 UTC
1.1.4_rc2 is now in portage.  This one should work correctly with xft2.  Regarding threading... it IS disabled by default... but I have experienced no problems as of yet with it being enabled.  Please test this new version.
Comment 7 Nick Hadaway 2003-08-15 18:06:02 UTC
marking fixed as i have had a couple of success reports.