On Jun 10, 2010, at 7:14 PM, Mathias Gug wrote: > I've looked at the deb2maverick.patch and run into a couple of issues: > > 1. The upstart job is actually not included in the binary packages: there is > a line in the debian/rules file that deletes the upstart file in the clean > target.
The rules file does need to have the rm line removed, but it removes 'mongodb.upstart', while the file is mongodb-server.mongodb.upstart. The contents of the package as built by pbuilder: cl...@ubuntu:/var/cache/pbuilder/result$ dpkg -c mongodb-server_1.4.3-1ubuntu1_amd64.deb |grep init drwxr-xr-x root/root 0 2010-06-04 13:10 ./etc/init/ -rw-r--r-- root/root 451 2010-06-04 11:29 ./etc/init/mongodb.conf drwxr-xr-x root/root 0 2010-06-04 13:10 ./etc/init.d/ lrwxrwxrwx root/root 0 2010-06-04 13:10 ./etc/init.d/mongodb -> /lib/init/upstart-job > 2. There is a missing dependency on libmozjs.so: > > math...@t-mongodb:~$ sudo start-stop-daemon --start --pidfile > /var/run/mongodb.pid --make-pidfile --chuid mongodb --exec > /usr/bin/mongod -- --dbpath /var/lib/mongodb --logpath > /var/log/mongodb/mongodb.log --config /etc/mongodb.conf > run/usr/bin/mongod: error while loading shared libraries: libmozjs.so: > cannot open shared object file: No such file or directory Actually I believe the dependency needs to be on xulrunner-1.9.2. Not sure why dh_shlibdeps didn't pick that up. > > I'd suggest to also install the binary packages in a base install to > make sure they work correctly. Testing upgrade is also important by > installing the current version from the archive and trying to upgrade to > the newly build packages. Thanks for the tips! -- Please merge mongodb 1.4.3-1 (universe) from Debian unstable (main) https://bugs.launchpad.net/bugs/589566 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
