> 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:
> 2. There is a missing dependency on libmozjs.so:
>
> mathiaz@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.
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:
clint@ubuntu: /var/cache/ pbuilder/ result$ dpkg -c mongodb- server_ 1.4.3-1ubuntu1_ amd64.deb |grep init mongodb. conf d/mongodb -> /lib/init/ upstart- job
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/
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.
> 2. There is a missing dependency on libmozjs.so: t-mongodb: ~$ sudo start-stop-daemon --start --pidfile mongodb. pid --make-pidfile --chuid mongodb --exec mongodb/ mongodb. log --config /etc/mongodb.conf
>
> mathiaz@
> /var/run/
> /usr/bin/mongod -- --dbpath /var/lib/mongodb --logpath
> /var/log/
> 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!