Public bug reported:

[Impact]

The libclosure-compiler-java package in trusty (20130227+dfsg1-4) cannot
be installed within a container due to a dependency on jarwrapper,

Setting up jarwrapper (0.45ubuntu1) ...
update-binfmts: warning: unable to open /proc/sys/fs/binfmt_misc/status for 
writing: Permission denied
update-binfmts: warning: unable to open /proc/sys/fs/binfmt_misc/register for 
writing: Permission denied
update-binfmts: warning: unable to enable binary format jarwrapper
update-binfmts: exiting due to previous errors
dpkg: error processing package jarwrapper (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of libclosure-compiler-java:
 libclosure-compiler-java depends on jarwrapper; however:
  Package jarwrapper is not configured yet.

dpkg: error processing package libclosure-compiler-java (--configure):
 dependency problems - leaving unconfigured

This was fixed in the next Debian release (20130227+dfsg1-5) by
replacing the “clever” symlink /usr/bin/closure-compiler ->
/usr/share/java/closure-compiler.jar (relying on the kernel’s
binfmt_misc functionality) with a wrapper script that invokes
/usr/bin/java explicitly. In fact, the necessary wrapper script is
already present in the source package; it need only be installed.

[Test Case]

‘apt-get install libclosure-compiler-java’ inside a trusty LXC
container.

[Regression Potential]

If the user had modified the binfmt_misc configuration for jar files
from the one provided by jarwrapper, the wrapper script might run
closure-compiler under a different JRE than binfmt_misc. Even if so,
this seems unlikely to be a problem.

** Affects: closure-compiler (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: closure-compiler (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: trusty

** Bug watch added: Debian Bug tracker #734011
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734011

** Also affects: closure-compiler (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734011
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1497836

Title:
  Cannot install closure-compiler in a trusty container

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/closure-compiler/+bug/1497836/+subscriptions

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

Reply via email to