[Bug 86685] Re: trac BROKEN on AMD64: "neo_cgi.so: undefined symbol: Py_InitModule4"

James Westby jw+debian at jameswestby.net
Tue Oct 14 13:11:57 BST 2008


Hi,

I believe this is fixed in Intrepid with the recent sync of the package
from Debian.

Thanks,

James


** Changed in: trac (Ubuntu)
       Status: Confirmed => Invalid

** Changed in: clearsilver (Ubuntu)
       Status: Confirmed => Fix Released

** Description changed:

+ Old versions of python-clearsilver are broken on amd64 with python2.5 as the
+ default python.
+ 
+ The build system was broken such that it just built the extension for python2.4 and
+ copied it for python2.5. This was resolved in
+ 
+     http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=452612
+ 
+ This makes python-clearsilver, and hence trac unusable for amd64 users on releases
+ where python2.5 is default.
+ 
+ It has been fixed in the development release by syncing that fix from
+ Debian.
+ 
+ The patch attached cherry-picks the fix to the hardy package.
+ 
+ TEST CASE:
+   * Instructions to reproduce
+ 
+ There should not be any regression as the module is completely broken for amd64 users,
+ and wrong for other architectures as well.
+ 
+ === 
+ Original report:
+ 
  Binary package hint: python-clearsilver
  
  I created a new Trac environment and run tracd. After accessing it the
  first time I received following output on the console:
  
  [bragi at ragnarson ogloszenia]$ tracd --port 8000 /home/bragi/projects/ogloszenia/trac
  ----------------------------------------
  Exception happened during processing of request from ('127.0.0.1', 43756)
  Traceback (most recent call last):
    File "SocketServer.py", line 463, in process_request_thread
      self.finish_request(request, client_address)
    File "SocketServer.py", line 254, in finish_request
      self.RequestHandlerClass(request, client_address, self)
    File "SocketServer.py", line 521, in __init__
      self.handle()
    File "BaseHTTPServer.py", line 316, in handle
      self.handle_one_request()
    File "/var/lib/python-support/python2.5/trac/web/wsgi.py", line 174, in handle_one_request
      gateway.run(self.server.application)
    File "/var/lib/python-support/python2.5/trac/web/wsgi.py", line 87, in run
      response = application(self.environ, self._start_response)
    File "/var/lib/python-support/python2.5/trac/web/standalone.py", line 88, in __call__
      return self.application(environ, start_response)
    File "/var/lib/python-support/python2.5/trac/web/main.py", line 352, in dispatch_request
      env_paths)
    File "/var/lib/python-support/python2.5/trac/web/main.py", line 436, in send_project_index
      req.hdf = HDFWrapper(loadpaths)
    File "/var/lib/python-support/python2.5/trac/web/clearsilver.py", line 135, in __init__
      raise TracError, "ClearSilver not installed (%s)" % e
  TracError: ClearSilver not installed (/usr/lib/python2.5/site-packages/neo_cgi.so: undefined symbol: Py_InitModule4)
  ----------------------------------------
  
  Tracd used Python 2.5 by default. When run against 2.4 there is no such
  error.
  
  Ubuntu Feisty AMD64, python-clearsilver 0.10.3-4.1

-- 
trac BROKEN on AMD64: "neo_cgi.so: undefined symbol: Py_InitModule4"
https://bugs.launchpad.net/bugs/86685
You received this bug notification because you are a member of Ubuntu
Sponsors for universe, which is a direct subscriber.



More information about the Ubuntu-universe-sponsors mailing list