Compare commits

..

43 commits

Author SHA1 Message Date
Jiri Vanek
c197292d29 Merge branch 'epel10' into epel9 2025-12-12 16:09:35 +01:00
Jiri Vanek
28b91fbc9e Merge branch 'rawhide' into epel10 2025-12-12 16:07:29 +01:00
Jiri Vanek
a6f5f1c230 Merge branch 'epel10' into epel9 2025-12-08 17:22:03 +01:00
Jiri Vanek
22c352090b Merge branch 'rawhide' into epel10 2025-12-08 17:18:46 +01:00
Jiri Vanek
9701695d2f Merge branch 'epel10' into epel9 2025-10-22 18:36:09 +02:00
Jiri Vanek
90677494b1 Merge branch 'rawhide' into epel10 2025-10-22 18:34:00 +02:00
Jiri Vanek
2ea8b70743 Merge branch 'epel10' into epel9 2025-10-07 15:57:49 +02:00
Jiri Vanek
db58945ace Merge branch 'rawhide' into epel10 2025-10-07 15:56:43 +02:00
Jiri Vanek
b0accf297b Merge branch 'epel10' into epel9 2025-09-22 17:49:01 +02:00
Jiri Vanek
d582582d86 Merge branch 'rawhide' into epel10 2025-09-22 17:46:57 +02:00
Jiri Vanek
d75cc6f9e3 Merge branch 'epel10' into epel9 2025-09-22 11:52:39 +02:00
Jiri Vanek
2854ef1dbc Merge branch 'rawhide' into epel10 2025-09-22 11:48:35 +02:00
Jiri Vanek
3942987d68 Merge branch 'epel10' into epel9 2025-07-21 20:19:57 +02:00
Jiri Vanek
db8f21690f Merge branch 'rawhide' into epel10 2025-07-21 20:18:59 +02:00
Jiri Vanek
fca9ce4596 Merge branch 'epel10' into epel9 2025-07-21 19:37:57 +02:00
Jiri Vanek
d0740851e6 Merge branch 'rawhide' into epel10 2025-07-21 19:36:23 +02:00
Jiri
833f5efa54 Merge branch 'epel10' into epel9 2025-05-28 10:49:42 +02:00
Jiri
8917d5f3c7 Merge branch 'rawhide' into epel10 2025-05-28 10:47:19 +02:00
Jiri Vanek
35c75872ec Merge branch 'epel10' into epel9 2025-04-16 15:54:29 +02:00
Jiri Vanek
0c21cd459a Merge branch 'rawhide' into epel10 2025-04-16 15:53:35 +02:00
Jiri
30ed4003e2 Revert "Disabled pandoc requirement for build"
This reverts commit 279b16ab6c.
Without pandoc, there are no man pages
2025-04-11 10:12:55 +02:00
Jiri
279b16ab6c Disabled pandoc requirement for build 2025-04-10 20:37:13 +02:00
Jiri
7b5344560b Merge branch 'epel10' into epel9 2025-04-10 20:01:51 +02:00
Jiri Vanek
2e82bfc034 Merge branch 'epel10' into epel9 2025-02-18 14:09:33 +01:00
Jiri
74e0c0bac6 Merge branch 'rawhide' into epel9 2025-02-11 12:44:24 +01:00
Jiri Vanek
46b896fbdb Merge branch 'rawhide' into epel9 2025-01-27 17:35:21 +01:00
Jiri
45951065cc Merge branch 'rawhide' into epel9 2024-10-20 18:18:14 +02:00
Jiri Vanek
ee9d11904e Merge branch 'rawhide' into epel9 2024-09-25 09:53:14 +02:00
Jiri
beddb2eebe Merge branch 'rawhide' into epel9 2024-07-22 12:45:09 +02:00
Jiri
2fb8436206 Merge branch 'rawhide' into epel9 2024-04-30 12:48:35 +02:00
Jiri
e9c14f7d94 Merge branch 'rawhide' into epel9 2024-02-17 09:23:05 +01:00
Jiri Vanek
0d22f72ea5 Merge branch 'rawhide' into epel9 2024-02-16 17:53:26 +01:00
Jiri Vanek
b9e3f7e6c2 Merge branch 'rawhide' into epel9 2024-01-19 16:36:13 +01:00
Jiri Vanek
9cf597b48a Merge branch 'rawhide' into epel9 2024-01-19 13:45:17 +01:00
Jiri
467e432e1d Merge branch 'rawhide' into epel9 2023-12-22 09:38:40 +01:00
Jiri
7945966e03 Merge branch 'rawhide' into epel9 2023-12-05 13:11:15 +01:00
Jiri
9e39339c26 Merge remote-tracking branch 'origin/rawhide' into epel9 2023-08-05 20:15:39 +02:00
Jiri
e4c558138f Fixing date in changelog 2023-06-30 15:30:20 +02:00
Jiri
bcfcadb497 Bad changelog 2023-06-30 12:00:56 +02:00
Kalev Lember
b6d5401e2b Simplify portable archive name macros
Avoid using fragile regex and instead match on "%{version}-%{release}"
to do the substitutions.

