Reopen bug #608540, guacamole > 1.1.0 is support freerdp 2.2.x Reproducible: Always
Created attachment 671023 [details] Guacamole-1.2.0 Update ebuild for guacamole 1.2.0 + Update to EAPI 7 + Support for webp + Disable guacnec for now + Require ghostscritp-gpl without X (for printing) + Create spool for sync files between connections + Update docs's Urls + Remove old einfo + Remove dependencies for Server SQL (the server can in other servers) + Require Tomcat 8.5 + Default configuration of guacamole.properties + Simplify directory installation + Change name to guacamole-client + Remove dead deps ( dev-java/jdbc-mysql ) TODO: + MS SQL server + Include new Auths (DOU, TOTP, OPENID and CAS) + Migrate to the new system of users acct-group / acct-user + Support for Kubernetes
https://guacamole.apache.org/releases/ It's 1.5.3 now. Hopefully it's just a renaming of the .ebuild file.
Changes required now include: Rename to -1.5.3. EAPI=8 SRC_URI="http://archive.apache.org/dist/guacamole/${PV}/source/${P}.tar.gz" remove "inherit eutils" The server builds fine, but the client does not. It's getting errors building, probably due to Maven. I don't know much about Java, but someone else might be able to fix this: >>> Compiling source in /var/tmp/portage/www-apps/guacamole-client-1.5.3/work/guacamole-client-1.5.3 ... * ACCESS DENIED: mkdir: /var/lib/portage/home/.m2 * ACCESS DENIED: mkdir: /var/lib/portage/home/.m2 [ERROR] Could not create local repository at /var/lib/portage/home/.m2/repository -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LocalRepositoryNotAccessibleException >>> Source compiled. * ----------------------- SANDBOX ACCESS VIOLATION SUMMARY ----------------------- * LOG FILE: "/var/tmp/portage/www-apps/guacamole-client-1.5.3/temp/sandbox.log" * VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: mkdir S: deny P: /var/lib/portage/home/.m2 A: /var/lib/portage/home/.m2 R: /var/lib/portage/home/.m2 C: /etc/java-config-2/current-system-vm/bin/java -classpath /usr/share/maven-bin-3.9/boot/plexus-classworlds-2.7.0.jar -Dclassworlds.conf=/usr/share/maven-bin-3.9/bin/m2.conf -Dmaven.home=/usr/share/maven-bin-3.9 -Dlibrary.jansi.path=/usr/share/maven-bin-3.9/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/var/tmp/portage/www-apps/guacamole-client-1.5.3/work/guacamole-client-1.5.3 org.codehaus.plexus.classworlds.launcher.Launcher package -Drat.skip=true F: mkdir S: deny P: /var/lib/portage/home/.m2 A: /var/lib/portage/home/.m2 R: /var/lib/portage/home/.m2 C: /etc/java-config-2/current-system-vm/bin/java -classpath /usr/share/maven-bin-3.9/boot/plexus-classworlds-2.7.0.jar -Dclassworlds.conf=/usr/share/maven-bin-3.9/bin/m2.conf -Dmaven.home=/usr/share/maven-bin-3.9 -Dlibrary.jansi.path=/usr/share/maven-bin-3.9/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/var/tmp/portage/www-apps/guacamole-client-1.5.3/work/guacamole-client-1.5.3 org.codehaus.plexus.classworlds.launcher.Launcher package -Drat.skip=true
(In reply to Preston Crow from comment #3) > Changes required now include: > Rename to -1.5.3. > EAPI=8 > SRC_URI="http://archive.apache.org/dist/guacamole/${PV}/source/${P}.tar.gz" > [...] Guess it should be split in two packages, according to https://archive.apache.org/dist/guacamole/1.5.3/source/guacamole-client-1.5.3.tar.gz https://archive.apache.org/dist/guacamole/1.5.3/source/guacamole-server-1.5.3.tar.gz
(In reply to Volkmar W. Pogatzki from comment #4) > Guess it should be split in two packages, according to > https://archive.apache.org/dist/guacamole/1.5.3/source/guacamole-client-1.5. > 3.tar.gz > https://archive.apache.org/dist/guacamole/1.5.3/source/guacamole-server-1.5. > 3.tar.gz Yes, it is split into two packages. The zip file for 1.2.0 is actually four ebuilds: user and group accounts, client, and server. The zip file doesn't specify where the client and server go, but I'm using net-misc/guacamole-server and www-apps/guacamole-client. I'm able to install the server just fine at 1.5.3. I have an older installation of 1.1.0 from essentially the same ebuilds, and the 1.1.0 web client works with the 1.5.3 server, but I hit the above errors (comment 3) trying to upgrade the client. I also hit those trying to build older versions, including 1.1.0 that installed some time in the past. This suggests that the ebuild broke due to some other package upgrades I've done at some point (since June 2020).
Thanks for the pointer to the inode64-overlay. That's much improved, but still not perfect. I have several java-vms installed. If I have the system java-vm selected as openjdk-bin-11, it's happy. If I have -17 selected, the build fails with warnings about a deprecated feature with -Werror promoting those to build failures. [WARNING] /var/tmp/portage/www-apps/guacamole-client-1.5.3/work/guacamole-client-1.5.3/guacamole/src/main/java/org/apache/guacamole/extension/ExtensionClassLoader.java:[32,20] [removal] AccessController in java.security has been deprecated and marked for removal That looks like an upstream bug. I'm mostly posting here now so that anyone who searches on it knows the workaround: eselect java-vm list eselect java-vm set system [version that works]
Yes, at the moment it is only compatible with a maximum of Java 11, with the new version of Guacamole 1.5.4 it will be compatible with Java 17 See: https://github.com/apache/guacamole-client/pull/916 https://github.com/apache/guacamole-client/commit/557a62a16b48ff84e0cc0ebbbe2ba5403e855566
I have updated with the latest version of guacamole, but I have not been able to get it to work with Java 17 :-(