#gemrb@irc.freenode.net logs for 19 Jan 2011 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage


[01:16:45] --> _pickle has joined #GemRb
[01:59:53] <pupnik> eeyy mr _pickle
[02:00:09] <pupnik> you are great
[02:00:57] <pupnik> i wanted to do what you're doing, but got too depressed at difficulties
[02:01:11] <pupnik> so you make me happy
[02:03:34] <_pickle> sucks to be me right now, borked my mysql db
[02:06:33] --> pupnik_ has joined #GemRb
[02:09:46] <-- pupnik_ has left IRC (Changing host)
[02:09:46] --> pupnik_ has joined #GemRb
[02:10:08] <-- pupnik has left IRC (Ping timeout: 260 seconds)
[02:16:40] --- pupnik_ is now known as pupnik
[02:27:02] <-- edheldil_ has left IRC (Ping timeout: 240 seconds)
[02:31:27] <-- Maighstir has left IRC (Quit: ~ Trillian Astra - www.trillian.im ~)
[03:40:53] <-- _pickle has left IRC (Remote host closed the connection)
[04:01:36] <-- |Cable| has left IRC (Quit: Leaving)
[04:57:00] <-- barra_home has left IRC (Quit: Verlassend)
[05:00:09] <-- tomprince has left IRC (Quit: leaving)
[05:05:07] --> tomprince has joined #GemRb
[06:12:23] <-- jschall has left IRC (Read error: Connection reset by peer)
[06:12:56] --> jschall has joined #GemRb
[06:13:02] <-- jschall has left IRC (Read error: Connection reset by peer)
[06:29:00] <-- xrogaan has left IRC (*.net *.split)
[06:29:00] <-- Lightkey has left IRC (*.net *.split)
[06:29:00] <-- wjp has left IRC (*.net *.split)
[06:29:02] <-- fuzzie has left IRC (*.net *.split)
[06:29:02] <-- Sneglen has left IRC (*.net *.split)
[06:29:03] <-- CIA-85 has left IRC (*.net *.split)
[06:29:03] <-- tomprince has left IRC (*.net *.split)
[06:29:03] <-- DrMcCoy has left IRC (*.net *.split)
[06:29:03] <-- Textmode has left IRC (*.net *.split)
[06:29:04] <-- edheldil has left IRC (*.net *.split)
[08:13:14] --> lubos has joined #GemRb
[08:27:52] --> lynxlynxlynx has joined #GemRb
[08:27:52] --> tomprince has joined #GemRb
[08:27:52] --> xrogaan has joined #GemRb
[08:27:52] --> DrMcCoy has joined #GemRb
[08:27:52] --> Textmode has joined #GemRb
[08:27:52] --> fuzzie has joined #GemRb
[08:27:52] --> wjp has joined #GemRb
[08:27:52] --> Lightkey has joined #GemRb
[08:27:52] --> Sneglen has joined #GemRb
[08:27:52] --> CIA-85 has joined #GemRb
[08:27:52] --> edheldil has joined #GemRb
[08:38:40] <edheldil> Textmode: how did you build gemrb?
[08:40:10] <Textmode> mkdir build; cd build;cmake .. -DPREFIX="~/gemrb" -DLAYOUT="home";make;make install
[08:40:57] <Textmode> latest git
[08:43:48] <lynxlynxlynx> huh
[08:44:32] --> edheldil_ has joined #GemRb
[08:45:56] <Textmode> its a series of bash commands.
[08:46:01] <Textmode> seperated by ;
[08:46:51] <wjp> I'm sure he realizes that :-)
[08:47:27] <Textmode> well, I'm not sure how else to answer :3
[08:47:38] <wjp> it wasn't a question :-)
[08:48:46] <Textmode> ;_;
[08:48:58] <edheldil> Textmode: what platform? Linux amd64?
[08:48:59] * wjp tries to build in the same way, in the meantime
[08:49:06] <edheldil> moi aussi
[08:49:12] <lynxlynxlynx> heh
[08:49:58] <lynxlynxlynx> cmake, gcc/g++ version?
[08:50:03] <lynxlynxlynx> binutils, glibc
[08:50:11] <edheldil> could it be some garbage in your config file?
[08:51:13] <Textmode> looks like its failing in library load, I'd wager before the config file is even on the table.
[08:51:37] <edheldil> that message is probably created by a dynamic linker, no such str in gemrb sources
[08:51:46] <Textmode> lynxlynxlynx: old, no doubt. gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1
[08:51:57] <Textmode> hold on, I'll look up those other two.
[08:52:53] <wjp> we do dynamic loading of modules though, so the dynamic linker is involved not only at startup
[08:53:12] <lynxlynxlynx> that gcc is fine and not old at all
[08:53:13] <wjp> (but if it's the first and only message you get it likely is)
[08:53:24] <edheldil> works ok here
[08:54:50] <Textmode> libc 2.10.1-0ubuntu19, binutils 2.20-0ubuntu2
[08:55:58] <edheldil> maybe you can try to find suspicious string in "nm gemrb", but I would not hold my breath
[08:56:30] <wjp> or maybe LD_DEBUG=all
[08:57:18] <edheldil> should have been "nm libgemrb_core.so" anyway
[08:57:46] <edheldil> Textmode: so it really is the first and only message you get?
[08:57:54] <Textmode> wjp: -DLD_DEBUG=all?
[08:58:04] <Textmode> edheldil: yes, thats the complete output.
[08:58:26] <wjp> no, "LD_DEBUG=all ./gemrb"
[08:58:31] <edheldil> LD_DEBUG=all ./gemrb -c ....
[08:58:35] <Textmode> ah, right.
[08:59:20] <Textmode> whoa there, thats a lot of scrolling output!
[08:59:27] <edheldil> hehe
[08:59:42] <edheldil> wjp: thanks, did not know that
[09:01:54] <Textmode> you actually want all of this?
[09:02:51] <edheldil> I doubt it :). Try to find something starting at the end
[09:02:52] <wjp> I'm not sure if "want" is really the right word, but it could help
[09:02:54] <Textmode> possibly relevant, if I run the binary from in the build directory it works (about as well as a completely unconfigured gemrb with no data could be expected to work)
[09:03:10] <wjp> hm
[09:04:05] <edheldil> maybe make sure that the target directory is empty before installing ... and that you have not gemrb libs somewhere on your ldpath
[09:04:18] <lynxlynxlynx> maybe your stripper is broken
[09:04:18] <wjp> where were you running it from before?
[09:04:55] <Textmode> wjp: before what?
[09:05:30] <wjp> or after? From which directory did you run it where it did not work?
[09:05:30] <Textmode> I'm pretty sure this is the first time my system has seen any version of gemRB
[09:05:31] <edheldil> from the install dir ~/gemrb, I think
[09:06:01] <Textmode> edheldil: I could purge the install directory, and install it again?
[09:06:30] <edheldil> sure, try it. And it's not the source direcrtory as well, right?
[09:06:51] <Textmode> no. not the one that dies with that weird error message.
[09:07:20] <edheldil> I mean, ~/gemrb is not your source directory?
[09:07:25] <Textmode> no.
[09:07:38] <Textmode> thats ~/devel/gemrb
[09:08:19] <edheldil> try ldd ./gemrb first and check paths
[09:11:28] <Textmode> nothing jumps out at me: http://pastebin.com/nEDjsuwt
[09:13:32] <edheldil> it's the same I have
[09:18:25] <Textmode> so...
[09:19:43] <edheldil> try to read through the dynamic linker debug log and through "nm libgemrb_core.so". I really have no idea otherwise
[09:20:00] <Textmode> purged, make clean, make, make install...and nothing seems to have changed.
[09:20:33] <Textmode> what gets me is that it doesn't give that message if I run it from the source dir.
[09:20:48] <Textmode> only when I run it from the install directory...
[09:22:11] <edheldil> also, if you diff "nm libgemrb_core.so" in install dir and "nm gemrb/core/libgemrb_core.so" they should be the same
[09:22:33] <edheldil> also, if you diff "nm libgemrb_core.so" in install dir and "nm gemrb/core/libgemrb_core.so" in build dir they should be the same
[09:23:18] <edheldil> do you run it from the same shell? i.e. the environment is the same?
[09:24:30] <Textmode> no diff if I switch to that term.
[09:25:21] * edheldil is stumped
[09:25:32] <wjp> and the nm's?
[09:26:42] <wjp> "diff -u <(nm ~/gemrb/libgemrb_core.so) <(nm ~/devel/gemrb/gemrb/core/libgemrb_core.so)" is the one-liner for that I think
[09:28:35] <Textmode> no output, once I corrected the directory (you forgot */build/*)
[09:29:18] <lynxlynxlynx> use -s too
[09:29:21] <lynxlynxlynx> for diff
[09:30:01] <-- Sneglen has left IRC (Quit: Leaving)
[09:30:08] <Textmode> "Files /dev/fd/63 and /dev/fd/62 are identical"
[09:31:04] <edheldil> you can try the same with "nm gemrb"
[09:31:17] <edheldil> there has to be some difference
[09:31:30] <wjp> what does ldd ./gemrb return from the build dir?
[09:33:40] <Textmode> wjp: looks basically the same: http://pastebin.com/GfqJew6z
[09:36:52] <edheldil> sooo, the end of the linker debug log
[09:37:28] <wjp> does anything change if you manually copy /home/boneidle/devel/gemrb/build/gemrb/core/libgemrb_core.so to /home/boneidle/gemrb/libgemrb_core.so ?
[09:38:05] <edheldil> the installed bins have RPATH set ...
[09:38:10] <wjp> ah
[09:38:23] <Textmode> hmm?
[09:40:55] <edheldil> try copying the lib first and if nothing changes try to copy the binary. It should now try to load lib in the build dir
[09:44:05] <edheldil> and put the linker debug on pastebin
[09:45:01] <edheldil> (best from a run after a fresh install)
[09:45:53] <Textmode> ...I seem to have lost libgemrb_core.so :/ wth?
[09:48:12] <Textmode> no change when I copy libgemrbcore...
[09:48:48] <Textmode> moving the binary worked, though...
[09:50:08] <Textmode> because its using the one from the build directory...which *should* be identical to the one in the current directory because *I just copied it over a second ago* >.<
[09:50:24] <Textmode> have we learnt anything from this?
[09:53:52] <wjp> hm, so either the rpath change or stripping broke the binary, or it's something we're not thinking of?
[09:54:25] <wjp> I guess the stripping is easy enough to test
[09:54:41] <wjp> try "/usr/bin/strip ~/gemrb/gemrb" and if it still works from ~/gemrb then
[09:55:01] <Textmode> "LD_DEBUG=all ./gemrb &2>1 > out.txt" -> out.txt = 0bytes :/
[09:55:43] <wjp> it's '> out.txt 2>&1'
[09:55:54] <wjp> or "LD_DEBUG=all LD_DEBUG_OUTPUT=out.txt ./gemrb"
[09:56:04] <wjp> but try the 'strip' first as it's quicker :-)
[09:56:30] <edheldil> how comes it's empty?
[09:56:46] <Textmode> stripping does nothing.
[09:57:04] <wjp> edheldil: typo
[09:57:10] <wjp> ('&2>1')
[09:57:16] <Textmode> and out.txt looks like...1.3MB?
[09:57:25] <edheldil> ah
[09:57:28] <edheldil> 2>&1
[09:57:42] <Textmode> and that would do it, yes...
[09:57:51] <wjp> so that leaves the rpath change as the likely culprit?
[09:57:52] <Textmode> can you tell my bash-fu is minimal?
[09:57:58] <edheldil> but it should be >out.txt 2>&1
[09:58:33] <Textmode> so, whats next?
[09:59:28] <edheldil> (the order would be important)
[09:59:51] <wjp> do you have 'patchelf' ?
[09:59:55] <edheldil> to be honest, I have no clue
[10:02:20] <wjp> it's starting to sound like this version of cmake might have a bug
[10:02:41] <wjp> and broke the gemrb binary
[10:06:34] <Textmode> cmake version 2.6-patch 4
[10:15:29] <lynxlynxlynx> btw, to avoid complicating the redirections, just use &> next time and it will redirect also stderr
[10:16:11] <edheldil> 2.8.0 here :)
[10:18:24] <Textmode> how could cmake screw that up, though?
[10:18:47] <lynxlynxlynx> we order it to? :)
[10:18:50] <wjp> cmake patches the binary to change the embedded rpath as far as I can tell
[10:19:16] <edheldil> you can display rpath with objdump
[10:21:24] <edheldil> Textmode send me that log to edheldil at users.sourceforge.net
[10:22:47] <Textmode> I have to make an account first, don't I?
[10:23:38] <edheldil> no
[10:24:03] <edheldil> by email
[10:24:15] <Textmode> ah.
[10:27:29] <Textmode> something is eating bandwidth...
[10:32:49] <edheldil> tell me when you manage to send it
[10:34:33] <Textmode> out.txt, right?
[10:40:55] <edheldil> right
[10:41:40] <Textmode> sent
[11:06:14] <Textmode> edheldil: you got it?
[11:45:41] <edheldil> yes, sorry, lunch
[11:45:50] <edheldil> the difference is:
[11:46:19] <edheldil> symbol=; lookup in file=/home/boneidle/gemrb/libgemrb_core.so [0]
[11:46:22] <edheldil> instead of
[11:46:39] <edheldil> symbol=core; lookup in file=/home/benkovsk/gemrb/libgemrb_core.so [0]
[11:50:02] <edheldil> or perhaps not :). I will check further
[11:52:23] <Textmode> it did seem to be looking for a blank symbol...
[11:57:57] <edheldil> yes
[11:58:08] <edheldil> or maybe this: symbol=stdin; lookup in file=/home/benkovsk/gemrb/libgemrb_core.so [0]
[11:58:48] <edheldil> the core lookup is in both, but this one is in my only, and it follows the common correct part
[12:04:10] <edheldil> but no idea what it means :)
[12:17:04] <Textmode> nor I.
[12:20:10] <edheldil> have you tried the patchelf proggie?
[13:03:06] <Textmode> patchelf?
[13:11:11] <pupnik> anybody know someone who can repair an apple ][?
[13:11:22] <pupnik> i'd really prefer one with scsi hard drive
[13:36:06] <edheldil> Textmode: I think wjp wanted to suggest that you try to set RPATH copied gemrb to point to installed libgemrb_core.so or st. like that
[13:39:27] <wjp> the value of trying that is limited though, I guess
[13:41:41] <wjp> I just noticed the cmake wiki also claims that it relinks to change the rpath
[14:19:02] --> barra_home has joined #GemRb
[14:29:38] <pupnik> man i got so close to making lots of money with video games :3
[14:29:54] <pupnik> it still floats ahead of me like a ghost
[14:51:25] <edheldil> how so? :)
[14:58:40] * Textmode pokes pupnik
[15:03:43] <edheldil> would you like a pitchfork for that? I still have some left from my FreeBSD days ;-)
[15:06:06] * edheldil hands Textmode a ----€
[15:07:07] <Textmode> ossum!
[15:08:57] <wjp> a blank cheque? :-)
[15:19:12] <Textmode> I would accept that also.
[15:29:50] <-- lynxlynxlynx has left IRC (Ping timeout: 240 seconds)
[15:33:57] --> lynxlynxlynx has joined #GemRb
[15:33:57] <-- lynxlynxlynx has left IRC (Changing host)
[15:33:57] --> lynxlynxlynx has joined #GemRb
[15:33:57] --- ChanServ gives channel operator status to lynxlynxlynx
[15:36:19] <lynxlynxlynx> uh, scary, the machine just shut down
[16:44:52] <-- lubos has left IRC (Quit: Leaving.)
[17:13:33] --> Maighstir has joined #GemRb
[17:36:28] <-- edheldil_ has left IRC (Ping timeout: 272 seconds)
[17:40:00] <-- tomprince has left IRC (Quit: leaving)
[17:43:03] --> tomprince has joined #GemRb
[17:55:31] --> Bo_Thomsen has joined #GemRb
[18:45:58] <-- Bo_Thomsen has left IRC (Quit: Leaving.)
[18:46:26] --> Bo_Thomsen has joined #GemRb
[18:59:26] <lynxlynxlynx> found the culprit
[18:59:48] <lynxlynxlynx> the initial walksound commit also broke the searchmap
[19:13:17] --> edheldil_ has joined #GemRb
[19:13:41] <-- barra_home has left IRC (*.net *.split)
[19:13:43] <-- lynxlynxlynx has left IRC (*.net *.split)
[19:13:43] <-- fuzzie has left IRC (*.net *.split)
[19:13:45] <-- CIA-85 has left IRC (*.net *.split)
[19:13:46] <-- DrMcCoy has left IRC (*.net *.split)
[19:13:46] <-- Textmode has left IRC (*.net *.split)
[19:13:50] <-- edheldil has left IRC (*.net *.split)
[19:18:18] --> lynxlynxlynx has joined #GemRb
[19:18:18] --> barra_home has joined #GemRb
[19:18:18] --> DrMcCoy has joined #GemRb
[19:18:18] --> Textmode has joined #GemRb
[19:18:18] --> fuzzie has joined #GemRb
[19:18:18] --> CIA-85 has joined #GemRb
[19:18:18] --> edheldil has joined #GemRb
[19:26:02] <-- Bo_Thomsen has left IRC (Quit: Leaving.)
[19:35:48] --> Bo_Thomsen has joined #GemRb
[19:44:58] --> barra_away has joined #GemRb
[19:48:15] <-- barra_home has left IRC (Ping timeout: 240 seconds)
[20:07:26] <-- Textmode has left IRC (Ping timeout: 255 seconds)
[20:12:30] --- barra_away is now known as barra_home
[20:19:40] <-- Bo_Thomsen has left IRC (Quit: Leaving.)
[20:37:06] --> SiENcE has joined #GemRb
[20:43:13] --> |Cable| has joined #GemRb
[21:07:06] --> Bo_Thomsen has joined #GemRb
[22:30:20] <-- tomprince has left IRC (*.net *.split)
[22:31:36] <-- Bo_Thomsen has left IRC (Quit: Leaving.)
[22:32:57] --> tomprince has joined #GemRb
[22:57:55] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[23:02:29] <CIA-85> GemRB: 03avenger_teambg * rc46a8140618e 10gemrb/gemrb/core/ (GUI/GameControl.cpp Scriptable/ActorBlock.cpp): fixed spellcasting bug
[23:46:02] <-- SiENcE has left IRC (Quit: bye)