This should make it both simpler (avoiding separate rhel7 conditional)
and more robust in case the build system sets a different dist tag than
what the regex expected.
2023-06-28 16:39:21 +02:00
Petra Mikova
963d225681 Bump rpmrelease 2023-06-21 11:34:33 +02:00
Jiri
13e6aabfbd Redeclared ForFiles release sections as %%nil no longer works with %%1
RPM 4.19 no longer accept our double percentaged %%{nil} passed to %%{1}
so we have to pass in "" but evaluate it, otherwise files record will include it
2023-06-21 11:34:33 +02:00
Petra Mikova
609807750f Fix macros to apply also to epel, lower buildjdkver 2023-05-22 14:28:12 +02:00
4 changed files with 8 additions and 167 deletions

1
.gitignore vendored
View file

@ -58,4 +58,3 @@
/openjdk-jdk-25+36.tar.xz
/openjdk-25+36.tar.xz
/openjdk-25.0.1+8.tar.xz
/openjdk-26+29-ea.tar.xz

View file

@ -1,154 +0,0 @@
diff --git a/make/Bundles.gmk b/make/Bundles.gmk
index 8161b3b036254..0b324e7e3f3fc 100644
--- a/make/Bundles.gmk
+++ b/make/Bundles.gmk
@@ -185,77 +185,30 @@ endif
ifneq ($(filter product-bundles% legacy-bundles, $(MAKECMDGOALS)), )
- SYMBOLS_EXCLUDE_PATTERN := %.debuginfo %.diz %.map
-
- # There may be files with spaces in the names, so use ShellFindFiles
- # explicitly.
+ # There may be files with spaces in the names, so use ShellFindFiles explicitly.
ALL_JDK_FILES := $(call ShellFindFiles, $(JDK_IMAGE_DIR))
- ifneq ($(JDK_IMAGE_DIR), $(JDK_SYMBOLS_IMAGE_DIR))
- ALL_JDK_SYMBOLS_FILES := $(call ShellFindFiles, $(JDK_SYMBOLS_IMAGE_DIR))
- else
- ALL_JDK_SYMBOLS_FILES := $(ALL_JDK_FILES)
- endif
ifneq ($(JDK_IMAGE_DIR), $(JDK_DEMOS_IMAGE_DIR))
ALL_JDK_DEMOS_FILES := $(call ShellFindFiles, $(JDK_DEMOS_IMAGE_DIR))
else
ALL_JDK_DEMOS_FILES := $(ALL_JDK_FILES)
endif
- # Create special filter rules when dealing with unzipped .dSYM directories on
- # macosx
- ifeq ($(call isTargetOs, macosx), true)
- ifeq ($(ZIP_EXTERNAL_DEBUG_SYMBOLS), false)
- JDK_SYMBOLS_EXCLUDE_PATTERN := $(addprefix %, \
- $(call containing, .dSYM/, $(patsubst $(JDK_IMAGE_DIR)/%, %, \
- $(ALL_JDK_SYMBOLS_FILES))))
- endif
- endif
-
- # Create special filter rules when dealing with debug symbols on windows
- ifeq ($(call isTargetOs, windows), true)
- ifeq ($(SHIP_DEBUG_SYMBOLS), )
- JDK_SYMBOLS_EXCLUDE_PATTERN := %.pdb
- endif
- endif
-
JDK_BUNDLE_FILES := \
$(filter-out \
- $(JDK_SYMBOLS_EXCLUDE_PATTERN) \
$(JDK_EXTRA_EXCLUDES) \
- $(SYMBOLS_EXCLUDE_PATTERN) \
$(JDK_IMAGE_HOMEDIR)/demo/% \
, \
$(ALL_JDK_FILES) \
)
- JDK_SYMBOLS_BUNDLE_FILES := \
- $(call FindFiles, $(SYMBOLS_IMAGE_DIR))
+ JDK_SYMBOLS_BUNDLE_FILES := $(call FindFiles, $(SYMBOLS_IMAGE_DIR))
TEST_DEMOS_BUNDLE_FILES := $(filter $(JDK_DEMOS_IMAGE_HOMEDIR)/demo/%, \
$(ALL_JDK_DEMOS_FILES))
ALL_JRE_FILES := $(call ShellFindFiles, $(JRE_IMAGE_DIR))
- # Create special filter rules when dealing with unzipped .dSYM directories on
- # macosx
- ifeq ($(OPENJDK_TARGET_OS), macosx)
- ifeq ($(ZIP_EXTERNAL_DEBUG_SYMBOLS), false)
- JRE_SYMBOLS_EXCLUDE_PATTERN := $(addprefix %, \
- $(call containing, .dSYM/, $(patsubst $(JRE_IMAGE_DIR)/%, %, $(ALL_JRE_FILES))))
- endif
- endif
-
- # Create special filter rules when dealing with debug symbols on windows
- ifeq ($(call isTargetOs, windows), true)
- ifeq ($(SHIP_DEBUG_SYMBOLS), )
- JRE_SYMBOLS_EXCLUDE_PATTERN := %.pdb
- endif
- endif
-
- JRE_BUNDLE_FILES := $(filter-out \
- $(JRE_SYMBOLS_EXCLUDE_PATTERN) \
- $(SYMBOLS_EXCLUDE_PATTERN), \
- $(ALL_JRE_FILES))
+ JRE_BUNDLE_FILES := $(ALL_JRE_FILES)
ifeq ($(MACOSX_CODESIGN_MODE), hardened)
# Macosx release build and code signing available.
diff --git a/make/CreateJmods.gmk b/make/CreateJmods.gmk
index 3280b24924a34..32f107b6bb6a0 100644
--- a/make/CreateJmods.gmk
+++ b/make/CreateJmods.gmk
@@ -218,10 +218,14 @@ ifeq ($(call isTargetOs, windows), true)
ifeq ($(SHIP_DEBUG_SYMBOLS), )
JMOD_FLAGS += --exclude '**{_the.*,_*.marker*,*.diz,*.pdb,*.map}'
else
- JMOD_FLAGS += --exclude '**{_the.*,_*.marker*,*.diz,*.map}'
+ JMOD_FLAGS += --exclude '**{_the.*,_*.marker*,*.map}'
endif
else
- JMOD_FLAGS += --exclude '**{_the.*,_*.marker*,*.diz,*.debuginfo,*.dSYM/**,*.dSYM}'
+ ifeq ($(SHIP_DEBUG_SYMBOLS), )
+ JMOD_FLAGS += --exclude '**{_the.*,_*.marker*,*.diz,*.debuginfo,*.dSYM/**,*.dSYM}'
+ else
+ JMOD_FLAGS += --exclude '**{_the.*,_*.marker*}'
+ endif
endif
# Unless we are creating a very large module, use the small tool JVM options
diff --git a/make/autoconf/jdk-options.m4 b/make/autoconf/jdk-options.m4
index bb18877800192..87d147d4f074b 100644
--- a/make/autoconf/jdk-options.m4
+++ b/make/autoconf/jdk-options.m4
@@ -316,23 +316,36 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS],
AC_MSG_CHECKING([if we should add external native debug symbols to the shipped bundles])
AC_ARG_WITH([external-symbols-in-bundles],
[AS_HELP_STRING([--with-external-symbols-in-bundles],
- [which type of external native debug symbol information shall be shipped in product bundles (none, public, full)
- (e.g. ship full/stripped pdbs on Windows) @<:@none@:>@])])
+ [which type of external native debug symbol information shall be shipped with bundles/images (none, public, full).
+ @<:@none in release builds, full otherwise. --with-native-debug-symbols=external/zipped is a prerequisite. public is only supported on Windows@:>@])],
+ [],
+ [with_external_symbols_in_bundles=default])
if test "x$with_external_symbols_in_bundles" = x || test "x$with_external_symbols_in_bundles" = xnone ; then
AC_MSG_RESULT([no])
elif test "x$with_external_symbols_in_bundles" = xfull || test "x$with_external_symbols_in_bundles" = xpublic ; then
- if test "x$OPENJDK_TARGET_OS" != xwindows ; then
- AC_MSG_ERROR([--with-external-symbols-in-bundles currently only works on windows!])
- elif test "x$COPY_DEBUG_SYMBOLS" != xtrue ; then
- AC_MSG_ERROR([--with-external-symbols-in-bundles only works when --with-native-debug-symbols=external is used!])
- elif test "x$with_external_symbols_in_bundles" = xfull ; then
+ if test "x$COPY_DEBUG_SYMBOLS" != xtrue ; then
+ AC_MSG_ERROR([--with-external-symbols-in-bundles only works when --with-native-debug-symbols=external/zipped is used!])
+ elif test "x$with_external_symbols_in_bundles" = xpublic && test "x$OPENJDK_TARGET_OS" != xwindows ; then
+ AC_MSG_ERROR([--with-external-symbols-in-bundles=public is only supported on Windows!])
+ fi
+
+ if test "x$with_external_symbols_in_bundles" = xfull ; then
AC_MSG_RESULT([full])
SHIP_DEBUG_SYMBOLS=full
else
AC_MSG_RESULT([public])
SHIP_DEBUG_SYMBOLS=public
fi
+ elif test "x$with_external_symbols_in_bundles" = xdefault ; then
+ if test "x$DEBUG_LEVEL" = xrelease ; then
+ AC_MSG_RESULT([no (default)])
+ elif test "x$COPY_DEBUG_SYMBOLS" = xtrue ; then
+ AC_MSG_RESULT([full (default)])
+ SHIP_DEBUG_SYMBOLS=full
+ else
+ AC_MSG_RESULT([no (default, native debug symbols are not external/zipped)])
+ fi
else
AC_MSG_ERROR([$with_external_symbols_in_bundles is an unknown value for --with-external-symbols-in-bundles])
fi

