FS#23079 - [warzone2100] add gdb as optdep

Attached to Project: Community Packages
Opened by mattia (nTia89) - Monday, 28 February 2011, 19:43 GMT
Last edited by Laurent Carlier (lordheavy) - Monday, 28 February 2011, 20:46 GMT
Task Type General Gripe
Category Packages
Status Closed
Assigned To Vesa Kaihlavirta (vegai)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Additional info:
* warzone 2.3.7-1

Steps to reproduce:

launch the game from console, you see that can't find gdb i think is an optdependence
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Monday, 28 February 2011, 20:46 GMT
Reason for closing:  Won't implement
Comment by Thomas Dziedzic (tomd123) - Monday, 28 February 2011, 20:07 GMT
I initially thought this was in a script, but it turns out the check is compiled into the program.
Might be interesting to see what it's used for...

pacman -Qlq warzone2100 | xargs grep gdb
Binary file /usr/bin/warzone2100 matches
Binary file /usr/share/warzone2100/base.wz matches
Binary file /usr/share/warzone2100/music/track1.ogg matches
Comment by mattia (nTia89) - Monday, 28 February 2011, 20:37 GMT
this is i get when i run warzone without gdb:

[mattia@arch-desktop 0ad]$ warzone2100
which: no gdb in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/qt/bin)
Comment by Laurent Carlier (lordheavy) - Monday, 28 February 2011, 20:46 GMT
i guess it's used in case of segfaulting. It will be useless to add it even as an optional dependency bacause all our binaries are built without debuging symbol, so the gdb output should be useless.

Loading...