RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1242992 - java probing feature doesn't work on ppc64le
Summary: java probing feature doesn't work on ppc64le
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: systemtap
Version: 7.2
Hardware: ppc64le
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Lukas Berk
QA Contact: Martin Cermak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-14 14:15 UTC by Martin Cermak
Modified: 2015-11-19 11:47 UTC (History)
5 users (show)

Fixed In Version: systemtap-2.8-6.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 11:47:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:2124 0 normal SHIPPED_LIVE systemtap bug fix and enhancement update 2015-11-19 10:31:06 UTC

Description Martin Cermak 2015-07-14 14:15:34 UTC
The java probing feature doesn't work on ppc64le (systemtap-2.8-3.el7.ppc64le). The root cause is that /usr/lib/jvm/java/jre/lib/ppc64le/libHelperSDT_ppc64.so link gets created instead of /usr/lib/jvm/java/jre/lib/ppc64le/libHelperSDT_ppc64le.so. Thanks to lberk for narrowing the problem down.

Comment 2 Martin Cermak 2015-07-22 06:53:06 UTC
The java probing feature is still broken in systemtap-2.8-5.el7, since the upstream change hasn't been backported to the specfile in dist-git. Aside of that, two nits:

- The changelog message should maybe mention ppc64le rather than ppc64.
- Following upstream update (and its backport) might make sense too:
  
=======
diff --git a/systemtap.spec b/systemtap.spec
index 23d1173..a386eda 100644
--- a/systemtap.spec
+++ b/systemtap.spec
@@ -773,7 +773,7 @@ exit 0
 
 %if %{with_java}
 
-%triggerin runtime-java -- java-1.7.0-openjdk, java-1.6.0-openjdk
+%triggerin runtime-java -- java-1.8.0-openjdk, java-1.7.0-openjdk, java-1.6.0-openjdk
 for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
     %ifarch %{ix86}
        arch=i386
@@ -788,7 +788,7 @@ for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
     done
 done
 
-%triggerun runtime-java -- java-1.7.0-openjdk, java-1.6.0-openjdk
+%triggerun runtime-java -- java-1.8.0-openjdk, java-1.7.0-openjdk, java-1.6.0-openjdk
 for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
     %ifarch %{ix86}
        arch=i386
@@ -801,7 +801,7 @@ for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
     done
 done
 
-%triggerpostun runtime-java -- java-1.7.0-openjdk, java-1.6.0-openjdk
+%triggerpostun runtime-java -- java-1.8.0-openjdk, java-1.7.0-openjdk, java-1.6.0-openjdk
 # Restore links for any JDKs remaining after a package removal:
 for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
     %ifarch %{ix86}
=======

I've tested that upstream version ebf15ab works well with both 1.7 and 1.8 (after setting `alternatives`).

Comment 5 errata-xmlrpc 2015-11-19 11:47:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2015-2124.html


Note You need to log in before you can comment on or make changes to this bug.