Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171342 - dev-games/clanlib-0.6.5-r4 fails to compile with USE=-X opengl
Summary: dev-games/clanlib-0.6.5-r4 fails to compile with USE=-X opengl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Highest normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-18 13:41 UTC by roland.graf
Modified: 2007-04-22 12:34 UTC (History)
1 user (show)

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


Attachments
Compiling Report (Report,27.02 KB, text/plain)
2007-03-18 13:50 UTC, roland.graf
Details
ebuilds.diff (ebuilds.diff,749 bytes, patch)
2007-03-26 18:05 UTC, Pacho Ramos
Details | Diff
ebuilds.diff (ebuilds.diff,749 bytes, patch)
2007-03-26 18:06 UTC, Pacho Ramos
Details | Diff
ebuilds.diff (ebuilds.diff,529 bytes, patch)
2007-03-26 18:08 UTC, Pacho Ramos
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description roland.graf 2007-03-18 13:41:59 UTC
Following meesage was found:





Compiling Sources/Sound/System/Unix/implementation_clansound.cpp
Sources/API/Core/System/thread.h:27: warning: 'class CL_Runnable' has virtual functions but non-virtual destructor
Compiling Sources/Sound/Sound/ClanSound/soundbuffer_static_clan.cpp
Sources/API/Core/System/thread.h:27: warning: 'class CL_Runnable' has virtual functions but non-virtual destructor
Compiling Sources/Sound/Sound/ClanSound/playback_static.cpp
Sources/API/Core/System/thread.h:27: warning: 'class CL_Runnable' has virtual functions but non-virtual destructor
Compiling Sources/Sound/Sound/ClanSound/playback_stream.cpp
Sources/API/Core/System/thread.h:27: warning: 'class CL_Runnable' has virtual functions but non-virtual destructor
Compiling Sources/Sound/Sound/ClanSound/soundcard_clan.cpp
Sources/API/Core/System/thread.h:27: warning: 'class CL_Runnable' has virtual functions but non-virtual destructor
Compiling Sources/Sound/Sound/ClanSound/cardplayback_clan.cpp
Sources/API/Core/System/thread.h:27: warning: 'class CL_Runnable' has virtual functions but non-virtual destructor
Compiling Sources/Sound/Sound/ClanSound/mixer.cpp
Sources/API/Core/System/thread.h:27: warning: 'class CL_Runnable' has virtual functions but non-virtual destructor
Compiling Sources/Sound/Sound/ClanSound/oss.cpp
Sources/API/Core/System/thread.h:27: warning: 'class CL_Runnable' has virtual functions but non-virtual destructor
Compiling Sources/Sound/Sound/ClanSound/cdaudio_linux.cpp
Assembling Sources/Sound/Sound/ClanSound/mixer_asm.s
Compiling Sources/GL/Generic/texture_gl.cpp
Compiling Sources/GL/Generic/opengl.cpp
Compiling Sources/GL/GLX/setupgl_glx.cpp
Sources/Display/Display/Generic/displaycard_generic.h:100: warning: 'class CL_DisplayCard_Generic::CL_FlipDisplayCallback_Generic' has virtual functions but non-virtual destructor
Compiling Sources/GL/GLX/displaycard_glx.cpp
Sources/GL/GLX/glx_target.h:21: error: expected class-name before '{' token
Sources/GL/GLX/glx_target.h:27: error: ISO C++ forbids declaration of 'CL_XWindow_CompatibleCard' with no type
Sources/GL/GLX/glx_target.h:27: error: 'CL_XWindow_CompatibleCard' declared as a 'virtual' field
Sources/GL/GLX/glx_target.h:27: error: expected ';' before '*' token
Sources/GL/GLX/glx_target.h:21: warning: 'class CL_GLXTarget' has virtual functions but non-virtual destructor
Sources/GL/GLX/setupgl_glx.cpp:21: error: 'CL_DisplayTarget' was not declared in this scope
Sources/GL/GLX/setupgl_glx.cpp:21: error: template argument 1 is invalid
Sources/GL/GLX/setupgl_glx.cpp:21: error: template argument 2 is invalid
Sources/GL/GLX/setupgl_glx.cpp:21: error: invalid type in declaration before ';' token
Sources/GL/GLX/setupgl_glx.cpp: In static member function 'static void CL_SetupGL::init(bool)':
Sources/GL/GLX/setupgl_glx.cpp:29: error: request for member 'push_back' in 'targets', which is of non-class type 'int'
make: *** [Libs/Intermediate/setupgl_glx.o] Error 1
make: *** Waiting for unfinished jobs....
Sources/Display/Display/Generic/displaycard_generic.h:100: warning: 'class CL_DisplayCard_Generic::CL_FlipDisplayCallback_Generic' has virtual functions but non-virtual destructor
Sources/GL/GLX/displaycard_glx.h:27: error: expected class-name before '{' token
Sources/GL/GLX/displaycard_glx.h:71: error: 'CL_X11Resolution' does not name a type
Sources/GL/GLX/displaycard_glx.cpp: In constructor 'CL_GLX_DisplayCard::CL_GLX_DisplayCard(Display*, Window, int)':
Sources/GL/GLX/displaycard_glx.cpp:34: error: class 'CL_GLX_DisplayCard' does not have any field named 'resolution'
Sources/GL/GLX/displaycard_glx.cpp: In member function 'virtual void CL_GLX_DisplayCard::set_videomode(int, int, int, bool, bool, bool)':
Sources/GL/GLX/displaycard_glx.cpp:82: error: 'class CL_GLX_DisplayCard' has no member named 'fullscreen'
Sources/GL/GLX/displaycard_glx.cpp:200: error: 'win_width' was not declared in this scope
Sources/GL/GLX/displaycard_glx.cpp:201: error: 'win_height' was not declared in this scope
Sources/GL/GLX/displaycard_glx.cpp:204: error: 'resolution' was not declared in this scope
Sources/GL/GLX/displaycard_glx.cpp: In member function 'virtual void CL_GLX_DisplayCard::keep_alive()':
Sources/GL/GLX/displaycard_glx.cpp:362: error: 'sig_xevent' was not declared in this scope
make: *** [Libs/Intermediate/displaycard_glx.o] Error 1
!!! ERROR: dev-games/clanlib-0.6.5-r4 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3295: Called src_compile
clanlib-0.6.5-r4.ebuild, line 82: Called die
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-games/clanlib-0.6.5-r4/temp/build.log'.
Fertig.
Comment 1 roland.graf 2007-03-18 13:50:23 UTC
Created attachment 113642 [details]
Compiling Report
Comment 2 roland.graf 2007-03-18 13:51:55 UTC
Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 AMD Athlon(tm) processor
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 16 Mar 2007 13:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /home/mythtv/ /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.unina.it/pub/linux/distributions/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LINGUAS="de it es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="a52 aac acl alsa audiofile berkdb bitmap-fonts bluetooth cdr cli cracklib crypt cups directfb dri dv dvd dvdr dvdread encode ffmpeg flac fortran ftp gdbm gif gphoto2 gpm gs gstreamer iconv ieee1394 ipv6 isdnlog joystick jpeg kde libg++ midi mmx mp3 mpeg mysql ncurses nls nptl nptlonly nvidia oav ogg opengl pam pcre pdf perl pic png ppds pppd python qt qt3 qt4 readline reflection samba scanner session spl ssl tcpd truetype-fonts type1-fonts unicode v4l vcd videos wacom win32codecs x86 xine xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de it es" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2007-03-19 02:55:47 UTC
what opengl are you using?
Comment 4 Pacho Ramos gentoo-dev 2007-03-20 10:06:51 UTC
I cannot reproduce this bug. Do you have your system updated? What USE flags are you using for installing dev-games/clanlib-0.6.5-r4?

