Ticket #3386 (new defect)

Opened 13 months ago

Last modified 7 months ago

jingle branch not working on x86_64

Reported by: misc Owned by: asterix
Priority: normal Milestone:
Component: None Version: svn
Severity: major Keywords:
Cc: thecurse@… OS: Unix

Description

{{{$ ./launch.sh

Traceback (most recent call last):

File "gajim.py", line 349, in <module>

import roster_window

File "/home/misc/checkout/svn/gajim-jingle/src/roster_window.py", line 31, in <module>

import config

File "/home/misc/checkout/svn/gajim-jingle/src/config.py", line 41, in <module>

from common import connection

File "/home/misc/checkout/svn/gajim-jingle/src/common/connection.py", line 42, in <module>

from connection_handlers import *

File "/home/misc/checkout/svn/gajim-jingle/src/common/connection_handlers.py", line 41, in <module>

from common.jingle import ConnectionJingle?

File "/home/misc/checkout/svn/gajim-jingle/src/common/jingle.py", line 19, in <module>

import sys, dl, gst

ImportError?: No module named dl }}}

and indeed, dl module is not portable on x86_64 processor, according to the documentation ( http://docs.python.org/lib/module-dl.html ) and so is disabled on this processor.

Attachments

jingle_without_dl.patch (1.4 kB) - added by ruiabreuferreira 7 months ago.
Allow use of the jingle branch in architectures without the dl module - x86_64

Change History

Changed 13 months ago by asterix

it's not portable on windows too.

Liori told me this module is only used to fix a bug in farsight. This bug is fixed upstream and will be in next release (0.1.24) so wait this release ...

Changed 12 months ago by anonymous

It is released ;) Did you manage to test if it is now working on x86_64

farsight-0.1.24.tar.gz 22-Aug-2007

Changed 12 months ago by TheCurse

  • cc thecurse@… added

Changed 12 months ago by misc

So far, it doesn't crash. I have some problem to build farsight python binding, since it need -fPIC :

$ make        
cc -fPIC `pkg-config --libs farsight-0.1` -shared farsight.o farsightmodule.o -o farsight.so
/usr/bin/ld: farsightmodule.o: relocation R_X86_64_32 against `farsight_functions' can not be used when making a shared object; recompile with -fPIC
farsightmodule.o: could not read symbols: Bad value
collect2: ld a retourné 1 code d'état d'exécution
make: *** [farsight.so] Erreur 1

adding the option solve the problem.

I have started a voice chat with myself, and gajim silently crashed after some time, since I didn't respond :

OnRequestsignaling called, sending SignalingReady
OnRequestsignaling called, sending SignalingReady

I will not be able to test it on x86_64 before 2 or 3 weeks.

Changed 7 months ago by ruiabreuferreira

Allow use of the jingle branch in architectures without the dl module - x86_64

Changed 7 months ago by ruiabreuferreira

The attached jingle_without_dl.patch should enable the use of the jingle in x86_64 systems. I'm not sure if this works with systems other than x86_64 with python 2.5. Can someone test it?

Add/Change #3386 (jingle branch not working on x86_64)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change. Next status will be 'new'
The owner will change to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.