First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 47039
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Nicolai Lissner <nlissne@linux01.gwdg.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gnubg-Makefile.am.patch gnubg-Makefile.am.patch patch John Ross Hunt 2004-09-07 16:27 0000 399 bytes Details | Diff
gnubg-board3d.Makefile.am.patch gnubg-board3d.Makefile.am.patch patch John Ross Hunt 2004-09-07 16:28 0000 578 bytes Details | Diff
gnubg-configure.in.patch gnubg-configure.in.patch patch John Ross Hunt 2004-09-07 16:29 0000 713 bytes Details | Diff
gnubg-0.14.2.ebuild gnubg-0.14.2.ebuild text/plain John Ross Hunt 2004-09-07 16:40 0000 2.93 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 47039 depends on: 47048 Show dependency tree
Bug 47039 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-04-06 23:19 0000
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 From Mr. Bones. 2004-04-07 00:20:47 0000 -------
please include the output of emerge --info as instructed on the bug submission
page.

------- Comment #2 From Nicolai Lissner 2004-04-07 01:33:15 0000 -------
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 From Nicolai Lissner 2004-04-07 01:34:44 0000 -------
Meanwhile I have solved this bug by writing an ebuild for ftgl

see bug #47048

------- Comment #4 From John Ross Hunt 2004-09-07 16:27:41 0000 -------
Created an attachment (id=39157) [edit]
gnubg-Makefile.am.patch

Patch 1 of 3

------- Comment #5 From John Ross Hunt 2004-09-07 16:28:25 0000 -------
Created an attachment (id=39158) [edit]
gnubg-board3d.Makefile.am.patch

Patch 2 of 3

------- Comment #6 From John Ross Hunt 2004-09-07 16:29:03 0000 -------
Created an attachment (id=39159) [edit]
gnubg-configure.in.patch

Patch 3 of 3

------- Comment #7 From John Ross Hunt 2004-09-07 16:40:08 0000 -------
Created an attachment (id=39160) [edit]
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 From Thomas R. (TRauMa) 2004-10-24 17:43:23 0000 -------
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 From Thomas R. (TRauMa) 2004-10-24 17:49:04 0000 -------
PLease see Bug# 67929 for the patch cause I'm stupid :-(

------- Comment #10 From SpanKY 2004-12-26 22:44:15 0000 -------
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 From Phil Pennock 2004-12-28 04:44:14 0000 -------
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 From Phil Pennock 2004-12-28 05:28:16 0000 -------
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).

First Last Prev Next    No search results available      Search page      Enter new bug