diff options
| author | Ronald Klop <ronald@FreeBSD.org> | 2025-09-11 10:53:58 +0200 |
|---|---|---|
| committer | Ronald Klop <ronald@FreeBSD.org> | 2025-09-11 11:05:52 +0200 |
| commit | fa96c62b2e3cacce280053fda46dedd8b84a1018 (patch) | |
| tree | 942e5a35c5da1cd2e96b31f9c1b4c3bbf5efd49b /java/openjdk17 | |
| parent | security/p5-GSSAPI: Fix build on 16-CURRENT and 15-STABLE with MIT KRB5 (diff) | |
java/openjdk17: try to fix the flapping build
Build is flapping.
The error that pops up is similar to this, but the filename can change:
nm: 'abstractCompiler.o': Invalid argument
Sometimes the build runs fine and I can't reproduce the failure locally
on a 4-CPU RPI4.
If this stabalizes the build for openjdk17 I will apply it to other
openjdk* ports too.
Mind that openjdk23 and -24 already have this change and don't seem to fail.
Bumped portrevision so I can easily see if future failures use this change
or not.
Reported by: https://portsfallout.com/fallout?port=java%2Fopenjdk17%24
Reviewed by: https://lists.freebsd.org/archives/freebsd-java/2025-September/003296.html
Diffstat (limited to 'java/openjdk17')
| -rw-r--r-- | java/openjdk17/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/openjdk17/Makefile b/java/openjdk17/Makefile index 5cb25e6aee72..9549ff9b0984 100644 --- a/java/openjdk17/Makefile +++ b/java/openjdk17/Makefile @@ -1,6 +1,7 @@ PORTNAME= openjdk DISTVERSIONPREFIX= jdk- DISTVERSION= ${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION} +PORTREVISION= 1 CATEGORIES= java devel PKGNAMESUFFIX?= ${JDK_MAJOR_VERSION} @@ -38,7 +39,6 @@ GH_PROJECT= jdk17u NO_CCACHE= yes -_MAKE_JOBS= # MAKE_ENV= LANG="C" \ LC_ALL="C" \ CLASSPATH="" \ @@ -48,6 +48,7 @@ MAKE_ENV= LANG="C" \ CXX=${CXX} \ CPP=${CPP} \ MAKEFLAGS="" +MAKE_JOBS_UNSAFE= yes JDK_OSARCH= bsd-${ARCH:S/amd64/x86_64/:S/i386/x86/:S/powerpc64/ppc64/} JDK_BUILDDIR= ${WRKSRC}/build/${JDK_OSARCH}-${JDK_BUILD_JVM}-${JDK_BUILD_TYPE} |
