FS#42595 - [unifi] Installation dependencies (CUPS)
Attached to Project:
Community Packages
Opened by Daniel Müller (Ellric) - Wednesday, 29 October 2014, 10:41 GMT
Last edited by Sébastien Luttringer (seblu) - Sunday, 14 December 2014, 01:02 GMT
Opened by Daniel Müller (Ellric) - Wednesday, 29 October 2014, 10:41 GMT
Last edited by Sébastien Luttringer (seblu) - Sunday, 14 December 2014, 01:02 GMT
|
Details
Description:
I Installed the unifi package (Version 3.2.5-1) I started the service with systemctl start unifi. After a couple of seconds the service died. After looking through the journal I discovered that java needed a shared lib (cups) which was not installed on my system and not requested during the installation of the unifi package. the installation of cups (and its dependencies) resolved the error and the unifi controller started as expected. Additional info: * 3.2.5-1 * Oct 29 11:09:32 hostname java[9591]: Caused by: java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-7-openjdk/jre/lib/amd64/headless/libmawt.so: libcups.so.2: cannot open shared object file: No such f Steps to reproduce: Install unifi package (3.2.5-1) (pacman -S unifi) on a system where cups is not installed start unifi (systemctl start unifi) check logs after a couple of seconds (journalctl -> scroll to end) |
This task depends upon
Closed by Sébastien Luttringer (seblu)
Sunday, 14 December 2014, 01:02 GMT
Reason for closing: Fixed
Additional comments about closing: jre7-openjdk-headless 7.u71_2.5.3-3
Sunday, 14 December 2014, 01:02 GMT
Reason for closing: Fixed
Additional comments about closing: jre7-openjdk-headless 7.u71_2.5.3-3
I see a lot of issues on the web about this (on Arch Linux and others and for different Java apps):
https://bugs.gentoo.org/show_bug.cgi?id=486042
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2012-September/020230.html
http://openeye.openmods.info/crashes/6cca6aebc088731492c11f583c06efd9
https://github.com/webbukkit/dynmap/issues/987
https://stackoverflow.com/questions/20158630/android-studio-wont-start-on-linux-complaining-about-libcups
https://aur.archlinux.org/packages/sp/splitter/PKGBUILD
Also it seems IcedTea project (which we use to build our OpenJDK7) is aware of the strong dependency on libcups:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=877
So I would be in favor of adding "libcups" as a makedepends and depends for jre7-openjdk-headless.