Package Details: lightzone 5.0.0beta2-2

Git Clone URL: https://aur.archlinux.org/lightzone.git (read-only, click to copy)
Package Base: lightzone
Description: Open-source professional-level digital darkroom software
Upstream URL: https://github.com/ktgw0316/LightZone/
Licenses: BSD-3-Clause
Conflicts: lightzone-git
Provides: lightzone
Submitter: N30N
Maintainer: ktgw0316
Last Packager: ktgw0316
Votes: 77
Popularity: 0.007427
First Submitted: 2007-10-16 22:44 (UTC)
Last Updated: 2024-10-17 03:57 (UTC)

Dependencies (20)

Required by (0)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

NicolaP commented on 2020-06-07 17:08 (UTC)

I've encoutered this exception:

[javac] ^ [javac] bad class file: /var/tmp/pamac-build-nicola/lightzone/src/LightZone-4.2.1/lightcrafts/lib/javafx-graphics-11.0.2-linux.jar(javafx/stage/FileChooser.class) [javac] class file has wrong version 54.0, should be 52.0 [javac] Please remove or make sure it appears in the correct subdirectory of the classpath.

BUILD FAILED /var/tmp/pamac-build-nicola/lightzone/src/LightZone-4.2.1/linux/build.xml:37: The following error occurred while executing this line: /var/tmp/pamac-build-nicola/lightzone/src/LightZone-4.2.1/lightcrafts/build.xml:88: Compile failed; see the compiler error output for details.

Total time: 4 seconds ==> ERRORE: Si è verificato un errore in build(). L'operazione sta per essere interrotta...

Could you help me?

AlexParkhomenko commented on 2020-04-10 11:03 (UTC) (edited on 2020-04-10 11:07 (UTC) by AlexParkhomenko)

Not going with different jdk. Please help me if you find a minute.

javac:
    [mkdir] Created dir: lightzone/src/LightZone-4.2.1/linux/build
    [mkdir] Created dir: lightzone/src/LightZone-4.2.1/linux/javah
    [javac] Compiling 5 source files to lightzone/src/LightZone-4.2.1/linux/build
    [javac] warning: Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.openide.filesystems.declmime.MIMEResolverProcessor' less than -source '11'
    [javac] warning: Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.openide.util.ServiceProviderProcessor' less than -source '11'
    [javac] warning: Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.openide.util.NamedServiceProcessor' less than -source '11'
    [javac] warning: Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.openide.util.NbBundleProcessor' less than -source '11'
    [javac] 4 warnings
    [javac] 
    [javac] 
    [javac] An annotation processor threw an uncaught exception.
    [javac] Consult the following stack trace for details.
    [javac] java.lang.IncompatibleClassChangeError: org.openide.util.NbBundle and org.openide.util.NbBundle$Messages disagree on InnerClasses attribute
    [javac]     at java.base/java.lang.Class.getDeclaringClass0(Native Method)
    [javac]     at java.base/java.lang.Class.getEnclosingClass(Class.java:1517)
    [javac]     at java.base/java.lang.Class.getCanonicalName0(Class.java:1625)
    [javac]     at java.base/java.lang.Class.getCanonicalName(Class.java:1610)
    [javac]     at org.netbeans.modules.openide.util.NbBundleProcessor.getSupportedAnnotationTypes(NbBundleProcessor.java:87)
    [javac]     at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.<init>(JavacProcessingEnvironment.java:691)
    [javac]     at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:786)
    [javac]     at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:881)
    [javac]     at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1222)
    [javac]     at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1334)
    [javac]     at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1258)
    [javac]     at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:936)
    [javac]     at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:311)
    [javac]     at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:170)
    [javac]     at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)
    [javac]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [javac]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    [javac]     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [javac]     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    [javac]     at org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:57)
    [javac]     at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1388)
    [javac]     at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:1117)
    [javac]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    [javac]     at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    [javac]     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [javac]     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    [javac]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
    [javac]     at org.apache.tools.ant.Task.perform(Task.java:350)
    [javac]     at org.apache.tools.ant.Target.execute(Target.java:449)
    [javac]     at org.apache.tools.ant.Target.performTasks(Target.java:470)
    [javac]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1391)
    [javac]     at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
    [javac]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [javac]     at org.apache.tools.ant.Project.executeTargets(Project.java:1254)
    [javac]     at org.apache.tools.ant.Main.runBuild(Main.java:830)
    [javac]     at org.apache.tools.ant.Main.startAnt(Main.java:223)
    [javac]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
    [javac]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)

