gridengine build cannot find libjvm on armhf (but could previously)
Hello, Java team,
gridengine used to build successfully with java 8 on armhf, but doesn't
anymore, claiming it now (as of at least a month ago) can't find libjvm [1]:
```
[java] Total time: 7 minutes 18 seconds
[java] [exec] cc -o jgdi_test -L. -Wl,-z,relro -rdynamic
-Wl,-rpath,\$ORIGIN/../../lib/lx-armhf
-L/usr/lib/jvm/default-java/jre/lib/arm/server jgdi_test.o -ljvm
libuti.a libcommlists.a -lm -lpthread
[java] [exec] ../libs/jgdi/Makefile:77: recipe for target
'jgdi_test' failed
[java] [exec] make[2]: Leaving directory
'/<<BUILDDIR>>/gridengine-8.1.9+dfsg/source/LINUXARMHF'
[java] [exec] not done
[java] [exec] /usr/bin/ld: cannot find -ljvm
[java] [exec] collect2: error: ld returned 1 exit status
```
This is strange to me because
`-L/usr/lib/jvm/default-java/jre/lib/arm/server` is passed and
`libjvm.so` is indeed in there [2]:
```
...
/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm/server/libjvm.so
....
```
I only see this problem on armhf. I made a minor upload today (to update
VCS fields) and the problem still exists. I'm not sure what's going on
and would appreciate if someone could take a look, as this is an issue
that will prevent testing migration.
Many thanks and regards
Afif
1.
https://buildd.debian.org/status/fetch.php?pkg=gridengine&arch=armhf&ver=8.1.9%2Bdfsg-7&stamp=1514361983&raw=0
2. https://packages.debian.org/sid/armhf/openjdk-8-jre-headless/filelist
--
Afif Elghraoui | عفيف الغراوي
http://afif.ghraoui.name
Reply to: