Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47039 - games-board/gnubg-0.14.2 misses some header-files
Summary: games-board/gnubg-0.14.2 misses some header-files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on: 47048
Blocks:
  Show dependency tree
 
Reported: 2004-04-06 23:19 UTC by Nicolai Lissner
Modified: 2004-12-28 05:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
gnubg-Makefile.am.patch (gnubg-Makefile.am.patch,399 bytes, patch)
2004-09-07 16:27 UTC, John Ross Hunt
Details | Diff
gnubg-board3d.Makefile.am.patch (gnubg-board3d.Makefile.am.patch,578 bytes, patch)
2004-09-07 16:28 UTC, John Ross Hunt
Details | Diff
gnubg-configure.in.patch (gnubg-configure.in.patch,713 bytes, patch)
2004-09-07 16:29 UTC, John Ross Hunt
Details | Diff
gnubg-0.14.2.ebuild (gnubg-0.14.2.ebuild,2.93 KB, text/plain)
2004-09-07 16:40 UTC, John Ross Hunt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolai Lissner 2004-04-06 23:19:36 UTC
I have tried to emerge gnubg-0.14.2, but it fails - missing some headers.

font3d.cpp:32:29: FTGLPolygonFont.h: No such file or directory
font3d.cpp:33:29: FTGLOutlineFont.h: No such file or directory
font3d.cpp:34:20: FTFont.h: No such file or directory
font3d.cpp:38: error: parse error before `{' token
font3d.cpp: In function `void render(const char*)':
font3d.cpp:43: error: `FTFont' undeclared (first use this function)
font3d.cpp:43: error: (Each undeclared identifier is reported only once for 
   each function it appears in.)

and more errors like that...

Where can I get these header files from?
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-04-07 00:20:47 UTC
please include the output of emerge --info as instructed on the bug submission
page.
Comment 2 Nicolai Lissner 2004-04-07 01:33:15 UTC
As you asked for...

Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5)
=================================================================
System uname: 2.6.5 i686 AMD Athlon(TM) XP 2600+
Gentoo Base System version 1.4.3.13p1
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS=""
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aalib alsa altcolors avi berkdb bonobo cdr crypt cups dga directfb doc dvb dvd dvdr encode ethereal fbcon flac flash foomaticdb gd gdbm gif gnome gphoto2 gpm gtk gtk2 guile imlib ipv6 java javascript jpeg kde libg++ libwww linguas_de mad mbox mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurses nls nvidia oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline ruby scanner sdl slang spell sse ssl tcltk tcpd tetex tiff truetype usb x86 xml xml2 xmms xv zlib"

Comment 3 Nicolai Lissner 2004-04-07 01:34:44 UTC
Meanwhile I have solved this bug by writing an ebuild for ftgl

see bug #47048
Comment 4 John Ross Hunt 2004-09-07 16:27:41 UTC
Created attachment 39157 [details, diff]
gnubg-Makefile.am.patch

Patch 1 of 3
Comment 5 John Ross Hunt 2004-09-07 16:28:25 UTC
Created attachment 39158 [details, diff]
gnubg-board3d.Makefile.am.patch

Patch 2 of 3
Comment 6 John Ross Hunt 2004-09-07 16:29:03 UTC
Created attachment 39159 [details, diff]
gnubg-configure.in.patch

Patch 3 of 3
Comment 7 John Ross Hunt 2004-09-07 16:40:08 UTC
Created attachment 39160 [details]
gnubg-0.14.2.ebuild

Updated ebuild that fixes FTGL support (see #47048).  Also, there isn't a
gtk+extra for gtk2 (other than a broken implementation in CVS), so that option
should be eliminated for gtk2 builds.  Also added an "autoreconf" to prevent
configure from re-running itself.  Didn't know if that was the proper way to do
things.  Change it if necessary.
Comment 8 Thomas R. (TRauMa) 2004-10-24 17:43:23 UTC
I don't know if this is directly related, but I have a patch for the ebuild currently in portage - it should depend on gtkglext.
Comment 9 Thomas R. (TRauMa) 2004-10-24 17:49:04 UTC
PLease see Bug# 67929 for the patch cause I'm stupid :-(
Comment 10 SpanKY gentoo-dev 2004-12-26 22:44:15 UTC
ftgl will only be pulled in if board3d is enabled, gtk support is not disabled, and gtkglext is not found

updated the ebuild to respect USE=opengl and gtkglext ... in this way, ftgl will never be enabled
Comment 11 Phil Pennock 2004-12-28 04:44:14 UTC
I still see this problem, same errors.  Fresh rsync, 0.14.2 ebuild has rev 1.10, "emerge -pv" shows:
 [ebuild     U ] games-board/gnubg-0.14.2 [0.13.0-r1] +X -arts -debug -esd +gdbm +gtk +gtk2 +guile -nas -nls +opengl +png +python +readline +truetype 0 kB

This rsync brought in ftgl as a dependency and it was built, despite having gtk in use flags and x11-libs/gtkglext-1.0.5 installed.  System is otherwise up-to-date and almost entirely 'x86' with very little unstable ~x86; the only ~x86 dependency mixed into the above is sys-libs/readline, currently 5.0-r1 and not visibly related to these problems.

The config.h defines HAVE_FTGL and HAVE_GTKGLEXT.

Modifying the .ebuild to add one line in the "use opengl" part of src_compile:
 CXXFLAGS="${CXXFLAGS} -I/usr/include/FTGL"
solved the build, but the runtime is broken for 3d use.  I'll pass this directly onto one of the gnubg core developers.
Comment 12 Phil Pennock 2004-12-28 05:28:16 UTC
Run-time 3d problems solved by going to gnubg-0.14.3, demonstrated experimentally by adding an extra files/ entry and copying the ebuild without further modification (beyond that in my previous update).