[ebuild   R   ] dev-games/clanlib-0.6.5-r4  USE="X alsa arts esd jpeg mikmod opengl oss png truetype vorbis -directfb -joystick" 0 kB 

My emerge --info:
Portage 2.1.2.2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.20-ck1 x86_64)
=================================================================
System uname: 2.6.20-ck1 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 20 Mar 2007 09:20:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect cvs distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS="es en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/armagetron /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa amd64 apache2 arts asf audiofile bash-completion beagle bitmap-fonts bzip2 bzlib cairo caps cdb cdda cddb cdparanoia cdr cli cpdflib cpudetection cracklib cross crypt cscope cups curl dbus dga divx4linux dlloader dri dts dvb dvd dvdr dvdread encode erandom escreen esd evo evolution exif fam fbcon flac foomaticdb fortran ftp galago gb gcj ggi gif gimp gimpprint glitz glut glx gnome gnome-print gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv idn imagemagick imlib isdnlog ithreads jabber jack java jpeg kde kdeenablefinal kdehiddenvisibility latex lcms libg++ libnotify logrotate mad madwifi midi mikmod mime mng mono motif mp3 mpeg mpi mplayer musepack musicbrainz nas nautilus ncurses nethack network nls nocardbus nptl nptlonly nvidia ogg oggvorbis openal opengl oss pam pcre pdf perl pic plotutils png posix ppds pppd python qt3 qt4 quicktime readline reflection rtc ruby scanner sdl seamonkey session slang slp sockets spell spl sse3 ssl startup-notification svg sysvipc tcltk tcpd tetex theora threads tiff timidity tk totem trayicon truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd videos vim vorbis wma wmf xcomposite xine xml xml2 xorg xpm xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" DVB_CARDS="usb-dib0700" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Pacho Ramos gentoo-dev 2007-03-20 10:37:42 UTC
I think that you are compiling clanlib with the following USEs:
[ebuild   R   ] dev-games/clanlib-0.6.5-r4  USE="alsa directfb* joystick* jpeg opengl png -X* -arts* -esd* -mikmod* -oss* -truetype* -vorbis*" 0 kB