BUILD FAILED
sudo -i archlinux-java status
Available Java environments:
  java-10-openjdk
  java-11-adoptopenjdk (default)
  java-11-openjdk
  java-13-openjdk
  java-7-openjdk
  java-8-openjdk

mstmob commented on 2020-04-10 08:08 (UTC)

Could you please update to 4.2.1 https://github.com/ktgw0316/LightZone/releases/tag/4.2.1

bartus commented on 2020-03-10 10:24 (UTC) (edited on 2020-03-10 10:31 (UTC) by bartus)

Missing dependency lensfun (upstream PKGBUILD)

git am < <(curl -s http://ix.io/2dSn)

tom commented on 2020-03-09 20:00 (UTC)

works!

thanks

but:

$ lightzone Starting LightZone version 4.2.0 ... with options : openjdk version "11.0.6" 2020-01-14 OpenJDK Runtime Environment (build 11.0.6+10) OpenJDK 64-Bit Server VM (build 11.0.6+10, mixed mode) XPath set is empty /usr/bin/lightzone: Zeile 78: -XX:MinHeapFreeRatio=30: Kommando nicht gefunden. This is LightZone 4.2.0 (85c1120) Running Java version 11.0.6 (amd64) Verifying Libraries Initializing Engine Utilities Max Memory: 8350859264 Total Memory: 262144000 Running on 4 processors Allocating 0MB for the image cachedObject. Loading Classes Scanning Color Profiles Restoring Preferences Starting Logging Scanning Saved Documents Opening... EventThread blocked for 2,006 seconds EventThread blocked for 4,010 seconds

tom commented on 2020-03-09 17:44 (UTC)

building from git gives me:

... [mkdir] Created dir: .cache/yay/lightzone/src/LightZone-4.2.0/lightcrafts/build [mkdir] Created dir:.cache/yay/lightzone/src/LightZone-4.2.0/lightcrafts/javah [javac] Compiling 1039 source files to .cache/yay/lightzone/src/LightZone-4.2.0/lightcrafts/build [javac] Support for javac --release has been added in Java9 ignoring it [javac] .cache/yay/lightzone/src/LightZone-4.2.0/lightcrafts/src/com/lightcrafts/utils/Lensfun.java:44: error: cannot find symbol [javac] .orElse(Path.of("")) [javac] ^ [javac] symbol: method of(String) [javac] location: interface Path [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 error

BUILD FAILED .cache/yay/lightzone/src/LightZone-4.2.0/linux/build.xml:37: The following error occurred while executing this line: .cache/yay/lightzone/src/LightZone-4.2.0/lightcrafts/build.xml:88: Compile failed; see the compiler error output for details.

Total time: 1 minute 35 seconds ==> FEHLER: Ein Fehler geschah in build(). Breche ab... Error making: lightzone

alexanderp commented on 2020-03-09 17:39 (UTC)

@tom, you've got the wrong version of java as default. This package lists java-runtime=11 as a runtime dependency and you've got java8 as default. See https://wiki.archlinux.org/index.php/Java#Switching_between_JVM

tom commented on 2020-03-09 16:41 (UTC)

$ lightzone Starting LightZone version 4.2.0 ... with options : openjdk version "1.8.0_242" OpenJDK Runtime Environment (build 1.8.0_242-b08) OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode) XPath set is empty /usr/bin/lightzone: Zeile 78: -XX:MinHeapFreeRatio=30: Kommando nicht gefunden. Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.UnsupportedClassVersionError: com/lightcrafts/platform/linux/LinuxLauncher has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:757) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:468) at java.net.URLClassLoader.access$100(URLClassLoader.java:74) at java.net.URLClassLoader$1.run(URLClassLoader.java:369) at java.net.URLClassLoader$1.run(URLClassLoader.java:363) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:362) at java.lang.ClassLoader.loadClass(ClassLoader.java:419) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) at java.lang.ClassLoader.loadClass(ClassLoader.java:352) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495)

alexanderp commented on 2020-03-08 22:55 (UTC)

@tom, I think you've got the wrong package, or attached an irrelevant build log.