Package Details: turbovnc 2.2.6-2

Git Clone URL: https://aur.archlinux.org/turbovnc.git (read-only, click to copy)
Package Base: turbovnc
Description: An optimized version of TightVNC
Upstream URL: http://www.turbovnc.org/
Licenses: GPL
Conflicts: tigervnc, tigervnc-svn, tightvnc, turbovnc-bin
Replaces: turbovnc-bin
Submitter: kfgz
Maintainer: hcartiaux (mrmangosir)
Last Packager: hcartiaux
Votes: 26
Popularity: 0.000016
First Submitted: 2013-06-03 18:29
Last Updated: 2021-03-25 09:23

Dependencies (9)

Required by (0)

Sources (2)

Latest Comments

1 2 3 4 5 Next › Last »

malcolm commented on 2021-12-17 12:59

Is the build broken? This is what is displayed to me https://paste.rs/t2A

dklymenk commented on 2021-06-18 08:31

@ozz

Thanks. I've just checked and I was indeed missing the jdk-openjdk package. It's weird that is a required dependency, but wasn't pulled automatically. Also the comments below mentioning that you need to do archlinux-java set java-13-j9 are no longer true - the package build successfully with java-16-openjdk.

ozz commented on 2021-06-12 23:25

@dklymenk

The build seems to get confused if you have multiple versions of the JDK installed. I had to look through the packages installed (pacman -Qs java) and remove a bunch of various versions until I was left with just one version. Once I did that the build still didn't work because it couldn't find the JDK so even though I already had it installed I had to reinstall just the one I wanted (jdk-openjdk and jre-openjdk). Finally it would build.

dklymenk commented on 2021-06-06 09:32

I have an issue similar to one @angelv had:

/home/dklymenk/.cache/yay/turbovnc/src/turbovnc-2.2.6/java/com/turbovnc/rfb/TightDecoder.java:599: error: cannot access TJDecompressor
  private TJDecompressor tjd;
          ^
  bad class file: /usr/share/java/turbojpeg.jar(/org/libjpegturbo/turbojpeg/TJDecompressor.class)
    class file has wrong version 59.0, should be 57.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
...

Here is the output of java --version:

$ java --version
openjdk 13.0.2 2020-01-14
OpenJDK Runtime Environment AdoptOpenJDK (build 13.0.2+8)
Eclipse OpenJ9 VM AdoptOpenJDK (build openj9-0.18.0, JRE 13 Linux amd64-64-Bit Compressed References 20200117_151 (JIT enabled, AOT enabled)
OpenJ9   - 6968c18d7
OMR      - 7a1b0239a
JCL      - 9c5a41bd5f based on jdk-13.0.2+8)

I'm am using jdk13-openj9-bin package as suggested by @patryk.

How does one troubleshoot this further?

angelv commented on 2021-03-25 10:52

@hcartiaux all good now, thanks

hcartiaux commented on 2021-03-25 09:21

@angelv, libjpeg-turbo requires java-runtime>11, I will update the PKGBUILD.

angelv commented on 2021-03-24 17:52

With java-8-openjdk, when I try to install the new (2.2.6) version I get the following error (it was compiling OK with previous (2.2.5) version. Should I upgrade the jdk version?

/rfb/TightDecoder.java:599: error: cannot access TJDecompressor private TJDecompressor tjd; ^ bad class file: /usr/share/java/turbojpeg.jar(org/libjpegturbo/turbojpeg/TJDecompressor.class) class file has wrong version 58.0, should be 52.0

patryk commented on 2020-12-21 10:28

I have had a problem with compilation because of jre14. Currently working solution is the installation of jdk13-openj9-bin and execute command archlinux-java set java-13-j9. When you force compilation with jre14 by hand then vncviewer generate many error logs.

AsmundEr commented on 2020-04-10 20:27

I can't get the Sourceforge download to work correctly anymore. Maybe they changed something?

But the project also hosts releases on Github, so perhaps it's better to get the tarball from there? Current one:

https://github.com/TurboVNC/turbovnc/archive/2.2.4.tar.gz

Edit: strangely enough, I encounter this problem only on one machine. Maybe our corporate domain blocks Sourceforge or something like this.

Markus00000 commented on 2019-06-25 15:12

If you get this error:

CMake Error at /usr/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find Java (missing: Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE
  Java_JAVAH_EXECUTABLE Java_JAVADOC_EXECUTABLE) (found version "1.8.0_222")
Call Stack (most recent call first):
  /usr/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.14/Modules/FindJava.cmake:332 (find_package_handle_standard_args)
  java/CMakeLists.txt:1 (find_package)

Check the default Java environment:

$ archlinux-java status

Then set it to a compatible one:

# archlinux-java set java-13-openjdk