Merge ~vpa1977/ubuntu/+source/openjdk-23:ubuntu/devel into ubuntu/+source/openjdk-23:ubuntu/devel

Proposed by Vladimir Petko
Status: Merged
Merged at revision: dc40eef0e7c52f6d7958501857b62a440ab1a475
Proposed branch: ~vpa1977/ubuntu/+source/openjdk-23:ubuntu/devel
Merge into: ubuntu/+source/openjdk-23:ubuntu/devel
Diff against target: 78 lines (+24/-4)
5 files modified
debian/changelog (+8/-0)
debian/control (+2/-1)
debian/control.in (+2/-1)
debian/rules (+11/-1)
debian/tests/problems.csv (+1/-1)
Reviewer Review Type Date Requested Status
Pushkar Kulkarni (community) Approve
git-ubuntu import Pending
Review via email: mp+480041@code.launchpad.net

Description of the change

Changes:
 - fix typo in the problemlist (skips failing test)
 - disable dtrace on Jammy armhf - the build fails due to the internal compiler error.

PPA: ppa:vpa1977/october-21 [1]

Testing:
 - build for armhf jammy must succeed [2]
 - DebugOptions.java should be skipped [2]

[1] https://launchpad.net/~vpa1977/+archive/ubuntu/october-21/+packages
[2] https://launchpadlibrarian.net/772463055/buildlog_ubuntu-jammy-armhf.openjdk-23_23.0.2+7-1ubuntu1~22.04_BUILDING.txt.gz

To post a comment you must log in.
Revision history for this message
Pushkar Kulkarni (pushkarnk) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index 4596781..5021c5e 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,11 @@
6+openjdk-23 (23.0.2+7-1ubuntu1) plucky; urgency=medium
7+
8+ * d/rules: disable dtrace on jammy armhf (LP: #2091226).
9+ * d/t/problems.csv: fix typo - remove jdk prefix for
10+ sun/security/util/Debug/DebugOptions.java.
11+
12+ -- Vladimir Petko <vladimir.petko@canonical.com> Fri, 24 Jan 2025 11:58:07 +1300
13+
14 openjdk-23 (23.0.2+7-1) unstable; urgency=medium
15
16 * OpenJDK 23.0.2 release, build 7. Release notes:
17diff --git a/debian/control b/debian/control
18index f9b96a4..58b362f 100644
19--- a/debian/control
20+++ b/debian/control
21@@ -1,7 +1,8 @@
22 Source: openjdk-23
23 Section: java
24 Priority: optional
25-Maintainer: OpenJDK Team <openjdk-23@packages.debian.org>
26+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
27+XSBC-Original-Maintainer: OpenJDK Team <openjdk-23@packages.debian.org>
28 Uploaders: Matthias Klose <doko@ubuntu.com>
29 Build-Depends: debhelper (>= 11),
30 m4, lsb-release, zip, unzip,
31diff --git a/debian/control.in b/debian/control.in
32index 8f35549..aaf3d86 100644
33--- a/debian/control.in
34+++ b/debian/control.in
35@@ -1,7 +1,8 @@
36 Source: @basename@
37 Section: java
38 Priority: optional
39-Maintainer: OpenJDK Team <@basename@@packages.debian.org>
40+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
41+XSBC-Original-Maintainer: OpenJDK Team <@basename@@packages.debian.org>
42 Uploaders: Matthias Klose <doko@ubuntu.com>
43 Build-Depends: @bd_debhelper@
44 m4, lsb-release, zip, unzip,
45diff --git a/debian/rules b/debian/rules
46index 8539a6d..394e8e9 100755
47--- a/debian/rules
48+++ b/debian/rules
49@@ -394,7 +394,17 @@ no_dtrace_archs = powerpc ppc64 ppc64el sh4 s390x
50 # PPC*, S390x and SH do not support dtrace probes
51 # https://github.com/openjdk/jdk/pull/13228
52 ifeq (,$(filter $(DEB_HOST_ARCH),$(no_dtrace_archs)))
53- COMMON_CONFIGURE_ARGS += --enable-dtrace
54+# disable dtrace due to the internal compile error in jammy
55+# https://bugs.launchpad.net/ubuntu/+source/openjdk-23/+bug/2091225
56+ ifneq (,$(filter $(DEB_HOST_ARCH),armhf))
57+ ifneq (,$(filter $(distrel),jammy))
58+ COMMON_CONFIGURE_ARGS += --disable-dtrace
59+ else
60+ COMMON_CONFIGURE_ARGS += --enable-dtrace
61+ endif
62+ else
63+ COMMON_CONFIGURE_ARGS += --enable-dtrace
64+ endif
65 endif
66
67 COMMON_CONFIGURE_ARGS += --with-jni-libpath=/usr/lib/$(DEB_HOST_MULTIARCH)/jni:/lib/$(DEB_HOST_MULTIARCH):/usr/lib/$(DEB_HOST_MULTIARCH):/usr/lib/jni:/lib:/usr/lib
68diff --git a/debian/tests/problems.csv b/debian/tests/problems.csv
69index a748a7f..ca0cba5 100644
70--- a/debian/tests/problems.csv
71+++ b/debian/tests/problems.csv
72@@ -82,5 +82,5 @@ FAILED: java/foreign/TestUpcallAsync.java,, asserts due to the invalid structure
73 FAILED: java/foreign/TestUpcallStack.java,, asserts due to the invalid structure size. Ignore as this is a preview API and the issue does not occur in openjdk-22. I will add it to the problemlist.,:openjdk-21,:armhf,:release-all
74 FAILED: java/foreign/TestVarArgs.java,, asserts due to the invalid structure size. Ignore as this is a preview API and the issue does not occur in openjdk-22. I will add it to the problemlist.,:openjdk-21,:armhf,:release-all
75 FAILED: runtime/os/TestTrimNative.java#trimNative,, java.lang.RuntimeException: We found fewer (periodic) trim lines in UL log than expected (expected at least 13 found 11). This looks like a flaky test - it asserts number of lines from the periodic trimmer e.g. src/hotspot/share/runtime/trimNativeHeap.hpp:56 which causes the test to fail due to the slow VM. Test passes locally.,:openjdk-21,:armhf,:release-all
76-FAILED: jdk/sun/security/util/Debug/DebugOptions.java,JDK-8339713,Stack overflow error on 32-bit platforms,:openjdk-17:openjdk-21:openjdk-23:openjdk-24:openjdk-25:,:armhf:i386:s390x,:release-all
77+FAILED: sun/security/util/Debug/DebugOptions.java,JDK-8339713,Stack overflow error on 32-bit platforms,:openjdk-17:openjdk-21:openjdk-23:openjdk-24:openjdk-25:,:armhf:i386:s390x,:release-all
78 Error: jdk/jshell/TerminalNoExecTest.java,,BackingStoreException: Couldn't get file lock - possibly because the LP (non-root) container has no home directory,:openjdk-23:openjdk-24:openjdk-25:,:arch-all,:release-all

Subscribers

People subscribed via source and target branches