status of OpenJDK on Haiku

Humdinger humdingerb at googlemail.com
Thu Apr 26 16:26:14 UTC 2018


On Thursday, 26 April 2018 15:07:37 GMT+2, Mauro de Wit wrote:
> Do the haikuports buildbots even support cross compiling from Linux?

I don't think so.

> But if I understood correctly viable route (besides cross compiling) would
> be first fixing the OpenJDK 7 recipe and then the OpenJDK 8 recipe, right?

Hamish mentioning it being at HaikuDepot once, reminded me of the old 
location of the HaikuPorts repo (before the auto-buildbots get going). v1.7 
packages are indeed still there, see:
http://packages.haiku-os.org/haikuports/master/hpkg/

I installed openjdk_x86-1.7.u80_b32-3-x86_gcc2.hpkg and its _devel package.
Unfortunately, building the v1.8 recipe fails with:


Making 
/sources/hamishm-haiku-jdk8u-6e3a7c2446ea/build/haiku-x86-normal-server-release/hotspot/haiku_i486_compiler2/product/../generated/sa-jdi.jar
warning: [options] bootstrap class path not set in conjunction with -source 
1.6
/sources/hamishm-haiku-jdk8u-6e3a7c2446ea/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/win32/coff/COFFFileParser.java:290: 
error: error while writing 
COFFFileParser.COFFFileImpl.COFFHeaderImpl.OptionalHeaderStandardFieldsImpl: 
/sources/hamishm-haiku-jdk8u-6e3a7c2446ea/build/haiku-x86-normal-server-release/hotspot/haiku_i486_compiler2/product/../generated/saclasses/sun/jvm/hotspot/debugger/win32/coff/COFFFileParser$COFFFileImpl$COFFHeaderImpl$OptionalHeaderStandardFieldsImpl.class 
(File name too long)
      class OptionalHeaderStandardFieldsImpl implements 
OptionalHeaderStandardFields {
      ^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
1 warning
make[7]: *** 
[/sources/hamishm-haiku-jdk8u-6e3a7c2446ea/build/haiku-x86-normal-server-release/hotspot/haiku_i486_compiler2/product/../generated/sa-jdi.jar] 
Error 1
/sources/hamishm-haiku-jdk8u-6e3a7c2446ea/hotspot/make/haiku/makefiles/sa.make:70: 
recipe for target 
'/sources/hamishm-haiku-jdk8u-6e3a7c2446ea/build/haiku-x86-normal-server-release/hotspot/haiku_i486_compiler2/product/../generated/sa-jdi.jar' 
failed
/sources/hamishm-haiku-jdk8u-6e3a7c2446ea/hotspot/make/haiku/makefiles/sa.make:64: 
recipe for target 'all' failed
make[6]: *** [all] Error 2
/sources/hamishm-haiku-jdk8u-6e3a7c2446ea/hotspot/make/haiku/makefiles/top.make:103: 
recipe for target 'sa_stuff' failed
make[5]: *** [sa_stuff] Error 2
make[4]: *** [product] Error 2
/sources/hamishm-haiku-jdk8u-6e3a7c2446ea/hotspot/make/haiku/Makefile:293: 
recipe for target 'product' failed
Makefile:230: recipe for target 'generic_build2' failed
make[3]: *** [generic_build2] Error 2
make[2]: *** [product] Error 2
Makefile:177: recipe for target 'product' failed
HotspotWrapper.gmk:44: recipe for target 
'/sources/hamishm-haiku-jdk8u-6e3a7c2446ea/build/haiku-x86-normal-server-release/hotspot/_hotspot.timestamp' 
failed
make[1]: *** 
[/sources/hamishm-haiku-jdk8u-6e3a7c2446ea/build/haiku-x86-normal-server-release/hotspot/_hotspot.timestamp] 
Error 2
/sources/hamishm-haiku-jdk8u-6e3a7c2446ea//make/Main.gmk:108: recipe for 
target 'hotspot-only' failed
make: *** [hotspot-only] Error 2
Warning: Command '['bash', '-c', '. /wrapper-script']' returned non-zero 
exit status 2
Error: Build has failed - stopping.


So, "File name too long"?
 
-- 

Regards,
Humdinger

--
Meet up at BeGeistert 031 in Hamburg
Details at https://discuss.haiku-os.org/t/begeistert-031/6750

Help translating 3rd party Haiku applications
Go to http://i18n.kacperkasper.pl


More information about the haiku-port-dev mailing list