Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176102 - Dark-Oberon doesn't compile on AMD64
Summary: Dark-Oberon doesn't compile on AMD64
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-26 11:53 UTC by Kiah Morante
Modified: 2007-04-26 16:00 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kiah Morante 2007-04-26 11:53:09 UTC
Output:

Calculating dependencies... done!

>>> Emerging (1 of 1) games-strategy/dark-oberon-1.0.2_rc1 to /
 * dark-oberon-1.0.2-RC1.tar.gz RMD160 ;-) ...                            [ ok ]
 * dark-oberon-1.0.2-RC1.tar.gz SHA1 ;-) ...                              [ ok ]
 * dark-oberon-1.0.2-RC1.tar.gz SHA256 ;-) ...                            [ ok ]
 * dark-oberon-1.0.2-RC1.tar.gz size ;-) ...                              [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking dark-oberon-1.0.2-RC1.tar.gz ;-) ...                          [ ok ]
>>> Unpacking source...
>>> Unpacking dark-oberon-1.0.2-RC1.tar.gz to /var/tmp/portage/games-strategy/dark-oberon-1.0.2_rc1/work
 * Applying dark-oberon-1.0.2_rc1-gcc41.patch ...                         [ ok ]
 * Applying dark-oberon-1.0.2_rc1-gentoo.patch ...                        [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/games-strategy/dark-oberon-1.0.2_rc1/work/dark-oberon-1.0.2-RC1 ...
g++ -O2 -pipe -I/usr/X11R6/include -I/usr/X11R6/include/GL -I../libs -DDATA_DIR='"/usr/share/games/dark-oberon/"' -DUNIX=1 -DSOUND=0 -DDEBUG=0 -c doalloc.cpp
g++ -O2 -pipe -I/usr/X11R6/include -I/usr/X11R6/include/GL -I../libs -DDATA_DIR='"/usr/share/games/dark-oberon/"' -DUNIX=1 -DSOUND=0 -DDEBUG=0 -c doberon.cpp
g++ -O2 -pipe -I/usr/X11R6/include -I/usr/X11R6/include/GL -I../libs -DDATA_DIR='"/usr/share/games/dark-oberon/"' -DUNIX=1 -DSOUND=0 -DDEBUG=0 -c dobuildings.cpp
g++ -O2 -pipe -I/usr/X11R6/include -I/usr/X11R6/include/GL -I../libs -DDATA_DIR='"/usr/share/games/dark-oberon/"' -DUNIX=1 -DSOUND=0 -DDEBUG=0 -c doconfig.cpp
g++ -O2 -pipe -I/usr/X11R6/include -I/usr/X11R6/include/GL -I../libs -DDATA_DIR='"/usr/share/games/dark-oberon/"' -DUNIX=1 -DSOUND=0 -DDEBUG=0 -c dodata.cpp
g++ -O2 -pipe -I/usr/X11R6/include -I/usr/X11R6/include/GL -I../libs -DDATA_DIR='"/usr/share/games/dark-oberon/"' -DUNIX=1 -DSOUND=0 -DDEBUG=0 -c dodraw.cpp
g++ -O2 -pipe -I/usr/X11R6/include -I/usr/X11R6/include/GL -I../libs -DDATA_DIR='"/usr/share/games/dark-oberon/"' -DUNIX=1 -DSOUND=0 -DDEBUG=0 -c doengine.cpp
g++ -O2 -pipe -I/usr/X11R6/include -I/usr/X11R6/include/GL -I../libs -DDATA_DIR='"/usr/share/games/dark-oberon/"' -DUNIX=1 -DSOUND=0 -DDEBUG=0 -c doevents.cpp
g++ -O2 -pipe -I/usr/X11R6/include -I/usr/X11R6/include/GL -I../libs -DDATA_DIR='"/usr/share/games/dark-oberon/"' -DUNIX=1 -DSOUND=0 -DDEBUG=0 -c dofactories.cpp
g++ -O2 -pipe -I/usr/X11R6/include -I/usr/X11R6/include/GL -I../libs -DDATA_DIR='"/usr/share/games/dark-oberon/"' -DUNIX=1 -DSOUND=0 -DDEBUG=0 -c dofight.cpp
doengine.cpp: In function 'void CreateBuildButtons()':
doengine.cpp:3984: error: cast from 'TBUILDING_ITEM*' to 'int' loses precision
doengine.cpp:4010: error: cast from 'TFORCE_ITEM*' to 'int' loses precision
doengine.cpp: In function 'void CreateOrderButtons()':
doengine.cpp:4075: error: cast from 'TFORCE_ITEM*' to 'int' loses precision
make: *** [doengine.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: games-strategy/dark-oberon-1.0.2_rc1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3258:   Called src_compile
  dark-oberon-1.0.2_rc1.ebuild, line 38:   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/games-strategy/dark-oberon-1.0.2_rc1/temp/build.log'.

How to reproduce:

Just emerge dark oberon on an amd64 and you'll get this message.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2007-04-26 16:00:13 UTC
http://www.gentoo.org/proj/en/desktop/games/#doc_chap5_sect11