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.
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.
Dennis, can you please attach your + "${FILESDIR}"/${P}-build-game.patch \ + "${FILESDIR}"/${P}-build-no-start-scripts.patch \ files, thanks
Created attachment 261769 [details, diff] make the game build (?)
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.
Created attachment 263371 [details, diff] patch to stop warsow segfaulting on sound load, also some debugging
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.
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.
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.
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
Can not build warsow-0.62 with this patchset. can you attach full tar with ebuild and patches needed to build this ?
(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
(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
(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?
Created attachment 279931 [details] build log I tried to rename the files with the patch vice versa, the pathc error appeared.
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.
(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
(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
(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 ..."
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.
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
>>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.
(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.
I also added the ebuild and patches of this bug to my overlay (maggu2810-overlay), that could be managed by layman. Thanks guys!
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.
what's the news for warsow 0.62 in portage?
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
+*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