View file

@ -404,9 +404,9 @@ exit 1
%endif
# New Version-String scheme-style defines
%global featurever 26
%global featurever 25
%global interimver 0
%global updatever 0
%global updatever 1
%global patchver 0
# buildjdkver is usually same as %%{featurever},
# but in time of bootstrap of next jdk, it is featurever-1,
@ -460,8 +460,8 @@ exit 1
%global origin_nice OpenJDK
%global top_level_dir_name %{vcstag}
%global top_level_dir_name_backup %{top_level_dir_name}-backup
%global buildver 29
%global rpmrelease 1
%global buildver 8
%global rpmrelease 3
#%%global tagsuffix %%{nil}
# Priority must be 8 digits in total; up to openjdk 1.8, we were using 18..... so when we moved to 11, we had to add another digit
%if %is_system_jdk
@ -480,7 +480,7 @@ exit 1
# Release will be (where N is usually a number starting at 1):
# - 0.N%%{?extraver}%%{?dist} for EA releases,
# - N%%{?extraver}{?dist} for GA releases
%global is_ga 0
%global is_ga 1
%if %{is_ga}
%global build_type GA
%global ea_designator ""
@ -775,7 +775,7 @@ Source18: TestTranslations.java
# RH1940064: Enable XML Signature provider in FIPS mode
# RH2173781: Avoid calling C_GetInfo() too early, before cryptoki is initialized [now part of JDK-8301553 upstream]
# usage in jdk >25 is experimental and may disapear
Patch1001: fips-25u-%{fipsver}.patch
Patch1001: fips-%{featurever}u-%{fipsver}.patch
#############################################
#
@ -791,7 +791,7 @@ Patch1001: fips-25u-%{fipsver}.patch
#
#############################################
Patch1: JDK-8373246-8351842_broke_native_debugging_on_Linux.patch
# Currently empty
#############################################
#
@ -1086,7 +1086,6 @@ pushd %{top_level_dir_name}
# Add crypto policy and FIPS support
# usage in jdk >25 is experimental and may disapear
%patch -P1001 -p1
%patch -P1 -p1
popd # openjdk
echo "Generating %{alt_java_name} man page"
@ -1492,9 +1491,6 @@ function packagejdk() {
# Release images have external debug symbols
if [ "x$suffix" = "x" ] ; then
# jdk26 is putting debugsymbols out of main image,
# we later reconstruct debuginfo subpakckages manually, so putting them back
cp -r symbols/* ${jdkname}/
createtar ${debugarchive} $(find ${jdkname} -name \*.debuginfo)
genchecksum ${debugarchive}

View file

@ -1 +1 @@
SHA512 (openjdk-26+29-ea.tar.xz) = 4e80882e0de26eff7d46d762e255911d42544473cc5f12ab0af1997969a14cc697e1164cb3c90d894359b58cc42dbd2b233f00fa807dbfad41583da278e26666
SHA512 (openjdk-25.0.1+8.tar.xz) = eb84d876f81ca02803283e8294c89b6acbed3753426811c3bcc228615c9618deefc85da4aa702800cac2feb103e628ee8b92292b316e9d7e12a58b6de69c5085