Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349349 - games-fps/warsow-0.6 version bump
Summary: games-fps/warsow-0.6 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement with 3 votes (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-22 09:24 UTC by ojio
Modified: 2012-05-11 16:48 UTC (History)
7 users (show)

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


Attachments
patch 0.5-r1 -> 0.6 (warsow-0.6.ebuild.patch,1.06 KB, patch)
2010-12-26 14:01 UTC, Dennis Schridde
Details | Diff
make the game build (?) (warsow-0.6-build-game.patch,1.28 KB, patch)
2011-02-08 01:10 UTC, Dennis Schridde
Details | Diff
dont build start scripts (?) (warsow-0.6-build-no-start-scripts.patch,1.18 KB, patch)
2011-02-08 01:11 UTC, Dennis Schridde
Details | Diff
patch to stop warsow segfaulting on sound load, also some debugging (warsow-0.6-build-sound.patch,543 bytes, patch)
2011-02-21 20:53 UTC, Alex
Details | Diff
patch 0.5-r1 -> 0.61 (warsow-0.61.ebuild.patch,2.21 KB, patch)
2011-04-27 15:52 UTC, Dennis Schridde
Details | Diff
dont delete angelscript (warsow-0.6-dont-delete-angelscript.patch,458 bytes, patch)
2011-04-27 15:55 UTC, Dennis Schridde
Details | Diff
warsow-0.62.ebuild (warsow-0.62.ebuild,3.53 KB, text/plain)
2011-07-04 20:46 UTC, Ari Malinen
Details
build log (build.log,2.18 KB, text/plain)
2011-07-13 06:07 UTC, Alex
Details
patch 0.5-r1 -> 0.62 (warsow-0.62.ebuild.patch,2.57 KB, patch)
2011-07-13 07:31 UTC, Dennis Schridde
Details | Diff
build.log and patch out (warsow-out.tar.gz,1.13 KB, text/plain)
2011-07-14 16:38 UTC, Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ojio 2010-12-22 09:24:49 UTC
Hi,

on December 19, 2010 a new warsow version was released. It's warsow v0.6.

Can someone can add-it to the tree ? Thank you.
Comment 1 Dennis Schridde 2010-12-26 14:01:17 UTC
Created attachment 258100 [details, diff]
patch 0.5-r1 -> 0.6

Attached patch makes Warsow compile here:
 * The build patches had to be redone
 * he angelscript patches were not necessary anymore
 * The download location changed
 * The angelscript library was being deleted by the buildsystem for no apparent reason

However, this ebuild only *compiles*. The game segfaults immediately after starting:
------ sound initialization -------
Loading sound module: qf

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000001 in ?? ()
(gdb) bt full
#0  0x0000000000000001 in ?? ()
No symbol table info available.
#1  0x000000000044aeeb in ?? ()
No symbol table info available.
#2  0x000000000044b237 in ?? ()
No symbol table info available.
#3  0x000000000044766e in ?? ()
No symbol table info available.
#4  0x000000000040b28f in ?? ()
No symbol table info available.
#5  0x00000000004536cb in ?? ()
No symbol table info available.
#6  0x00007ffff63edd0d in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#7  0x0000000000404799 in ?? ()
No symbol table info available.
#8  0x00007fffffffd6d8 in ?? ()
No symbol table info available.
#9  0x000000000000001c in ?? ()
No symbol table info available.
#10 0x0000000000000001 in ?? ()
No symbol table info available.
#11 0x00007fffffffdacd in ?? ()
No symbol table info available.
#12 0x0000000000000000 in ?? ()
No symbol table info available.
Comment 2 Michael Weber (RETIRED) gentoo-dev 2011-02-07 20:16:40 UTC
Dennis, can you please attach your
+		"${FILESDIR}"/${P}-build-game.patch \
+		"${FILESDIR}"/${P}-build-no-start-scripts.patch \
files, thanks
Comment 3 Dennis Schridde 2011-02-08 01:10:11 UTC
Created attachment 261769 [details, diff]
make the game build (?)
Comment 4 Dennis Schridde 2011-02-08 01:11:45 UTC
Created attachment 261771 [details, diff]
dont build start scripts (?)

(In reply to comment #2)
> Dennis, can you please attach your
> +               "${FILESDIR}"/${P}-build-game.patch \
> +               "${FILESDIR}"/${P}-build-no-start-scripts.patch \
> files, thanks
Sorry, of course. I will not guarantee that the descriptions are correct though, the creation of those patches was simply too long ago.
Comment 5 Alex 2011-02-21 20:53:36 UTC
Created attachment 263371 [details, diff]
patch to stop warsow segfaulting on sound load, also some debugging
Comment 6 Alex 2011-02-21 21:02:14 UTC
Hi. 
Attached patch resolves issues with segfaulting. 
But, there is no sound at all, as it still fails loading sound modules.
I've added printf to see where it looks for sound modules, and here's output:
------- sound initialization -------
Loading sound module: qf
Loading sound module from libs/snd_qf_x86_64.so 
Loading qf failed
Loading sound module: openal
Loading sound module from libs/snd_openal_x86_64.so 
Loading openal failed
Couldn't load a sound module
------------------------------------

But these libs are named snd_qf_amd64.so and snd_openal_amd64.so
I guess this is the issue. 
Comment 7 Dennis Schridde 2011-04-27 15:52:46 UTC
Created attachment 271343 [details, diff]
patch 0.5-r1 -> 0.61

The issue was that the Warsow Makefile uses the ARCH variable, preferring the shell environment over the one set in the Makefile. In attached patch I worked around this problem by unsetting ARCH before calling emake. This might have cause hell to raise, but surprisingly it worked without any apparent issues.

In addition to this, attached patch also bumps to 0.61 which was released in the meantime and turns the angelscript sed command into a proper patch.
Comment 8 Dennis Schridde 2011-04-27 15:55:06 UTC
Created attachment 271345 [details, diff]
dont delete angelscript

(In reply to comment #7)
> The issue was that the Warsow Makefile uses the ARCH variable, preferring the
> shell environment over the one set in the Makefile.
P.S: Explanation: Portage uses ARCH itself in ebuilds, defining it to another value than the Makefile would expect, hence creating trouble.
Comment 9 Ari Malinen 2011-07-04 20:46:50 UTC
Created attachment 279091 [details]
warsow-0.62.ebuild

Warsow 0.62 ebuild. Builds and runs fine with my ~amd64 thinkpad.

Needs these patches to games-fps/warsow/files/ :
https://bugs.gentoo.org/attachment.cgi?id=261771&action=diff
https://bugs.gentoo.org/attachment.cgi?id=271345&action=diff
Comment 10 Alex 2011-07-12 04:09:26 UTC
Can not build warsow-0.62 with this patchset.
can you attach full tar with ebuild and patches needed to build this ?
Comment 11 Dennis Schridde 2011-07-12 04:32:24 UTC
(In reply to comment #10)
> Can not build warsow-0.62 with this patchset.
> can you attach full tar with ebuild and patches needed to build this ?
Please attach the build.log
Comment 12 RaVenMasTeR 2011-07-12 14:53:51 UTC
(In reply to comment #9)
> Created attachment 279091 [details]
> warsow-0.62.ebuild
> 
> Warsow 0.62 ebuild. Builds and runs fine with my ~amd64 thinkpad.
> 
> Needs these patches to games-fps/warsow/files/ :
> https://bugs.gentoo.org/attachment.cgi?id=261771&action=diff
> https://bugs.gentoo.org/attachment.cgi?id=271345&action=diff

ebuild works perfect for my ~amd64

everything works except the sound. dosen't matter if qf or openal.
might be a general problem or the libs have a other name
Comment 13 Dennis Schridde 2011-07-12 15:05:21 UTC
(In reply to comment #12)
> everything works except the sound. dosen't matter if qf or openal.
> might be a general problem or the libs have a other name
Sound works here. Do you have any special setup, like pulse or similar?
Comment 14 Alex 2011-07-13 06:07:29 UTC
Created attachment 279931 [details]
build log

I tried to rename the files with the patch vice versa, the pathc error appeared.
Comment 15 Alex 2011-07-13 06:10:36 UTC
Oh just forgot. 
I build warsow from my overlay 
http://github.com/s9gf4ult/mineover
You can see what's wrong in the ebuild or patch files.
Comment 16 RaVenMasTeR 2011-07-13 07:07:40 UTC
(In reply to comment #13)
> (In reply to comment #12)
> > everything works except the sound. dosen't matter if qf or openal.
> > might be a general problem or the libs have a other name
> Sound works here. Do you have any special setup, like pulse or similar?

don't think so. 

while starting the game this is the output at the end

------- sound initialization -------
Loading sound module: qf
Loading qf failed
Loading sound module: openal
Loading openal failed
Couldn't load a sound module
------------------------------------

maybe it does not use the righ path or something like that.

this is a info from the compile log:

* QA Notice: Pre-stripped files found:
 * /usr/games/lib64/warsow/snd_qf_amd64.so
 * /usr/games/lib64/warsow/snd_openal_amd64.so
 * /usr/games/lib64/warsow/ui_amd64.so
 * /usr/games/lib64/warsow/game_amd64.so
 * /usr/games/lib64/warsow/cgame_amd64.so
 * /usr/games/bin/warsow
Comment 17 RaVenMasTeR 2011-07-13 07:10:10 UTC
(In reply to comment #14)
> Created attachment 279931 [details]
> build log
> 
> I tried to rename the files with the patch vice versa, the pathc error
> appeared.

did you create the 2 files from the attachment in the files folder of the overlay?

/usr/local/portage/games-fps/warsow/files/

-rw-r--r-- 1 root root 1,2K  5. Jul 12:22 warsow-0.6-build-no-start-scripts.patch
-rw-r--r-- 1 root root  458  5. Jul 12:22 warsow-0.6-dont-delete-angelscript.patch
Comment 18 Dennis Schridde 2011-07-13 07:15:32 UTC
(In reply to comment #14)
> Created attachment 279931 [details]
> build log
> 
> I tried to rename the files with the patch vice versa, the pathc error
> appeared.
Revision d3ed90b0 of your overlay is wrong. dont-delete-angelscript is the patch that removes the "@rm $(ANGELSCRIPT_LIB)" line.

Apart from that: Did you actually read the build.log you posted? ;)
It says "Include in your bugreport the contents of ..."
Comment 19 Dennis Schridde 2011-07-13 07:31:16 UTC
Created attachment 279941 [details, diff]
patch 0.5-r1 -> 0.62

(In reply to comment #9)
> Created attachment 279091 [details]
> warsow-0.62.ebuild
I propose you post a patch next time.

Why did you remove the "unset ARCH" line? It is important to make the buildsystem and the game use the same name for the arch, with the correct name being "x86_64" (as uname -m reports it) instead of amd64.

Anyway, attached patch against the 0.5-r1 ebuild works for me.
Comment 20 Alex 2011-07-14 16:38:09 UTC
Created attachment 280059 [details]
build.log and patch out

>>Revision d3ed90b0 of your overlay is wrong. dont-delete-angelscript is the
>>patch that removes the "@rm $(ANGELSCRIPT_LIB)" line.

Ok I has reverted this commit.

>>Apart from that: Did you actually read the build.log you posted? ;)
>>It says "Include in your bugreport the contents of ..."

I has attached build log and patch.out with it in tar file
Comment 21 Alex 2011-07-15 06:52:48 UTC
>>did you create the 2 files from the attachment in the files folder of the
overlay?

>>/usr/local/portage/games-fps/warsow/files/

>>-rw-r--r-- 1 root root 1,2K  5. Jul 12:22
>>warsow-0.6-build-no-start-scripts.patch
>>-rw-r--r-- 1 root root  458  5. Jul 12:22
>>warsow-0.6-dont-delete-angelscript.patch
I has created this files from the attachment in "files" folder of my overlay. Yes.
Comment 22 Dennis Schridde 2011-07-15 11:48:54 UTC
(In reply to comment #20)
The ebuild in your overlay is not identical to the ebuild patch I posted as attachment #279941 [details, diff] (https://bugs.gentoo.org/attachment.cgi?id=279941&action=diff). Please try that instead.
Comment 23 Markus Rathgeb 2011-07-25 20:34:53 UTC
I also added the ebuild and patches of this bug to my overlay (maggu2810-overlay), that could be managed by layman.
Thanks guys!
Comment 24 Alex 2011-08-13 21:29:08 UTC
I has installed from this overlay. Fullscreen does not work for me and this http://www.warsow.net/forum/help-troubleshooting/topic-18983/ did not help also.
Comment 25 Sylvain BERTRAND 2012-03-16 17:50:59 UTC
what's the news for warsow 0.62 in portage?
Comment 26 Julian Ospald 2012-05-11 10:13:29 UTC
I recommend to always set a patch-header with a description what it is for and what it does (possibly with a link to a bugtracker).

see http://dev.gentoo.org/~vapier/clean-patches
Comment 27 Julian Ospald 2012-05-11 16:48:18 UTC
+*warsow-0.62 (11 May 2012)
+
+  11 May 2012; Julian Ospald <hasufell@gentoo.org> +warsow-0.62.ebuild,
+  +files/warsow-0.62-build.patch:
+  version bump wrt #349349