Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90202 - xlock binary missing if ftgl present
Summary: xlock binary missing if ftgl present
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Highest normal (vote)
Assignee: Jonathan Smith (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-24 00:17 UTC by Scott McClung
Modified: 2005-06-22 15:49 UTC (History)
2 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 Scott McClung 2005-04-24 00:17:17 UTC
if xlockmore-5.12 configure finds ftgl installed, it will attempt to compile the text3d2 mode with it, and fail:

g++ -c  -DHAVE_CONFIG_H -DDEF_FILESEARCHPATH=\"/usr/lib/X11/app-defaults/%N%C%S:
/usr/lib/X11/app-defaults/%N%S\" -I. -I.. -I../.. -I../../xlock/ -I../..  -I/usr
/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/includ
e -I/usr/X11R6/include -I/usr/include  -O2 -march=athlon-tbird -fomit-frame-poin
ter text3d2.cc
text3d2.cc:82:29: FTGLExtrdFont.h: No such file or directory
text3d2.cc:83:31: FTGLOutlineFont.h: No such file or directory
In file included from text3d2.cc:87:
text3d2.h:33: error: ISO C++ forbids declaration of `FTFont' with no type
text3d2.h:33: error: expected `;' before '*' token
text3d2.cc: In function `int setup_font(text3d2struct*, const char*)':
text3d2.cc:220: error: 'struct text3d2struct' has no member named 'font'
text3d2.cc:220: error: `FTGLExtrdFont' has not been declared
text3d2.cc:222: error: 'struct text3d2struct' has no member named 'font'
text3d2.cc:222: error: `FTGLOutlineFont' has not been declared
text3d2.cc:224: error: 'struct text3d2struct' has no member named 'font'
text3d2.cc:230: error: 'struct text3d2struct' has no member named 'font'
text3d2.cc:236: error: 'struct text3d2struct' has no member named 'font'
text3d2.cc:238: error: 'struct text3d2struct' has no member named 'font'
text3d2.cc:238: error: `ft_encoding_none' undeclared (first use this function)
text3d2.cc:238: error: (Each undeclared identifier is reported only once for eac
h function it appears in.)
text3d2.cc: In function `void draw_text(text3d2struct*, Display*, Window)':
text3d2.cc:317: error: 'struct text3d2struct' has no member named 'font'
text3d2.cc: In function `void release_text3d2(ModeInfo*)':
text3d2.cc:539: error: 'struct text3d2struct' has no member named 'font'
text3d2.cc:540: error: 'struct text3d2struct' has no member named 'font'
make[1]: *** [text3d2.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/xlockmore-5.12/work/xlockmore-5.12/
modes/glx'
make[1]: Entering directory `/var/tmp/portage/xlockmore-5.12/work/xlockmore-5.12
/modes'

However, the emerge will not fail, and /usr/bin/xlock will be missing.

Reproducible: Always
Steps to Reproduce:
1.  Emerge ftgl
2.  Emerge xlockmore-5.12

Actual Results:  
/usr/bin/xlock is missing after the emerge completes.

Expected Results:  
the ebuild should have failed, xlockmore should either be compiled without ftgl
or the include path should have /usr/include/FTGL to find the headers.

This is on an Athlon tbird (1.4Ghz), 512MB RAM.  A completely up-to-date gentoo
installation installed originally from 2004.3, and now using gcc 3.4.3-20050110.
Comment 1 Jonathan Smith (RETIRED) gentoo-dev 2005-06-22 15:49:20 UTC
i had to add --without-ftgl to econf to get it to compile...

fixed in 5.17-r1