First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 119263
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: playmiac <eap@iname.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
amd64.replayer.patch Patch to fix replayer.cpp patch Will Briggs 2006-02-19 15:00 0000 438 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 119263 depends on: Show dependency tree
Show dependency graph
Bug 119263 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

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







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


Description:   Opened: 2006-01-17 00:50 0000
emerge games-sports/ultimatestunts-0.6.1 in amd64 failed with the following
error
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../intl -I../shared 
  -Wall -march=k8 -pipe -O2 -fomit-frame-pointer  -I/usr/include/SDL
-D_REENTRANT -MT replayer.o -MD -MP -MF ".deps/replayer.Tpo" \
  -c -o replayer.o `test -f 'replayer.cpp' || echo './'`replayer.cpp; \
then mv -f ".deps/replayer.Tpo" ".deps/replayer.Po"; \
else rm -f ".deps/replayer.Tpo"; exit 1; \
fi
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../intl -I../shared 
  -Wall -march=k8 -pipe -O2 -fomit-frame-pointer  -I/usr/include/SDL
-D_REENTRANT -MT rulecontrol.o -MD -MP -MF ".deps/rulecontrol.Tpo" \
  -c -o rulecontrol.o `test -f 'rulecontrol.cpp' || echo './'`rulecontrol.cpp;
\
then mv -f ".deps/rulecontrol.Tpo" ".deps/rulecontrol.Po"; \
else rm -f ".deps/rulecontrol.Tpo"; exit 1; \
fi
replayer.cpp: In member function `void CReplayer::writeHeader()':
replayer.cpp:110: error: conversion from `size_t' to `CString' is ambiguous
../shared/cstring.h:58: note: candidates are: CString::CString(float)
../shared/cstring.h:57: note:                 CString::CString(unsigned int)
../shared/cstring.h:56: note:                 CString::CString(int)
../shared/cstring.h:55: note:                 CString::CString(bool)
../shared/cstring.h:36: note:                 CString::CString(const char*)
<near match>
replayer.cpp:115: error: conversion from `size_t' to `CString' is ambiguous
../shared/cstring.h:58: note: candidates are: CString::CString(float)
../shared/cstring.h:57: note:                 CString::CString(unsigned int)
../shared/cstring.h:56: note:                 CString::CString(int)
../shared/cstring.h:55: note:                 CString::CString(bool)
../shared/cstring.h:36: note:                 CString::CString(const char*)
<near match>
make[2]: *** [replayer.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/ultimatestunts-0.6.1/work/ultimatestunts-srcdata-0611/simulation'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/ultimatestunts-0.6.1/work/ultimatestunts-srcdata-0611'
make: *** [all] Error 2

!!! ERROR: games-sports/ultimatestunts-0.6.1 failed.
!!! Function games_src_compile, Line 166, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


emerge info:
emerge info
Portage 2.1_pre3-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r2,
2.6.15-gentoo x86_64)
=================================================================
System uname: 2.6.15-gentoo x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre14
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/mail/dspam /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/alias /var/qmail/control /var/run/dspam /var/vpopmail/domains
/var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/
http://gentoo.mirror.solnet.ch http://mirror.ovh.net/gentoo-distfiles/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://mirror.switch.ch/mirror/gentoo/
http://ftp.roedu.net/pub/mirrors/gentoo.org/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://gentoo.inf.elte.hu/ http://mirror.uni-c.dk/pub/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.pudas.net/gentoo
ftp://ftp.solnet.ch/mirror/Gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X aac acl alsa amd64 apache2 arts audiofile avi bash-completion berkdb
bitmap-fonts bonobo bzip2 cdr crypt cscope cups curl directfb dv dvd dvdr
dvdread eds emboss encode esd ethereal exif expat fam ffmpeg flac foomaticdb
fortran gd gdbm geoip gif glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2
gtkhtml guile hal idn imagemagick imlib ipv6 jack java jpeg junit kde lcms ldap
libwww lua lzw lzw-tiff mad mhash mikmod mng motif mozilla mp3 mpeg mysql
ncurses nls nptl nvidia odbc ogg openal opengl pam pcre pdflib perl php
plotutils png postgres python qt quicktime readline recode ruby scanner sdl
slang snmp speex spell sqlite ssl tcltk tcpd tetex tiff truetype truetype-fonts
type1-fonts udev unicode usb userlocales vorbis xine xml xml2 xmms xpm xv zlib
elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