Please, compile it again with USE "X" enabled, I think that this fixes the problem

Good luck!
Comment 6 Pacho Ramos gentoo-dev 2007-03-23 15:22:07 UTC
Roland, Did this fix your compilation problem?
Comment 7 Pacho Ramos gentoo-dev 2007-03-24 13:04:44 UTC
Roland sent me an email saying that this fixed his problem:
__

Dear Pacho,

it was the USE=X. The clanlib compiled. Thank you very much.

Roland

__

Comment 8 SpanKY gentoo-dev 2007-03-25 21:35:31 UTC
ok, but the fact remains that it fails to build with USE=-X and no one on the games team wants to fix it
Comment 9 Pacho Ramos gentoo-dev 2007-03-26 10:54:30 UTC
(In reply to comment #8)
> ok, but the fact remains that it fails to build with USE=-X and no one on the
> games team wants to fix it
> 

It fails because user wanted to build it with opengl support and without X support, that is absurd :-/

Comment 10 Pacho Ramos gentoo-dev 2007-03-26 18:05:42 UTC
Created attachment 114529 [details, diff]
ebuilds.diff

I attach a patch to be applied to the current ebuild for fix this bug.

Thanks for fixing this and not removing clanlib-0.6 from portage tree :-)
Comment 11 Pacho Ramos gentoo-dev 2007-03-26 18:06:45 UTC
Created attachment 114531 [details, diff]
ebuilds.diff

Correct patch
Comment 12 Pacho Ramos gentoo-dev 2007-03-26 18:08:49 UTC
Created attachment 114532 [details, diff]
ebuilds.diff

Sorry, this is the proper diff, I am very tired :-(
Comment 13 roland.graf 2007-04-22 12:34:32 UTC
Dear Pacho,

the bug is fixed. Thank you very much. I left the bug fixed.

Roland