Revert the toolsrc patch:
# cd rhino-1.6R5/
# rm debian/patches/02-dont_build-toolsrc.patch
Build:
# dpkg-buildpackage -rfakeroot
Install:
# cd ..
# sudo dpkg -i rhino_1.6.R5-0ubuntu1_all.deb
You may have to avoid updating the official distribution of the rhino package for a while, atleast until a version newer than 1.6R5-0ubuntu1 is released. Keep a copy of your re-packaged rhino .deb file because if you inadventently do update, then remove/purge the update and install the re-packaged .deb is required.
A work-around for fiesty while the bug is addressed, essentially involves re-packaging the rhino package from source. The steps are as follows:
Install package building dependencies:
# sudo apt-get install fakeroot debhelper cdbs java-gcj-compat-dev
Get the source:
# apt-get source rhino
Revert the toolsrc patch: patches/ 02-dont_ build-toolsrc. patch
# cd rhino-1.6R5/
# rm debian/
Build:
# dpkg-buildpackage -rfakeroot
Install: 6.R5-0ubuntu1_ all.deb
# cd ..
# sudo dpkg -i rhino_1.
You may have to avoid updating the official distribution of the rhino package for a while, atleast until a version newer than 1.6R5-0ubuntu1 is released. Keep a copy of your re-packaged rhino .deb file because if you inadventently do update, then remove/purge the update and install the re-packaged .deb is required.
Hope this helps :D