------- Comment #1 From Avuton Olrich 2006-01-17 01:42:22 0000 -------
Getting the same here, I guess this is amd64 specific?

------- Comment #2 From Chris Gianelloni (RETIRED) 2006-01-17 03:58:59 0000 -------
It worked fine for me on x86.  I'll try to verify your findings on amd64 today.
 If anyone has a patch, I'm all ears.

------- Comment #3 From Andreas Rosander 2006-01-20 07:38:20 0000 -------
Same here...

paradox rzn # emerge --info
Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.15-ge
ntoo x86_64)
=================================================================
System uname: 2.6.15-gentoo x86_64 unknown
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share
/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib64/mozilla/default
s/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/
env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo
http://mirror.pudas.net/gentoo
 http://ftp.du.se/pub/os/gentoo http://mirror.uni-c.dk/gentoo/
http://pandemoniu
m.tiscali.de/pub/gentoo/"
LINGUAS="sv en"
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="amd64 X aac acl acpi alsa amd audiofile bash-completion berkdb
bitmap-fonts
 bzip2 cairo cddb cdparanoia cdr crypt cups curl dbus directfb dts dvb dvd dvdr 
dvdread emboss encode exif expat fam fat fbcon ffmpeg firefox flac foomaticdb
fo
rtran gdbm gif gimp gimpprint glitz glut gmp gphoto2 gpm gstreamer gtk gtk2
gtkh
tml guile hal hfs idn imagemagick imlib ipv6 jack java jfs joystick jpeg jpg
jun
it lcms libwww lzw lzw-tiff mad matroska mkv mmap mng modplug mono motif
mozilla
 mp3 mpeg mplayer musicbrainz ncurses nls nptl nptlonly nsplugin ntfs nvidia
off
ensive ogg oggvorbis openal opengl openssl pam pcre pdflib perl png python
quick
time readline reiser4 reiserfs ruby sblive scanner sdk sdl sndfile snmp sox
spee
x spell sqlite ssl svg tcltk tcpd tetex theora threads tiff truetype
truetype-fo
nts type1-fonts udev unicode usb userlocales vorbis wma xfs xine xml xml2 xmms
x
pm xv xvid zlib linguas_sv linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS

------- Comment #4 From Robert Cernansky 2006-02-02 11:10:25 0000 -------
If somebody want to play with it, this may help (taken from dustfinga's comment
on http://www.happypenguin.org/show?Ultimate%20Stunts#comments):

--------------------------------------
...I made it to compile this game on on a AMD64x2 running Ubuntu GNU/Linux,
compiled it with gcc-4.0. The code seems to be ready for 64bit, i just had to

    * A: add the machine type ("x86_64") to the "config.sub" file
    * B: add two defines (HAVE_STPCPY and HAVE_MEMPCPY) to config.h
    * C: repair two ambiguities in simulation/replayer.cpp, line 110 and 115
    * D: create a missing symlink "libXmu.so --> libXmu.so.6" in /usr/lib

    * "A" seems to be a correct extension (add "x86_64" whereever you find
"i[34567]86")
    * "B" seems to be some bug in "configure" or "configure.ac" I could not
determine further, what i did is dirty actually
    * I believe "C" to be caused by a different "int" or "size_t" on 64bit
machines. Repaired them through a typecast to int: "(int)size"
    * I don't know if "D" is caused by stupid me or by incomplete GL packages
in Ubuntu/Debian. Encountered the same on my 32bit-P3 laptop running Ubuntu
too.
--------------------------------------

------- Comment #5 From Will Briggs 2006-02-19 15:00:40 0000 -------
Created an attachment (id=80225) [edit]
Patch to fix replayer.cpp

------- Comment #6 From Will Briggs 2006-02-19 15:01:29 0000 -------
(In reply to comment #4)
> If somebody want to play with it, this may help (taken from dustfinga's comment
> on http://www.happypenguin.org/show?Ultimate%20Stunts#comments):
> 

Turned this guys thoughts into a patch - specifically for replayer.cpp.
Seems to work for me now on AMD64

------- Comment #7 From Tupone Alfredo 2006-03-24 17:04:36 0000 -------
Fixed in portage

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