!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

119 Members
26 Servers

Load older messages


SenderMessageTime
16 Sep 2025
@msgilligan:matrix.orgmsgilligan The PR is still tagged with 101-500 rebuilds on both Linux and Darwin. I'm trying to run nixpkgs-review on both aarch64-linux and aarch64-darwin and seeing large numbers of rebuilds on each (Darwin: 10/32/440 built, Linux: 2/67/1937 built) ljhazhiv91kphy8mzqga8w9pshfj99fk-sweethome3d-7.5.drv is failing on Darwin. 22:59:36
@msgilligan:matrix.orgmsgilliganI'm up to 3 failures on Darwin and 14 on Linux...23:10:01
@tomodachi94:matrix.orgTomodachi94 (they/them)Iirc there are a few failures for some dependencies of Ant that have been there forever, I should probably clean those up23:28:41
@tomodachi94:matrix.orgTomodachi94 (they/them)Once you've posted the log I'll take a look at the Hydra builds for the failing builds and file a new PR to mark them broken23:32:22
@tomodachi94:matrix.orgTomodachi94 (they/them) * 23:32:45
@tomodachi94:matrix.orgTomodachi94 (they/them) * 23:33:04
@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
@tomodachi94:matrix.orgTomodachi94 (they/them)

Other ant PRs of mine that could use some love and are less weird than this one:

  • https://github.com/NixOS/nixpkgs/pull/357162
  • https://github.com/NixOS/nixpkgs/pull/357162 (fixing the merge conflicts)
01:53:29
@msgilligan:matrix.orgmsgilliganThe second bulleted item links to the same PR as the first.02:26:30
@msgilligan:matrix.orgmsgilliganI asked for one minor change to 357162.02:26:54
@msgilligan:matrix.orgmsgilliganAnd once 443476 one is merged, we can remove Oracle GraalVM 24: https://github.com/NixOS/nixpkgs/pull/44363403:11:23
@tomodachi94:matrix.orgTomodachi94 (they/them)Oops, my bad. Here's the right one: https://github.com/NixOS/nixpkgs/pull/35913703:41:10
@tomodachi94:matrix.orgTomodachi94 (they/them)(And a bunch of good reasons for doing this: https://github.com/NixOS/nixpkgs/issues/357758)03:41:55

Show newer messages


Back to Room ListRoom Version: 6