<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>135440</bug_id>
          
          <creation_ts>2006-06-03 14:26 0000</creation_ts>
          <short_desc>stepmania SDL error</short_desc>
          <delta_ts>2006-11-10 12:05:07 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Games</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>damien.thebault@gmail.com</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          <cc>anakin.skyw@gmx.de</cc>
    
    <cc>simpledark@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>damien.thebault@gmail.com</who>
            <bug_when>2006-06-03 14:26:49 0000</bug_when>
            <thetext>if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT   -finline-limit=300   -O2 -mtune=athlon-mp -march=athlon-mp -pipe -fomit-frame-pointer -MT MovieTexture_Null.o -MD -MP -MF &quot;.deps/MovieTexture_Null.Tpo&quot; \
          -c -o MovieTexture_Null.o `test -f &apos;arch/MovieTexture/MovieTexture_Null.cpp&apos; || echo &apos;./&apos;`arch/MovieTexture/MovieTexture_Null.cpp; \
        then mv -f &quot;.deps/MovieTexture_Null.Tpo&quot; &quot;.deps/MovieTexture_Null.Po&quot;; \        else rm -f &quot;.deps/MovieTexture_Null.Tpo&quot;; exit 1; \
        fi
arch/InputHandler/InputHandler_SDL.cpp:126: erreur: &apos;int SDL_EventMask&apos; redeclared as different kind of symbol
/usr/include/SDL/SDL_events.h:108: erreur: previous declaration of &apos;typedef enum SDL_EventMask SDL_EventMask&apos;
arch/InputHandler/InputHandler_SDL.cpp: In constructor &apos;InputHandler_SDL::InputHandler_SDL()&apos;:
arch/InputHandler/InputHandler_SDL.cpp:176: erreur: expected unqualified-id before &apos;|=&apos; token
arch/InputHandler/InputHandler_SDL.cpp: In member function &apos;virtual void InputHandler_SDL::Update(float)&apos;:
arch/InputHandler/InputHandler_SDL.cpp:195: erreur: expected primary-expression before &apos;)&apos; token



# emerge --info
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Aucun fichier ou r</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>damien.thebault@gmail.com</who>
            <bug_when>2006-06-03 14:26:49 0000</bug_when>
            <thetext>if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT   -finline-limit=300   -O2 -mtune=athlon-mp -march=athlon-mp -pipe -fomit-frame-pointer -MT MovieTexture_Null.o -MD -MP -MF &quot;.deps/MovieTexture_Null.Tpo&quot; \
          -c -o MovieTexture_Null.o `test -f &apos;arch/MovieTexture/MovieTexture_Null.cpp&apos; || echo &apos;./&apos;`arch/MovieTexture/MovieTexture_Null.cpp; \
        then mv -f &quot;.deps/MovieTexture_Null.Tpo&quot; &quot;.deps/MovieTexture_Null.Po&quot;; \        else rm -f &quot;.deps/MovieTexture_Null.Tpo&quot;; exit 1; \
        fi
arch/InputHandler/InputHandler_SDL.cpp:126: erreur: &apos;int SDL_EventMask&apos; redeclared as different kind of symbol
/usr/include/SDL/SDL_events.h:108: erreur: previous declaration of &apos;typedef enum SDL_EventMask SDL_EventMask&apos;
arch/InputHandler/InputHandler_SDL.cpp: In constructor &apos;InputHandler_SDL::InputHandler_SDL()&apos;:
arch/InputHandler/InputHandler_SDL.cpp:176: erreur: expected unqualified-id before &apos;|=&apos; token
arch/InputHandler/InputHandler_SDL.cpp: In member function &apos;virtual void InputHandler_SDL::Update(float)&apos;:
arch/InputHandler/InputHandler_SDL.cpp:195: erreur: expected primary-expression before &apos;)&apos; token



# emerge --info
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Aucun fichier ou répertoire de ce type
Portage 2.1_rc3-r5 (default-linux/x86/2006.0, gcc-4.0.2, glibc-2.4-r3, 2.6.15.6 i686)
=================================================================
System uname: 2.6.15.6 i686 AMD Athlon(tm) MP 2400+
Gentoo Base System version 1.12.0
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -mtune=athlon-mp -march=athlon-mp -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -mtune=athlon-mp -march=athlon-mp -pipe -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig buildsyspkg collision-protect confcache distlocks metadata-transfer parallel-fetch sandbox sfperms&quot;
GENTOO_MIRRORS=&quot;http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/&quot;
LANG=&quot;fr_FR@euro&quot;
LC_ALL=&quot;fr_FR@euro&quot;
LINGUAS=&quot;fr&quot;
MAKEOPTS=&quot;-j 3&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=&apos;/distfiles&apos; --exclude=&apos;/local&apos; --exclude=&apos;/packages&apos;&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/overlays/portage /usr/local/overlays/xgl-overlay&quot;
SYNC=&quot;rsync://rsync.de.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 3dnow 3dnowext X a52 aac alsa apm avi berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli crypt cups curl dbus djvu dlloader dri dts dvd dvdr dvdread eds emboss encode ext2 ext3 fat ffmpeg firefox flac foomaticdb gcj gdbm gif glitz gnome gnutls gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 isdnlog jikes jpeg libg++ libwww lzo mad matroska mikmod mmx mmxext mng motif mp3 mp4 mpeg ncurses nls nptl nptlonly ntfs nvidia ogg openal opengl pam pcre pdflib perl pic pie png pppd python qt qt4 quicktime readline reflection reiser4 reiserfs samba sdl session slang smp spell spl sse ssl svg tcpd tga theora threads truetype truetype-fonts type1-fonts udev usb userlocales v4l v4l2 vorbis win32codecs x264 xinerama xml xml2 xorg xrandr xv xvid zlib elibc_glibc input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse kernel_linux linguas_fr userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa video_cards_vga video_cards_v4l&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>damien.thebault@gmail.com</who>
            <bug_when>2006-06-03 14:28:21 0000</bug_when>
            <thetext>Created an attachment (id=88302)
stepmania-3.9-sdl.patch

Modification of the variable name.

Maybe SDL_EventMask is a new SDL enum?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>skyphyr@gmail.com</who>
            <bug_when>2006-06-10 08:52:06 0000</bug_when>
            <thetext>This sdl patch works great for me (solves the sdl problem) however I still have a build failure on 64bit for the threads libraries - it&apos;s using an int (32bits) to pass a pointer (64bits) and so the compiler throws an error.

Cheers,

Alan.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>swanson@ukfsn.org</who>
            <bug_when>2006-08-12 09:15:45 0000</bug_when>
            <thetext>It is due to a change in SDL 1.2.10 to name an anonymous enum which unfortunately clashes with stepmania&apos;s internal variable;

http://www.libsdl.org/cgi/viewvc.cgi/branches/SDL-1.2/include/SDL_events.h?view=log#rev1832

Currently portage has SDL 1.2.8 stable for X86, PPC and AMD64 while SDL 1.2.11 is in testing (but works for me).

The threads build failure appears to be reported in bug 138365.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tupone@gentoo.org</who>
            <bug_when>2006-09-10 15:02:32 0000</bug_when>
            <thetext>Fixed in portage. Thank for the patch.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nyhm@gentoo.org</who>
            <bug_when>2006-11-10 12:05:07 0000</bug_when>
            <thetext>*** Bug 154716 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>88302</attachid>
            <date>2006-06-03 14:28 0000</date>
            <desc>stepmania-3.9-sdl.patch</desc>
            <filename>stepmania-3.9-sdl.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHNyYy9hcmNoL0lucHV0SGFuZGxlci9Jb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