Subject: classpath 0.99 is broken on powerpc64le-linux

From: Maxim Cournoyer <[email-masked]>
Date: Fri, 29 Dec 2023 20:41:07 -0500

Hi,

>From a recent build of python-afdko on Berlin [0], we (surprisingly) see other dependencies
attempted to being built, and failing on [email-masked]:

--8<---------------cut here---------------start------------->8---
starting phase `build'
Making all in lib
make[1]: Entering directory '/tmp/guix-build-classpath-0.99.drv-0/classpath-0.99/lib'
/gnu/store/g3pv7a535y9h5dsvzv5zr669zzd1hx73-coreutils-9.1/bin/mkdir -p ../gnu/java/locale
true
../scripts/generate-locale-list.sh > ../gnu/java/locale/LocaleData.java
top_builddir=.. top_srcdir=.. /gnu/store/vza0n6gb01lbc9cgwx2hygvq15qiczn6-bash-minimal-5.1.16/bin/bash ./gen-classlist.sh standard
Adding java source files from srcdir '/tmp/guix-build-classpath-0.99.drv-0/classpath-0.99'.
Adding java source files from VM directory ../vm/reference
/gnu/store/bff343jc5jy8znpx596d0cmicdawhiwh-ecj-javac-wrapper-3.2.2/bin/javac  -J-Xmx768M -source 1.5 -target 1.5 -bootclasspath '' -classpath ../vm/reference:..:../external/w3c_dom:../external/sax:../external/relaxngDatatype:../external/jsr166:.:: -d . @classes
incorrect classpath: 
----------
1. ERROR in /tmp/guix-build-classpath-0.99.drv-0/classpath-0.99/sun/reflect/annotation/ExceptionProxy.java (at line 0)
	/* sun.reflect.annotation.ExceptionProxy
	^
Internal compiler error
java.lang.NullPointerException
   at org.eclipse.jdt.internal.compiler.parser.Scanner.getNextToken(Scanner.java:878)
   at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:8801)
   at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9062)
   at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9019)
   at org.eclipse.jdt.internal.compiler.parser.Parser.dietParse(Parser.java:7707)
   at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:371)
   at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:397)
   at org.eclipse.jdt.internal.compiler.batch.Main.performCompilation(Main.java:2697)
   at org.eclipse.jdt.internal.compiler.batch.Main.compile(Main.java:1272)
   at org.eclipse.jdt.internal.compiler.batch.Main.main(Main.java:1016)

----------
1 problem (1 error)touch compile-classes
touch resources
/gnu/store/0ms3kzd4acp3r8m2qf6dgxrnwgwm2wvc-fastjar-0.98/bin/fastjar cf glibj.zip gnu java javax org sun META-INF && /gnu/store/0ms3kzd4acp3r8m2qf6dgxrnwgwm2wvc-fastjar-0.98/bin/fastjar i glibj.zip
sun: No such file or directory
Error adding sun to jar archive!
make[1]: *** [Makefile:585: glibj.zip] Error 1
make[1]: Leaving directory '/tmp/guix-build-classpath-0.99.drv-0/classpath-0.99/lib'
make: *** [Makefile:421: all-recursive] Error 1
--8<---------------cut here---------------end--------------->8---

[0]  https://ci.guix.gnu.org/build/2921408/log/raw

-- 
Thanks,
Maxim