** Description changed:

  Binary package hint: mongodb
  
  As a workaround, I created a symbolic link to the xulrunner version of this 
library in /usr/lib.
  This stops working and has to be relinked whenever xulrunner gets updated to 
a new version number.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: mongodb 1:1.2.2-1
  ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
  Uname: Linux 2.6.32-19-generic x86_64
  Architecture: amd64
  Date: Tue Apr  6 21:57:33 2010
  InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
  ProcEnviron:
-  LANG=en_CA.utf8
-  SHELL=/bin/bash
+  LANG=en_CA.utf8
+  SHELL=/bin/bash
  SourcePackage: mongodb
+ 
+ == SRU REPORT ==
+ 
+ === IMPACT ===
+ 
+ The impact of this bug could be moderate, as we are removing the rpath
+ link to a specific release of libmozjs.so and instead providing a
+ wrapper that will find the library for the user. However, no running
+ code is changing, just the startup mechanism.
+ 
+ === DEV STATUS ===
+ This has been resolved in Maverick and the current dev branch by writing a 
wrapper script that finds the currently installed libmozjs.so and adds it to 
LD_LIBRARY_PATH. This solution will work going forward as long as the library 
maintains ABI compatibility, but that is an issue for xulrunner, not mongodb, 
and will affect many other packages as well.
+ 
+ === PATCH STATUS ===
+ Patch is in development. See merge proposals when complete.
+ 
+ === TEST CASE ===
+ 
+ * Install Ubuntu Server 10.04 without applying updates
+ * Check that xulrunner-1.9.2 is at version 1.9.2.3+nobinonly-0ubuntu2
+ * Install package mongodb
+ * run 'mongo' -- should work
+ * Apply updates -- xulrunner-1.9.2 should be updated to 
1.9.2.12+build1+nobinonly-0ubuntu0.10.04.1
+ * run 'mongo' -- this fails because the upstream version of xulrunner-1.9.2 
has changed, and the rpath stored in these binaries is now invalid.
+ 
+ === REGRESSION POTENTIAL ===
+ 
+ As the impact statement says, we are changing the startup behavior of
+ the package in a fundamental way. However, the alternative is breaking
+ the package every time a new version of xulrunner-1.9.2 is uploaded.

-- 
mongo / mongod as packaged can't load libmozjs.so
https://bugs.launchpad.net/bugs/557024
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to