!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

124 Members
26 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
16 Sep 2025
@tomodachi94:matrix.orgTomodachi94 (they/them)Maybe we move it back to staging again?23:33:52
@tomodachi94:matrix.orgTomodachi94 (they/them)Thank you for running that massive build btw!23:36:09
@emilazy:matrix.orgemilymight be because of unfree or insecure packages being enabled?23:56:44
17 Sep 2025
@msgilligan:matrix.orgmsgilligan I posted the results from aarch64-linux, Darwin is still running and may run for some time. 00:53:51
@tomodachi94:matrix.orgTomodachi94 (they/them)Feel free to cancel that, something is very wrong (500 failures)01:14:13
@tomodachi94:matrix.orgTomodachi94 (they/them)I suspect the packages are trying to build using the wrong Java (the JRE that is now included with Ant)01:14:49
@msgilligan:matrix.orgmsgilligan Cancelled. (It was in the middle of building swift-5.8) 01:15:38
@tomodachi94:matrix.orgTomodachi94 (they/them):blobcatwithitshandsonitshead:
Download :blobcatwithitshandsonitshead:
01:16:30
@tomodachi94:matrix.orgTomodachi94 (they/them)... apparently the Java used in builds must also be the same as the Java used to run Ant, which is annoying01:26:46
@tomodachi94:matrix.orgTomodachi94 (they/them)Maybe? Ant is weird01:28:32
@msgilligan:matrix.orgmsgilliganI haven't used Ant for 15 years, but that could be true.01:29:13
@tomodachi94:matrix.orgTomodachi94 (they/them)Side note: had no idea that Swift was in the dependency graph for Ant01:29:58
@msgilligan:matrix.orgmsgilligan
The wrapper scripts use the following environment variables (if set):

JAVACMD—full path of the Java executable. Use this to invoke a different JVM than JAVA_HOME/bin/java(.exe).
ANT_OPTS—command-line arguments that should be passed to the JVM. For example, you can define system properties or set the maximum Java heap size here.
ANT_ARGS—Ant command-line arguments. For example, set ANT_ARGS to point to a different logger, include a listener, and to include the -find flag.
Note: If you include -find in ANT_ARGS, you should include the name of the build file to find, even if the file is called build.xml.

01:31:31
@msgilligan:matrix.orgmsgilligan Looks like it defaults to JAVA_HOME unless you set JAVACMD 01:32:37
@tomodachi94:matrix.orgTomodachi94 (they/them)Hmm, maybe just setting JAVACMD not JAVA_HOME will work? I'll try it01:33:14
@msgilligan:matrix.orgmsgilligan Maybe the ant Nix package should work similar to Gradle where it runs with and builds with a default JDK but both can be overridden? (And maybe the defaults should be on the older side?) 01:35:46
@tomodachi94:matrix.orgTomodachi94 (they/them)Changing it to jdk8 worked out for fixing javacc, haven't tried others01:37:25
@tomodachi94:matrix.orgTomodachi94 (they/them)Seems to be working for others when I use jdk8 by default01:40:43

Show newer messages


Back to Room ListRoom Version: 6