Created attachment 203239 [details] Build failed log With --disable-dtrace build fine. One more question to this commit https://svnweb.freebsd.org/ports/head/java/openjdk11/Makefile?r1=497060&r2=497064: why alsa is mandatory dependency now? I planned to use it on headless vm instead of openjdk8 (not just now, but later for sure).
It looks like an obvious fix, but it will take a couple of hours to test.
Do you want to fix build with dtrace or just turn off it for arch i386? What about add option for DTRACE and for ALSA? I can make patch if you want - it's obvious patch.
A commit references this bug: Author: glewis Date: Fri Mar 29 15:41:07 UTC 2019 New revision: 497156 URL: https://svnweb.freebsd.org/changeset/ports/497156 Log: Temporarily disable DTRACE on i386 PR: 236876 Changes: head/java/openjdk11/Makefile
I tested a patch to fix the build and it interestingly doesn't seem to be working. It should just be changing the flags in JvmDtraceObjects.gmk for 32 bit platforms, but that isn't being picked up, so I'm looking into why. In the meantime I've turned it off for i386. I'm not interested in returning to the option spaghetti of openjdk8. If someone wanted to propose a -lite port that was headless and had other features turned off I'd be open to that. But a large number of options makes it difficult to test and update the port and also creates a lot of different combinations which may interact in unexpected ways.
A commit references this bug: Author: glewis Date: Fri Mar 29 17:06:21 UTC 2019 New revision: 497169 URL: https://svnweb.freebsd.org/changeset/ports/497169 Log: Fix DTrace support for 32 bit platforms and re-enable it. PR: 236876 Changes: head/java/openjdk11/Makefile head/java/openjdk11/files/patch-make_hotspot_lib_JvmDtraceObjects.gmk
Build without errors now. Thanks!