Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package java-17-openj9 for openSUSE:Factory checked in at 2025-07-27 16:27:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/java-17-openj9 (Old) and /work/SRC/openSUSE:Factory/.java-17-openj9.new.13279 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "java-17-openj9" Sun Jul 27 16:27:09 2025 rev:21 rq:1295918 version:17.0.16.0 Changes: -------- --- /work/SRC/openSUSE:Factory/java-17-openj9/java-17-openj9.changes 2025-06-18 16:01:20.265069533 +0200 +++ /work/SRC/openSUSE:Factory/.java-17-openj9.new.13279/java-17-openj9.changes 2025-07-27 16:27:21.312442026 +0200 @@ -1,0 +2,29 @@ +Sat Jul 26 20:54:18 UTC 2025 - Fridrich Strba <fst...@suse.com> + +- Update to OpenJDK 17.0.16 with OpenJ9 0.53.0 virtual machine +- Including Oracle July 2025 CPU changes + * CVE-2025-30749 (bsc#1246595), CVE-2025-30754 (bsc#1246598), + CVE-2025-50059 (bsc#1246575), CVE-2025-50106 (bsc#1246584) + * OpenJ9 changes, see + https://www.eclipse.org/openj9/docs/version0.53/ +- Removed patches: + * fix-build-with-gcc15.patch + * libdwarf-fix.patch + * openj9-noexecstack.patch + * stringop-overflow.patch + + fixed in this version +- Modified patches: + * openj9-nogit.patch.in + * openssl-OSSL_LIB_CTX.patch + + rediff to changed context +- Added patch: + * bootcycle.patch + + fix bootcycle-images target +- Enable bootcycle build + +------------------------------------------------------------------- +Mon Jul 21 10:59:48 UTC 2025 - Fridrich Strba <fst...@suse.com> + +- Do not embed rebuild counter (bsc#1246806) + +------------------------------------------------------------------- Old: ---- 31cf5538b0a4875a2310e917a80bb16c81065d3c.zip 9bcff94a2a0f12baeac8f5d098b597e8ea076b67.zip d3deabff95c27dabda38118aba9041eb2406bda7.zip fix-build-with-gcc15.patch libdwarf-fix.patch openj9-noexecstack.patch stringop-overflow.patch New: ---- 017819f167cbcedd175a3f20e1112992bf4ecc1e.zip 266a8c6f5b6d202e4aaa09e19ce0d956605f27fd.zip 34b4be01e57751ebe966db36c72fd2af11d00736.zip bootcycle.patch ----------(Old B)---------- Old:- Removed patches: * fix-build-with-gcc15.patch * libdwarf-fix.patch Old: * fix-build-with-gcc15.patch * libdwarf-fix.patch * openj9-noexecstack.patch Old: * libdwarf-fix.patch * openj9-noexecstack.patch * stringop-overflow.patch Old: * openj9-noexecstack.patch * stringop-overflow.patch + fixed in this version ----------(Old E)---------- ----------(New B)---------- New:- Added patch: * bootcycle.patch + fix bootcycle-images target ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ java-17-openj9.spec ++++++ --- /var/tmp/diff_new_pack.xjF7lq/_old 2025-07-27 16:27:23.960551318 +0200 +++ /var/tmp/diff_new_pack.xjF7lq/_new 2025-07-27 16:27:23.960551318 +0200 @@ -31,18 +31,18 @@ # Standard JPackage naming and versioning defines. %global featurever 17 %global interimver 0 -%global updatever 15 -%global buildver 6 +%global updatever 16 +%global buildver 8 %global root_repository https://github.com/ibmruntimes/openj9-openjdk-jdk17/archive -%global root_revision d3deabff95c27dabda38118aba9041eb2406bda7 -%global root_branch v0.51.0-release +%global root_revision 34b4be01e57751ebe966db36c72fd2af11d00736 +%global root_branch v0.53.0-release %global omr_repository https://github.com/eclipse/openj9-omr/archive -%global omr_revision 9bcff94a2a0f12baeac8f5d098b597e8ea076b67 -%global omr_branch v0.51.0-release +%global omr_revision 266a8c6f5b6d202e4aaa09e19ce0d956605f27fd +%global omr_branch v0.53.0-release %global openj9_repository https://github.com/eclipse/openj9/archive -%global openj9_revision 31cf5538b0a4875a2310e917a80bb16c81065d3c -%global openj9_branch v0.51.0-release -%global openj9_tag openj9-0.51.0 +%global openj9_revision 017819f167cbcedd175a3f20e1112992bf4ecc1e +%global openj9_branch v0.53.0-release +%global openj9_tag openj9-0.53.0 # priority must be 6 digits in total %if 0%{?suse_version} > 1500 || 0%{?java_bootstrap} %global priority 2701 @@ -63,12 +63,13 @@ %global cacerts %{_jvmdir}/%{sdkdir}/lib/security/cacerts # real file made by update-ca-certificates %global javacacerts %{_var}/lib/ca-certificates/java-cacerts -%global bootcycle 0 +%global bootcycle 1 %if %{debug} %global debugbuild slowdebug %else %global debugbuild release %endif +%global docsdir build/%{debugbuild}/images %if %{bootcycle} %global imagesdir build/%{debugbuild}/bootcycle-build/images %global imagestarget bootcycle-images @@ -108,31 +109,26 @@ Source100: openj9-nogit.patch.in Source1000: %{name}-rpmlintrc # Restrict access to java-atk-wrapper classes -Patch3: java-atk-wrapper-security.patch -# Allow building with newer libdwarf -Patch4: libdwarf-fix.patch +Patch1: java-atk-wrapper-security.patch # Allow multiple initialization of PKCS11 libraries -Patch5: multiple-pkcs11-library-init.patch +Patch2: multiple-pkcs11-library-init.patch # Fix build with older version of openssl -Patch6: openssl-OSSL_LIB_CTX.patch -Patch7: openj9-openssl.patch -Patch8: openj9-noexecstack.patch +Patch3: openssl-OSSL_LIB_CTX.patch +Patch4: openj9-openssl.patch # Fix: implicit-pointer-decl -Patch13: implicit-pointer-decl.patch +Patch5: implicit-pointer-decl.patch # -Patch15: system-pcsclite.patch +Patch10: system-pcsclite.patch # Patch20: loadAssistiveTechnologies.patch # -Patch31: aarch64.patch -# -Patch32: stringop-overflow.patch -# Fix an error with gcc 15 -Patch33: fix-build-with-gcc15.patch +Patch30: aarch64.patch # # OpenJDK specific patches # -Patch302: disable-doclint-by-default.patch +Patch300: disable-doclint-by-default.patch +# +Patch400: bootcycle.patch # BuildRequires: alsa-lib-devel BuildRequires: autoconf @@ -361,25 +357,23 @@ rm -rvf src/java.desktop/share/native/liblcms/cms* rm -rvf src/java.desktop/share/native/liblcms/lcms2* +%patch -P 1 -p1 +%patch -P 2 -p1 %patch -P 3 -p1 %patch -P 4 -p1 %patch -P 5 -p1 -%patch -P 6 -p1 -%patch -P 7 -p1 -%patch -P 8 -p1 -%patch -P 13 -p1 %if %{with_system_pcsc} -%patch -P 15 -p1 +%patch -P 10 -p1 %endif %patch -P 20 -p1 -%patch -P 31 -p1 -%patch -P 32 -p1 -%patch -P 33 -p1 +%patch -P 30 -p1 + +%patch -P 300 -p1 -%patch -P 302 -p1 +%patch -P 400 -p1 cat %{SOURCE100} \ | sed "s/@OPENJ9_SHA@/`expr substr '%{openj9_revision}' 1 7`/g" \ @@ -422,7 +416,7 @@ --with-extra-cflags="$EXTRA_CFLAGS" \ --with-extra-cxxflags="$EXTRA_CPP_FLAGS" \ --with-version-pre="" \ - --with-version-opt="suse-%{release}-%{_arch}" \ + --with-version-opt="suse-%{suse_version}-%{_arch}" \ --disable-warnings-as-errors \ --disable-warnings-as-errors-omr \ --disable-warnings-as-errors-openj9 \ @@ -525,6 +519,10 @@ # Install jmods cp -a jmods %{buildroot}%{_jvmdir}/%{sdkdir} +popd + +pushd %{docsdir} + # Install Javadoc documentation. install -d -m 755 %{buildroot}%{_javadocdir} cp -a docs %{buildroot}%{_javadocdir}/%{sdklnk} ++++++ 31cf5538b0a4875a2310e917a80bb16c81065d3c.zip -> 017819f167cbcedd175a3f20e1112992bf4ecc1e.zip ++++++ /work/SRC/openSUSE:Factory/java-17-openj9/31cf5538b0a4875a2310e917a80bb16c81065d3c.zip /work/SRC/openSUSE:Factory/.java-17-openj9.new.13279/017819f167cbcedd175a3f20e1112992bf4ecc1e.zip differ: char 11, line 2 ++++++ 31cf5538b0a4875a2310e917a80bb16c81065d3c.zip -> 266a8c6f5b6d202e4aaa09e19ce0d956605f27fd.zip ++++++ /work/SRC/openSUSE:Factory/java-17-openj9/31cf5538b0a4875a2310e917a80bb16c81065d3c.zip /work/SRC/openSUSE:Factory/.java-17-openj9.new.13279/266a8c6f5b6d202e4aaa09e19ce0d956605f27fd.zip differ: char 11, line 2 ++++++ 31cf5538b0a4875a2310e917a80bb16c81065d3c.zip -> 34b4be01e57751ebe966db36c72fd2af11d00736.zip ++++++ /work/SRC/openSUSE:Factory/java-17-openj9/31cf5538b0a4875a2310e917a80bb16c81065d3c.zip /work/SRC/openSUSE:Factory/.java-17-openj9.new.13279/34b4be01e57751ebe966db36c72fd2af11d00736.zip differ: char 11, line 2 ++++++ bootcycle.patch ++++++ --- a/closed/OpenJ9.gmk +++ b/closed/OpenJ9.gmk @@ -252,7 +252,7 @@ CMAKE_ARGS := \ -C $(OPENJ9_TOPDIR)/runtime/cmake/caches/$(patsubst %_cross,%,$(OPENJ9_BUILDSPEC)).cmake \ -DBOOT_JDK="$(BOOT_JDK)" \ -DBUILD_ID=$(BUILD_ID) \ - -DCMAKE_TOOLCHAIN_FILE="$(OUTPUTDIR)/toolchain.cmake" \ + -DCMAKE_TOOLCHAIN_FILE="$(TOOLCHAIN_CMAKE_FILE)" \ -DJ9VM_OMR_DIR="$(OPENJ9OMR_TOPDIR)" \ -DJAVA_SPEC_VERSION=$(VERSION_FEATURE) \ -DOMR_DDR=$(OPENJ9_ENABLE_DDR) \ --- a/make/autoconf/bootcycle-spec.gmk.in +++ b/make/autoconf/bootcycle-spec.gmk.in @@ -49,3 +49,4 @@ JAVA_FLAGS_BIG := @BOOTCYCLE_JVM_ARGS_BIG@ # settings for CDS. JAVA_FLAGS := $(filter-out -XX:SharedArchiveFile% -Xshare%, $(JAVA_FLAGS)) +TOOLCHAIN_CMAKE_FILE := $(OLD_OUTPUTDIR)/toolchain.cmake diff --git a/make/autoconf/spec.gmk.in b/make/autoconf/spec.gmk.in index 807ba27589b..6906f7cf735 100644 --- a/make/autoconf/spec.gmk.in +++ b/make/autoconf/spec.gmk.in @@ -966,5 +966,7 @@ JCOV_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JCOV_BUNDLE_NAME) define IncludeCustomExtension endef +TOOLCHAIN_CMAKE_FILE := $(OUTPUTDIR)/toolchain.cmake + # Include the custom-spec.gmk file if it exists -include $(dir @SPEC@)/custom-spec.gmk ++++++ openj9-nogit.patch.in ++++++ --- /var/tmp/diff_new_pack.xjF7lq/_old 2025-07-27 16:27:24.140558747 +0200 +++ /var/tmp/diff_new_pack.xjF7lq/_new 2025-07-27 16:27:24.144558913 +0200 @@ -1,6 +1,6 @@ --- a/closed/OpenJ9.gmk +++ b/closed/OpenJ9.gmk -@@ -41,11 +41,11 @@ VersionPairs := +@@ -38,11 +38,11 @@ VersionPairs := # ---------- # $1 - repository display name # $2 - variable name @@ -14,7 +14,7 @@ ifneq (,$$($2)) VersionLabelWidth := $(shell $(ECHO) "$1" | $(AWK) "{ width = length; print (width > $(VersionLabelWidth) ? width : $(VersionLabelWidth)) }") VersionPairs += "$1" "$$($2)" -@@ -61,17 +61,16 @@ define ShowVersions +@@ -58,18 +58,18 @@ define ShowVersions @$(PRINTF) " %-$(VersionLabelWidth)s - %s\n" $(VersionPairs) endef # ShowVersions @@ -25,6 +25,8 @@ +$(call GetVersion, openjdk, OPENJDK_SHA, @OPENJDK_SHA@, required) +$(call GetVersion, openj9, OPENJ9_SHA, @OPENJ9_SHA@, required) +$(call GetVersion, omr, OPENJ9OMR_SHA, @OPENJ9OMR_SHA@, required) ++$(call GetVersion, openssl, OPENSSL_SHA, @OPENSSL_SHA@ ) + $(call GetVersion, vendor, VENDOR_SHA, $(VENDOR_TOPDIR)) # Find OpenJ9 tag associated with current commit (suppressing stderr in case there is no such tag). -OPENJ9_TAG := $(shell $(GIT) -C $(OPENJ9_TOPDIR) describe --exact-match HEAD 2>/dev/null) @@ -37,20 +39,4 @@ ifeq (,$(OPENJ9_BRANCH)) $(error Could not determine OpenJ9 branch) endif ---- a/closed/custom/ReleaseFile.gmk -+++ b/closed/custom/ReleaseFile.gmk -@@ -18,9 +18,9 @@ - # 2 along with this work; if not, see <http://www.gnu.org/licenses/>. - # =========================================================================== - --SOURCE_REVISION := OpenJDK:$(shell $(GIT) -C $(TOPDIR) rev-parse --short HEAD) --SOURCE_REVISION += OpenJ9:$(shell $(GIT) -C $(OPENJ9_TOPDIR) rev-parse --short HEAD) --SOURCE_REVISION += OMR:$(shell $(GIT) -C $(OPENJ9OMR_TOPDIR) rev-parse --short HEAD) -+SOURCE_REVISION := OpenJDK:@OPENJ9_SHA@ -+SOURCE_REVISION += OpenJ9:@OPENJ9_SHA@ -+SOURCE_REVISION += OMR:@OPENJ9OMR_SHA@ - ifeq (true,$(BUILD_OPENJCEPLUS)) -- SOURCE_REVISION += OpenJCEPlus:$(shell $(GIT) -C $(OPENJCEPLUS_TOPDIR) rev-parse --short HEAD) -+ SOURCE_REVISION += OpenJCEPlus:@OPENJCEPLUS_SHA@ - endif ++++++ openssl-OSSL_LIB_CTX.patch ++++++ --- /var/tmp/diff_new_pack.xjF7lq/_old 2025-07-27 16:27:24.156559408 +0200 +++ /var/tmp/diff_new_pack.xjF7lq/_new 2025-07-27 16:27:24.160559573 +0200 @@ -1,5 +1,3 @@ -diff --git a/closed/src/java.base/share/native/libjncrypto/NativeCrypto.c b/closed/src/java.base/share/native/libjncrypto/NativeCrypto.c -index 2e53d0a8e1e..1226f96f1f8 100644 --- a/closed/src/java.base/share/native/libjncrypto/NativeCrypto.c +++ b/closed/src/java.base/share/native/libjncrypto/NativeCrypto.c @@ -77,6 +77,10 @@ @@ -12,5 +10,5 @@ + /* Header for NativeCrypto loading methods. */ static void * find_crypto_symbol(void *handle, const char *symname); - static void * find_crypto_library(jboolean traceEnabled, const char *chomepath); + static void * find_crypto_library(jboolean traceEnabled, jboolean skipBundled, const char *chomepath);