!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

122 Members
27 Servers

Load older messages


SenderMessageTime
25 Nov 2024
@fliegendewurst:matrix.orgFliegendeWurst

Did anyone see this kind of build failure for openjdk8 before?

zip I/O error: No such file or directory
zip error: Could not create output file (was replacing the original zip file)
make[2]: *** [CreateJars.gmk:659: /build/source/build/linux-x86_64-normal-server-release/images/src.zip] Error 1

(it occurs on the staging branch)

11:49:00
@emilazy:matrix.orgemilyyou're probably just gonna have to bisect it11:50:30
@emilazy:matrix.orgemily have you tested with .override { stdenv = gcc13Stdenv; } though? 11:50:37
@fliegendewurst:matrix.orgFliegendeWurst
In reply to @emilazy:matrix.org
have you tested with .override { stdenv = gcc13Stdenv; } though?
yes, same error
14:02:44
@emilazy:matrix.orgemilyexcitin14:02:59
@emilazy:matrix.orgemily * exciting14:03:00
@emilazy:matrix.orgemilywas the zip package touched?14:03:07
@fliegendewurst:matrix.orgFliegendeWurstin May14:03:32
@emilazy:matrix.orgemilyhm14:04:21
@emilazy:matrix.orgemilyit might be bisect time :)14:04:23
@emilazy:matrix.orgemily git bisect start --first-parent staging && git bisect run nix build -f . openjdk8, say 14:05:00
@emilazy:matrix.orgemily(and be prepared to skip commits…)14:05:10
@fliegendewurst:matrix.orgFliegendeWurstyeah, but it will be a bit annoying for me. I built my prev. staging iterations with strictDepsByDefault14:05:55
@fliegendewurst:matrix.orgFliegendeWurstso I either constantly backport those fixes, or rebuild everything without the setting14:06:08
@fliegendewurst:matrix.orgFliegendeWurstthen again, a bisect on staging will rebuild everything very often anyway14:06:19
@emilazy:matrix.orgemily are there strictDeps fixes in the pipeline? :) 14:06:46
@emilazy:matrix.orgemilyor already merged?14:06:48
@fliegendewurst:matrix.orgFliegendeWurstyes https://github.com/NixOS/nixpkgs/pull/355844 not merged14:07:00
@fliegendewurst:matrix.orgFliegendeWurstsome are a bit fishy, like including wayland-scanner in buildInputs only to please the ./configure script14:07:56
@emilazy:matrix.orgemily anyway, it's not that bad, since bisection is O(log n) 14:07:57
@fliegendewurst:matrix.orgFliegendeWurstoh good news!14:09:17
@fliegendewurst:matrix.orgFliegendeWurst jdk8.override { stdenv = gcc13Stdenv; zip = zip.override { stdenv = gcc13Stdenv; }; } builds 14:09:19
@fliegendewurst:matrix.orgFliegendeWurst(I bet you could remove the first override)14:09:30
@emilazy:matrix.orgemilyoh wonderful14:16:44
@emilazy:matrix.orgemilyit's probably exposing some UB14:16:51
@emilazy:matrix.orgemilycheck Arch/Fedora/Gentoo/… for patches14:17:09
@chayleaf:matrix.pavluk.orgchayleaf
In reply to @tomodachi94:matrix.org
Wondering if we should drop the programs.java NixOS module, since it's impure and only has two in-tree consumers (packages should make a wrapper that calls jdk/jre, developers should be using devShells)
it doesn't seem completely useless as it also sets JAVA_HOME (adding Java to environment.systemPackages does seem like something you'd want to do sometimes), but imo if we were to remove it it's better to start by deprecating or completely removing the binfmt part and seeing if anyone complains, as it's the only non-trivial part of the module
16:31:36
@tomodachi94:matrix.orgTomodachi94 (they/them)
In reply to@tomodachi94:matrix.org
More information about my plans to rip out ant-contrib from the main ant package: https://github.com/NixOS/nixpkgs/issues/357758
....all of these packages still build if I rip out ant-contrib, even though some of them definitely have targets that use its tasks
19:08:00
@tomodachi94:matrix.orgTomodachi94 (they/them) Source for the latter: rg -Lz --glob "build.xml" '<(foreach|antcallback|antfetch|assert|foreach|for|if|outoutdate|runtarget|switch|throw|timestampselector|trycatch|post|stopwatch|osfamily|shellscript|math|propertycopy|propertyselector|pathtofileset|propertyregex|sortlist|urlencode|var|forget|limit|compilewithwalls|antclipse|inifile|verifydesign)\b' | less 19:09:00
@tomodachi94:matrix.orgTomodachi94 (they/them) Source for the latter: rg -Lz --glob "build.xml" '<(foreach|antcallback|antfetch|assert|foreach|for|if|outoutdate|runtarget|switch|throw|timestampselector|trycatch|post|stopwatch|osfamily|shellscript|math|propertycopy|propertyselector|pathtofileset|propertyregex|sortlist|urlencode|var|forget|limit|compilewithwalls|antclipse|inifile|verifydesign)\b' | less over all srcs of Ant dependents 19:09:24

Show newer messages


Back to Room ListRoom Version: 6