Hello! As discussed on IRC, I had a semi-victory with the attached patch, which works around a miscompilation issue in ‘Java_java_io_VMFile_isFile’. Unfortunately, with this patch applied, ‘ant-bootstrap’ fails to build with: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix build -e '(@@ (gnu packages java) ant-bootstrap)' -K […] ... Copying Required Files ... Building Ant Distribution Buildfile: /tmp/guix-build-ant-bootstrap-1.8.4.drv-0/apache-ant-1.8.4/build.xml BUILD FAILED Could not load the version information. Total time: 0 seconds ... Failed Building Ant Distribution ! error: in phase 'build': uncaught exception: %exception #<&invoke-error program: "bash" arguments: ("bootstrap.sh" "-Ddist.dir=/gnu/store/88qc3rkp3bc6qsf6gmknv51vprd3r8j4-ant-bootstrap-1.8.4") exit-status: 1 term-signal: #f stop-signal: #f> phase `build' failed after 0.8 seconds command "bash" "bootstrap.sh" "-Ddist.dir=/gnu/store/88qc3rkp3bc6qsf6gmknv51vprd3r8j4-ant-bootstrap-1.8.4" failed with status 1 --8<---------------cut here---------------end--------------->8--- The message “Could not load the version information.” indicates a NullPointerException in Main.java: --8<---------------cut here---------------start------------->8--- try { Properties props = new Properties(); InputStream in = Main.class.getResourceAsStream("/org/apache/tools/ant/version.txt"); props.load(in); // … } catch (NullPointerException npe) { throw new BuildException("Could not load the version information."); } --8<---------------cut here---------------end--------------->8--- Specifically, ‘in’ is null. ‘version.txt’ is looked for in /tmp/guix-build-ant-bootstrap-1.8.4.drv-0/apache-ant-1.8.4/build/classes/org/apache/tools/ant/version.txt but at this point it’s still in src/ only. My understanding is that the “build” target in ‘build.xml’ should copy it to build/classes/. Ideas? What a wonderful puzzle we have! :-) Thanks, Ludo’.