Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 148816
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Pacho Ramos <pacho@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
epv.txt output from emerge -evp scorched3d text/plain Chris Gianelloni (RETIRED) 2006-09-26 08:40 0000 12.65 KB Details
scorched3d-40-long.patch It changes casting to int into casting to long in few places patch Piotr Chmura 2006-09-30 13:25 0000 8.29 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 148816 depends on: Show dependency tree
Bug 148816 blocks: 117482
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: 2006-09-23 10:58 0000
I get the following error:
../tankgraph/GLWTankTip.cpp: In member function 'virtual void
TankUndoMenu::itemSelected(GLWSelectorEntry*, int)':
../tankgraph/GLWTankTip.cpp:71: error: cast from 'void*' to 'unsigned int'
loses precision
../tankgraph/GLWTankTip.cpp: In member function 'virtual void
TankBatteryTip::itemSelected(GLWSelectorEntry*, int)':
../tankgraph/GLWTankTip.cpp:239: error: cast from 'void*' to 'int' loses
precision
make[2]: *** [GLWTankTip.o] Error 1


My emerge --info:
Portage 2.1.1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3,
2.6.17-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.5
Last Sync: Wed, 20 Sep 2006 09:50:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
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 -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
/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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash
/etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox
sfperms strict"
GENTOO_MIRRORS="http://ftp.club-internet.fr/pub/mirrors/gentoo "
LC_ALL="es_ES@euro"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa amd64 arts asf audiofile bash-completion beagle
bindist bitmap-fonts bonobo bzip2 bzlib cairo caps cdb cdda cddb cdparanoia cdr
cli cross crypt cscope css cups curl curlwrappers dbus dga dio divx4linux
dlloader dri dts dvd dvdr dvdread eds elibc_glibc encode erandom escreen esd
evo exif fam fbcon flac foomaticdb fortran ftp galago gb gcj ggi gif gimp
gimpprint glitx glut glx gnome gnome-print gphoto2 gpm gstreamer gtk gtk2
gtkhtml hal iconv idn imagemagick imlib input_devices_keyboard
input_devices_mouse isdnlog ithreads jabber jack java joystick jpeg kde
kdeenablefinal kdehiddenvisibility kernel_linux latex lcms libg++ libnotify
linguas_en_US linguas_es lirc logrotate mad madwifi mcal mikmod mime mng mono
motif mp3 mpeg mpi mplayer musepack mysql nas nautilus ncurses nethack network
nls nocardbus nptl nptlonly nvidia ogg oggvorbis openal opengl oss pam pcre pda
pdf perl pic plotutils png posix ppds pppd python qt3 qt4 quicktime readline
reflection ruby scanner sdl seamonkey session slang slp sockets spell spl ssl
svg sysvipc tcltk tcpd tetex theora threads tiff timidity totem truetype
truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd
video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa
video_cards_vga videos vim vorbis wma wmf xcomposite xine xml xml2 xmms xorg
xpm xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

Thanks

------- Comment #1 From Chris Gianelloni (RETIRED) 2006-09-26 08:39:36 0000 -------
Hrrrmn... I get the same thing now, when it did work before.  Strange. 
Apparently, something else on the system has caused this to no longer work.

------- Comment #2 From Chris Gianelloni (RETIRED) 2006-09-26 08:40:44 0000 -------
Created an attachment (id=98132) [details]
output from emerge -evp scorched3d

Here's my emerge -evp scorched3d output.  I'm not sure what in here is causing
it to fail, but it worked perfectly when the ebuild was added/marked stable.

------- Comment #3 From Tristan Heaven 2006-09-29 15:45:16 0000 -------
gcc4 isn't it? There are a few others like this.

------- Comment #4 From Pacho Ramos 2006-09-29 16:13:22 0000 -------
Yes, I am using gcc4

Thanks

------- Comment #5 From Piotr Chmura 2006-09-30 13:25:42 0000 -------
Created an attachment (id=98465) [details]
It changes casting to int into casting to long in few places

It's already fixed in upstream (cvs version, will be released in 40.1)

Shouldn't break anything on 32 bit archs.

I'm past 12+ hours stable gaming (maybe stabilize scorch on amd64 ? )

Hope it helps someone ;-)

------- Comment #6 From darkstalker@insightbb.com 2006-10-01 21:51:42 0000 -------
I edited the ebuild a little bit to include your patch and it compiles..
however the game does appear to crash quite a bit with sound on.

------- Comment #7 From Piotr Chmura 2006-10-02 06:58:17 0000 -------
Try to turn off birds sound - it's known issue...

------- Comment #8 From whereami 2006-10-17 00:04:49 0000 -------
I can confirm that the patch works.

------- Comment #9 From Chris Gianelloni (RETIRED) 2006-10-17 08:25:58 0000 -------
Fixed in CVS

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug