Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56533 - ebuild: games-strategy/gwp
Summary: ebuild: games-strategy/gwp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-09 05:20 UTC by Alexander Jenisch
Modified: 2006-06-06 14:23 UTC (History)
6 users (show)

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


Attachments
games-strategy/gwp-0.3.6 -- Initial ebuild for Gnome WarPad (gwp-0.3.6.ebuild,1020 bytes, text/plain)
2005-04-21 09:12 UTC, James Jones
Details
games-strategy/gwp/gwp-0.3.6.ebuild (gwp-0.3.6.ebuild,1.05 KB, text/plain)
2005-05-04 19:10 UTC, Chris Gianelloni (RETIRED)
Details
New version and gcc-4.1 patch (gwp-0.4.0.ebuild,1.13 KB, text/plain)
2006-03-04 08:53 UTC, Tom Wesley
Details
the gcc-4.1 patch, thanks ChrisWhite (gwp-0.4.0-gcc4.1.patch,4.72 KB, patch)
2006-03-04 08:53 UTC, Tom Wesley
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Jenisch 2004-07-09 05:21:00 UTC
A 'VGA Planets' client for the GNOME platform

VGA Planets is a shareware play-by-email space conquest strategy game, it can be played by 11 players max. This game is being played by strategy fanatics all over the world for some years now, is very addictive and there are several servers on the Internet that host various kinds of this games.
Comment 1 foser (RETIRED) gentoo-dev 2004-07-11 09:33:24 UTC
more something for games i think
Comment 2 James Jones 2005-04-21 09:12:45 UTC
Created attachment 56847 [details]
games-strategy/gwp-0.3.6 -- Initial ebuild for Gnome WarPad

This is a "works for me" ebuild for games-strategy/gwp
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2005-04-21 09:52:21 UTC
Did you look at where this ebuild installs files?  It still needs more work to have the install put things in the right places.
Comment 4 Christoph Brill (egore) (RESIGNED) 2005-04-23 02:05:49 UTC
replacing "make install" with "egamesinstall" should do the trick (unable to test, since it does not build with gcc4)
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2005-04-23 06:49:47 UTC
gcc 4?

Man... you've got some big ones.... big brass ones...

hrrrm... this is a gnome thingy... being a gnome whore, I should probably test this one out... added to my TODO
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2005-05-04 19:10:43 UTC
Created attachment 58092 [details]
games-strategy/gwp/gwp-0.3.6.ebuild

Well, it builds and seems to run, but knowing nothing about the game, I can't
say for sure whether it is working or not.

Anyone?
Comment 7 jannis 2005-07-02 17:14:52 UTC
gwp compiles (with some warnings, but no errors) but segfaults when I start it.

gdb says:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1228694880 (LWP 23302)]
0xb6a8c53b in init_gtk ()
   from /usr/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so

strace says:
[...]
read(6, "m\362\r\n\345h\265Bc\0\0\0\0\0\0\0\0\3\0\0\0@\0\0\0sc\0"..., 131072) = 1016
fstat64(6, {st_mode=S_IFREG|0644, st_size=1016, ...}) = 0
read(6, "", 131072)                     = 0
close(6)                                = 0
munmap(0xb6b00000, 131072)              = 0
close(5)                                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

emerge info tells me:
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-nitro2 i686)
=================================================================
System uname: 2.6.12-nitro2 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.12
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.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.8
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.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mtune=athlon-xp -march=athlon-xp -m3dnow -msse -mmmx -fforce-addr
-ftracer -funroll-loops -frerun-loop-opt -frerun-cse-after-loop
-falign-functions=4 -momit-leaf-frame-pointer -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O3 -mtune=athlon-xp -march=athlon-xp -m3dnow -msse -mmmx -fforce-addr
-ftracer -funroll-loops -frerun-loop-opt -frerun-cse-after-loop
-falign-functions=4 -momit-leaf-frame-pointer -pipe -fomit-frame-pointer
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://h53098.serverkompetenz.net/gentoo-portage"
USE="x86 16bit 3dnow 3dnowext X aalib acpi alsa apache2 apm arts artswrappersuid
avi berkdb bitmap-fonts blender-game bonobo bzip2 bzlib caps cdparanoia cdr cjk
crypt cups curl curlwrappers dedicated dga dio directfb divx4linux dv dvd dvdr
dvdread eds emboss encode escreen esd fam fbcon ffmpeg flac flash font-server
foomaticdb fortran freetype ftp gcj gd gdbm gif gimp gimpprint gnome gpm
gstreamer gtk gtk2 gtkhtml guile icq imagemagick imlib ipv6 jack jack-tmpfs java
javascript jpeg junit kde kqemu ldap libcaca libclamav libg++ libwww lm_sensors
mad mbox mikmod mime ming mjpeg mmx mmx2 mmxext motif mozilla mp3 mpeg mplayer
mysql nas ncurses newkernel nls nptl nptlonly ogg oggvorbis opengl oss pam
pascal pdf pdfkit pdflib perl php pic png ppds python qemu-fast qt quicktime
readline real reiserfs ruby samba sasl sdk sdl session slang sndfile sockets
softmmu speex spell sqlite sse ssl svga tcltk tcpd tetex threads tidy tiff
tokenizer tools transcode truetype truetype-fonts type1-fonts unicode usb vcd
vcdimager videos visualization vnc vorbis wifi win32codecs wxgtk1 wxwindows xine
xml xml2 xmms xprint xscreensaver xv xvid zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 8 Ioannis Aslanidis (RETIRED) gentoo-dev 2005-10-01 04:57:46 UTC
I've got a similar strace, please notice the 'no such file or directory errors):

stat64("/usr/lib/python2.4/site-packages/gtk-2.0/gtk/keysyms", 0xbfed1890) = -1
ENOENT (No such file or directory)
open("/usr/lib/python2.4/site-packages/gtk-2.0/gtk/keysyms.so",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.4/site-packages/gtk-2.0/gtk/keysymsmodule.so",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.4/site-packages/gtk-2.0/gtk/keysyms.py",
O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=30075, ...}) = 0
open("/usr/lib/python2.4/site-packages/gtk-2.0/gtk/keysyms.pyc",
O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=48920, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb6dc9000
read(5, "m\362\r\nc\3456Cc\0\0\0\0\0\0\0\0\1\0\0\0@\0\0\0s\250\""..., 131072) =
48920
fstat64(5, {st_mode=S_IFREG|0644, st_size=48920, ...}) = 0
read(5, "", 131072)                     = 0
close(5)                                = 0
munmap(0xb6dc9000, 131072)              = 0
brk(0x8267000)                          = 0x8267000
close(4)                                = 0
stat64("/usr/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk", 0xbfed1890) = -1
ENOENT (No such file or directory)
open("/usr/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so",
O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0755, st_size=1545520, ...}) = 0
open("/usr/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so", O_RDONLY) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\240"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0755, st_size=1545520, ...}) = 0
mmap2(NULL, 1548092, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) =
0xb6b5e000
mmap2(0xb6cb9000, 126976, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x15a) = 0xb6cb9000
close(5)                                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Comment 9 Ernestas Liubarskij 2006-03-04 07:48:21 UTC
It compiles and runs fine here. No errors.
Comment 10 Ernestas Liubarskij 2006-03-04 08:08:51 UTC
I renamed the ebuild to gwp-0.4.0.ebuild and it emerged and worked fine too.
Comment 11 Tom Wesley 2006-03-04 08:53:10 UTC
Created attachment 81296 [details]
New version and gcc-4.1 patch
Comment 12 Tom Wesley 2006-03-04 08:53:55 UTC
Created attachment 81297 [details, diff]
the gcc-4.1 patch, thanks ChrisWhite
Comment 13 Jordan Herring 2006-04-01 14:31:41 UTC
Okay, I built and tested this on my ~ppc system (G3 Powerbook), and as far as I can tell it works. I wasn't able to go in-game because I've never played this type of game before. But I can confirm it working on ppc.
Comment 14 Markus Ullmann (RETIRED) gentoo-dev 2006-04-03 13:55:41 UTC
Working here on x86 as well
Comment 15 Andrew Yates 2006-06-03 08:29:50 UTC
works here on x86 (opteron with x86 userland/kernel, gcc 3.4.6-r1)
Comment 16 Chris Gianelloni (RETIRED) gentoo-dev 2006-06-06 14:23:25 UTC
Added to CVS (finally)...